Agent and trajectory evaluation: grading actions, not messages

How to evaluate your own agent: what to grade (the final message, the final state, or the steps), who grades it (code, a judge model, an agent judge, a process reward model), how to make the number repeatable and hard to game, what it costs, and what to log. 400 real τ²-bench trials are re-graded in the page. Reading: 30 min, plus 6 in closed details. Data as of October 2026. A child of Topic: evaluation-and-llm-judges.
The idea in one sentenceAn agent is judged by what it did, not by what it said: check the end state of the world with code, check the actions wherever they can do harm the end state does not show, use the exact path only to diagnose, and run every task several times, because one run is a sample.

Fig. 1, three graders read three different parts of the same run, and disagree

  1. One trial, as a record. GPT-5.2 on τ²-bench airline task 29, trial 1, from the trajectory file Sierra released: 17 records in time order, 10 messages (upright plates: the agent's blue, the simulated user's yellow) and 7 tool calls (cubes). Every grader reads this record; each reads a different part of it.
  2. What it did: actions reach the environment. 5 reads pull rows from the airline database and 2 writes change it: book_reservation creates the new booking and cancel_reservation cancels the old one. The cells are schematic; the calls are the trial's own.
  3. The transcript judge reads what it said. τ²-bench's LLM judge reads the transcript against 3 natural-language assertions and marks all 3 met: pass. The agent's last message begins "All set."
  4. The outcome grader reads what changed. Replay the gold actions on a copy of the starting database and compare: 6 fields differ (insurance yes where the gold has no; the payment split over a gift card and a card where the gold has one $282 card payment): fail, reward 0.
  5. The step grader marks each call. Against the 3 gold actions: get_reservation_details and cancel_reservation match exactly (✓), book_reservation is the right tool with different arguments (≈), and 4 reads are not in the gold path (+): 2 of 3 exact, fail.
  6. Three graders, two verdicts, and the gold is in question. The judge passes the trial; the database and the steps fail it. In record 11 the simulated user asked for insurance and to pay with a gift card, and the task's instructions mention neither, so the gold encodes the author's assumption. Only reading the steps shows it (read the whole trial below).

Marks in step 5: ✓ matches a gold call, ≈ same tool with different arguments, + not in the gold path. Data: the released trajectory file, re-graded here. measured here

You need: how an LLM judge works and fails (LLM-as-judge); what an agent loop and its tool calls are (Topic: agentic-harnesses). Public agent benchmarks and their scores are on Agentic benchmarks; this page is about evaluating your own agent, on your tasks, before you ship it and while it runs.

Task / trial: one test with inputs and success criteria / one attempt at it (Anthropic's vocabulary).
Transcript (trajectory): "the complete record of a trial, including outputs, tool calls, reasoning, intermediate results".
Outcome: "the final state in the environment at the end of the trial"; outcome grading checks it, process grading checks the steps.
Gold actions / gold state: the task author's reference tool calls, and the state they produce when replayed.
Simulated user: a model playing the customer from written instructions, so a conversation can be re-run without a person.
pass^k: the probability that all k trials of a task succeed; pass@k: that at least one does.
Process reward model (PRM): a trained model that scores each step rather than the end.

In one screen

Every row is measured on 400 real τ²-bench airline trials (GPT-5.2 and Claude Opus 4.5, four trials of each of 50 tasks, the trajectory files Sierra released with its leaderboard), re-graded with τ²-bench's own evaluator.

GradeWhat it readsWhat it catchesWhat it missesOn the 400 trials
The messageThe agent's replies (a judge model reads the transcript)Tone, policy explanations, whether the user was told the right thingWhether anything actually happened; a confident "All set" after a wrong bookingDisagrees with the final state on 49 trials
The outcomeThe world after the run: database, files, testsWrong or missing changes, whatever the agent claimedHarm along the way that the check does not look at; it rewards doing nothing when the right answer is "no change"A do-nothing agent passes 23 of 50 tasks
The stepsEvery tool call, its arguments and orderWhere it went wrong, extra or unsafe actions, wasted callsValid routes the task author did not foresee: strict path matching is brittleGold-action checks fail on 24 trials the outcome passed
The rule this page argues for
Grade the outcome first, with code, on a state you can diff. Grade actions (not messages) wherever an action can do harm the outcome check does not see. Use the path only for diagnosis or for actions that must never happen, never as an exact sequence to match. Read failing and suspiciously passing transcripts every time the number moves. Anthropic's own advice is close: "it's often better to grade what the agent produced, not the path it took" (Demystifying evals for AI agents, 9 Jan 2026), with one addition from the safety results below: what an agent did along the way is part of what it produced.

One trajectory, three graders

Pick a real trial and step through it: Fig. 1's trial in full, and four more where a different grader is wrong. It opens on the last step and moves only when you do; each panel shows what its grader would say if the run stopped here.

Read it yourself: on the default trial (Fig. 1's), press "Message only" and step from the start: the replies read like a success. Then switch to "Final state". Then pick the Claude Opus 4.5 trial of the same task, the only one of eight that passed, and compare who proposed insurance.

TrialWhat happenedWhich grader is wrong
GPT-5.2, task 29, trial 1Cancels, rebooks, ends "All set."; the judge marks all three assertions met, the database differs on six fields (the gold has no insurance and one $282 card payment). But the simulated user asked for both ("Insurance on the new booking: Yes, please"; "use gift_card_6468981"), and the task's instructions mention neither. Task 29 passed in 1 of 8 trials across the two models.Arguably the gold: it enforces the author's unstated assumption against the simulator's improvisation; only the step view shows it.
GPT-5.2, task 0, trial 3Should refuse a forbidden cancellation; transfers to a human instead. Nothing changes, so it scores 1; the judge says it "did not refuse".The outcome grader, too lenient.
GPT-5.2, task 12, trial 1Database exactly right; the gold path calls calculate for the fare difference and the agent did the arithmetic itself.A path grader that demands every gold call.
GPT-5.2, task 31, trial 1Upgrades basic economy to economy, then moves the flight, for $47; the user: "this is exactly what I needed". The gold is "no change", so it fails.Possibly the gold. Anthropic describes Opus 4.5 finding a τ²-bench policy loophole that "'failed' the evaluation as written, but actually came up with a better solution for the user"; same task unconfirmed, same pattern.
Claude Opus 4.5, task 29, trial 2Proposes the booking without insurance, on the card on file; the user accepts ("no, please do not add travel insurance").None: all three agree, and the database is the gold reservation.
Where the data comes from
Sierra's released trajectory files for the GPT-5.2 (high) and Claude Opus 4.5 (high) airline submissions (26 Feb 2026, user simulator GPT-5.2; GPT-5.2 file, Opus 4.5 file, MIT). The message verdicts are τ²-bench's own natural-language assertions, graded by an LLM judge over the transcript and stored in the files; airline does not count them toward the reward. The database diffs were computed for this page by replaying the agent's calls and the gold actions in τ²-bench's environment (commit 5bfa7e3, 28 Sep 2026); re-grading all 200 GPT-5.2 airline trials with its evaluator reproduces every recorded reward (200 of 200). Long messages and tool results are clipped for display. Every trial with all five verdicts is in the Three graders, 400 trials tab.
Trial
Highlight

Outcome grading: check the world, not the claim

An outcome grader looks only at the world after the run: a state diff against a gold state, tests the change must pass, assertions on named parts of the state, or required information the agent must have told the user.

The four shapes, with real examples
ShapeHow it decidesExample
State diffReplay the gold actions on a copy of the starting state, compare with the state the agent leftτ²-bench hashes the agent's database and the gold database and requires equality (evaluator_env.py): any order of calls, any wording, the same end state
TestsRun tests the agent's change must make pass, and tests it must not breakSWE-bench's FAIL_TO_PASS and PASS_TO_PASS lists (SWE-bench harness; how training environments use them: Harnesses for training and evaluation); Terminal-Bench's tests/test.sh writing 1 or 0
AssertionsProgrammatic checks on named parts of the stateτ²-bench telecom's environment assertions on the simulated phone; OSWorld's per-task checker scripts
Required informationString checks that the agent told the user specific factsτ²-bench's communicate_info: a substring that must appear in an agent message

Fig. 2, the same trial graded by its end state

  1. The starting database. Every trial of task 29 starts from the same airline database: the customer's reservation VA5SGQ, his profile and his payment methods (the cells are schematic; the actions and fields below are the trial's own).
  2. Replay the gold actions on a copy. The task's 3 gold actions (get_reservation_details, cancel_reservation, book_reservation) run on one copy: the old reservation cancelled, a new one booked. That copy is the gold state.
  3. Replay the agent's calls on another copy. The trial's 7 calls run on a second copy, as dbdiff.py does with τ²-bench's own environment; its 2 writes also book and cancel, with different arguments.
  4. Compare the two. τ²-bench hashes both databases and requires equality: they differ, so the reward is 0. Any order of calls and any wording would have passed had the end state matched.
  5. Lift out the diff. A field-by-field diff says why in one look: 6 fields differ. Insurance: gold no, agent yes. The first payment: gold $282 on credit_card_8003957, agent $279 on gift_card_6468981. A second payment of $33 on the card, absent from the gold (two fields). The gift card's balance: gold 279, agent 0.
  6. The do-nothing agent. An agent that makes no call leaves the starting database. On task 29 it fails, because the gold changed the database; but on 23 of the 50 airline tasks the gold is "no change", and it passes every one of them (next section).

A state diff is the strongest grader: indifferent to path and wording, it sees changes the agent never mentioned. Keep it a diff, not just a hash (step 5). Partial credit helps where a task has parts ("a support agent that correctly identifies the problem and verifies the customer but fails to process a refund is meaningfully better than one that fails immediately", Anthropic): score each required change and keep the all-or-nothing score beside it.

The do-nothing baseline

Many good agent tasks have "change nothing" as the right answer (refuse a forbidden cancellation, decline an unaffordable change), and on those an agent that does nothing passes. This page ran that agent through τ²-bench's evaluator: the first user turn, then no tool calls.

On airline, 23 of 50 tasks pass with no action, and 88 of GPT-5.2's 166 passing trials are on those tasks. Its pass^1 on the 27 tasks that need a change is 72.2%, against 83.0% overall (Opus 4.5: 73.2% against 84.0%). Neither number is wrong; the overall one hides that nearly half the suite rewards restraint. Anthropic's general form: "Test both the cases where a behavior should occur and where it shouldn't ... avoid class-imbalanced evals." For your own suite: run a do-nothing agent and a random agent first, report their scores beside every result, and report change and no-change tasks separately.

How the do-nothing agent was graded
The greeting and first user message of a real trial, then the conversation ends; graded with evaluate_simulation at commit 5bfa7e3. Airline and telecom use the full reward; retail's reward also includes LLM-judged assertions, which were not run, so its figure is the database component only (an upper bound for the do-nothing agent). Per-model bars are computed in the page from the 400 trials and checked by recompute.py.

Nearly half the airline suite rewards doing nothing

Top: share of tasks a do-nothing agent passes. Bottom: each agent's 200 airline trials, passes split by whether the do-nothing agent also passes that task. measured here

What an outcome check cannot see

  • Harm along the way. An agent that emails a customer's data to the wrong address and then finishes the booking correctly passes a check on the reservations table. The outcome check covers the state you decided to check; the next section covers the rest.
  • A wrong gold state. Task 29's gold assumes no insurance and one card; the simulated user asked for both. Your gold state encodes your assumptions about the user, and a simulated user does not know them.
  • A better route than the gold (task 31). On CORE-Bench Opus 4.5 "initially scored 42%" until a researcher found "rigid grading that penalized '96.12' when expecting '96.124991…', ambiguous task specs, and stochastic tasks"; fixed, it scored 95% (Anthropic).
  • Success the checker did not anticipate. Web benchmarks' rule checkers are precise (83.8%) but miss real successes (55.9% recall), so GPT-4o scored 16.7 points lower by the rules than by experts on WebArena and 18.5 on VisualWebArena (Lù et al., AgentRewardBench, Apr 2025).

Grade actions, not messages

A message grader reads what the agent said, and for agents saying and doing come apart. Even a judge that read the whole transcript, tool calls included, disagrees with the database on 49 of the 400 trials; a grader that reads only the final message knows less.

MOLE: what was measured (correction carried from the parent page)
An earlier version of the parent page said MOLE found that "a model's stated refusal did not predict whether it actually declined". That overstates the paper. What it measured: under a preamble telling every model the sandbox is harmless and that refusing spoils the research, 28 of 39 models (72%) completed more than half of their assigned harmful objectives, verified in the services' state, not in what the agent said; across models, refusal and completion rates are strongly linked (Spearman -0.73) (Muhamed and Smith, MOLE, Sep 2026; corrected reading on the MOLE paper page). The point that survives: in agentic systems, grade what the account did.

Emergence World scored private reasoning, requested actions, executed actions and speech separately, letting none count for another: all seven exposed worlds warned their community about a phishing lure, none removed its traces, and in the Gemini world agents made 489 calls to the attacker's database after their own world had flagged it (Akkil et al., Sep 2026). A message grader would have scored that world as having detected the attack.

How to grade actions

  • Forbidden actions as hard checks. List what must never happen (a write without the user's explicit yes, a payment method not on the profile, a call outside the allow-list) and scan every tool call for it, in code.
  • Unexpected writes. Count writes that are in no gold action. On the 400 trials an exact audit of write calls (every gold write present with the same arguments, no others) agrees with the database check on 396; where they disagree, read the transcript.
  • A monitor over the trace for what you cannot enumerate. In MOLE an LLM reading what the agent did beat count-based anomaly detection, and showing it the agent's reasoning helped wherever the agent wrote it; a renderer that clipped tool arguments at 600 characters hid every data-poisoning trigger from every monitor.
More evidence: MOLE's details, Emergence World's correction, HAL's logs

MOLE. 24 models never refused yet completed anywhere from 20% to 100%, mostly by not attempting; the best monitor (Claude Opus 4.7, reviewing 10 accounts a day) caught 24 of 45 completed harms. On MOLE's DeepSeek corpus, GPT-4.1 with reasoning beat GPT-5.5 on audit events alone. The monitor-side audit runs in the browser on the MOLE paper page's Run the daily audit tab.

Emergence World ran eight ten-agent worlds for days under phishing, misinformation and memory exposure. The 489 calls are counted from the released tool-call records on the Emergence World paper page. The paper's "up to 46 hours" is one agent retrying an attack link after the campaign, not a measured detection-to-stop delay; corrected on the paper page.

HAL re-ran nine benchmarks in 21,730 rollouts and, by reading logs with an LLM's help, found agents "searching for the benchmark on HuggingFace instead of solving a task, or misusing credit cards in flight booking tasks" (Kapoor et al., HAL, Oct 2025); neither shows up in a success rate.

Runtime enforcement of the same checks, as rails before and after each call: Guardrails. Benchmarks that grade refusals and harmful completions: Safety and honesty benchmarks.

The transcript judge and the database disagree on 49 of 400 trials, in both directions

τ²-bench's natural-language assertions (an LLM judge over the transcript) against the database check, all 400 trials. The 18 trials in the corner the judge passes and the database fails are the dangerous ones: a confident report over a wrong world. measured here; any other pair of graders is in the Three graders, 400 trials tab.

Step-level grading: where it went wrong, and what not to demand

A step grader looks inside the trajectory: gold-action matching (did the agent make each reference call with those arguments; τ²-bench computes it as action_checks, marked read, write or generic, though its airline and retail rewards do not use it), trajectory matching of the whole call sequence (LangChain's agentevals: strict, unordered, subset, superset, each with a tool_args_match_mode), per-step judges and process reward models (next section), and efficiency counts (calls, failed and repeated calls, tokens, time).

Demanding the reference path is the common mistake. Anthropic: "There is a common instinct to check that agents followed very specific steps like a sequence of tool calls in the right order. We've found this approach too rigid and results in overly brittle tests, as agents regularly find valid approaches that eval designers didn't anticipate." On the 400 trials, τ²-bench's gold-action check fails on 24 trials whose database is exactly right, usually over read calls (a lookup the agent did not need, or a calculate it did in its head, as in task 12).

Predict: superset on write calls allows extra calls. Will it catch task 31's trial, whose gold path is empty and whose one extra write broke the database? Open the grid below, pick superset, and look at the five trials.

All 32 matcher settings, both agents, and the five stepped-through trials
strict
the same tool calls in the same order (agentevals also requires the same messages; τ²-bench's gold has none, so this port compares calls only)
unordered
the same tool calls, any order
subset
every call the agent made is in the reference (no extra calls)
superset
every reference call was made (extra calls allowed)
arguments
exact equal; superset the agent's arguments include every reference key and value; subset the reverse; ignore names only. Matching is on top-level keys, as in agentevals.

The answer: superset passes the task-31 trial, because every reference call was made (there are none); the extra write is invisible to it. Only modes that forbid extra calls (strict, unordered, subset) catch it.

Port of agentevals at commit 946ad15 (13 Jul 2026). Grid values for all 400 trials were computed offline by src/match_port.py; the five-trial verdicts are computed in the page by the JavaScript port and checked against the Python port by checks/check_ui.mjs.

Steps earn their keep in four places:

  1. Diagnosis. The outcome says "fail"; the steps say which call, with which argument, after which user turn. Every number on this page was explained by reading steps.
  2. Actions that must never happen, as hard checks (previous section).
  3. Cost and efficiency, which the outcome cannot see: two agents that reach the same state with 7 calls and with 70 are not the same agent (Cost and budgets).
  4. When the outcome is unobservable or arrives too late: long tasks, production actions you cannot replay, intermediate checkpoints for partial credit.

Loosen the path match to "the same writes, any order" and it agrees with the outcome on 198 of 200

agentevals' match modes, ported line by line and run against τ²-bench's gold actions on GPT-5.2's 200 airline trials, exact arguments: how often each matcher's verdict equals the final-state verdict. Matching every call strictly in order passes only 7 trials and agrees on 38; matching write calls in any order agrees on 198. measured here

Who grades a trajectory: judges, agent judges and process reward models

Code graders cover what you can specify. For the rest (was the plan sensible, was the user handled well, did a research agent's report answer the question) a model grades the trajectory, in one of three designs. Each needs its own calibration against people, as LLM-as-judge argues for every judge.

  • Trajectory LLM judge. A model reads the transcript and answers a rubric (τ²-bench's natural-language assertions; agentevals' default TRAJECTORY_ACCURACY_PROMPT). On web agents "no single LLM excels across all benchmarks": the best of 12, GPT-4o with accessibility trees, reached 69.8% precision, below the rule checkers' 83.8% but with far better recall.
  • Agent-as-a-judge. The judge acts: it opens the produced repository, runs code and checks each requirement against evidence. On DevAI (55 AI-development tasks) it agreed with the experts on 90.44% of requirements against 60.38% for an LLM judge without tools, for $30.58 and 118.43 minutes against about $1,297.50 and 86.5 hours for three experts (Zhuge et al., Oct 2024). A third party confirms the direction: on AJ-Bench, tools lifted DeepSeek V3.2 from 64.49 to 77.34 (+12.85 points) and GPT-5-mini (low) from 59.00 to 72.41 (+13.41) (Shi et al., AJ-Bench, Apr 2026, preprint).
  • Process reward model. Scores each step; as an evaluator it gives a per-step curve that locates the step where success became unlikely. It is a trained model, so an agent optimised against it can exploit it (see Reward Hacking), and its step scores need the same meta-evaluation as any judge.
Correction: DevAI's cost and time percentages are swapped in the paper (carried from the root's Judge atlas)
Section 4.4 says the agent judge cost 2.29% of the human cost and took 2.36% of the time. Its own figures give the reverse: $30.58 / $1,297.50 = 2.36% of the cost, and 118.43 of 5,190 minutes = 2.28% of the time. The abstract's savings (97.64% of the cost, 97.72% of the time) agree with the figures.

A judge only knows what it is shown. MOLE's monitors are trajectory judges: on the three multiday corpora whose agents wrote reasoning, GPT-4.1 reading that reasoning had higher recall than GPT-5.5 reading only the audit events (0.49 against 0.39, 0.71 against 0.52, 0.68 against 0.45), and the 600-character clip hid every data-poisoning trigger. Decide what the judge sees as deliberately as which judge you use, and log enough that you can change your mind later.

More on judges: mobile agents, process reward models' origin, MOLE's intervals

AgentRewardBench: experts labelled 1,302 trajectories from 5 benchmarks and 4 agents to test the 12 judges.

Mobile agents. On 931 mobile-agent trajectories, a simple judge reading sampled screenshots (90.9% with Gemini 3 Flash, the authors' own baseline) matched or beat purpose-built pipelines (89.3% for AgentRewardBench's method) (MobileJudgeBench, Aug 2026, preprint).

AJ-Bench has 155 tasks in search, data systems and GUI. DevAI has 365 hierarchical requirements and three expert annotators; the agent-judge figures are the paper's own runs.

Process reward models. The idea came from maths: OpenAI found "process supervision significantly outperforms outcome supervision" for training on MATH, with its process-supervised model solving 78% of a representative test subset, and released PRM800K, 800,000 step-level human labels (Lightman et al., May 2023). For agents, AgentPRM learns step values from Monte Carlo rollouts (how often does the task succeed if you continue from here?) and InversePRM learns them from demonstrations; 3B models trained with them beat GPT-4o baselines on ALFWorld (Choudhury, Feb 2025); the paper itself analyses reward hacking.

MOLE's monitor comparison: the paired interval excludes zero on one corpus, is borderline on one and not established on one.

Every judge and test of judges, dated: the root's Judge atlas tab. Calibrating any judge against human labels: Human evaluation and annotation.

A judge that can act agrees with experts far more often than one that only reads

Top: what each design reads. Below: the same judge without and with tools. DevAI: agreement with three experts' consensus on 365 requirements (OpenHands' outputs, black-box setting); AJ-Bench: the judge's score on 516 annotated trajectories. published by each paper's authors; the two benchmarks use different measures, so compare the gaps, not the bars across rows.

Reliability across runs: pass^k

An agent run is a sample. The same agent on the same task can pass, fail, or pass for a different reason, so one trial per task measures luck as much as skill. Two numbers separate them: pass@k, the chance that at least one of k trials succeeds (the right number when a person picks the best attempt), and pass^k, "the probability that all k trials succeed" (Anthropic's wording; the metric is from τ-bench, Yao et al., Jun 2024). A product that must work every time a customer calls is a pass^k product.

Fig. 3 counts both on one real task; averaged over tasks:

pass^k = mean over tasks of C(c, k) / C(n, k)     pass@k = mean over tasks of [ 1 − C(n−c, k) / C(n, k) ],   n trials per task, c of them passed

pass@k counts the draws of k trials that include at least one pass (all draws minus those taken only from the n − c failures); it has been the metric of code benchmarks since Codex. Both estimators are unbiased for k ≤ n, and at k = 1 both equal the mean success rate; beyond n they cannot be estimated without a model of each task's success probability. The obvious plug-in, the observed rate raised to the power k, is biased: Coding benchmarks, closed block "Why the obvious estimator is wrong". How the per-task counts add up to a leaderboard's number, platform by platform: Agentic benchmarks, Fig. 3.

Fig. 3, the estimator counted on one task

  1. One task, four trials. GPT-5.2 on airline task 19: trials 1, 2 and 4 passed, trial 3 failed, so n = 4 and c = 3.
  2. k = 1. Each trial alone is a draw: 3 of the 4 pass, so pass^1 = pass@1 = 3/4 = 0.75, the plain success rate.
  3. k = 2: every pair. There are C(4,2) = 6 ways to choose two of the four trials. 3 pairs are all-pass (C(3,2) = 3), so pass^2 = 3/6 = 0.50; every pair contains a pass, so pass@2 = 1 − C(1,2)/C(4,2) = 1.
  4. k = 3. 4 triples; only 1 is all-pass, so pass^3 = 1/4 = 0.25, while pass@3 stays 1.
  5. k = 4. The one draw of all four includes the failure: pass^4 = 0, pass@4 = 1. On one task pass^k can only fall with k and pass@k only rise.
  6. Average over the tasks. The same count on all 50 tasks (36 passed 4 of 4, 6 three, 1 two, 2 one, 5 none) gives GPT-5.2's pass^1 to pass^4 of 83.0, 78.3, 75.0, 72.0, and pass@1 to pass@4 of 83.0, 87.7, 89.0, 90.0. Why it is unbiased: each draw is itself k trials of the task, so the chance that all its trials pass is pk, and averaging over every draw keeps that expectation.

Over the eight trials of each task (both agents, the strip beside): 30 tasks pass in all 8 trials, 17 are mixed, and 3 (tasks 23, 39 and 44) never pass. Anthropic's rule of thumb applies to the last group: "a 0% pass rate across many trials (i.e 0% pass@100) is most often a signal of a broken task, not an incapable agent". Eight trials is far from a hundred, and whether these three are broken is unconfirmed here; they are the first transcripts to read. Task 29 is the mixed kind worth reading too: it passed once, and what decided it was the simulated user.

Where the variance comes from

  • The agent's sampling. The variance you want to measure.
  • The simulated user. Its improvisations change the right answer (task 29), so part of what any simulated-user eval measures is the simulator, and its version changes between leaderboard rows. Pin it, and when a task flips, check whether the user changed first.
  • The environment. "Each trial should be 'isolated' by starting from a clean environment. Unnecessary shared state between runs (leftover files, cached data, resource exhaustion) can cause correlated failures due to infrastructure flakiness rather than agent performance" (Anthropic).
  • The grader. A code grader on a fixed trajectory is deterministic: re-grading the 200 GPT-5.2 airline trials reproduces every recorded reward. An LLM judge is not; re-run it on fixed trajectories to measure its own noise before you blame the agent.

Trials of one task are correlated, so k trials of 50 tasks are not 50k independent observations: cluster error bars by task (Eval statistics has the formulas and the sample-size calculator). How public leaderboards report pass^k: Agentic benchmarks.

The two agents tie at k = 1 and part as k grows: reliability is a curve, not a number

pass^k from the released trials with the formula above: GPT-5.2 83.0, 78.3, 75.0, 72.0; Opus 4.5 84.0, 77.7, 73.5, 70.0 for k = 1 to 4, matching the leaderboard's pass^1 and pass^4 independently. derived here

Per task, over all eight trials (both agents)

Tap a task for its eight outcomes. Outlined squares are tasks the do-nothing agent passes.

A failure taxonomy for agent runs

A pass rate says how often; a taxonomy says why, and which fix to try. Use two levels. The symptom can be read by code from the trace and the state diff, for every trial. The cause needs a person (or a judge) reading the transcript, for a sample.

Symptoms are not causes. "No write when one was needed" includes task 0's transfer to a human and an agent wrongly refusing; "wrong write" includes task 29, where the cause was the gold state and the simulated user, not the agent. τ-bench's authors read 36 failed gpt-4o retail trajectories and found about 55% "wrong argument or information provided", 25% "incorrect decision-making" (rules and domain) and 19% "partial resolution of compound requests"; 4 further failures were the user instructions' fault (τ-bench, Figure 5). For your own suite, keep these cause labels for each failure you read:

CauseWhose faultHow you see it
Wrong decision, wrong argument, incompleteThe agentState diff plus the step where it diverged
Forbidden or unexpected actionThe agentHard checks and the write audit, even on passing trials
Budget exhausted, crashed, timed outThe run, not a wrong answerThe termination reason: τ²-bench scores any run that did not end with the agent or user stopping as 0 (evaluate_simulation), so a crashed container and a wrong answer look the same unless you log it (all 400 trials here ended with the user stopping)
Simulated user improvised or erredThe simulatorThe user's turns against its instructions (task 29)
Gold state wrong or task ambiguousThe task authorA plausible trajectory fails; tasks that never pass (23, 39, 44)
Grader wrong or noisyThe evalRe-grade fixed trajectories; compare graders
Hacked the checkerAgent and eval togetherSuspiciously high scores, canaries (Reward hacking in your evals)

Multi-agent systems add failures between agents (MAST's taxonomy of 14 modes): owned by Multi-agent patterns.

Most failed trials either never wrote, or wrote the wrong thing

The 66 failed trials of the 400 (GPT-5.2 34, Opus 4.5 32), each placed in one symptom by comparing its write calls with the gold writes: wrote on a no-change task; made no write when one was needed; a gold write missing and another made instead; some gold writes missing; every gold write plus extra ones; writes exactly right but the required information not given. measured here, checked by recompute.py.

Simulated users, sandboxes and environment design

The environment is half of an agent eval: the tools, the state they act on, the simulated user if there is one, and the verifier. Which harness gives you which sandbox (Docker, Kubernetes, VMs, cloud sandboxes, NVIDIA OpenShell with network policies in Inspect; none in lm-eval or HELM) is on Eval harnesses, section Sandboxes for agentic evals; RL environments built for training are on Harnesses for training and evaluation. What to design, whichever you use:

  • The production agent in a copy of production. "It's essential that the agent in the eval functions roughly the same as the agent used in production" (Anthropic): the same tool schemas, system prompt and limits, so the eval measures what you ship.
  • State you can reset and diff. τ²-bench's whole world is a JSON database rebuilt for every trial and replayed for grading, with a frozen clock (every booking in these trials is created at 2024-05-15 15:00). That is what made this page's re-grading and diffs possible.
  • A clean start per trial, so failures are independent (Reliability).
  • A pinned simulated user with instructions that say what the user wants on every choice the gold state depends on (task 29's insurance and payment method were not). Keep the simulator's model and prompt fixed across the runs you compare.
  • A verifier out of the agent's reach. On Terminal-Bench 2.0 an exploit agent replaced the curl the in-container verifier used, and every 3.0 and 4.0 task declares a separate verifier container; OSWorld's gold files were downloadable from inside the VM (Agentic benchmarks).
  • A network policy stated per task: no network, an allow-list, or open. Emergence World's agents turned a read-only fetch tool into a publishing channel through a GET-accepting API (its paper page has the round-by-round containment).
  • Long-horizon state when the risk is long-horizon. MOLE's simulated organisation (150 agent-run accounts, 9 stateful services, 30 workdays) exists because single-session tasks cannot show harm that accumulates across days.

The agent touches only its tools; the verifier and the gold live where it cannot reach

One trial's environment as τ²-bench builds it, with the two boundaries that matter: the sandbox (everything the agent can change) and the verifier's side (gold actions, gold state, the checker), which the agent must not be able to read or edit. Every arrow across the sandbox wall is a choice: the network policy, and what the simulated user is told.

Reward hacking and verifier exploits in your own evals

An eval you optimise against becomes a target, and agents find the gaps faster than people do. In April 2026 Berkeley RDI's exploit agent scored near the top of eight public agent benchmarks "without solving a single task" (the flaw patterns and the Terminal-Bench curl exploit are on Agentic benchmarks; the training-time version is Reward Hacking). The same happens inside private evals:

  • Models hack the scorer you gave them. METR found o3 reward hacking in 0.7% of HCAST runs and more than 43 times as often on RE-Bench (overwriting the timing function, monkey-patching the evaluation "so that it judges every submission as successful"), found by inspecting anomalously high-scoring runs (METR, 5 Jun 2025).
  • Impossible tasks measure the propensity. ImpossibleBench mutates a task's tests so they contradict its specification; any pass "necessarily implies a specification-violating shortcut". GPT-5 cheated on 76% of one-off-mutated SWE-bench tasks; letting the agent flag the task for a human lowered it from 54% to 9% on conflicting SWE-bench tasks (Zhong, Raghunathan and Carlini, Oct 2025).
  • The harness can overfit the eval. StateM's 95.28% Terminal-Bench 2.1 submission fell to 92.36% with all 13 flags the leaderboard's judge raised (four for "harness cheating", gate slots that mapped onto single tasks). HarnessDev: the score a harness creator could see moved the same way as the held-out score in only 34 of 64 version changes (HarnessDev paper page).
  • Self-improving agents keep their hacks. In a Factorio run, Prime Agent found it could spawn resources through RCON despite an anti-cheating heartbeat and saved the shortcut as a reusable skill (Prime Agent paper page).
Defences that cost little
  • Run the verifier where the agent cannot reach it (the figure above): a separate container, tests copied in after the agent stops, read-only or hidden tests.
  • Add canaries: impossible variants of a few tasks (any pass is a hack) and a do-nothing agent (its score is the floor).
  • Keep a held-out task split that no prompt, harness or skill was tuned on.
  • Read the transcripts of the highest scores and of every sudden jump, as METR did; then put a monitor on the rest.
  • Give the agent a legitimate way out ("flag for a human"); it cut cheating by more than five times in ImpossibleBench.
The numbers in detail: METR's tasks, ImpossibleBench's monitors, StateM's flags

METR: hacks also included returning the answer "the scoring system already calculated". On RE-Bench, 21 of 21 runs of Optimize LLM Foundry, 12 of 28 of Rust Codecontest and 6 of 24 of Optimize a Kernel reward hacked; on HCAST it also used a model monitor.

ImpossibleBench: GPT-5 cheated on 2.9% of the one-off-mutated LiveCodeBench tasks; hiding the tests cut cheating success to near zero; a Claude Sonnet 4 monitor caught 86 to 89% of cheating on LiveCodeBench but only 42 to 50% on SWE-bench.

StateM: 95.28% raw, 94.38% with the four flagged trials its authors accepted, 93.26% with all nine reward-hacking flags zeroed, 92.36% with all 13 (420, 415 and 411 of 445 trials); the pull request was closed unmerged on 19 September 2026 (StateM paper page).

Cost and step budgets

Two agents with the same success rate are not equally good if one needs three times the money or ten times the calls, and an agent with no budget can buy success by trying longer. Fix the budget before the run (steps, tokens, wall-clock time, dollars), report the score at that budget, and count "ran out of budget" as its own failure. τ²-bench's runs here allowed 200 steps and 10 tool errors per trial (the files' run configuration); MOLE capped sessions at 50 turns, and two of its four agents hit the cap on the same assignment that GPT-5.3 finished in 9 turns. A cap that one condition hits more often becomes part of the comparison: in a task-framing study of Claude Code, the sessions given the framing hit a 1200 s cap in 39% of runs against 5%, every cut-off session scored as a failure, and the cap made up part of a 23-point kernel-quality gap on 8 KernelBench tasks (Does task framing change how Claude Code works?).

A failing agent keeps searching (GPT-5.2: $0.181 against $0.100 a trial, 15.7 tool calls against 9.6). The two runs that tie at pass^1 cost $22.76 for GPT-5.2's 200 trials against $79.84 for Opus 4.5's: $0.137 against $0.475 per successful trial. Prices change and these are the harness's estimates, so the ratio, not the dollars, is the finding. At scale, HAL spent about $40,000 on 21,730 rollouts and found "higher reasoning effort reducing accuracy in the majority of runs", so more budget is not automatically more score. How much of an agent's bill is the harness rather than the model: Eval harnesses, section 3 (the same model across harnesses, measured).

Failing trials cost more than passing ones, and equal pass rates hide a 3.5x cost gap

Mean agent cost and tool calls per trial, passing against failing, from each trial's agent_cost field in the released files (the harness's own estimate; the user simulator's cost is separate). computed here, checked by recompute.py.

What to log so any grader can run again

Everything on this page was graded from logs. Log every tool call with full arguments and results (no 600-character clip), state snapshots or diffs, the termination reason, tokens, cost and time per step, the agent's reasoning where policy allows (MOLE's monitors needed it), and the versions of the model, prompt, harness, simulated user and judge. Then any grader can be re-run, later, on the same trials.

One trap in the standard: in the OpenTelemetry GenAI conventions a tool span requires gen_ai.tool.name, but gen_ai.tool.call.arguments and gen_ai.tool.call.result are opt-in, so default instrumentation drops exactly what an action grader needs. Turn them on in eval runs. Spans, attributes and the tools compared: LLM observability.

The trace formats graders read (as of 4 October 2026)
Standard or toolUnitWhat matters for grading
OpenTelemetry GenAI semantic conventions
status Development; moved to their own repository (commit e07f4eb, 2 Oct 2026)
Spans: invoke_agent {gen_ai.agent.name}, execute_tool {gen_ai.tool.name}, chat {model}; operations also include plan, retrieval, invoke_workflow, create_agentgen_ai.tool.call.id recommended; arguments and result opt-in
LangSmithA run ("a single unit of work"), a trace ("a collection of runs for a single operation"), a thread (a multi-turn session)Trajectory evaluators (agentevals) run over these traces
BraintrustA trace of spans typed eval, task, llm, function, tool, scoreScorers run offline in experiments or online on production logs, and write a score span; ingests OpenTelemetry
Inspect logsOne .eval log per run, every event timedThe sibling page's Inside a run log tab opens a real one (Eval harnesses)

Using traces to gate releases, golden sets of trajectories and online scoring: Production eval engineering.

Building an agent eval suite for your own product

  1. Write tasks with a resettable, diffable state and a gold end state; say in the user instructions everything the gold depends on.
  2. Balance tasks that need a change against tasks whose right answer is no change; run a do-nothing agent and report its score.
  3. Grade the outcome with code; add hard checks for forbidden actions and an audit of unexpected writes.
  4. Use model judges (transcript, agent-as-a-judge, PRM) only for what code cannot specify, and calibrate each against human labels.
  5. Run several trials per task; report pass^k, clustered error bars, and per-task outcomes.
  6. Isolate trials and the verifier; pin the simulator, the judge and the harness versions.
  7. Label failures by symptom with code and by cause for the ones you read.
  8. Add impossible canaries and a held-out split; read the top scores and every jump.
  9. Fix budgets; report cost per success and budget-exhausted failures separately.
  10. Log full traces (arguments, results, state, reasoning, versions) so any grader can be re-run.

Built 4 October 2026 as a new page; rebuilt 24 October 2026 to the teaching contract (see src/README.md). Data computed in the page: Sierra's τ²-bench airline trajectory files for GPT-5.2 (high) and Claude Opus 4.5 (high) (MIT), re-graded with τ²-bench at commit 5bfa7e3. Corrected facts from the parent page, the root's Judge atlas and the MOLE, Emergence World, StateM, HarnessDev and Prime Agent paper pages.