When a model card says “Terminal-Bench 2.0: 58%”, that number is more specific than it looks. It is not a percentage of questions answered correctly, and it is not a grade from a judge model. It is the share of attempts in which an AI agent, working alone in a real Linux shell, left a computer in a state that passed every check a human wrote for it. This post takes the score apart: what one task is, what one attempt (a trial) does, how 445 pass/fail results become one number, and why that number always carries a ± next to it. Each step has a motion figure. Press Replay on any figure to watch it again.
The benchmark in one paragraph
Terminal-Bench 2.0 was released by the Terminal-Bench team (85 authors are listed on the paper) alongside a new harness called Harbor. It has 89 tasks drawn from real command-line work: building and debugging software, configuring services, data wrangling, security, scientific computing and so on. Most tasks would take an expert somewhere between an hour and a day. The paper, published in January 2026, reported that frontier models and agents scored below 65%, while smaller models scored around 15%.
1. What a single task is
A task is a folder, not a prompt. The agent sees only the instruction and the machine. The tests stay hidden until the agent has finished. The reference solution never reaches the agent. It exists so the maintainers can prove that the task can be solved at all.
2. What happens in one trial
A trial is one agent attempting one task once. Harbor boots a fresh container, gives the agent the instruction, and lets it run shell commands until it declares that it is done or hits the time limit set in task.toml. Then the verifier copies the tests into the container, runs them, and writes a number to /logs/verifier/reward.txt.
The important detail is that the tests inspect the final state of the container, not the transcript. It does not matter how elegant the agent’s commands were, or whether it explained itself well. Only whether the files, services and outputs end up the way the task requires.
3. Passing means every test passes
Scoring is all-or-nothing. If a task ships six tests and the agent’s final state passes five, the trial is recorded as a fail. There is no partial credit. This is deliberate. In real terminal work a migration that is “mostly done” or a server that “almost starts” is a broken system, and partial credit would reward agents for doing work that looks plausible but is useless.
4. From 445 coin flips to one number
A single trial is noisy. The same model can succeed on a task in one attempt and fail in the next, because sampling is random and long agent trajectories branch. So every model-and-agent pair is run on every task at least five times. Across all the entries in the paper, this came to 32,155 trials. For one entry with exactly five trials per task, the grid is 89 × 5 = 445 pass/fail cells.
The paper averages trials within each task-agent-model combination. When every task has the same number of trials, averaging the per-task averages gives exactly the same result as pooling all the trials:
with reward ∈ {0, 1}, T = 89 tasks, K = trials per task (≥ 5)
here: 237 / 445 = 53.3%
Two consequences follow from this. First, every task carries equal weight. A tricky kernel build counts exactly as much as a small configuration fix. Second, a trial that runs out of time is simply a failure, so the time limit is part of what is being measured.
5. What the number is not
The same grid can be summarized in other ways that sound similar but measure different things. “Solved at least once in five tries” (pass@5) rewards a model that gets lucky occasionally. “Solved in all five tries” measures reliability. Terminal-Bench reports neither of these. It reports the mean over all trials, which you can read as the chance that a single attempt on a randomly chosen task succeeds.
6. Why every score has a ±
Eighty-nine tasks is a small sample, and every leaderboard entry is plotted with a 95% confidence interval. The more trials there are, the narrower the interval, but only up to a point. Repeating attempts on the same 89 tasks reduces the noise in each attempt. It does nothing about the fact that only 89 tasks were chosen. Secondary write-ups describe the method as a Wilson score interval on the trial-level proportion, and that is the interval drawn below.
A practical rule: if two entries are within about five points of each other, read them as tied unless the intervals clearly separate.
7. Easy, medium and hard are measured, not declared
Task authors estimate how long a task would take a junior engineer and an expert. However, the difficulty labels in the paper come from measurement: a task’s pass rate with the neutral Terminus 2 agent across frontier models. A task is easy at 66.7% or higher, medium from 33.3% to 66.7%, and hard below 33.3%.
8. A score belongs to a model-agent pair
Terminal-Bench does not score a model in isolation. It scores a model running inside an agent harness. The harness decides the system prompt, which tools are available, how errors are retried and how the context is trimmed when it gets long. To make models comparable, the team built Terminus 2, a deliberately plain harness with a single tool, a headless terminal, that works only through Bash commands. Vendors can also submit their own agents, such as Codex CLI or Claude Code, so the same model can appear more than once with different scores.
How the tasks earned their place
A benchmark score is only as good as its tests. If a test can be passed by deleting it, or a task depends on a website that changes, the number is measuring noise. Terminal-Bench 1.0 ran into exactly this problem: a task that downloaded a YouTube video broke when YouTube changed its anti-bot defences. For 2.0, each task went through several layers of checking:
- Automated checks. The reference solution must pass every test, a do-nothing agent must fail, and an LLM-backed checker flags gaps in the specification.
- Human review. Three reviewers audit each task, about three reviewer-hours of work per task.
- Adversarial exploit agent. An agent is told to cheat, for example by editing the tests or faking outputs. Its trajectories are read by hand, and any loophole it finds is closed.
- Removal. Tasks that could not be reproduced reliably, or that passed or failed on an arbitrary threshold, were cut.
Reading it as a search engineer
If you have run offline relevance evaluation, Terminal-Bench will feel familiar. The tasks are the query set. The hidden tests are strict, binary relevance judgments. Repeated trials are like repeated runs of a system that is not deterministic. The resolution rate is a macro-average over a small query set, with all the usual caveats: 89 queries cannot separate systems that are a couple of points apart, a single aggregate hides category-level regressions, and the score belongs to the whole pipeline (the harness) rather than to the ranking model alone. The habit that serves you well for search evaluation works here too: look at the interval and the per-task breakdown before you believe the headline.
A checklist for the next time you see “Terminal-Bench 2.0: X%”
- Which agent harness was used, Terminus 2 or the vendor’s own?
- How many trials per task? Fewer than five means it is not a leaderboard-style run.
- Is it a resolution rate (mean over trials), or a pass@k figure presented under the same name?
- Were the default time limits and resources kept? Longer limits change what is being measured.
- What is the confidence interval, and does it overlap the model you are comparing against?
- Was it run with Harbor on the official task set, or with a third-party framework (for example, an Inspect port with its own scaffold)?
Sources, and what is established versus my framing
| Claim | Status | Source |
|---|---|---|
| 89 tasks; hidden tests check the final container state; human-written reference solution; frontier models score below 65% | Established | Merrill et al., Terminal-Bench (arXiv 2601.11868) |
| At least 5 runs per model-agent pair; 32,155 trials; averaged per task-agent-model; 95% intervals; Terminus 2 has a single headless-terminal tool; difficulty bands at 33.3% and 66.7%; three reviewers, about three reviewer-hours per task; adversarial exploit agent; top scores in Table 2 | Established | Paper, full text |
| Task folder layout (instruction.md, task.toml, environment/, solution/, tests/test.sh) and reward written to /logs/verifier/reward.txt | Established | Harbor docs |
| 2.0 is a harder, better-verified successor to 1.0; the YouTube-download task broke in 1.0; Harbor runs thousands of cloud containers | Established | Terminal-Bench 2.0 announcement |
| All-or-nothing pass rule per trial; Wilson score method for the interval | Reported in secondary summaries; I did not confirm the interval method in the paper text | Emergent Mind topic summary |
| The 445-cell grid, its 53.3% score, the pass@5 and pass^5 comparison, the interval widths, and the example commands and tests | My illustration: simulated data, not any model’s real results | This post |
| The analogy to search evaluation and the reading checklist | My framing | This post |

