What do you want to do?
3 use cases
-
Benchmark a self-hosted model on Terminal-Bench 2.1
Run the Crux agent on 89 Terminal-Bench 2.1 tasks to get a pass@1 score for your own model.
View prompt
Use the alanhuangyoo/crux repository. Go to its benchmark folder, run `uv sync`, then run harbor against the terminal-bench/terminal-bench-2-1 dataset with agent crux.pi_agent:CruxPiAgent and model openai/<your-model>. Report the pass@1 score over the full run and the number of tasks evaluated, and confirm the run covered 89 tasks.
-
Test whether an agent change helps, task by task
Compare two agent versions on the same tasks with a paired sign test instead of one total score.
View prompt
Use the alanhuangyoo/crux repository benchmark folder. Run the same Terminal-Bench 2.1 dataset and model for two agent versions, <baseline> and <changed>, then compare them task by task with the paired sign test. Output the per-task outcome counts and the test result, and verify that both runs used the same model and task set.
-
Find why long agent runs stall, truncate, or time out
Use the documented failure modes and trial outcome classes to explain a failed terminal run.
- REPO
alanhuangyoo/crux - Software and DevOps
- Intermediate
View prompt
Use the alanhuangyoo/crux repository. Read the 'What changed from pi' section of its README, then run the failing <task> from Terminal-Bench 2.1 through harbor with crux.pi_agent:CruxPiAgent. Report which failure class the trial outcome falls into (compaction, truncated output, or idle time) and name the matching agent-layer feature, then verify the classification against the trial output.
- REPO
Quick start with Crux
- Check you have what it needs: uv installed, since the benchmark is set up with `uv sync`; harbor installed, since the benchmark runs through `harbor run`; Access to the terminal-bench/terminal-bench-2-1 dataset.
- Open alanhuangyoo/crux on GitHub and read the README and license.
- Clone the repository and open the benchmark folder with
cd benchmark. - Install the harness dependencies with
uv sync. - Finish the
--modelargument afteropenai/with the name of your served model, since the README command is cut off there. (inferred, check the README) - Run
harbor run --dataset terminal-bench/terminal-bench-2-1 --agent crux.pi_agent:CruxPiAgent --model openai/<your-model>. (inferred, check the README)
These steps come from our top use case, Benchmark a self-hosted model on Terminal-Bench 2.1, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for alanhuangyoo/crux
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forEngineers who run self-hosted coding models on long terminal tasks and want to measure or improve the agent layer around them.
- Why it is hot186 stars, launched 77 days ago
- LanguageTypeScript
- Sourcegithub.com/alanhuangyoo/crux ยท Back to Hot repos
Requirements
- uv installed, since the benchmark is set up with `uv sync`
- harbor installed, since the benchmark runs through `harbor run`
- Access to the terminal-bench/terminal-bench-2-1 dataset
- A model endpoint you can reach through the `openai/` model prefix used in the README command
Add this badge to your README
Maintain Crux? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/alanhuangyoo-crux/?utm_source=github&utm_medium=badge&utm_campaign=alanhuangyoo-crux)
HTML
<a href="https://dedupedai.com/use-cases/alanhuangyoo-crux/?utm_source=github&utm_medium=badge&utm_campaign=alanhuangyoo-crux"><img src="https://dedupedai.com/badge/alanhuangyoo/crux.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Crux
What is Crux?
Crux is a coding agent built on the pi agent, re-engineered for long-horizon terminal tasks, with a Terminal-Bench 2.1 benchmark harness. It is an open-source project on GitHub: https://github.com/alanhuangyoo/crux.
How do I use Crux?
Clone the repository and open the benchmark folder with cd benchmark; then install the harness dependencies with uv sync; Finish the --model argument after openai/ with the name of your served model, since the README command is cut off there. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Crux for?
Engineers who run self-hosted coding models on long terminal tasks and want to measure or improve the agent layer around them.
What can I do with Crux?
3 use cases so far, for example: Benchmark a self-hosted model on Terminal-Bench 2.1; Test whether an agent change helps, task by task; Find why long agent runs stall, truncate, or time out. Each has steps and a copy-paste agent prompt.
What do I need to run Crux?
uv installed, since the benchmark is set up with `uv sync`; harbor installed, since the benchmark runs through `harbor run`; Access to the terminal-bench/terminal-bench-2-1 dataset; A model endpoint you can reach through the `openai/` model prefix used in the README command.
What are alternatives to Crux?
Other hot AI repos in Software and DevOps: Skills, Claude Mem, Freellmapi, Andrej Karpathy Skills, Agent Desktop.
Is Crux safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.