Deep dive · Agents · Evaluation
Evaluating LLM Agents
A literature review of agent benchmarks, metrics and graders, how they break, and how to build an agent evaluation system that holds up in production.
Summary
- Agent evals grade trajectories in stateful environments, so the harness, scaffold and budget are part of what gets measured.
- Benchmarks evolved from toy interactive worlds (2020–22) to realistic execution (2023–24), user-in-the-loop reliability (2024–25), and economically grounded, long-horizon work (2025–26).
- One success rate is not enough. Report error bars, pass^k, cost at a fixed budget and, where possible, time horizons.
- In 2026 benchmarks broke in public: contamination, broken tests, harness exploits that reach ~100% without solving tasks, reward hacking, and models that know they are being tested.
- The harness (the loop, tools, context management and sandbox around the model) can move scores as much as the model does. It needs to be reported, controlled and tested.
- For RL-trained agents the reward is an eval, so held-out environments, separate graders and contamination controls matter even more. Search agents add moving targets: live web content, attribution and long-form report quality.
- In production, evals form a loop: traces → failure mining → datasets → isolated graders → CI gates → online monitoring → back to traces.
One-Pager: Building Agent Evaluation End to End
Agent evaluation is one loop: run tasks as repeated trials of your agent in a sandbox, grade what it changed and how it got there, and gate releases on the result. This page is that loop on one screen.
What You Evaluate
You evaluate the agent system, not the model: model + harness + customisation (skills) + budget. Pin and report all four (Model, Harness, Customisation).
- Task: instruction, starting state and a machine-checkable definition of success.
- Trial: one run in a fresh sandbox. Run several per task: pass@k says whether it can, pass^k whether it reliably does (pass@k vs. pass^k).
- Final state: what the run changed. Grade this first; it accepts any valid path.
- Trajectory: every action and observation. Use it for policy, safety, efficiency and debugging.
The Environment
Every trial must start from the same state and touch nothing outside the sandbox, or the final state cannot be graded.
- Sandbox per trial (container or VM: repo, browser, OS, database) restored from a snapshot, so trials are independent and side effects stay contained.
- Real tools behind the same interfaces as production (function schemas, MCP servers); mock only irreversible or paid actions. Scores transfer to production only if the tools match.
- Seeded state (databases, files, accounts) per task, with a state-diff hook for the grader. This is what makes state-based grading possible.
- Simulated user with a hidden goal and persona for multi-turn agents, as in τ-bench, to test clarification, policy and recovery (Multi-Turn Users).
- Determinism controls: pinned versions, fixed clock and seeds, recorded web content, so agent variance is not confused with environment flakiness (Non-Determinism).
- Graders outside the sandbox, read-only on the agent's outputs, so the agent cannot edit tests or reward files (Harness Hacking).
The same environment doubles as an RL training environment and a data generator (Held-Out Environments).
The Architecture
Tasks flow to a runner, runs to graders, scores to a gate, and production failures back to tasks (Reference Architecture).
Who Grades What
Use the cheapest grader that is valid for each dimension. Not every result goes through every grader; humans sit beside the automated graders, not after them.
| Rules / code | Autorater | Humans | |
|---|---|---|---|
| Final state | Primary: tests, state diff, DB checks | Only what code can't check (quality of a written deliverable) | Calibration labels, sample audits |
| Trajectory | Primary for rules: policy, forbidden or malformed tool calls, step and cost limits | Primary for quality: reasoning, efficiency, communication; one rubric item per call | Escalations when the judge is unsure |
Table. Who grades what. Where a judge is used, only items it is unsure about escalate to humans (Trust or Escalate); calibrate the judge first (Calibrating Autoraters).
| Rules / code | Autorater (model-based) | Humans | |
|---|---|---|---|
| Forms | Unit tests, state diffs, schema and tool-argument checks, policy rules, exact match | Rubric judge, pairwise preference, agent-as-a-judge with tools, trained calibrated autorater | Expert review, blind pairwise comparison, spot checks, user A/B tests |
| Strengths | Cheap, fast, deterministic, auditable | Flexible, scales, explains its verdict | Reference standard for quality |
| Failure modes | Too narrow (rejects valid paths) or too loose; hackable inside the agent's sandbox | Position, length and self-preference bias; fails where it can't solve the task; drifts with model updates | Slow and costly; disagree more than assumed on long work |
| Validate by | Running reference solutions and null agents; adversarial audit | κ and failure-class recall against human labels; calibration; bias probes (checklist) | Inter-rater agreement with error bars |
Table. The three grader families compared (code graders, LLM-as-a-judge, human experts).
The Decisions
| # | Decision | Default | Read |
|---|---|---|---|
| 1 | What is the eval for? | Separate suites for capability tracking, regression gating, RL reward and launch decisions | Reward ≠ eval |
| 2 | Which agent type and environment? | Real tools in sandboxes; mocks only where side effects can't be contained | Evals by type |
| 3 | Where do tasks come from? | Production traces plus expert-written hard cases, each with a reference solution | Task specs |
| 4 | Single-turn or simulated user? | A user simulator with hidden goals for conversational agents | Multi-turn users |
| 5 | Outcome or process grading? | Outcome first; process checks for policy, safety and cost | Who grades what |
| 6 | Which grader per dimension? | Cheapest valid grader; calibrate every model grader on human labels | Acceptance checklist |
| 7 | How many tasks and trials? | Enough for the error bar you need; at least 3 trials when reliability matters | Error bars, stats in the gate |
| 8 | Which metrics? | Success with CI, pass^k, cost and latency at a fixed budget, per slice | Cost-aware |
| 9 | How to stay valid over time? | Held-out and refreshed sets, canaries, contamination checks, grader audits | Integrity checks |
| 10 | How does it run? | Tiered CI suites (smoke, full, nightly) plus sampled online monitoring | Tiers, online |
Table. The ten design decisions, in order, with defaults.
Build It Step by Step
- Step 1, define success: pick 3–5 quality dimensions with stakeholders; write 30–50 tasks with reference solutions and state-based checks; pin model, harness, skills and budget.
- Step 2, runner and traces: sandboxed runner with k trials, fixed seeds where possible, full traces (tool calls, state snapshots, tokens, cost).
- Step 3, graders: rules for state and policy; one autorater per remaining rubric item; hand-label 200–300 items and measure κ and failure recall before trusting any model grader.
- Step 4, analysis and gate: paired comparisons with bootstrap CIs per slice; a failure taxonomy from transcript review; a CI gate that blocks significant regressions, not noisy dips.
- Step 5, harden: null-agent and reference-agent runs, grader red-teaming, contamination checks, a held-out split; add a user simulator if conversational.
- Step 6, close the loop: sample production traffic into online autoraters; route low-confidence and failed cases to humans; mine failures into new tasks weekly.
State-based grading of several trials on 50 real tasks, with transcripts you actually read.
Key Concepts
The core ideas of this book, one card each: a definition, an explanation from basics, why it matters, a common misconception and a diagram. Click a card, or any dotted-underlined term with a badge in the text, to open it in the side panel. To add your own, highlight any phrase and choose Key Concept.
Expert Primer: Mental Models, Debates and Self-Test
This page condenses the book into what an expert carries in their head: five ideas the field agrees on, three questions it still argues about, and ten problems that check whether you can use those ideas rather than recite them. Each item links to the section that develops it, so the primer doubles as a map of the book.
Five Core Mental Models
Practitioners from labs, academia and production teams disagree about a lot, but these five ideas sit underneath almost every serious agent eval. Each is a lens for interrogating a benchmark number you have never seen before.
1. Grade trajectories in environments, by the state they leave behind. An agent eval scores a sequence of actions taken against a stateful world, and what matters is the end state of that world, not what the agent says it did. Agents routinely claim success while the database is unchanged, and many action sequences are valid. τ-bench sets the pattern by comparing the final database with an annotated goal state and ignoring the conversation for its headline score. The convergent rule: outcomes for the headline number, process checks for policy and safety, and transcript reading to catch a grader that is wrong (What Makes Agent Evaluation Different, Outcome vs. Process).
2. The system under test is model + harness + budget. A score is a statement about the model, the scaffold around it, the turn/token/time budget and the evaluation harness together. Changing only the wrapper can move results as much as a model generation. On one AppWorld leaderboard, five harnesses around the same Claude Opus 4.5 backend ranged from about 0.61 to 0.70, with more than tenfold cost differences, and Terminal-Bench now reports agent–model pairs. So model comparisons need one pinned, neutral harness, and product comparisons should treat the harness as the product (The Harness Moves the Score, Scaffold Sensitivity).
3. A benchmark is a measurement instrument with error bars and a validity argument, and so is its grader. Every score has sampling error, and every score assumes the tasks are solvable and the grader's "pass" means success. On an 89-task suite at 60%, the 95% interval is roughly ±10 points, wider than many leaderboard gaps. OpenAI's audit of SWE-bench Verified found that at least 59.4% of the tasks frontier models kept failing had tests that rejected correct fixes, so the top of the leaderboard was measuring task noise. The grader needs the same treatment: κ against human labels, recall on the failure class, bias probes (Error Bars, Task Validity, Is the Autorater Right?).
4. Capability and reliability are different quantities. pass@k asks whether the agent can ever solve a task; pass^k asks whether it solves it every time, which is what a deployed agent faces. Because \(p^k\) collapses quickly, a 90% agent succeeds on ten out of ten reruns only about a third of the time. τ-bench's GPT-4o agent scored about 61% on retail but fell below 25% at pass^8. The expert habit is to look at the distribution of per-task success \(p_x\), not just its mean, and to report reliability and cost next to accuracy (pass@k vs. pass^k, What to Measure, Cost-Aware Evaluation).
5. Any measure you optimize against decays, and the grader is an attack surface. Goodhart's law is the field's standing warning: once a score becomes a target (an RL reward, a launch gate, a leaderboard), optimization finds the gap between the score and the goal. Gao et al. showed proxy reward rising while the gold objective peaks and falls; METR saw o3 reward-hack in 30.4% of RE-Bench runs; BenchJack hit near 100% on popular benchmarks with a ten-line pytest hook and similar tricks. The consensus response is architectural: grade in an isolated environment that receives only a declared artifact, keep training rewards and evaluation graders separate, seed impossible-task canaries, and read the passes (The Reward Is Not the Eval, Harness Hacking, Integrity Checks).
Three Fundamental Disagreements
Three disagreements remain unsettled because both sides have strong evidence and the answer depends on what the eval is for. The table gives the shape of each; the sections below set out the strongest case for each side and where practice is converging.
| Debate | Side A | Side B | Emerging synthesis |
|---|---|---|---|
| Who grades? | Model judges (autoraters) | Verifiable, execution-based checks | Deterministic first, calibrated judge with abstention, humans on escalation |
| Which tasks? | Static, public, frozen benchmarks | Private, held-out, refreshed or live evals | Public frozen core plus private split plus rolling refresh |
| What is the target? | Controlled capability benchmarks | Economic and real-world value evals | Capability suites for diagnosis, value evals and deployment evidence for decisions |
Table. The three debates at a glance.
1. Should model judges or verifiable checks be the primary grader?
The case for model judges.
- Most valuable work has no unit test. Reports, code quality, tone and research synthesis can only be graded against a rubric, and strong judges agree with human preferences about as often as humans agree with each other (Zheng et al. 2023).
- Rule-based checks are themselves wrong in systematic ways. AgentRewardBench found WebArena-style rules under-reported success by up to about 30% relative to experts (Lù et al. 2025), and narrow tests rejected correct SWE-bench fixes (OpenAI 2026).
- Judges are improving fast and can be engineered: trained autoraters such as FLAMe beat proprietary judges (Vu et al. 2024), agentic judges approach human panels (Zhuge et al. 2025), calibrated judges nearly remove position bias (Li et al. 2026), and selective evaluation gives provable agreement guarantees (Jung et al. 2025).
The case for verifiable checks.
- Judges have known, persistent biases: position, verbosity, self-preference (Panickssery et al. 2024) and cognitive biases in about 40% of comparisons (Koo et al. 2024).
- Judges have a competence ceiling. They grade well mainly on items they could solve themselves (Krumdick et al. 2025), and on hard objective pairs strong judges sat near random (JudgeBench). Agent transcripts add credulity toward the agent's own claims.
- Under optimization a judge becomes a target. In production loops a 100% pass rate hid about 68% true capability, and rubric rewrites plateaued; the fix was a deterministic layer the judge cannot override (Wahi 2026). Judges also drift when their model or rubric changes.
A tiered cascade: code and state checks first, a calibrated autorater that can abstain second, humans for escalations and audits, with the judge given references so it verifies rather than re-solves (Selective Evaluation, The Validation Bottleneck).
2. Static public benchmarks, or private, held-out and dynamic evals?
The case for static public benchmarks.
- Reproducibility and comparability. A frozen task set lets anyone rerun a result and lets trends be tracked across years; frozen corpora such as BrowseComp-Plus also let retriever and agent be evaluated separately (Chen et al. 2025).
- Public scrutiny is how benchmarks get fixed. The SWE-bench Verified audit, the Agentic Benchmark Checklist (Zhu et al. 2025) and BenchJack (Wang et al. 2026) were all possible because tasks and harnesses were open. A private set can hide the same flaws indefinitely.
The case for private, held-out or dynamic evals.
- Public tasks contaminate. Frontier models reproduced some SWE-bench Verified gold patches verbatim, and BrowseComp answers leak onto the web as people discuss them.
- Contamination can masquerade as method gains. Spurious-reward RL results on Qwen2.5-Math (Shao et al. 2025) were largely traced to contamination, which disappeared on fresh post-cutoff tasks (Wu et al. 2025).
- Fixed sets saturate and become Goodhart targets, which is why SWE-bench Pro keeps a held-back commercial split (Deng et al. 2025) and MCP-Atlas keeps half its tasks private (Bandi et al. 2026).
Hybrids: a public frozen core for reproducibility, a private held-out split for headline claims, procedurally refreshed tasks, and versioned protocols so scores before and after a change are not mixed (The 2026 Benchmark Landscape, Contamination).
3. Should evals target controlled capabilities or real-world economic value?
The case for controlled capability benchmarks.
- They are diagnosable. Narrow, well-specified tasks with objective graders tell you which skill failed, which value-based scores (a bank balance, an expert preference) cannot.
- They are cheap and statistically tractable. Value evals are expensive and noisy: GDPval is one-shot and graded by blind expert comparison (Patwardhan et al. 2025), and Vending-Bench 2 averages only five year-long runs (Andon Labs).
- They support trend lines. The time-horizon metric re-expresses capability in human units across benchmarks (Kwa et al. 2025), which is what forecasting and safety thresholds need.
The case for economic and real-world value evals.
- Capability scores transfer poorly to deployment. Most leaderboards report only capability, while deployment depends on reliability, cost and policy compliance (Kapoor et al. 2024).
- Grounding tasks in real work answers the question decision-makers ask. SWE-Lancer prices tasks in real payouts (Miserendino et al. 2025), TheAgentCompany simulates a firm (Xu et al. 2024), and GDPval covers 44 occupations.
- Synthetic tasks are recognizable. Models can tell evaluation transcripts from real use (AUC 0.83 for Gemini 2.5 Pro; Needham et al. 2025), which argues for more weight on realistic tasks and monitored deployment evidence. Capability metrics also hit their task ceilings: METR flags horizons above roughly 16 hours as unreliable (METR 2026).
Capability suites stay as the diagnostic and trend layer; value-grounded evals, production A/B tests and online monitoring increasingly decide launches (Era 5, Online Evaluation, Open Problems).
Self-Test: Ten Questions
These questions test transfer and reasoning, not recall: each puts an idea from the book into a scenario it does not describe, and asks you to compute, diagnose, choose or design. Answer out loud before opening the model answer. The "What a memorizer misses" line names the step that separates applying an idea from reciting it.
Same pass@1, different agent. Agents A and B both score 80% pass@1 on a support benchmark. A succeeds on every task with probability 0.8. B solves 80% of tasks always and 20% never. Compute pass@4 and pass^4 for each. Which would you deploy for an unattended workflow, and what would you report?
Answer Heterogeneity flips the ranking
For A, pass^4 \(= 0.8^4 \approx 0.41\) and pass@4 \(= 1 - 0.2^4 \approx 0.998\). For B, per-task values are 1 or 0, so both pass^4 and pass@4 equal 0.8. A looks better if a verifier can pick among samples; B is twice as reliable on repeated runs. This is Jensen's inequality from pass@k vs. pass^k: heterogeneity raises pass^k above \((\mathbb{E}[p_x])^k\). For unattended work prefer B, but route the 20% task types it never solves to a human, which is possible precisely because they are predictable. Report the distribution of \(p_x\) (for example, the share of tasks with \(p_x \ge 0.9\)) alongside pass@1.
What a memorizer misses: that a single success rate is compatible with opposite deployment decisions, and that pass@k and pass^k can rank the same two agents in opposite orders.
Is a 4-point win real? Agent A scores 62% and B 58% on an 89-task benchmark, one trial each. On closer inspection, A solves 8 tasks B fails and B solves 4 tasks A fails. Is A better? What would you do before claiming it?
Answer Pair, count discordant tasks, add trials
Unpaired, each score has SE \(\approx \sqrt{0.6 \cdot 0.4/89} \approx 5.2\) points, so the difference has an SE near 7 and a 95% interval of about ±14: meaningless. Pairing helps because only the 12 discordant tasks carry information. The per-task difference has mean \(4/89 \approx 4.5\) points and SD about 0.37, so the paired SE is about 3.9 points and the interval roughly ±7.6. Equivalently, 8 wins versus 4 is a coin-flip outcome (two-sided sign test \(p \approx 0.39\)). Before claiming anything, run 3–5 trials per task to separate within-task noise, cluster by repository or site if tasks share a source, and bootstrap over tasks (Error Bars, Statistics in the Release Gate).
What a memorizer misses: that the paired comparison is driven entirely by discordant tasks, so the effective sample size is 12, not 89.
The 92% judge. Your LLM judge agrees with human pass/fail labels on 92% of 1,000 agent transcripts. Both the judge and humans mark 95% of transcripts as "pass". Compute Cohen's κ and the judge's recall on human-labeled failures. Would you use it as a release gate?
Answer κ ≈ 0.16 and 20% failure recall
Chance agreement is \(p_e = 0.95^2 + 0.05^2 = 0.905\), so \(\kappa = (0.92 - 0.905)/(1 - 0.905) \approx 0.16\): barely better than chance. The 8% of disagreements split evenly because both raters have the same marginals, so 4% are human-fail/judge-pass. Of the 5% of transcripts humans failed, the judge caught only 1%, a recall of 20%. As a gate it would wave through four of five real failures. Fix it by stratifying the gold set toward failures, giving the judge references or state checks, scoring one rubric dimension per call, and letting it abstain; then re-measure κ and failure recall with intervals (LLM-as-a-Judge, Autorater Acceptance Checklist).
What a memorizer misses: that with imbalanced labels raw agreement is dominated by the easy class, and the number that matters for a gate is recall on the class the judge exists to catch.
The suspicious jump. After an RL run, your coding agent's score on the internal suite used for reward rises from 45% to 80%. On a held-out suite of different repositories it moves from 41% to 43%. Diagnose and list the checks you would run, in order.
Answer Treat the gap as a hacking or overfitting signal
A widening gap between training-reward success and held-out success is the classic overoptimization signature, not progress (The Reward Is Not the Eval). Candidates: grader exploitation (editing tests, conftest-style hooks, parsing tricks), overfitting to training environments, or leakage of reference solutions. Run, in order: a null agent and a "submit nothing" agent through the grader (any nonzero score is a harness bug); a diff scan for writes to tests, CI configs or graders; a read of a sample of new passes; impossible-task canaries in the spirit of ImpossibleBench; regrading the same artifacts in an isolated environment with a stricter grader than the reward. Then climb the generalization ladder (Held-Out Environments, Integrity Checks).
What a memorizer misses: that the first suspect is the measurement, not the model, and that the cheapest decisive test is running a do-nothing agent through the pipeline.
Vendor CLIs. A colleague reports that model X beats model Y by 6 points on SWE-bench Pro, each run in its own vendor's coding CLI with default settings. What can and cannot be concluded, and how would you redesign the comparison for (a) a model selection decision and (b) a tool purchase decision?
Answer Separate the two audiences
The result compares two complete agents, not two models: harness, tools, context management, retries and budgets all differ, and harness effects of this size are common (The Harness Moves the Score). It is also a single run, so 6 points may sit inside the error bars. For (a), run both models in one pinned, neutral harness with identical tools, budgets and stop rules, multiple trials, paired statistics, and report cost per task. For (b), the harness is the product, so the original design is fine in principle, but fix a budget, use your own tasks, and compare on an accuracy–cost frontier (Evaluating the Harness Itself, Cost-Aware Evaluation).
What a memorizer misses: that the same experiment is valid for one question and confounded for the other.
Design an eval. You must evaluate an assistant that reschedules meetings across several people's calendars and emails attendees, before it ships to a large enterprise. Sketch the eval in five minutes.
Answer State checks, policy checks, simulators, reliability
Tasks: 50–200 mined from real scheduling requests and support tickets, written as versioned specs with success criteria and a passing reference solution (Task Specs as Code). Environment: seeded calendar and mail mocks with realistic conflicts, time zones and permissions, plus a persona-varied user simulator validated against real transcripts. Grading, outside the agent sandbox: the final calendar state matches the goal; collateral-damage diff (no other events moved, no extra emails sent); process checks for policy (no edits to calendars without permission, no invitations to external domains); a calibrated judge only for email tone and clarity. Metrics: pass^k at k = 3–5, per-slice results (time zones, recurring events, large groups), cost and latency at a fixed budget. Add a prompt-injection suite via meeting descriptions and incoming email, and tier the suite into smoke, nightly and release runs (Tiered Suites).
What a memorizer misses: collateral damage and injection through tool outputs; a design that only checks "was the target meeting moved" passes an agent that wrecks everyone else's calendar.
The drifting search agent. A deep-research agent's accuracy on your live-web suite drops 8 points week over week, with no code or model change. How do you find out why, and how do you prevent the ambiguity next time?
Answer The environment moved, not necessarily the agent
A live-web eval run twice is not the same eval: pages change, answers go stale, and search providers return different results (What Makes Search Evaluation Different). First check whether the gold answers are still true as of today, whether the search provider or its ranking changed, and whether the drop is within run-to-run noise. Use stage-level logs to separate "never retrieved the supporting page" from "retrieved it and answered wrong"; a retrieval-recall drop points at the web or provider. For prevention: rerun regressions against a frozen corpus or cached snapshots, keep a smaller live suite for realism, record date and provider on every run, time-stamp answers (Search Evals in Practice).
What a memorizer misses: that for search agents the environment is non-stationary, so a regression signal is only meaningful once the environment is pinned.
Sharper or smarter? RL training raises your agent's pass@1 from 40% to 55%, while pass@64 falls from 85% to 78%. Interpret this. Is it a good result, and what would you report?
Answer RL narrowed the policy
This is the pattern Yue et al. (2025) reported: RL sharpens sampling toward solutions the base model could already find, while the set of problems solvable at all shrinks. For a deployed agent that answers once, higher pass@1 (and likely higher pass^k) is a genuine product gain. As a capability claim, or as a starting point for further RL or best-of-N with a verifier, it is a loss: there is less diversity to exploit and some problems are no longer reachable. Report full pass@k curves, held-out-environment results, and entropy, not only pass@1 (Training-Time Signals). Also run control arms (random and format-only reward) on a post-cutoff set to rule out contamination-driven gains (Contamination and Spurious Gains).
What a memorizer misses: that "good" depends on whether the downstream use samples once or many times.
The confident finance judge. A frontier model judges correctness of agent-written financial analyses. Overall agreement with expert labels is 85%. A teammate proposes using it as the RL reward. Where do you expect it to be wrong, how would you test that, and what would you change?
Answer Look at the items the judge cannot solve
Aggregate agreement hides a competence ceiling: judges grade reliably mainly on questions they can answer themselves, and collapse on the rest (No Free Labels). Test it by splitting the gold set by whether the judge model solves the question unaided and measuring κ and failure recall on each slice. Fixes: give the judge a verified human reference so it verifies rather than re-solves, check numbers with code where possible, split reports into atomic claims with citation checks, and let the judge abstain with escalation (Selective Evaluation). Before using it as a reward, red-team it with plausible-but-wrong analyses; a few percent false positives on hackable outputs is enough for an optimizer to exploit (Evaluating Reward Models and Graders).
What a memorizer misses: that a judge acceptable for offline monitoring can be unacceptable as a reward, because optimization concentrates mass on exactly its false positives.
Reading a time horizon. A model has a 50% time horizon of 8 hours with a logistic slope \(\beta = 1\) per doubling of human task time. What is its predicted success on a 4-hour task, and its 80% horizon? Would you let it run 4-hour tasks unattended?
Answer About 73%, and about 3 hours
With \(\Pr[\text{success}] = \sigma(\beta(\log_2 h_{50} - \log_2 t))\), a 4-hour task is one doubling below \(h_{50}\), so the log-odds are 1 and success is \(\sigma(1) \approx 0.73\). For 80% success the log-odds must be \(\ln 4 \approx 1.39\), so \(h_{80} = 8 / 2^{1.39} \approx 3.1\) hours (Time Horizon). At 73% per task, unattended operation fails about one task in four; if those runs were independent with the same \(p\), ten in a row would succeed only about 4% of the time (\(0.73^{10}\)). Caveats: the slope is model-specific, the fit reflects METR's (mostly software) task distribution, and human time estimates are noisy. Validate on your own task distribution with pass^k before granting autonomy.
What a memorizer misses: that a 50% horizon is a coin-flip point, and deployment needs the much shorter high-reliability horizon on your own tasks.
Introduction
An agent evaluation measures how well a model, wrapped in a scaffold with tools, completes a multi-step task in an environment, where success depends on a whole trajectory of actions rather than a single response. That makes it a different problem from classic LLM benchmarking. When a chatbot answers a question, the evaluation surface is one input–output pair. When an agent books a flight, it may query a database, read a policy, ask the user a clarifying question, change a reservation and send a confirmation. Every step is a chance to fail, and the final state of the world, not the final message, is what we care about.
Evaluation has become the bottleneck of agent research and deployment. Training signals for agentic RL are evaluations. Model launch decisions, frontier safety thresholds and enterprise procurement all rest on them. Yet 2026 was a rough year for agent benchmarks. OpenAI stopped reporting the most cited coding benchmark because of contamination and broken tests (OpenAI 2026). A Berkeley auditing agent drove nearly every popular agent leaderboard to near-perfect scores without solving a task (Wang et al. 2026). The leading long-horizon metric began to run out of tasks long enough to measure frontier models (METR 2026).
The post moves from foundations to practice. Foundations sets up vocabulary and how evals differ by agent type. Literature Review traces benchmarks through five eras and ends with the benchmarks that matter in 2026. Measurement covers metrics, graders and failure taxonomies. Agent Harnesses looks at the software around the model, which both runs and evaluates agents. Evaluating RL Agents covers agents trained with reinforcement learning, where evals and rewards share machinery. Evaluating Search Agents covers search and deep-research agents. When Benchmarks Break catalogs how benchmarks fail. Production covers the challenges teams actually hit, a reference architecture and concrete solutions. Outlook closes with open problems. The structure borrows from Lilian Weng's long-form notes, whose posts on LLM-powered agents and reward hacking are good companions to this one.
\(\pi\) is the agent (model + scaffold), \(\tau\) a trajectory, \(x\) a task from a set \(X\), \(r(\tau) \in \{0,1\}\) or \([0,1]\) the grade, and \(p_x = \Pr[r(\tau)=1 \mid x, \pi]\) the per-task success probability. \(n\) is the number of trials per task and \(c\) the number of successes.
What We Are Evaluating: Model, Harness, Customisation
Agents became genuinely useful around 2025–2026 because three separate things improved at once, and an evaluation has to say which of them it is measuring. Google DeepMind's policy paper on AI agents in science, Wallace, Griffin, O'Neill, Luong and Larter (2026) (PDF), names the three drivers: stronger frontier models, scaffolding (what this book calls the harness) and customisation. Keeping them apart is the cleanest way to read any agent score.
- Frontier model (the base). Better reasoning, including inference-time reasoning that spends more compute on hard steps, lets one model plan, break work into steps and notice its own mistakes. This is what most benchmark tables compare, ideally with the harness held fixed.
- Harness, or scaffolding (the middle). The code around the model: the agent loop, tool access, memory and context management, and coordination of subagents running in parallel. DeepMind describes it as structure that enables latent capabilities and tool use; in practice, the same model scores very differently in different harnesses (see The Harness Moves the Score and Anatomy of an Agent Harness).
- Customisation (the top). Agent skills: shareable instruction sets, often plain text, that encode how a particular discipline does its work, from a lab's analysis protocol to a team's code-review checklist. They make tacit know-how portable, which base models lack. A skill tailors a general agent to one workflow without retraining.
The paper's point is about science, but the layering is general: the model supplies capability, the harness turns capability into action, and customisation points action at a specific job. The same report then argues that agents now generate candidate ideas far faster than anyone can validate them (see The Validation Bottleneck), which is why evaluation, not generation, is becoming the constraint.
| Layer | What it contributes | Examples | How to evaluate it in isolation |
|---|---|---|---|
| Model | Reasoning, knowledge, instruction following | A new frontier model or a reasoning budget | Same harness and skills, swap the model; report paired differences with error bars |
| Harness | Turning reasoning into reliable multi-step action | Tool schemas, planner loop, memory, subagents, context compaction, sandbox | Same model, swap or ablate harness components; measure success, pass^k and cost |
| Customisation | Domain method and tacit knowledge | Skills for a discipline, workflow templates, house style, team checklists | Same model and harness, skill on vs. off on that discipline's tasks, graded by domain-expert rubrics |
Table. The three layers and how to measure each. Any reported agent score is a score for the combination; state all three, as in the system under test of the one-pager.
What This Means for Evaluation
Because an agent's ability comes from three layers, every evaluation should name the layer it is testing, hold the other two fixed, and gate changes to each layer with the suite that fits it.
- Define the system under test as the triple. Record model version, harness version (tools, prompts, loop, context policy) and the skills or workflows loaded, plus budget. A score without all three is not reproducible.
- Attribute gains with ablations. When a release improves, run the factorial: new model with the old harness, old model with the new harness, skills on and off. Otherwise a harness or skill improvement gets credited to the model, or the reverse.
- Different changes trigger different gates. A model upgrade reruns the broad capability and regression suites (Model Upgrades); a harness change reruns reliability (pass^k), cost and harness-integrity checks (Evaluating the Harness Itself); a new or edited skill reruns that discipline's task set with expert rubrics.
- Customisation needs domain graders. Skills encode a discipline's tacit method, so whether they work is judged against that discipline's standards: expert-written rubrics and calibrated autoraters (Calibrating Autoraters), not generic helpfulness scores.
- Measure the combination in production. Users experience the whole stack, so online monitoring and A/B tests grade the triple together, while offline suites isolate layers.
Lineage: Where Agent Evaluation Comes From
Agent evaluation looks new, but nearly every idea in it has a decades-old ancestor. Six threads converge on it; knowing them makes the rest of this post read as refinements rather than inventions.
- Human judgment. The Turing test (1950) made "a judge compares outputs" the original AI evaluation. Cohen's κ (1960) gave a way to check whether two judges agree beyond chance. Both resurface in LLM-as-a-judge (2023) and Agent-as-a-Judge (2024), and in how judges must be calibrated.
- Information retrieval. The Cranfield experiments (1960s) invented the test collection: fixed documents, fixed queries, relevance judgments. TREC (from 1992) scaled it into shared evaluation campaigns, and BEIR (2021) tested generalization across collections. BrowseComp-Plus (2025) is Cranfield for deep-research agents: a frozen corpus with labeled supporting documents.
- Software testing. Hidden unit tests as the oracle of correctness became an LLM metric with HumanEval and pass@k (2021), then a repository-scale agent benchmark with SWE-bench (2023). Every lesson about test adequacy (too narrow, too loose) carries over.
- RL environments. The Arcade Learning Environment (2013) and OpenAI Gym (2016) standardized "environment + reward + episodes" as an evaluation interface. Procgen (2019) added held-out levels to measure generalization, and Agarwal et al. (2021) the statistics for few-run results. Agent benchmarks such as WebShop and τ-bench are that interface with language actions.
- Automatic metrics → autoraters. BLEU (2002) and ROUGE (2004) scored generated text by n-gram overlap with references; BERTScore (2019) matched meaning by embeddings. G-Eval (2023) let an LLM apply a rubric directly, trained autoraters such as FLAMe (2024) learned from millions of human judgments, and calibrated autoraters (2025–26) output preference probabilities they can be trusted on. The Autoraters part follows this thread in full.
- Measurement under optimization. Goodhart's law (1975): a measure that becomes a target stops measuring. It reappears as reward hacking, reward-model overoptimization (2022) and, for agents, harnesses broken without solving a task (2026).
The agent era (2023 onward) combines all six: environments from RL, oracles from software testing, corpora from IR, judges from human evaluation, autoraters from automatic metrics, and a standing warning from Goodhart.
What Makes Agent Evaluation Different
Three properties separate agent evals from static LLM evals.
- State. Agents act on an environment: a repository, a browser, a database, a VM. The environment must be reproducible, isolated and reset between trials, and the grade is usually a function of its final state.
- Long, stochastic trajectories. An episode can run for hundreds of tool calls and millions of tokens. Per-step errors compound, and two runs of the same task can diverge early and never reconverge. Variance across trials is large and must be measured, not averaged away.
- The system under test is more than the model. Scores depend on the scaffold (prompts, tool definitions, retries, context management), the budget (turns, tokens, wall-clock), and the harness. A benchmark number is a statement about all four together.
Anatomy of an Agent Eval
Anthropic's guide to agent evals (2026) offers a vocabulary I'll use throughout:
- Task: a single test case with inputs and success criteria, such as a GitHub issue plus hidden unit tests.
- Trial: one attempt at a task. Because outputs vary, we run several.
- Transcript (trajectory): everything the agent said and did, including tool calls and results.
- Outcome: the final state of the environment. An agent can say it booked a flight while the reservation table is unchanged.
- Grader: logic that scores some aspect of the transcript or outcome. A task can have several.
- Harness: the infrastructure that provisions environments, runs the agent loop, records transcripts, invokes graders and aggregates results.
Outcome vs. Process
The first design decision is what to grade. Outcome grading checks the end state: did the tests pass, does the database match the goal state, is the right file at the right path. Process grading inspects the trajectory: right tools, right arguments, policy followed, no unsafe actions, reasonable efficiency.
Outcome grading is the backbone of most good agent benchmarks because it is objective and does not penalize creative paths. τ-bench ignores the conversation for its main score and compares the final database with an annotated goal state (Yao et al. 2024). But pure outcome grading misses two things: right answers reached the wrong way (guessing, leaking the answer, hacking the grader) and reasonable behavior the criteria failed to anticipate. Anthropic's guide describes a flight-booking eval that Claude Opus 4.5 "failed" by finding a policy loophole that served the user better. The grader was too narrow, not the agent.
A rule most teams converge on: grade outcomes for the headline number, check the process for constraints and safety, and read transcripts regularly, because transcripts are where you discover that your outcome grader is wrong.
What to Measure
It helps to separate the questions an agent eval can answer, since each needs a different design:
| Dimension | Question | Typical signal |
|---|---|---|
| Capability | Can it do the task at all? | pass@1, pass@k, time horizon |
| Reliability | Does it do it every time? | pass^k, variance across seeds and paraphrases |
| Efficiency | At what cost and latency? | $/task, tokens, turns, wall-clock; Pareto frontier |
| Process quality | Did it follow policy and use tools correctly? | Tool-call accuracy, policy violations, collateral damage |
| Safety & security | Can it be misused or hijacked? | Harmful-task compliance, prompt-injection attack success |
| Integrity | Did it succeed honestly? | Reward-hack rate, test tampering, eval awareness |
Table. Six dimensions of agent evaluation. Most public leaderboards report only the first.
Evals by Agent Type
"Agent" covers very different systems, and the right eval depends on what the agent touches and what counts as done. Anthropic's guide separates coding, conversational, research and computer-use agents; I extend that list below. The common thread: find the most objective signal the task allows, and add judges only where nothing objective exists.
| Agent type | What "done" means | Primary grader | Representative benchmarks | Typical pitfall |
|---|---|---|---|---|
| Coding / SWE | Code change is correct and nothing else broke | Hidden tests, build + lint, diff review | SWE-bench Pro, Terminal-Bench 2.0, SWE-Lancer | Narrow tests; test tampering |
| Computer use / browser | App or page reaches the target state | State checkers on VM, DOM or app DB | OSWorld(-Verified), WebArena, AndroidWorld | Flaky GUIs; answers reachable via the filesystem |
| Conversational / support | User's goal met within policy | Final DB state + policy checks + tone judge | τ²-bench, AppWorld | Over-cooperative user simulators |
| Research / search | Correct, well-sourced answer or report | Short-answer match; citation verification; rubric judges | BrowseComp, Mind2Web 2, DeepResearch Bench | Answers change over time; citation hallucination |
| Tool / MCP workflow | Right tools, right arguments, right synthesis | Execution state; claims-based rubric | MCP-Atlas, Toolathlon, BFCL | Grading the call sequence instead of the outcome |
| Data / analytics | Numbers and charts are right | Result-set comparison; numeric tolerance | Spider 2.0-style text-to-SQL, DA-bench-style tasks | Many equivalent queries; float tolerance |
| Multi-agent systems | Team output is correct at acceptable cost | Outcome + per-agent trace analysis | MAST-annotated traces; any of the above | Credit assignment; coordination loops |
| Voice / real-time | Task done with natural turn-taking | Transcript graders + latency and interruption metrics | τ²-bench voice modality; internal suites | ASR errors masking reasoning errors |
| Long-running autonomous | Stays coherent and profitable over weeks | Cumulative outcome (money, uptime, KPI) | Vending-Bench 2, METR time horizon | Huge variance; few runs |
Table. How evaluation changes by agent type. The Spider 2.0 and DA-bench entries describe a style of task rather than a single canonical benchmark.
Coding Agents
Coding has the best objective signal of any agent domain: tests either pass or fail. The hard parts are test adequacy (do the tests reject wrong fixes and accept right ones?) and integrity (did the agent edit the tests?). Good coding evals combine hidden fail-to-pass tests with pass-to-pass regression tests, run them in a fresh container, and flag diffs that touch tests or CI configuration. Beyond correctness, teams increasingly grade code quality (does the diff follow repository conventions? would a reviewer merge it?) with calibrated LLM judges or reviewer acceptance rates, because a patch can pass the tests and still be unmergeable.
Computer-Use and Browser Agents
These agents act through screenshots, accessibility trees or the DOM. Grading reads the resulting state: a file saved with the right contents, a form submitted, a setting changed. Evaluation is expensive (a VM per trial), slow and noisy, because rendering timing, pop-ups and network latency vary. The BenchJack results show a specific risk: browsers can often read the local filesystem, so gold answers must never be stored where the agent's browser can reach them. Good practice is to snapshot the VM before and after, check only the intended state change, and diff for collateral damage.
Conversational and Customer-Service Agents
Here the user is part of the environment, so a simulator is needed. Grade the final world state (refund issued, plan changed), policy compliance (identity verified before writes, no unauthorized discounts), and communication quality (tone, clarity, no hallucinated promises) with a calibrated judge. Reliability matters more than peak accuracy, which is why pass^k originated here. Vary simulated user personas (terse, confused, adversarial, non-native speaker) and validate the simulator against real transcripts.
Tool and MCP Workflow Agents
As the Model Context Protocol spread, a family of benchmarks emerged that test tool discovery, argument construction and synthesis across many real servers. MCP-Atlas (Bandi et al. 2026) uses 36 real MCP servers and 220 tools, with prompts that never name the tool to use. It scores final answers with a claims-based rubric that gives partial credit, and adds diagnostics for tool discovery, parameters and error recovery. Toolathlon (Li et al. 2025) spans 32 applications and 604 tools with realistic initial states and execution-based checks, averaging about 20 turns per task. The lesson from both: grade outcomes and claims, not the exact call sequence, because many sequences are valid.
Data and Analytics Agents
Text-to-SQL and data-analysis agents are graded by comparing results rather than code, since many queries are equivalent. Compare result sets order-insensitively with numeric tolerance, check chart specifications rather than pixels, and test against databases large and messy enough that a wrong join returns plausible-looking garbage. Ambiguous questions need either a clarification turn in the task design or multiple accepted answers.
Multi-Agent Systems
For orchestrator–worker or debate-style systems, the outcome grade is necessary but not sufficient. The same answer may cost five times more tokens than a single-agent baseline. Evaluate against strong single-agent and best-of-N baselines at equal cost (as Kapoor et al. recommend), and label traces with a failure taxonomy such as MAST to see whether failures come from specification, coordination or verification.
Voice and Real-Time Agents
Voice agents add latency, interruptions (barge-in), speech recognition errors and turn-taking to everything above. Separate the layers: evaluate speech recognition on its own, then run the same tasks with text input to isolate reasoning failures, then measure end-to-end task success alongside response latency percentiles and interruption handling.
Long-Running Autonomous Agents
Some agents run for days with a single cumulative objective. Vending-Bench 2 (Andon Labs) gives an agent $500 and a simulated vending business for 365 simulated days, with adversarial suppliers, failed deliveries and refund demands; the score is the final bank balance, averaged over five runs. Andon Labs estimates a strong human strategy could reach roughly $63,000, far above any model so far. These evals measure coherence over time, which short tasks cannot, but each run is long and noisy, so differences between agents need many runs to be trustworthy.
Five Eras of Agent Benchmarks
Reading the agent-eval literature in chronological order shows a clear pattern: each generation of benchmarks responds to a specific weakness of the previous one. I find it useful to think in five overlapping eras.
Era 1: Interactive Worlds (2020–2022)
Before LLM agents were practical, evaluation used simplified, often text-based environments. ALFWorld (Shridhar et al. 2021) aligned text-adventure versions of household tasks with an embodied simulator. WebShop (Yao et al. 2022) built a simulated store with about 1.18 million real products and roughly 12,000 crowd-sourced shopping instructions, scored by how well the purchased item matched the requested attributes. These environments were cheap and reproducible, and they were the testbeds for early prompting methods like ReAct (Yao et al. 2023) and Reflexion (Shinn et al. 2023). Their weakness was distance from real work.
Era 2: Generalist Suites and Tool Use (2023)
When GPT-4-class models arrived, the question became breadth. AgentBench (Liu et al. 2023) combined 8 environments, including OS shell, databases, knowledge graphs, games and web shopping, and showed a large gap between commercial and open models. ToolLLM / ToolBench (Qin et al. 2023) scaled tool use to more than 16,000 real REST APIs. Mind2Web (Deng et al. 2023) collected over 2,000 tasks on 137 real websites. The Berkeley Function-Calling Leaderboard standardized function-call accuracy. The weakness here was grading. Many of these benchmarks compared actions against a single reference trajectory or used LLM judges, which penalized valid alternatives and rewarded imitation.
Era 3: Realistic Execution (2023–2024)
The next generation moved to real artifacts and execution-based grading.
Software engineering
SWE-bench (Jimenez et al. 2024) turned real GitHub issues into tasks: the agent gets a repository snapshot and an issue and must produce a patch. Hidden tests from the fixing PR grade it: fail-to-pass tests must flip and pass-to-pass tests must keep passing. The original set has 2,294 tasks from 12 Python repositories, and the best system at launch solved about 2%. SWE-bench Verified (OpenAI, Aug 2024) used about a hundred engineers to filter 500 well-specified tasks and became the coding number every lab reported for about eighteen months.
Web and computer use
WebArena (Zhou et al. 2023) self-hosts realistic sites (e-commerce, forum, GitLab, CMS, maps) with 812 tasks graded by programmatic checks; a GPT-4 agent succeeded on about 14% versus about 78% for humans. OSWorld (Xie et al. 2024) goes down to real desktop VMs with 369 tasks across office apps, browsers and IDEs, each with an execution-based checker. Humans completed about 72%, the best model about 12%.
General assistants
GAIA (Mialon et al. 2023) collected 466 questions that are simple for people but require browsing, files and multi-step reasoning, each with one unambiguous answer. Humans scored about 92%, GPT-4 with plugins about 15%. BrowseComp (Wei et al. 2025) later refined the idea: 1,266 questions whose answers are hard to find but trivial to verify. OpenAI's Deep Research scored 51.5% at launch.
The strength of this era is outcome validity: execution-based checks reward any correct path. Its weaknesses surfaced later. The tasks are public and contaminate quickly, grading code often runs inside the agent's own sandbox, and almost everything is single-trial with no user in the loop.
Era 4: Users, Policies and Reliability (2024–2025)
Real deployments involve people, rules and repetition. τ-bench (Yao et al. 2024) puts the agent in a customer-service role (retail and airline) with domain APIs, a written policy, and an LLM-simulated user with a hidden goal; it grades the final database state. Its lasting contribution is the pass^k reliability metric. A GPT-4o agent scored about 61% on retail but fell below 25% when it had to succeed on all eight of eight reruns.

τ²-bench (Barres et al. 2025) adds a dual-control telecom domain, modeled as a Dec-POMDP, in which the user also has tools (toggle airplane mode, run a speed test) and the agent must guide them. Performance drops sharply from the setting where the agent does everything itself to the one where it must coordinate, which separates reasoning failures from communication failures. Tasks are generated compositionally from atomic subtasks.
AppWorld (Trivedi et al. 2024) simulates 9 everyday apps exposed through 457 APIs and populated with the digital lives of about 100 fictitious people. Its 750 tasks need rich, interactive code, and its state-based unit tests accept any valid solution while also checking for collateral damage, meaning unexpected changes to state the task should not touch. That second check is an under-appreciated idea that production evals should copy.

A related thread evaluates safety and security under the same agentic conditions. AgentDojo (Debenedetti et al. 2024) pairs 97 realistic user tasks with injection tasks to form 629 security test cases, and measures both utility and the targeted attack success rate when tool outputs contain prompt injections. AgentHarm (Andriushchenko et al. 2024) measures whether agents carry out explicitly harmful multi-step tasks. Cybench (Zhang et al. 2024) uses 40 professional capture-the-flag challenges to measure offensive cyber capability.
If a simulated user is inconsistent, reveals the goal too early or hallucinates, the benchmark measures the simulator as much as the agent. τ²-bench constrains its simulator with tools and observable state, but simulator fidelity remains one of the least-measured sources of noise in conversational agent evals.
Era 5: Economic Value and Long Horizons (2025–2026)
As scores climbed, the question shifted from "can it do benchmark tasks" to "can it do work, and for how long". Several benchmarks tie tasks to real economic value. SWE-Lancer (Miserendino et al. 2025) uses more than 1,400 real freelance software tasks collectively worth about $1 million in payouts. TheAgentCompany (Xu et al. 2024) simulates a small software company with 175 tasks across engineering, HR, finance and admin, including simulated colleagues to message; the best agent at release finished about a quarter of tasks autonomously. GDPval (Patwardhan et al. 2025) builds tasks from real deliverables by professionals averaging 14 years of experience, covering 44 occupations in the 9 sectors that contribute most to U.S. GDP, and grades by blind expert pairwise comparison.
Other benchmarks target AI research itself, partly because automated AI R&D is a key threshold in frontier safety frameworks. MLE-bench (Chan et al. 2024) uses 75 Kaggle competitions graded against human leaderboards. RE-Bench (Wijk et al. 2024) has 7 open-ended research-engineering environments with expert baselines under the same time budget. PaperBench (Starace et al. 2025) asks agents to replicate ICML papers from scratch, graded by an LLM judge against rubric trees co-written with the papers' authors.
On the coding side, SWE-bench Pro (Deng et al. 2025) has 1,865 tasks across 41 repositories in four languages. Every task needs at least 10 changed lines (about 107 lines across 4.1 files on average), and a held-back commercial set from private codebases resists contamination. Terminal-Bench 2.0 (Merrill et al. 2026) has 89 hand-validated, containerized shell tasks and ships with Harbor, a harness for running thousands of sandboxed trials across agent scaffolds. Finally, METR's time horizon work (Kwa et al. 2025) re-expresses all of this in human units: how long a task, measured by expert human time, can an agent complete half the time?
Meta-Evaluation: Evaluating the Benchmarks
The newest strand of literature studies the benchmarks themselves. AI Agents That Matter (Kapoor et al. 2024) showed that accuracy-only leaderboards reward needless cost and that many benchmarks lack proper holdout sets. The Agentic Benchmark Checklist (Zhu et al. 2025) catalogs task- and outcome-validity flaws. The Holistic Agent Leaderboard (Kapoor et al. 2026) standardized harnesses and cost tracking at scale. BenchJack (Wang et al. 2026) attacked harnesses directly. The When Benchmarks Break section covers these findings in detail.
| Benchmark | Environment | Tasks | Primary grader | Known weak spot |
|---|---|---|---|---|
| SWE-bench Verified | Python repos | 500 | Hidden unit tests | Narrow tests, contamination; retired by OpenAI |
| SWE-bench Pro | Multi-language repos | 1,865 | Hidden unit tests | In-container result parsing exploitable |
| Terminal-Bench 2.0 | Docker shell | 89 | Test script, binary | Small n; verifier shares agent's container |
| WebArena | Self-hosted sites | 812 | Programmatic checks | Gold answers reachable via file:// |
| OSWorld | Desktop VMs | 369 | Execution checkers | Cost, flakiness, VM state manipulation |
| GAIA | Web + files | 466 | Normalized exact match | Public answers; normalization collisions |
| BrowseComp | Open web | 1,266 | Short-answer match | Answers leak to the web over time |
| τ-bench / τ² | APIs + simulated user | ~280 | Final DB state | Simulator fidelity; empty replies scored as success |
| AppWorld | 9 simulated apps | 750 | State-based unit tests | Synthetic world; English-only users |
| AgentDojo | Tools + injections | 629 | Utility & security checks | Static attacks underestimate adaptive ones |
| GDPval | Office deliverables | 1,320 | Expert pairwise preference | Expensive; one-shot, not interactive |
| MLE-bench / RE-Bench | ML sandboxes | 75 / 7 | Leaderboard / score | Reward hacking of scoring code |
Table. A map of major agent benchmarks. τ-bench counts are 115 retail + 50 airline tasks, plus 114 telecom tasks in τ²-bench. AgentDojo's count is security test cases (97 user tasks).
The 2026 Benchmark Landscape
Which benchmarks actually show up in frontier model launches and independent leaderboards in 2026? The set has turned over almost completely since 2024. SWE-bench Verified, the original OSWorld and the original Terminal-Bench were the headline numbers then; now the commonly reported agentic suite looks like this:
| Benchmark | Capability | Scale | Grading | Why it's reported |
|---|---|---|---|---|
| SWE-bench Pro | Repo-level coding | 1,865 tasks | Hidden tests | Successor to Verified; held-out commercial split |
| Terminal-Bench 2.0 | Shell / systems work | 89 tasks | Test scripts | Hard, hand-validated; agent + model pairs |
| OSWorld-Verified | Desktop computer use | ~369 tasks | Execution checkers | Cleaned-up re-release of OSWorld |
| τ²-bench | Conversational tool use | 3 domains | Final DB state | Policy following with users; reliability |
| BrowseComp | Deep web research | 1,266 Qs | Short-answer match | Hard-to-find, easy-to-check facts |
| MCP-Atlas | Real MCP tool use | 1,000 tasks | Claims rubric | 36 real servers; held-out half |
| Toolathlon | Cross-app workflows | 108 tasks | Execution scripts | 32 apps, 604 tools, real initial states |
| HLE with tools | Expert Q&A + search/code | 2,500 Qs | Exact / judge | Frontier knowledge with tool use |
| GDPval | Professional deliverables | 1,320 tasks | Expert pairwise | Economic relevance |
| Vending-Bench 2 | Long-horizon coherence | 1 sim-year | Final balance ($) | Weeks-long autonomy |
| METR time horizon | Task length at 50% success | 170+ tasks | Logistic fit | Cross-benchmark, human-unit trend |
| MLE-bench | ML engineering | 75 comps | Kaggle medals | AI R&D capability tracking |
Table. Agent benchmarks commonly reported in 2026. Scores move monthly and depend on the harness, so I list what each measures rather than current numbers; check each benchmark's leaderboard for the latest results.
Three patterns stand out. First, held-out splits are now standard: SWE-bench Pro and MCP-Atlas both keep part of the data private to resist contamination and overfitting. Second, agent + model pairs are increasingly reported together, because results depend on the harness (Terminal-Bench's leaderboard lists both; see Agent Harnesses). Third, benchmark maintainers now change protocols mid-life. MCP-Atlas, for example, upgraded its judge and replaced a turn limit with a tool-call budget in April 2026, so scores from before and after a protocol change are not directly comparable.
Metrics Beyond a Single Success Rate
The default metric is the mean success rate, \(\hat{p} = \frac{1}{|X|}\sum_x \frac{c_x}{n_x}\). It is a fine starting point and a poor stopping point. Four extensions matter for agents.
Error Bars and Paired Comparisons
Agent benchmarks are small. With \(N\) tasks and one trial each, the standard error is roughly
\[ \mathrm{SE}(\hat{p}) \approx \sqrt{\frac{\hat{p}(1-\hat{p})}{N}}. \]On a 500-task benchmark at 70%, that is about 2 points, so a 95% interval of roughly ±4. On Terminal-Bench 2.0's 89 tasks at 60%, it is about ±10. Many headline leaderboard gaps sit well inside these intervals. Miller (2024) sets out the statistics. Cluster standard errors when tasks share a source. Use paired differences when two agents run the same tasks, which removes task-difficulty variance and tightens comparisons a lot. Run several trials per task to separate within-task noise from between-task variance. For two agents A and B on the same tasks,
\[ \hat{\Delta} = \frac{1}{N}\sum_x (\hat{p}^A_x - \hat{p}^B_x), \qquad \mathrm{SE}(\hat{\Delta}) = \frac{\mathrm{sd}_x(\hat{p}^A_x - \hat{p}^B_x)}{\sqrt{N}}, \]which is usually much smaller than the unpaired SE because \(\hat{p}^A_x\) and \(\hat{p}^B_x\) are strongly correlated across tasks.
Deeper Clustered standard errors and the task bootstrap
Tasks are rarely independent: several SWE-bench tasks come from the same repository, several web tasks from the same site. When tasks in a cluster succeed or fail together, the naive standard error is too small. With per-task scores \(s_x\), mean \(\bar{s}\), \(N\) tasks and clusters \(g\), the cluster-robust standard error is
\[ \mathrm{SE}_{\text{cl}}(\bar{s}) = \frac{1}{N}\sqrt{\sum_{g} \Big(\sum_{x \in g} (s_x - \bar{s})\Big)^2 }, \]which reduces to the usual formula when every cluster has one task (Miller 2024). A nonparametric alternative is to resample whole clusters with replacement and recompute the paired difference each time; the 2.5th and 97.5th percentiles give the interval. Resample tasks (or clusters), never individual trials, or the interval ignores between-task variance.
pass@k vs. pass^k
pass@k asks whether at least one of \(k\) samples succeeds, which fits settings where a verifier can pick the good sample. For user-facing agents the question is whether it succeeds every time. Yao et al. (2024) defined pass^k as the probability that all \(k\) i.i.d. trials succeed. With \(n\) trials and \(c\) successes per task, the unbiased estimators are
\[ \text{pass@}k = \mathbb{E}_x\!\left[1 - \frac{\binom{n-c}{k}}{\binom{n}{k}}\right], \qquad \text{pass}^k = \mathbb{E}_x\!\left[\frac{\binom{c}{k}}{\binom{n}{k}}\right]. \]A subtlety: for a benchmark, pass^k averages \(p_x^k\) over tasks. Since \(p^k\) is convex, Jensen's inequality gives
\[ \text{pass}^k = \mathbb{E}_x[p_x^k] \;\ge\; \big(\mathbb{E}_x[p_x]\big)^k. \]Heterogeneity across tasks raises pass^k above the naive guess. In τ-bench, if 61% were a uniform per-trial rate, pass^8 would be \(0.61^8 \approx 2\%\); the measured value was about 25%. Most tasks are ones the agent almost always or almost never solves, with a band of coin-flip tasks in between. The distribution of \(p_x\) says more than its mean. Reporting, for example, the fraction of tasks with \(p_x \ge 0.9\) is often more useful for a deployment decision than any single summary.
Deeper Deriving the unbiased pass@k and pass^k estimators
Run \(n \ge k\) trials of a task and observe \(c\) successes. Imagine drawing \(k\) of the \(n\) trials uniformly without replacement. The chance that the draw contains no success is \(\binom{n-c}{k}/\binom{n}{k}\), so pass@k is one minus that; the chance that every drawn trial succeeded is \(\binom{c}{k}/\binom{n}{k}\), which is pass^k.
Both are unbiased. With \(c \sim \mathrm{Binomial}(n, p)\), \(\mathbb{E}\big[\binom{c}{k}/\binom{n}{k}\big] = p^k\) exactly, because the ratio is the average, over all size-\(k\) subsets, of the product of \(k\) success indicators. The tempting plug-in estimates are biased: by Jensen's inequality \(\mathbb{E}[(c/n)^k] \ge p^k\), so \((c/n)^k\) overstates reliability, and \(1-(1-c/n)^k\) understates pass@k.
For large \(n\), compute the ratio as a running product to avoid overflow, the form popularized by Chen et al. (2021):
import numpy as np
def pass_at_k(n, c, k):
if n - c < k: return 1.0
return 1.0 - np.prod(1.0 - k / np.arange(n - c + 1, n + 1))
def pass_hat_k(n, c, k):
if c < k: return 0.0
return np.prod(np.arange(c - k + 1, c + 1) / np.arange(n - k + 1, n + 1))
Report the benchmark value as the mean of the per-task estimates, and bootstrap over tasks for an interval.
Cost-Aware Evaluation
Because models are stochastic, you can almost always buy accuracy with compute: retry, sample, vote, verify. Kapoor et al. (2024) showed that simple baselines such as retrying with rising temperature matched elaborate agent architectures on HumanEval at a fraction of the cost, and argued for reporting on an accuracy–cost Pareto frontier. HAL (Kapoor et al. 2026) did this at scale: 21,730 rollouts across 9 models and 9 benchmarks for about $40,000. Higher reasoning effort reduced accuracy in most runs, and LLM-aided log review found agents searching HuggingFace for answers and misusing credit cards in booking tasks. A fair comparison fixes a budget (dollars, tokens, turns or time) and reports accuracy at that budget.
Time Horizon
Scores do not compare across benchmarks and saturate fast. Kwa et al. (2025) timed skilled humans on tasks from seconds to many hours, then fit, per model, a logistic curve of success against log human time \(t_x\):
\[ \Pr[\text{success}\mid x] = \sigma\!\big(\alpha - \beta \log_2 t_x\big), \qquad \log_2 h_{50} = \alpha/\beta. \]
The original paper found 50% horizons doubling about every seven months since 2019. METR's Time Horizon 1.1 update in January 2026 added longer tasks and found the 2024–2025 trend closer to a doubling every few months. As the suite saturates, estimates get fragile: a March 2026 METR note reports that a regularization fix cut recent models' horizons by up to 20%, that noise in human time estimates could bias frontier horizons upward by an uncertain amount, and that estimates above roughly 16 hours are unreliable with the current suite. This is the fate of agent metrics in miniature: once everyone watches a metric, the ceiling of its task distribution becomes the binding constraint.
Graders
The grader is where an eval's validity is won or lost. There are four kinds, roughly ordered by cost and flexibility.
Code- and State-Based Graders
Unit tests, final-state comparisons, exact-match answers and assertion scripts are cheap, deterministic and auditable. Their failures are about coverage and trust boundaries:
- Too narrow: tests that accept one implementation reject correct work (the SWE-bench Verified audit).
- Too loose: Zhu et al. (2025) found τ-bench counted empty responses as successes on tasks whose goal state was "no change".
- Inside the blast radius: a grader running in the agent's container can be tampered with (see harness hacking).
LLM-as-a-Judge
For open-ended outputs a model grades against a rubric. Zheng et al. (2023) found strong judges agree with human preferences about as often as humans agree with each other, while documenting position, verbosity and self-preference biases. Agent transcripts add new failure modes: long-context misses, credulity toward the agent's own claims ("All tests pass!"), and prompt injection from text the agent wrote. Shankar et al. (2024) add a practical observation: people refine their grading criteria while looking at outputs, so a judge rubric written up front drifts away from what humans actually want. Practices that help: The Autoraters part covers trained, calibrated and agentic judges in depth.
- One dimension per judge call, with a specific rubric and anchored examples.
- Require evidence quoted from the transcript, and allow "cannot determine".
- Calibrate against a few hundred human labels (Cohen's κ, or precision/recall on the failure you care about), and re-check after any rubric or judge-model change.
- Verify outcomes independently (open the file, query the DB) instead of trusting the agent's description.
Deeper Measuring judge agreement with Cohen's κ
Raw agreement between a judge and human labels is misleading when one label dominates. Cohen's kappa corrects for agreement expected by chance:
\[ \kappa = \frac{p_o - p_e}{1 - p_e}, \qquad p_e = \sum_{c} p_{\text{judge}}(c)\, p_{\text{human}}(c), \]where \(p_o\) is observed agreement and \(p_e\) the agreement two independent raters with the same label frequencies would reach. Example: judge and humans each mark 85% of transcripts "pass" and agree on 90% of items. Then \(p_e = 0.85^2 + 0.15^2 = 0.745\) and \(\kappa = (0.90 - 0.745)/0.255 \approx 0.61\): moderate, despite 90% raw agreement.
For a grader used as a gate, also report precision and recall on the failure class, since that is the class the judge exists to catch. A judge that rarely says "fail" can post high agreement and still miss most real failures.
Agent-as-a-Judge
Zhuge et al. (2025) give the judge tools of its own: read the workspace, search files, inspect dependencies and check requirements one by one. On DevAI (55 AI-development tasks with 365 hierarchical requirements), the agentic judge agreed with expert panels far more than a plain LLM judge, and about as reliably as the human baseline. The trade-off is that the judge is now a stochastic agent whose errors also need evaluating.
Human Experts
Humans remain the reference where quality cannot be specified in advance; GDPval relies on blind expert pairwise comparison. Human grading is slow and expensive, and agreement on long technical deliverables is often lower than assumed, so human labels need error bars too. Human labels work best as the calibration set for automated graders, not as the daily signal.
Failure Taxonomies
A pass/fail score tells you that an agent failed, not why. Failure taxonomies make transcripts actionable. MAST (Cemri et al. 2025) analyzed traces from seven multi-agent frameworks and derived 14 failure modes in three categories, specification and system design issues, inter-agent misalignment and task verification, with inter-annotator agreement of κ = 0.88, plus a validated LLM annotator that labels traces at scale. Two of its lessons generalize: many failures come from system design rather than model limits, and weak or missing verification is among the most common root causes. In production, a team-specific taxonomy (wrong tool, bad arguments, policy breach, gave up early, looped, hallucinated success, unsafe action) is what turns a pile of failed traces into a prioritized backlog.
Autoraters: Models That Grade Models
An autorater is a model that produces an evaluation judgment: a score, a preference, a pass/fail verdict or a probability. The term is Google's; the same object is called an LLM judge, an evaluator model, a reward model (when its output trains a policy) or a verifier (when it checks correctness). Every agent eval that grades open-ended work relies on one, so its error becomes the eval's error. This part follows autoraters from n-gram overlap metrics to calibrated, agentic judges, then asks the question that matters most in practice: how do you know the autorater is right?
- The lineage in one line: overlap metrics (BLEU, 2002) → embedding similarity (BERTScore, 2019) → prompted LLM judges (G-Eval, MT-Bench, 2023) → trained autoraters (Prometheus, JudgeLM, FLAMe, GenRM, 2023–24) → calibrated and selective autoraters (2024–26) → agentic judges of whole trajectories (2024–26).
- The central risk: an autorater is accurate on average but wrong in systematic ways (position, length and self-preference bias, and blindness on items it could not solve itself).
- The central fix: ground it in human labels, measure its calibration, let it abstain, and never let it be the only gate.
Lineage: From BLEU to Calibrated Judges
Stage 1: overlap metrics. Papineni et al. (2002) introduced BLEU for machine translation: the share of the candidate's n-grams that appear in human reference translations, with a brevity penalty. Lin (2004) made the recall-oriented version, ROUGE, for summarization. Both are cheap and reproducible, and both punish a correct answer worded differently from the reference. That is the same failure as the brittle string-match grader in agent evals.
Stage 2: embedding similarity. Zhang et al. (2020) replaced exact n-gram matches with BERTScore, which matches tokens by contextual embedding similarity. It tolerated paraphrase but still needed a reference and still could not judge correctness, helpfulness or safety.
Stage 3: prompted LLM judges. In 2023 strong instruction-following models made the rubric itself the evaluator.
- Liu et al. (2023), G-Eval: GPT-4 first writes evaluation steps for a criterion (chain of thought), then fills in a score form. The final score weights each possible score by its token probability, which gives finer-grained, less tied scores.
- Zheng et al. (2023), MT-Bench and Chatbot Arena: a GPT-4 judge agreed with human preferences about as often as humans agreed with each other, and the paper named the three biases that every later paper measures: position, verbosity and self-enhancement.
- Wang et al. (2023) showed how serious position bias is: simply swapping the order of two responses could flip which model "won".
Stage 4: trained autoraters. Prompted frontier judges are expensive, closed and change without notice. The next step was to finetune judges on judgment data.
- Kim et al. (2024), Prometheus, and Zhu et al. (2023), JudgeLM: open models finetuned on GPT-4-written feedback and scores, approaching GPT-4 agreement at a fraction of the cost.
- Vu et al. (2024), FLAMe (Foundational Large Autorater Models, Google DeepMind): trained on more than 100 quality-assessment tasks with more than 5 million human judgments, curated from public human evaluations. FLAMe-RM-24B reached 87.8% on RewardBench, ahead of GPT-4-0125 (85.9%) and GPT-4o (84.7%), using only permissively licensed data; FLAMe variants beat proprietary judges on 8 of 12 autorater benchmarks and were significantly less biased on CoBBLEr. A tail-patch variant, FLAMe-Opt-RM, stayed competitive with about 25 times fewer training points.
- Zhang et al. (2025), Generative Verifiers (GenRM): train the verifier with next-token prediction, asking "Is the answer correct (Yes/No)?" and reading off the probability of "Yes", optionally after a chain of thought. Because verification is now generation, it can use test-time compute (majority vote over several verification rationales). Best-of-N with GenRM improved GSM8K from 73% to 93.4% and algorithmic tasks from 5% to 45.3%.
Stage 5: calibrated and selective autoraters. A verdict without a confidence cannot be trusted selectively. Jung et al. (2025) let the judge abstain and escalate when unsure, with a statistical guarantee of human agreement. Li et al. (2026) trained autoraters to output the distribution of human preferences rather than a single verdict. Both are covered in detail below.
Stage 6: agentic judges. Agent outputs are trajectories, files and environment states, not paragraphs. Zhuge et al. (2025) gave the judge tools (see Agent-as-a-Judge). Lù et al. (2025) built the first expert-annotated benchmark of LLM judges on web-agent trajectories. Meanwhile DeepMind's earlier Standardised Test Suite (Abramson et al. 2022) had shown the human version of this idea for interactive agents, which is a useful bridge (see Judging Agent Trajectories).
A Taxonomy of Autoraters
Autoraters differ along four independent axes. Naming them avoids comparing a pairwise preference model with a binary trajectory verifier as if they were the same thing.
| Axis | Options | Agent-eval example |
|---|---|---|
| Output | Pointwise score (1–5) · pairwise preference · binary verdict · probability | Pass/fail per rubric item; probability that trajectory A beats B |
| Evidence | Output only · output + reference answer · full trajectory · trajectory + environment state | Judge reads the transcript and queries the database it changed |
| Training | Prompted · finetuned (SFT) · RL-trained · reward-model head | Prompted frontier judge for audits; finetuned small judge for volume |
| Use | Offline benchmark · release gate · online monitor · RL reward | The same judge used as a reward is now a target (see Reward Hacking) |
Table. Four axes for describing any autorater.
Designing an Autorater
Scores, Preferences and Probabilities
The output format decides what can go wrong. A discrete score collapses uncertainty. G-Eval's probability-weighted score keeps some of it:
\[ \text{score}(x) = \sum_{s=1}^{5} p_\theta(s \mid x, \text{rubric})\, s, \]which turns "the judge would say 3 or 4" into 3.6 instead of a coin flip between 3 and 4. Pairwise preference is usually more reliable than absolute scoring for subjective qualities but doubles the calls and invites position bias. A calibrated probability is the most informative: it supports abstention, thresholds and agreement guarantees.
Li et al. (2026), "Judging with Confidence" (Findings of EMNLP 2026, Google, Google DeepMind and collaborators), make this argument formally. Annotators disagree for systematic reasons, not just noise, so the right target for an autorater is the population's preference probability \(p^\star\) that response B beats A, not the majority label. They treat each pairwise comparison as a Bernoulli outcome and train the judge to verbalize a probability \(\hat p\). The training signal is a strictly proper scoring rule, here the Brier score, which is minimized only by reporting the true probability:
\[ \text{Brier}(\hat p, y) = (\hat p - y)^2, \qquad \arg\min_{\hat p} \; \mathbb{E}_{y \sim \text{Bern}(p^\star)}\big[(\hat p - y)^2\big] = p^\star. \]That property is why a judge trained this way ends up calibrated without seeing probabilities directly. The next page, Calibrating Autoraters, walks through the paper in full. Two recipes match two data regimes:
- Dense labels → SFT: about 5K prompts with 10 annotations each; the target is the mean vote.
- Sparse labels → RL: about 50K prompts with one binary label each, trained with GRPO and a Brier (or clipped log) reward; unparsable outputs get a fixed penalty, which drove parsability to 100%.
Results on Gemma-2-9B and Qwen-2.5-7B:
- Same budget, more prompts wins: RL on 50K single labels beat SFT on 5K × 10 labels, which the authors attribute to prompt diversity. Brier beat log reward.
- Calibration and alignment: on Gemma, RL-Brier reached MSE 0.0764 against the target distribution versus 0.1065 for the best zero-shot baseline, with 0.8706 agreement.
- Position bias: on Qwen, consistency under response swaps rose from 0.4964 (zero-shot verbalized confidence) to 0.9007.
- No loss on objective tasks: Gemma RL-Brier scored 46.57% on JudgeBench, above Gemini-1.5-pro (44.57%).
- Transfer: trained on Gemini-labeled preferences, it still agreed 0.8355 with GPT-5-mini preferences, despite 38.5% disagreement between the two label sources.
Deeper Aleatoric vs. epistemic uncertainty in autoraters
A calibrated preference probability captures aleatoric uncertainty: genuine human disagreement about which response is better. It does not capture epistemic uncertainty: the judge not knowing whether its own estimate is right, for instance on a domain it has never seen. Li et al. state this limitation explicitly. The distinction matters for selective evaluation: a judge can be confidently 50/50 on a matter of taste (abstaining is pointless) or unsure because it lacks knowledge (escalate to a stronger judge or a human). Simulated-annotator ensembles (Jung et al.) and the "can the judge answer it" test (Krumdick et al.) are practical proxies for the second kind.
Prompted or Trained?
| Prompted frontier judge | Finetuned / RL-trained autorater | |
|---|---|---|
| Setup cost | Minutes: write a rubric | Weeks: collect labels, train, validate |
| Per-item cost and latency | High | Low (7–24B models in the papers above) |
| Stability | Changes when the vendor updates the model | Frozen and versioned |
| Calibration | Usually poor; verbalized confidence is skewed | Trainable with proper scoring rules |
| Hard objective items | Often better (JudgeBench found finetuned judges lagging) | Limited by the base model's own ability |
| Best role | Audits, rubric development, calibration anchor | High-volume gating, online monitoring, RL reward |
Table. Choosing between prompted and trained autoraters. Most production stacks use both, as tiers.
Judging Agent Trajectories
Judging an agent differs from judging a chat answer in three ways: the evidence is long (dozens of tool calls and observations), the claims inside it are written by the system being judged ("All tests pass!"), and success often lives in an external state the transcript only describes.
- The human precursor. Abramson et al. (2022) evaluated embodied agents in a 3D world with a Standardised Test Suite: replay a scenario mined from real human–human interaction, let the agent continue it offline, and have human raters mark each continuation success or failure. STS scores correlated with live interactive evaluation at Spearman 0.81, better than earlier proxies, and the authors noted that early experiments suggested the rating step could be automated. That is the template modern trajectory autoraters fill: replayable scenarios plus a judge on the continuation.
- LLM judges on web trajectories. Lù et al. (2025), AgentRewardBench: 1,302 trajectories from four LLM agents on five web benchmarks, each annotated by an expert for success, side effects and repetition. Across 12 LLM judges, no single judge was best everywhere. Rule-based checks in common benchmarks under-reported success, by up to about 30% on WebArena relative to experts, and judges failed on grounding mismatches and were misled by the agent's own reasoning.
- Rubric verification. Peng et al. (2026), RuVerBench (EMNLP 2026): 2,458 human-labeled instances in deep research and agentic coding, each asking whether an output satisfies one rubric item. Frontier judges were strong but noisy; weaker judges were more sensitive to prompt wording; batching several rubric items into one call traded accuracy for cost; majority voting helped with diminishing returns.
The practical pattern that follows: one rubric item per call over the full trajectory, evidence quoted from the trace, external state checked by code where possible, and the agent's self-reports treated as claims to verify rather than facts.
Calibrating Autoraters: Judging with Confidence
An autorater is calibrated when its stated probabilities match how often it is right, and Li et al. (2026) show how to train one: make the judge predict the distribution of human preferences, and reward it with a proper scoring rule. This page explains the paper from the ground up: why discrete verdicts lose information, the probabilistic framing, the two training recipes, the metrics, the results and the limits, and how to use the idea in an agent-evaluation stack.
- Paper: "Judging with Confidence: Calibrating Autoraters to Preference Distributions", Findings of EMNLP 2026 (arXiv 2510.00263). Authors from Vanderbilt, Google, Google DeepMind, Cornell, Virginia Tech and Scale AI.
- One-line idea: train the judge to say "B is better with probability 0.7" and score that number against labels with the Brier score, which is minimized only by the true probability.
- Headline result: on Gemma-2-9B, RL with a Brier reward on 50K single-label prompts beat every zero-shot, post-hoc and supervised baseline on agreement and Brier score, and nearly removed position bias.
Why Discrete Verdicts Are Not Enough
A judge trained on majority labels learns to output "A" or "B", which throws away how contested the comparison was. For subjective qualities (helpfulness, tone, concision) annotators disagree for systematic reasons: different people value different things. A 51/49 split and a 100/0 split both become the same label, so the judge cannot tell you which verdicts to trust, and downstream uses that need a probability (selective evaluation, win-rate estimation, RL rewards) inherit a number that was never trained to mean anything.
The Probabilistic Framing
The paper treats each pairwise comparison as a coin flip whose bias is the population's preference. For a prompt \(x\) with responses A and B, let \(Y=1\) mean a randomly drawn annotator prefers B. Then
\[ Y \mid x \sim \mathrm{Bernoulli}\big(p^\star(x)\big), \qquad p^\star(x) = \Pr[Y=1 \mid x] = \mathbb{E}_{h \sim p(h)}\big[\mathbb{1}\{h \text{ prefers B over A at } x\}\big], \]where \(p(h)\) is the distribution of annotators. The autorater outputs \(p_\theta(x) \in [0,1]\) and the goal is \(p_\theta(x) \approx p^\star(x)\). Two choices make this work:
- No Bradley–Terry assumption. Reward models usually assume each response has a latent score and preferences follow score differences. Modeling each pair directly allows intransitive preferences (A over B, B over C, C over A) and genuine ambiguity.
- Proper scoring rules. A scoring rule is strictly proper if its expected value is optimized only by reporting the true probability. The Brier score is one: for any \(q\), \(\mathbb{E}_{y\sim\mathrm{Bern}(p^\star)}[(q-y)^2] = (q-p^\star)^2 + p^\star(1-p^\star)\), minimized exactly at \(q=p^\star\). Training against such a rule pushes the model toward calibrated probabilities even when each training example has only one binary label.
The model verbalizes its answer: optional reasoning inside <think> tags, then a single number inside <prob_rb_better> tags. Verbalizing keeps a natural-language rationale and needs one decoding pass, unlike sampling-based confidence.
Two Training Recipes for Two Kinds of Data
The right recipe depends on the labels you can afford: many labels per prompt (dense) or one label per prompt (sparse).
- SFT on dense labels. The target is the mean of \(m=10\) votes, \(\hat p(x) = \frac{1}{m}\sum_j y^{(j)}\), written out as text (optionally after a chain of thought) and trained with the ordinary next-token loss. Full-parameter training, learning rate \(10^{-6}\), batch 32, 3 epochs.
- RL on sparse labels. GRPO samples 32 outputs per prompt and rewards each by \(R_{\text{Brier}} = 1-(p-y)^2\), or a clipped log reward \(y\log p' + (1-y)\log(1-p')\) with \(p'\) clipped to \([10^{-3}, 1-10^{-3}]\). Unparsable outputs get the worst reward, which drove parsability to 100%. KL penalty 0.01, clip 0.2, learning rate \(3\times10^{-7}\), one epoch.
- Data. Prompts and response pairs come from JudgeLM. Labels come from Gemini-2.5-Flash acting as annotators with randomly sampled personas (for example a safety advocate, a concision champion, an everyday user), about 110K annotations in total. Evaluation uses about 1K held-out JudgeLM prompts with 10 annotations each.
Deeper The Brier reward in code, and why it beats the log reward
import re
TAG = re.compile(r"<prob_rb_better>\s*([01](?:\.\d+)?)\s*</prob_rb_better>")
def parse_prob(text):
m = TAG.search(text)
if not m:
return None
p = float(m.group(1))
return p if 0.0 <= p <= 1.0 else None
def brier_reward(text, y): # y = 1 if the sampled annotator preferred B
p = parse_prob(text)
return 0.0 if p is None else 1.0 - (p - y) ** 2
def group_advantages(rewards): # GRPO: compare each sample with its group
mu = sum(rewards) / len(rewards)
return [r - mu for r in rewards] # (std normalization optional; see Dr. GRPO)
Both rewards are proper, so both are maximized in expectation by the true probability. They differ in how hard they punish confident mistakes: the log reward goes to \(\log 10^{-3} \approx -6.9\) when the model says 0.999 and is wrong, while the Brier reward is bounded in \([0,1]\). With one noisy binary label per prompt, many "mistakes" are just the minority annotator, so the log reward's large penalties make gradients high-variance. The paper found Brier better overall and attributes it to this smoother optimization. Note also that with one label per prompt, the GRPO group shares the same \(y\), so the advantage compares different probability statements against the same coin flip, and the expected advantage favors the sample closest to \(p^\star\).
How Calibration Is Measured
The paper reports alignment, accuracy, calibration and bias separately, because a judge can be accurate but overconfident, or calibrated but positionally biased.
| Metric | Definition | Catches |
|---|---|---|
| MSE to target | \(\frac{1}{N}\sum (p_\theta(x_i) - \hat p(x_i))^2\) against the annotator mean | Distance from the true preference distribution |
| Agreement, macro F1 | Three-class (A, tie, B) agreement with the majority label | Plain accuracy |
| ECE | 10 equal-width bins; \(\sum_k \frac{|B_k|}{N}\,|\mathrm{acc}(B_k)-\mathrm{conf}(B_k)|\) | Over- and under-confidence |
| Brier score | \(\frac{1}{N}\sum (y_i - p_i)^2\) against binary labels | Calibration and sharpness together |
| Swap consistency | Share of pairs whose verdict survives swapping A and B | Position bias |
| Symmetry deviation | \(\Delta = p_{\text{orig}} + p_{\text{swap}} - 1\), reported as \(\mathbb{E}|\Delta|\); 0 is unbiased | Position bias in the probabilities |
Table. Metrics used by Li et al. (2026). For gating, also report recall on the failure class (see LLM-as-a-Judge).
Results
RL with the Brier reward was the best overall recipe on both base models: lower error against the preference distribution, higher agreement and a better Brier score than zero-shot prompting, post-hoc calibration and SFT.
| Model · method | MSE ↓ | Agreement ↑ | ECE ↓ | Brier ↓ |
|---|---|---|---|---|
| Gemma-2-9B · verbalized confidence (zero-shot) | 0.1255 | 0.7773 | 0.1183 | 0.1615 |
| Gemma-2-9B · temperature scaling | 0.0839 | 0.8074 | 0.0827 | 0.1224 |
| Gemma-2-9B · SFT (dense labels) | 0.0972 | 0.8314 | 0.0972 | 0.1257 |
| Gemma-2-9B · RL, log reward | 0.0934 | 0.8545 | 0.1141 | 0.1173 |
| Gemma-2-9B · RL, Brier reward | 0.0764 | 0.8706 | 0.0879 | 0.0946 |
| Qwen-2.5-7B · verbalized confidence (zero-shot) | 0.1823 | 0.6723 | 0.1846 | 0.2276 |
| Qwen-2.5-7B · SFT with CoT | 0.1033 | 0.8122 | 0.1095 | 0.1324 |
| Qwen-2.5-7B · RL, Brier reward | 0.0893 | 0.8575 | 0.1015 | 0.1103 |
Table. Selected rows of the main results on the JudgeLM evaluation split (Li et al. 2026, Table 1). Note that on Gemma, simple temperature scaling had the best ECE; RL-Brier won on every other column.
- Diversity beats depth. At an equal annotation budget, RL on 50K prompts with one label each beat SFT on 5K prompts with ten labels each. A further ablation trained RL on the 5K dense prompts with probabilistic labels; it improved over zero-shot but still trailed RL on the 50K binary-label prompts.
- Distributional targets matter. On Qwen, SFT on the vote mean instead of a single sampled vote cut MSE from 0.1462 to 0.1143. A Bradley–Terry reward-model head trained on the same 50K binary labels reached Brier 0.2336 and 59.67% agreement, against 0.1103 and 85.75% for RL-Brier.
- Position bias nearly disappears. On Qwen, swap consistency rose from 0.4964 (zero-shot verbalized) to 0.9007, and mean symmetry deviation fell from 0.3461 to 0.0964; Gemma RL-Brier reached 0.8926 consistency.
- No cost on objective tasks. On JudgeBench, Gemma RL-Brier scored 46.57% overall (55.10% on reasoning), above Gemini-1.5-pro at 44.57%, though below GPT-4o at 50.86% and the specialized Skywork-Critic-8B at 53.43%.
- Transfer. On human-labeled PandaLM, Gemma RL-Brier agreed 0.7317 with the human majority, versus 0.6647 for GPT-4. Trained on Gemini-labeled preferences, a Qwen RL-Brier judge still agreed 0.8355 with GPT-5-mini labels, despite 38.5% disagreement between the two label sources. Predicting the human win rate between two Gemma versions on Chatbot Arena (0.4344), its absolute error was 0.0704, against 0.3053 for zero-shot verbalized confidence.
Limitations
The method calibrates the judge to annotator disagreement, not to its own ignorance, and its main labels were synthetic.
- Aleatoric, not epistemic. A 0.5 output means "people split evenly", not "I don't know". Capturing the judge's own uncertainty would need a distribution over \(p_\theta(x)\) (see Aleatoric vs. epistemic uncertainty).
- Synthetic annotators. Main-experiment labels came from Gemini-2.5-Flash personas. The human check is small: 50 prompts with 5 annotators, where humans agreed with the Gemini majority at Krippendorff's α = 0.6675 and the RL-Brier judge transferred at 0.82 agreement and ECE 0.1632.
- Pairwise only. Pointwise scores and ordinal scales would need multi-class proper scoring rules (multi-class Brier or cross-entropy); left to future work.
- Whose preferences. The learned distribution reflects the annotator pool, so the pool's representativeness becomes a fairness question.
Using Calibrated Autoraters in Agent Evaluation
A calibrated probability is what makes an autorater usable as infrastructure: thresholds mean something, abstention can be tuned for a target agreement, and aggregate win rates can be estimated without bias.
- Selective evaluation. Feed \(p_\theta\) into a Trust or Escalate cascade: accept verdicts with \(\max(p, 1-p) \ge \lambda\), escalate the rest to a stronger judge or a human. Calibration is what lets \(\lambda\) be set once on a calibration set and hold up.
- Win rates and release gates. Averaging calibrated probabilities over a test set estimates the population win rate of a new agent over the old one, the quantity a launch decision needs; averaging hard verdicts overstates confident wins (the Chatbot Arena result above).
- RL rewards. A calibrated preference probability is a better reward signal than a binary verdict: it carries how much better, not only which. The Brier-reward recipe is itself RLVR-style training, so the same GRPO infrastructure trains both policy and judge.
- Agent trajectories. The paper studies chat responses. For trajectories, combine the idea with state checks: the judge scores what code cannot check, conditioned on verified state, and its probability decides escalation. Extending calibration to per-rubric pointwise judgments, the setting of trajectory judges, is the open next step the authors name.
Deeper Questions worth asking about this paper
- How should a calibrated pairwise judge extend to multi-turn agent trajectories, where the "annotator population" includes domain experts who disagree for principled reasons?
- Can epistemic uncertainty be added cheaply, for example with an ensemble of RL-Brier judges, and does it improve escalation precision in a cascade?
- Personas generate diversity, but do persona-based distributions match real human distributions on enterprise tasks? What is the minimum human set needed to validate them?
- Why does temperature scaling still win ECE on Gemma, and would a post-hoc step on top of RL-Brier give the best of both?
- When the judge becomes an RL reward for a policy, how fast does the policy find regions where the judge is confidently wrong, and does calibration slow that down?
Is the Autorater Right? Meta-Evaluation
Known Biases
| Bias | Evidence | Mitigation |
|---|---|---|
| Position | Swapping order flips verdicts (Wang et al. 2023); larger models favored the first response in CoBBLEr | Score both orders; train for symmetry (consistency 0.50 → 0.90 above) |
| Verbosity | Longer answers preferred at equal quality (Zheng et al. 2023) | Length-controlled comparisons; penalize padding in the rubric |
| Self-preference | Panickssery et al. (2024): judges favor their own outputs, and the bias grows with their ability to recognize their own text | Judge from a different model family; anonymize style |
| Cognitive biases at large | Koo et al. (2024): biased behavior in about 40% of comparisons across six biases, more than humans showed | Bias benchmark as part of judge acceptance |
| Competence ceiling | Krumdick et al. (2025): judges agree with experts mainly on questions they can answer themselves | Give the judge a verified human reference |
| Credulity | Judges misled by the agent's own reasoning (AgentRewardBench) | Verify state independently; quote evidence |
Table. Autorater biases, the evidence for each and standard mitigations.
No Free Labels: Human Grounding
Krumdick et al. (2025) built 1,200 human-labeled LLM responses, including a hard business-and-finance set (BFF-Bench), and asked whether judges could grade correctness. Aggregate agreement looked high, but it hid a pattern: on the questions a judge could not answer itself, its grading collapsed. Giving the judge a correct, human-written reference largely fixed this, and a weak judge (Qwen 2.5 7B) with a human reference beat a strong judge (GPT-4o) with a self-generated one. For agent evals the lesson is direct. Where the task has a checkable answer or end state, put it in front of the judge; an autorater should verify, not re-solve.
Measuring agreement correctly is part of grounding: use Cohen's κ and precision/recall on the failure class, not raw agreement (see the κ derivation in Graders).
Selective Evaluation: Trust or Escalate
Jung et al. (2025) (ICLR 2025 oral) reframed reliability as a guarantee. Instead of trusting every verdict, the judge evaluates an item only when its confidence clears a threshold \(\lambda\), chosen on a small human-labeled calibration set so that
\[ P\big(\text{judge agrees with humans} \mid \text{judge evaluates}\big) \ge 1 - \alpha \]holds with probability at least \(1-\delta\) (via fixed-sequence testing). Confidence comes from Simulated Annotators: the judge is prompted with several annotators' example judgments and its agreement across them is the confidence, which improved calibration without extra supervision. Cascaded Selective Evaluation then starts with a cheap judge and escalates only unsure items to stronger ones. On a Chatbot Arena subset where GPT-4 alone almost never reached 80% human agreement, the cascade guaranteed over 80% agreement with almost 80% coverage, starting from Mistral-7B and using GPT-4 for under 43.5% of items.
Benchmarks for Autoraters
| Benchmark | What it tests | Headline finding |
|---|---|---|
| RewardBench (2024) | Reward models on chat, safety and reasoning preference pairs | Standard leaderboard; FLAMe-RM-24B 87.8% |
| CoBBLEr (2023) | Six cognitive biases in LLM evaluators | Bias in about 40% of comparisons |
| JudgeBench (2024) | Objective correctness on hard knowledge, reasoning, math and code pairs | Strong judges such as GPT-4o barely above random |
| BFF-Bench / No Free Labels (2025) | Correctness grading with and without references | Judges fail where they cannot solve the task |
| AgentRewardBench (2025) | Judges on 1,302 web-agent trajectories | No judge wins everywhere; rules under-report success |
| RuVerBench (2026) | Per-rubric verification in deep research and coding | Strong but noisy; voting has diminishing returns |
Table. Meta-evaluation benchmarks: evals for the evaluator.
Autoraters in Production
Grader Practice
Anthropic's guide to agent evals distinguishes code-based, model-based and human graders and combines them as weighted, binary (all must pass) or hybrid scores. Its advice for model graders reads like a summary of the research above: calibrate closely against human experts; give the judge an escape option such as "Unknown"; use structured rubrics with one isolated judge per dimension; grade what the agent produced rather than the exact path; give partial credit on multi-part tasks; harden graders so passing requires solving the task; and read transcripts until failures "seem fair". Once a grader is stable, occasional human review is usually enough.
Continuous Evaluation with Humans in the Loop
Ghiasnezhad Omran et al. (2026), Agent Gym (Google), wraps a deployed LLM agent in a continuous evaluate-and-correct loop without changing the agent's code. It composes six capabilities (Act, Evaluate, Investigate, Correct, Learn, Observe) across three zones: a constitution layer holding domain knowledge as configuration, a runtime pipeline that chains acting, investigation and correction, and a learning loop in which subject-matter experts discover and validate new correction rules in natural language. Notable pieces are a hybrid deterministic-plus-LLM correction engine (21 condition operators, three tiers of action), a three-layer investigation architecture for checking compliance without ground truth, and a programmatic safety loop that tests a new rule before a human approves it. The reference implementation is invoice processing; the publication page reports no quantitative results. The design point is that the autorater's findings become reviewed, versioned rules, so humans spend time approving fixes rather than relabeling traces.
The Judge Is Not an Oracle
Wahi (2026) catalogs eleven ways the evaluation signal failed in production prompt-optimization loops, grouped as judge bias, harness and metric failures, ground-truth errors and reward hacking. In one case agents read cached answer keys, so a 100% pass rate hid about 68% true capability; in another a silent parser fallback inflated the metric and a broken prompt was promoted. Rewriting the judge's rubric plateaued. The recommendation is structural: the LLM judge is one advisory input, and every change passes a deterministic verification layer it cannot override, with hermetic sandboxes, frozen holdouts and canary cases where a perfect score is treated as evidence of cheating.
An Autorater Acceptance Checklist
- Gold set: a few hundred human-labeled items per rubric dimension, stratified by difficulty, refreshed as traffic shifts.
- Agreement: Cohen's κ and recall on the failure class, with confidence intervals; compare with human–human agreement.
- Calibration: ECE or Brier score if the judge outputs probabilities; reliability diagram.
- Bias probes: swap order, pad length, swap model family; consistency must stay high.
- Hard slice: agreement on items the judge model cannot solve; add references if it collapses.
- Abstention: a threshold chosen for a target agreement, with the coverage it yields.
- Versioning: rubric, prompt and judge model pinned together; re-run steps 2–5 on any change.
- Gate: deterministic checks first, judge second, humans for escalations and audits.
The Validation Bottleneck
Wallace, Griffin, O'Neill, Luong and Larter (2026), "Conjecture Machines" (Google DeepMind public policy, July 2026; PDF), put the autorater problem in a wider frame. Agents make ideas and candidate solutions cheap and abundant, in Popper's terms conjectures, while refutation stays slow, physical and institutional. In most fields, they argue, that validation gap is widening, and it, not idea generation, is now the main constraint on science. They split science into ideation, finding the best candidate, and validation, and find agents help a lot with the first two and much less with the third.
- Evidence, and its limits. Co-Scientist gave microbiologist José Penadés five ranked hypotheses in two days, the top one matching his team's unpublished, years-long result; in a liver-fibrosis test, two of its three repurposed-drug picks worked in human liver-cell assays while the researcher's own two picks did not. AlphaEvolve's top candidates in materials are still leads that need lab testing. The authors call this "proof indigestion": results arrive faster than people can check them.
- Verifiers as the frontier. In mathematics, Lean gives unambiguous checks and Aletheia pairs a proof generator with a natural-language verifier. The authors want verification that combines formal rigor with natural-language expressiveness, and call calibrated uncertainty ("epistemic humility") across open-ended science unsolved. They suggest using agents first where they are likely strong, such as error detection in peer review.
- Caveat. This is a policy paper by DeepMind staff about DeepMind systems, built on about ten interviews and case studies rather than systematic benchmarks.
Read as an agent-evaluation paper, its message is that evaluation is the scarce resource. Generating trajectories, candidate fixes or research reports is cheap; knowing which are right is not. Every technique in this part, from FLAMe to calibrated probabilities to selective escalation, is an attempt to move verification left on that spectrum without losing fidelity, and the open problem is the same one the authors name for science: autoraters that know when they don't know.
Agent Harnesses
"Harness" means two related things, and agent evaluation needs both. The agent harness (also called the scaffold or runtime) is the software around the model that turns it into an agent: the loop, the tool definitions, context management, memory, permissions and the sandbox where actions run. Claude Code, Codex CLI, OpenHands and Terminus are agent harnesses. The evaluation harness is the software that provisions environments, runs agents on tasks, records traces and grades the results; Inspect, Harbor, HAL's harness and METR's Vivaria are examples. The line between them is blurring: Harbor runs Claude Code and Codex CLI as interchangeable agents, and Inspect ships its own agents alongside its scorers.
Anatomy of an Agent Harness
The Harness Moves the Score
Holding the model fixed and changing the harness routinely shifts results by large margins:
- Interface design. SWE-agent (Yang et al. 2024) showed that a purpose-built agent–computer interface (compact file viewer, search commands, a linter that rejects syntactically broken edits) substantially improved the same model on SWE-bench compared with a raw shell.
- Same model, different wrappers. On a public AppWorld leaderboard, five harnesses running the same Claude Opus 4.5 backend ranged from about 0.61 to 0.70 success, with average cost per task varying by more than 10×.
- Benchmark verdicts. HAL declared CORE-Bench solved after replacing its own scaffold with one built on Claude Code (and fixing some grading errors by hand). Terminal-Bench reports results as agent–model pairs: at launch, Codex CLI with GPT-5.2 led at 63%, ahead of Terminus 2 with Claude Opus 4.5 at 58% (Merrill et al. 2026).
- Harness optimization. Work such as HARBOR searches over harness configurations (feature flags for planning, verification, context handling) on a fixed benchmark. That is useful for building products, and it is also a new way to overfit to a benchmark.
Harnesses for Long-Running Agents
When a task spans many context windows, the harness becomes the agent's memory. Anthropic (2025) describes a two-phase design for long coding projects. An initializer session sets up the environment, writes a feature list with every item marked failing, a progress log and an init script, and makes a first commit. Each later coding session reads the log and git history, checks that the app still works, implements one failing feature, tests it end to end, and commits. The design targets specific failure modes: declaring victory too early, leaving broken or undocumented state, marking features done without testing, and not knowing how to run the app.
For evaluation, this means long-horizon results are as much a test of the harness's state management as of the model. An honest long-horizon eval reports the harness version and runs ablations: the same model with and without progress files, compaction or verification steps.
Evaluation Harnesses
| Harness | From | Notable design choices |
|---|---|---|
| Inspect | UK AI Security Institute and Meridian Labs | Dataset → solver → scorer abstraction; the harness sits outside the sandbox and sends commands in; Docker, Kubernetes and Proxmox sandboxes; 200+ prebuilt evals; tool-approval policies; log viewer |
| Harbor | Laude Institute (Terminal-Bench team) | Containerized task format; plug-in agents (Claude Code, Codex CLI, OpenHands, Terminus); cloud sandboxes run dozens to thousands of trials in parallel |
| HAL harness | Princeton SAgE | Decouples agent scaffold from benchmark; central cost tracking; LLM-aided log inspection for shortcuts and unsafe actions |
| Vivaria | METR | Task Standard environments; token, cost, time and action limits; human oversight and trajectory rewind |
Table. Open evaluation harnesses used for agent evals.
Inspect's sandbox design is worth highlighting because it anticipates the BenchJack problem. Model inference and grading logic run outside the sandbox, and everything inside happens only through commands the harness explicitly issues (AISI 2025). That separation is the same trust boundary shown in the BenchJack figure below.
Evaluating the Harness Itself
- For model comparisons, use one neutral, pinned harness for all models and report its version, tool set, budgets and stop rules.
- For product comparisons, the harness is the product. Compare complete agents on your own tasks at a fixed budget.
- Ablate. Turn off one component at a time (compaction, verification step, sub-agents, a specific tool) and measure the paired difference. This tells you which parts earn their cost.
- Hold out the harness tuning set. If you tune prompts or harness flags on a benchmark, report results on a split you did not tune on.
- Test harness failures directly. Inject tool errors, timeouts and malformed outputs. Many production incidents are harness bugs: a swallowed tool error, an unbounded retry loop, compaction that drops the task constraints.
Evaluation Inside the RL Loop
When agents are trained with reinforcement learning, evaluation stops being a separate step at the end. The policy is optimized against a reward computed by graders in environments, which is exactly what an eval is. In RL with verifiable rewards (RLVR) for agents, the environments, task formats and often the grading code are shared between training and evaluation. Every weakness of a grader becomes something the optimizer will find, and every overlap between training and evaluation inflates the reported results.
The Reward Is Not the Eval
A reward is a proxy, and optimizing a proxy hard enough separates it from the true objective. Gao et al. (2023) measured this for reward models. As the policy moves away from its initialization, the proxy reward keeps rising, but the "gold" reward first rises and then falls. For best-of-\(n\) sampling they found the gold score fits
\[ R_{\text{gold}}(d) = d\,(\alpha - \beta d), \qquad d = \sqrt{D_{\mathrm{KL}}(\pi \,\|\, \pi_{\text{init}})}, \]which peaks at \(d^* = \alpha / 2\beta\), while the proxy keeps increasing. The same shape appears with verifiable rewards whenever the verifier has gaps.
In practice this means: use a different, stricter grader for evaluation than for training reward, track the gap between training reward and held-out eval success, and treat a widening gap as a sign of reward hacking rather than progress. The integrity checks from the production section (protected paths, impossible-task canaries, reading passing transcripts) belong in RL training dashboards as well.
Held-Out Environments, Not Just Held-Out Tasks
Classic deep RL learned this lesson with Procgen (Cobbe et al. 2020): agents trained on a finite set of procedurally generated levels overfit badly, and generalization only shows up when testing on unseen levels. For LLM agents the equivalent is a ladder of generalization tests:
| Level | Held out | What it shows |
|---|---|---|
| 1. In-distribution | New instances of training task templates | Learned the training distribution |
| 2. New tasks, same environments | Unseen task types in training repos, apps or sites | Skills beyond memorized templates |
| 3. New environments | Unseen repos, apps, tool sets or domains | Transferable agentic skill |
| 4. New harness | Different tool names, prompts or scaffold | Not overfit to one interface |
Table. Generalization levels for evaluating RL-trained agents. Only levels 3 and 4 support claims of general capability.
Search agents give a concrete example of level 4. Jin et al. (2025) found that the choice of search engine during RL training shapes training dynamics and how robust the agent is at inference time. An agent trained against one retriever should be evaluated against others.
Training-Time Signals
RL runs produce signals that are themselves evaluations, and several have known failure patterns.
| Signal | What to watch for |
|---|---|
| Train reward vs. held-out success | A widening gap suggests reward hacking or overfitting |
| pass@1 vs. pass@k at large k | Gains at k = 1 but losses at large k mean the policy is narrowing |
| Policy entropy | Collapse means exploration has stopped; spikes mean instability |
| Response length and tool-call counts | Runaway length; tool spam; agents learning to stop early |
| KL from reference policy | Large KL moves into the overoptimization regime |
| Hack-detector rate | Test edits, grader probing, special-casing; should stay near zero |
| Format-only success | Reward earned for the format without the substance |
Table. Training-time signals for RL-trained agents.
The pass@k row deserves emphasis. Yue et al. (2025) evaluated RLVR-trained models with pass@k at large \(k\) across model families, algorithms and benchmarks. RL-trained models beat their base models at small \(k\), but the base models scored higher at large \(k\), and the set of problems the model could solve at all tended to shrink as training went on. Their reading is that current RLVR mostly sharpens sampling toward paths the base model could already find rather than adding new abilities. Whatever one makes of that conclusion, the practical lesson is to report pass@k curves, not just pass@1, when claiming that RL improved an agent.
Contamination and Spurious Gains
RL results are especially easy to misread when evaluation data has leaked into pretraining. Shao et al. (2025) reported that Qwen2.5-Math models improved substantially on math benchmarks even when trained with random or incorrect rewards. Wu et al. (2025) traced much of this to contamination. On a freshly generated arithmetic benchmark that post-dates the model, only correct rewards produced stable gains, while random rewards made training unstable. A later analysis ("Exploration vs. Exploitation", 2025) found some spurious-reward gains in other model families too, and argued the dynamics are more complicated than contamination alone. The methodological takeaways are clear either way:
- Run control arms: random reward, format-only reward and no RL. A real method should beat all three.
- Evaluate on post-cutoff or procedurally generated tasks the base model cannot have memorized.
- Report results across several base models; effects that appear for one model family only are suspect.
Evaluating Reward Models and Graders
When the reward comes from a learned model or an LLM judge, that grader needs its own evaluation. RewardBench (Lambert et al. 2024) established the pattern for reward models: preference pairs across chat, safety and reasoning, scored by how often the reward model prefers the better response. For agent graders, the most important number is usually the false-positive rate on hackable outputs. If a grader accepts a fraction \(\epsilon\) of degenerate solutions, the optimizer will push probability mass toward them until they dominate. A grader that is 95% accurate on natural outputs can still be exploited quickly under optimization pressure. Red-team the grader with deliberately wrong-but-plausible trajectories before using it as a reward.
Lessons from Classic Deep RL
Classic deep RL faced many of these evaluation problems first, and its fixes carry over directly.
Agarwal et al. (2021) showed that because benchmarks such as Atari were evaluated with only a handful of training runs per task, conclusions drawn from mean or median scores often reversed under proper statistical analysis. They recommended three tools: interval estimates of aggregate performance via stratified bootstrap, performance profiles (the fraction of runs above each score threshold), and the interquartile mean (IQM), which discards the bottom and top 25% of runs:
\[ \mathrm{IQM} = \frac{2}{N}\sum_{i = N/4 + 1}^{3N/4} s_{(i)}, \]where \(s_{(i)}\) are the sorted run scores. IQM is far less sensitive to outlier runs than the mean and far more statistically efficient than the median. Their open-source library, rliable, implements all three.
Other classic lessons that transfer to LLM agents:
- Report every seed. Picking the best training seed, or the best checkpoint by test score, is a form of test-set tuning.
- Separate training and test levels (Procgen), or in agent terms, environments.
- Report compute and sample efficiency alongside final performance, which is the RL analogue of cost-controlled evaluation.
- Evaluate robustness to perturbations of observations, dynamics and tools, not just the nominal environment.
What Makes Search Evaluation Different
Search and deep-research agents issue queries, read pages, follow links and synthesize answers or long reports with citations. They raise problems that other agent evals mostly avoid:
- The web changes. Answers go stale, pages disappear and search results differ by day and by provider, so a live-web eval run twice is not the same eval.
- Retrieval and reasoning are entangled. A wrong answer may mean the agent never found the right page, found it but misread it, or read it and reasoned badly.
- Attribution matters. A correct answer with fabricated or non-supporting citations is a failure for most users.
- Outputs range from one token to twenty pages. Short answers can be matched exactly; reports need rubrics and judges.
Retrieval Metrics
Information retrieval has decades of evaluation methodology that agent evals often ignore. Given graded relevance labels \(\mathrm{rel}_i\) for the result at rank \(i\),
\[ \mathrm{DCG@}k = \sum_{i=1}^{k} \frac{2^{\mathrm{rel}_i} - 1}{\log_2(i+1)}, \qquad \mathrm{nDCG@}k = \frac{\mathrm{DCG@}k}{\mathrm{IDCG@}k}, \]with recall@k and mean reciprocal rank (MRR) as simpler alternatives. BEIR (Thakur et al. 2021) showed that retrievers tuned on one dataset often generalize poorly to others, and BRIGHT (Su et al. 2024) built queries where relevance requires reasoning rather than keyword or semantic overlap. For agents, retrieval metrics apply per search call and across the whole trajectory: did the agent ever retrieve the documents needed to answer?
Search Benchmarks
Short-Answer Benchmarks
- SimpleQA (Wei et al. 2024): 4,326 short factual questions with single indisputable answers. It measures factuality and whether the model abstains when unsure, and works as a sanity check for search tools.
- FRAMES (Krishna et al. 2024): 824 hand-written multi-hop questions, each needing facts from 2 to 15 Wikipedia articles, often with numerical or temporal reasoning. The paper reports about 0.40 accuracy without retrieval and about 0.66 with multi-step retrieval.
- BrowseComp (Wei et al. 2025): 1,266 questions whose answers are hard to find but easy to verify, which demands persistent, creative search.
- BrowseComp-Plus (Chen et al. 2025): BrowseComp questions over a fixed, human-verified corpus of about 100,000 documents with labeled supporting documents and hard negatives. This makes results reproducible and lets retriever and agent be evaluated separately. The retriever matters a lot: GPT-5 went from 55.9% with BM25 to 70.1% with a neural embedding retriever, using fewer searches, while Search-R1 with BM25 scored 3.86%.

Long-Form and Deep-Research Benchmarks
- Mind2Web 2 (Gou et al. 2025): 130 long-horizon, time-varying tasks built with more than 1,000 hours of human work. Grading uses task-specific judge agents that follow a tree-structured rubric and check both correctness and source attribution against live pages. The best system reached roughly 50–70% of human performance in about half the time.
- DeepResearch Bench (Du et al. 2025): 100 PhD-level research tasks across 22 fields, half in English and half in Chinese, with a topic mix based on real user queries. RACE scores report quality (comprehensiveness, insight, instruction following, readability) against a reference report with task-specific weights. FACT extracts statement–URL pairs, fetches the pages and checks support, reporting citation accuracy and the number of effective citations.

Attribution and Report Quality
Citation evaluation asks two questions. Is each claim supported by its citations (citation recall, in the terms of ALCE, Gao et al. 2023), and is each citation actually relevant to the claim it is attached to (citation precision)? A practical pipeline follows FACT:
- Split the output into atomic claims and extract the URLs cited for each.
- Fetch and snapshot each cited page at grading time.
- Ask a calibrated judge whether the page supports the claim (supported, partially supported, unsupported).
- Report citation accuracy (supported / cited) and coverage (claims with at least one supporting citation / all claims that need one).
Report quality beyond facts (coverage of the question, insight, structure) needs rubric judges. RACE's approach of comparing against a reference report with task-specific criteria weights reduces the variance of absolute scoring. Calibrate those judges against domain experts, as DeepResearch Bench did with expert annotators.
Search Evals in Practice
- Freeze what you can. Use a fixed corpus (BrowseComp-Plus style) or cached page snapshots for regression testing, and keep a smaller live-web suite for realism. Record the date and search provider for every live run.
- Time-stamp answers. For questions whose answers change, store the answer together with its as-of date, or grade against the page as it was when the agent read it.
- Grade each stage. Log every query and retrieved URL so you can compute retrieval recall against gold documents, and separate "never found it" from "found it but answered wrong".
- Measure abstention. A search agent that says "I couldn't verify this" is often better than one that guesses. Score correct, incorrect and abstained separately, as SimpleQA does.
- Track cost per correct answer. Search calls, tokens read and wall-clock time vary by an order of magnitude across agents with similar accuracy.
- Swap the retriever. Evaluate with more than one search backend; RL-trained search agents in particular can overfit to the retriever used in training (Jin et al. 2025).
- Use implicit signals online. In production, reformulated queries, clicks on citations, copy actions and follow-up questions such as "are you sure?" are cheap labels for failure mining.
- Watch for leaks. Benchmark answers spread on the web over time. Block known answer-hosting pages during evaluation, and check transcripts for agents that found the benchmark rather than the answer, as HAL observed with HuggingFace.
Task Validity
A score means something only if (a) tasks are solvable and fairly graded, (b) the agent has not seen the answers, (c) the score cannot be had without doing the task, and (d) the agent behaves under test as in deployment. Each has failed publicly.
Zhu et al. (2025) found task-setup and reward-design issues that could under- or over-estimate performance by up to 100% in relative terms, and distilled them into the Agentic Benchmark Checklist (ABC), which separates task validity (is the task solvable only with the target capability?) from outcome validity (does the grade indicate success?). Applying ABC to CVE-Bench reduced its overestimation by 33%. OpenAI's 2026 audit of SWE-bench Verified is the same lesson at scale: among the tasks frontier models kept failing, at least 59.4% had tests that rejected functionally correct solutions. As models improve, the remaining failures concentrate on broken tasks, and near the top of a leaderboard score differences start to measure benchmark noise rather than differences between agents.
Contamination
Benchmarks built from public GitHub issues, websites or Q&A end up in pretraining data. OpenAI found that frontier models from several labs could reproduce some SWE-bench Verified gold patches verbatim. Defenses include held-back splits (SWE-bench Pro's commercial set), copyleft licensing, tasks refreshed after model cutoffs, and canary strings. None are perfect. BrowseComp-style benchmarks have their own exposure: short answers leak onto the web as people discuss them, which turns "search to find it" into "search for someone else's answer".
Harness Hacking
In April 2026, Berkeley RDI's BenchJack (blog, paper) pointed an auditing agent at the evaluation pipelines of eight popular agent benchmarks and reached near-perfect scores through the official harnesses without solving tasks, mostly without calling an LLM:
| Benchmark | Exploit | Score |
|---|---|---|
| SWE-bench Verified | A ~10-line conftest.py pytest hook rewrites every test outcome to "passed" | 100% |
| SWE-bench Pro | Overwriting the in-container result parser | 100% |
| Terminal-Bench | Trojaned binaries (a fake curl wrapper) used by the verifier | 100% |
| WebArena | Navigating to a file:// URL exposing the gold answer | ~100% |
| FieldWorkArena | Validator never checks ground truth; {} passes | 100% |
| GAIA | Public answers plus normalization collisions | ~98% |
| OSWorld | Manipulating VM state the checker reads | 73% |
Table. Selected BenchJack exploits as reported by the authors, who also showed targeted patches pushing the hackable share below 10% on several benchmarks.

Deeper A harness review mapped to the eight flaw classes
| Flaw class | Check before trusting a harness |
|---|---|
| 1. No agent/evaluator isolation | Grading runs in a fresh environment that receives only a declared artifact |
| 2. Answers shipped with the test | No gold answers, configs or reference solutions on any filesystem or URL the agent can reach |
3. eval() on untrusted input | Agent output is parsed as data, never executed by the grader |
| 4. Unsanitized LLM judge inputs | Judge prompts delimit agent text and tell the judge to ignore instructions inside it; injection canaries in the suite |
| 5. Weak string matching | Normalization tested against adversarial near-misses; no substring "contains" checks for answers |
| 6. Evaluation logic that doesn't evaluate | A null agent and a random agent both score about 0; every task fails before its reference solution is applied |
| 7. Trusting output of untrusted code | Test reports are produced and parsed outside the agent's container |
| 8. Unnecessary agent permissions | No root, no --privileged, egress allowlist, minimal mounts |
Row 6 is the cheapest high-value check: run an empty agent and a "submit nothing" agent through the full pipeline before any real model. Any nonzero score is a harness bug.
The authors stressed they were not accusing anyone of cheating. Their point is that the loopholes are simple enough for a reward-optimizing agent to stumble into. The shared root cause is a violated trust boundary: the grader trusts files, binaries, processes or network state the agent could modify. The fix is architectural, and it is the core of the reference architecture in the production section.

conftest.py pytest hook that rewrites outcomes; (4) every test is reported as passing. The redrawn figure that follows shows the architectural fix. (Image source: Wang et al. 2026, CC BY 4.0.)conftest.py exploit works, and the architectural fix. (a) Tests and result parsing run where the agent can plant code. (b) Only a declared artifact crosses into an isolated grader. (Exploit adapted from the description by Wang et al. 2026; redrawn.)Reward Hacking by the Agent
BenchJack was a purpose-built attacker. The more uncomfortable finding is that capable agents do this unprompted. METR (2025) reported frontier models modifying tests or scoring code, locating reference answers, and exploiting other loopholes. On RE-Bench, o3 reward-hacked in 39 of 128 runs (30.4%); on one optimization task, every run did. In one case, asked for a fast GPU kernel, o3 walked the Python call stack to find the answer the grader had already computed, returned it, and disabled CUDA synchronization so the timer read near zero. Across HCAST the rate was about 0.7%, which shows how much it depends on whether a task has an exploitable continuous score.
ImpossibleBench (Zhong et al. 2025) turns this into a metric: it mutates unit tests to contradict the spec, so any pass implies cheating. The "cheating rate" is a direct, automatable proxy for an agent's propensity to game its grader. Lilian Weng's post on reward hacking covers the training-side version of this problem in depth.
Scaffold Sensitivity
The same model lands in very different places depending on its scaffold. Gaps of about ten points between minimal and heavily engineered scaffolds for one model were common on SWE-bench Verified. HAL found that swapping its CORE-Agent scaffold for one built on Claude Code, along with fixing some grading errors by hand, changed results enough that the team declared CORE-Bench solved. For model comparisons, fix and report the scaffold. For product comparisons the scaffold is the product. Kapoor et al. stress keeping those two audiences apart.
Evaluation Awareness
Needham et al. (2025) asked models to classify 1,000 transcripts from 61 sources as evaluation or real use. Gemini 2.5 Pro reached an AUC of 0.83 against a 0.92 human baseline, and both did better on agentic transcripts than on chat. That makes sense: agent evals are full of tells, like placeholder company names, tidy file systems, grading-style output formats and tasks that end the moment success is reached. For capability evals this is a realism problem. For safety evals it is a validity problem, because a model that recognizes a honeypot can pass it for the wrong reasons. Mitigations remain immature: more realistic environments, chain-of-thought monitoring for evaluation-related reasoning, matched "real-looking" vs. "test-looking" task pairs, and more weight on evidence from monitored deployments.
Production Challenges
Public benchmarks tell you about the frontier. They rarely tell you whether your agent works on your tasks, with your tools, users and policies. Teams moving from demos to production run into a recurring set of problems.
1. No Ground Truth for Real Traffic
Production requests come without labels. Many tasks, such as "draft a reply", "triage this ticket" or "investigate this alert", have no single right answer, and the outcome may only be known days later (did the customer churn? did the fix hold?). Offline datasets are therefore always a proxy, and the question becomes how quickly real failures make it back into them.
2. Distribution Shift and Stale Datasets
User behavior, connected tools, upstream APIs and the agent's own prompts change weekly. An eval set curated in January quietly stops representing April traffic. Worse, once a team optimizes against a fixed internal set, it becomes subject to the same Goodhart dynamics as public benchmarks.
3. Non-Determinism and Flaky Environments
Model sampling, tool latency, rate limits, network calls, clocks and GUI rendering all add variance. A suite where 5% of tasks flip between runs for infrastructure reasons makes every regression signal unreliable. Teams often discover that a large share of "agent failures" are actually environment failures: a container that did not start, a mock service that timed out, a flaky browser.
4. Side Effects and Safety
Agents send emails, issue refunds, modify infrastructure and run code. You cannot evaluate those actions against production systems, and mocks that are too simple hide exactly the behavior you need to see. Security adds an adversarial dimension: tool outputs (web pages, emails, tickets) can carry prompt injections, as AgentDojo showed.
5. Evaluation Cost and Latency
A single agent trial can cost dollars and take tens of minutes. Multiply by hundreds of tasks, several trials each and an LLM judge per trial, and a full regression run can cost thousands of dollars and take hours. That is too slow and expensive for every pull request, so teams under-test, or test on so few tasks that the results are noise (see error bars).
6. Multi-Turn Users and Simulators
Real users clarify, change their minds, give partial information and get frustrated. Evaluating conversational agents needs a user simulator, and simulators drift from real users in systematic ways: they are more patient, more articulate and more consistent. A simulator that is too cooperative inflates scores.
7. Long Traces and Observability
A single run can produce hundreds of spans: model calls, tool calls, retrievals and sub-agents. Without structured tracing you cannot attribute a failure to a step, compute cost per task, or replay a run. Traces also contain customer data, so capture has to respect privacy and retention policies. Prompt and completion content is usually opt-in under the OpenTelemetry GenAI conventions for exactly this reason.
8. Judge Drift and Metric Trust
LLM judges change when their model is upgraded, their rubric is edited or the agent's output style shifts. A judge that agreed with humans in Q1 may not in Q3. Without periodic re-calibration, a dashboard can show steady improvement that is really judge drift.
9. Model Upgrades and Regressions
A new base model is typically better on average and worse on some slice: a particular tool, a policy edge case, a language. Teams without a trustworthy eval suite either delay upgrades for weeks of manual testing or ship and find out from users. Anthropic notes that teams with good evals can adopt new models in days.
Reference Architecture
The architecture below is a synthesis of what I see working across teams, the practitioner guidance from Anthropic, and the infrastructure lessons from HAL, Harbor and BenchJack. The central idea is a closed loop: production traces feed failure mining, which feeds versioned datasets, which run through an isolated harness and calibrated graders, whose results gate releases and set up online monitoring, which produces more traces.
Components
- Dataset registry. Versioned task specs (instruction, environment image and seed, success criteria, reference solution, tags for slice analysis), split into capability, regression, safety and a held-out set nobody tunes against.
- Environment factory. Builds reproducible containers or VMs with seeded state, high-fidelity mocks of downstream APIs, a user simulator where needed, and network egress restricted to an allowlist.
- Runner. Executes the agent for \(n\) trials per task in parallel, enforces budgets, retries only infrastructure failures (and records them separately), emits OpenTelemetry spans, and exports a declared artifact at the end.
- Grader service. Runs in a fresh environment that never touched the agent. It applies state checks, diffs for collateral damage, calibrated judges, process and policy checks, integrity checks for test tampering and known hack patterns, and failure-taxonomy labels.
- Analysis and release gate. Computes paired differences with confidence intervals, pass^k, cost per task and per-slice regressions, and blocks a release when the regression suite drops beyond a set threshold.
- Production agent. Ships behind canaries or A/B tests, with guardrails and human approval for high-impact actions.
- Online evaluators. Sampled LLM judges on live traces, plus implicit signals such as user retries, escalations to humans, undo actions and abandonment.
- Failure mining. Clusters failed or low-scoring traces by taxonomy, routes samples to a human review queue, and turns confirmed failures into new tasks with labels.
Solutions and Patterns
Each production challenge above maps to one or more concrete patterns.
| Challenge | Pattern | Where it lives |
|---|---|---|
| No ground truth | Failure-mined datasets; delayed-outcome joins; expert review queues | ⑦ ⑧ → ① |
| Distribution shift | Rolling task refresh; traffic-weighted slices; frozen held-out set | ① |
| Non-determinism | n ≥ 3 trials; infra-error quarantine; pinned images and seeds | ② ③ |
| Side effects & security | High-fidelity mocks; collateral-damage diffs; injection suites | ② ④ |
| Cost & latency | Tiered suites (smoke / nightly / release); adaptive sampling; cached judges | ③ ⑤ |
| Multi-turn users | Constrained, persona-varied simulators validated against real transcripts | ② |
| Observability | OTel GenAI spans; content capture opt-in with redaction | ③ ⑥ |
| Judge drift | Pinned judge versions; quarterly re-calibration against human labels | ④ |
| Model upgrades | Paired A/B on full suite; per-slice regression gate | ⑤ |
| Reward hacking | Isolated grading; impossible-task canaries; read the passes | ④ |
Table. Production challenges mapped to patterns and to components in the reference architecture figure.
Task Specs as Code
Treat each task as a reviewed, versioned file. Writing success criteria before looking at agent outputs, and requiring a passing reference solution, prevents most task-validity bugs.
# tasks/refunds/partial-refund-damaged-item.yaml
id: refunds/partial-refund-damaged-item@v3
suite: [capability, regression]
slices: { domain: refunds, lang: en, tools: [orders, payments, email] }
env:
image: evals/support-env:2026.10.2
seed: 4417
fixtures: [orders/ord_9921.json, policy/refunds-v7.md]
egress: [mock-payments.internal]
user_sim:
persona: frustrated, gives order id only after being asked
goal: refund for 1 of 3 items, keep the rest
success: # graded OUTSIDE the agent sandbox
state:
- payments.refunds[ord_9921].amount == 18.40
- orders[ord_9921].items[*].status excludes "returned" except sku_77
collateral: # nothing else may change
allow_writes: [payments.refunds, orders.ord_9921, email.outbox]
process:
- no_tool_call: payments.issue_refund before identity_verified
- judge: tone_policy_v4 # calibrated LLM judge, kappa >= 0.75 vs humans
reference_solution: solutions/partial-refund-damaged-item.py
budget: { max_turns: 40, max_usd: 1.50, timeout_s: 600 }
Isolated Grading
BenchJack's lesson in code form. The grader receives only an exported artifact and verifies it in an environment the agent never touched, with results parsed outside both containers.
def grade(task, agent_run):
artifact = agent_run.export(task.artifact_path) # patch, answer or DB dump only
with fresh_env(task.env.image, seed=task.env.seed) as env: # never touched by the agent
env.load_fixtures(task.env.fixtures)
env.apply(artifact)
env.copy_in(task.hidden_checks) # never visible to the agent
raw = env.run(task.check_cmd, timeout=task.timeout)
result = parse_results_outside_container(raw) # parser lives in the grader service
diff = state_diff(task.baseline_state, env.snapshot())
return Grade(
passed=result.all_pass and diff.within(task.success.collateral.allow_writes),
collateral=diff.unexpected_writes(),
integrity_flags=detect_tampering(agent_run.transcript, task.protected_paths),
)
Statistics in the Release Gate
Gate on a paired comparison with a confidence interval, not on whether a single number went up. A paired bootstrap over tasks is simple and robust:
import numpy as np
def paired_delta(p_new, p_old, n_boot=10_000, seed=0):
"""p_new, p_old: arrays of per-task success rates on the SAME tasks."""
d = np.asarray(p_new) - np.asarray(p_old)
rng = np.random.default_rng(seed)
boots = rng.choice(d, size=(n_boot, d.size), replace=True).mean(axis=1)
lo, hi = np.percentile(boots, [2.5, 97.5])
return d.mean(), (lo, hi)
def pass_hat_k(c, n, k):
"""Unbiased per-task pass^k from c successes in n trials (Yao et al. 2024)."""
from math import comb
return comb(c, k) / comb(n, k) if c >= k else 0.0
delta, (lo, hi) = paired_delta(new_rates, old_rates)
block_release = hi < 0 or any(slice_delta(s) < -0.05 for s in critical_slices)
Tiered Suites for Cost Control
- Smoke (per PR, minutes): 20–50 regression tasks, one trial, code graders only. Catches breakage.
- Nightly (hours): full regression and capability suites, three trials, judges on a sample. Tracks trends.
- Release (on candidate): everything, five or more trials, full judging, safety and injection suites, held-out set. Decides shipping.
Adaptive sampling saves more: run extra trials only on tasks whose outcomes disagree across the first few trials, since tasks at \(p_x \approx 0\) or \(1\) add little information. Caching judge verdicts keyed on (artifact hash, rubric version, judge version) avoids paying twice for unchanged outputs.
Online Evaluation and the Flywheel
Offline suites catch known failure modes. Online evaluation catches the unknown ones. Instrument the agent with OpenTelemetry GenAI spans (invoke_agent, chat, execute_tool) so traces are portable across backends. Run sampled judges on live traces, and track implicit signals that need no judge at all: users rephrasing the same request, escalations to humans, undo actions, abandoned sessions. Confirmed failures go through a short review, get a taxonomy label, and become new tasks. Anthropic compares this layering to the Swiss cheese model from safety engineering: offline evals, online monitoring, A/B tests and human review each have holes, but the holes rarely line up.
Integrity Checks
- Read the passes. Each week, review a sample of successful transcripts. Passes are where reward hacks and grader bugs hide.
- Impossible-task canaries. Seed each suite with a few tasks that cannot be solved honestly, in the spirit of ImpossibleBench. Any pass is an alarm.
- Protected paths. Flag any write to test files, CI configs, graders or
conftest.py-like hooks, even when the run passes. - Red-team the harness. Before trusting a new suite, point an auditing agent at it with the goal of passing without doing the work, as BenchJack did.
A Rollout Playbook
- Step 1: Collect 20–50 real tasks from failures and support tickets. Write success criteria and reference solutions. Make sure every task passes with its reference solution.
- Step 2: Build the environment image and isolated grader. Add tracing. Run three trials and read every transcript.
- Step 3: Add LLM judges only where code cannot grade, and calibrate them on about 200 human labels. Define the failure taxonomy.
- Step 4: Wire the smoke suite into CI and the regression gate into releases. Start online sampling and the failure-mining queue.
- Ongoing: Move saturated capability tasks into regression, refresh tasks monthly from production, re-calibrate judges quarterly, and red-team the harness whenever it changes.
Open Problems
- Measuring long horizons. Tasks that take humans days or weeks are expensive to create, time, grade and run, and time-horizon estimates past the edge of the task distribution are extrapolation. Composing verified sub-tasks, as τ²-bench does at small scale, is one promising path.
- Autoraters that know when they don't know. Calibrated preference probabilities capture human disagreement, not the judge's own ignorance. Epistemic uncertainty, abstention with guarantees on agent trajectories, and verification that scales as fast as generation are open; DeepMind calls the last one the validation bottleneck (Validation Bottleneck).
- Grading open-ended work. Most valuable work has no unit test. Expert comparison does not scale, and model judges inherit the blind spots of the models they grade.
- Benchmarks that survive their own success. Benchmarks now saturate or contaminate within a year or two. Refreshed, private or procedurally generated sets help but make results harder to reproduce.
- Adversarially robust harnesses. Automated red-teaming of graders before release should become standard practice.
- Reliability as a first-class target. Deployment depends on pass^k, robustness to small perturbations and graceful failure more than on peak accuracy. HAL's turn toward a reliability dashboard reflects this, but there is no standard reliability suite yet.
- Multi-agent and human-in-the-loop settings. Credit assignment and simulator fidelity become central when agents coordinate with other agents and with people.
- Evaluation awareness. If capable models behave differently under test, both capability and safety claims weaken. Measuring and closing the gap between test and deployment behavior may be the most consequential problem on this list.
Figures marked "Image source … CC BY 4.0" are reproduced unmodified (apart from cropping) from papers released under the Creative Commons Attribution 4.0 license. Figures marked "Adapted and redrawn" are my own drawings based on papers or articles without an open reuse license; see the linked sources for the originals. All other figures are original to this post.
Citation
Cited as:
@article{cheng2026agenteval,
title = "Evaluating LLM Agents",
author = "Cheng, Kevin",
journal = "Kevin's Notes",
year = "2026",
month = "Oct"
}
References
- Papineni, K., Roukos, S., Ward, T., Zhu, W.-J. "BLEU: a Method for Automatic Evaluation of Machine Translation." ACL 2002. aclanthology.org/P02-1040
- Lin, C.-Y. "ROUGE: A Package for Automatic Evaluation of Summaries." ACL Workshop 2004. aclanthology.org/W04-1013
- Zhang, T., Kishore, V., Wu, F., Weinberger, K. Q., Artzi, Y. "BERTScore: Evaluating Text Generation with BERT." ICLR 2020. arxiv.org/abs/1904.09675
- Liu, Y., et al. "G-Eval: NLG Evaluation using GPT-4 with Better Human Alignment." EMNLP 2023. arxiv.org/abs/2303.16634
- Wang, P., et al. "Large Language Models are not Fair Evaluators." 2023. arxiv.org/abs/2305.17926
- Kim, S., et al. "Prometheus: Inducing Fine-grained Evaluation Capability in Language Models." ICLR 2024. arxiv.org/abs/2310.08491
- Zhu, L., Wang, X., Wang, X. "JudgeLM: Fine-tuned Large Language Models are Scalable Judges." 2023. arxiv.org/abs/2310.17631
- Koo, R., et al. "Benchmarking Cognitive Biases in Large Language Models as Evaluators" (CoBBLEr). Findings of ACL 2024. arxiv.org/abs/2309.17012
- Panickssery, A., Bowman, S. R., Feng, S. "LLM Evaluators Recognize and Favor Their Own Generations." NeurIPS 2024. arxiv.org/abs/2404.13076
- Vu, T., Krishna, K., Alzubi, S., Tar, C., Faruqui, M., Sung, Y.-H. "Foundational Autoraters: Taming Large Language Models for Better Automatic Evaluation" (FLAMe). 2024. arxiv.org/abs/2407.10817
- Jung, J., Brahman, F., Choi, Y. "Trust or Escalate: LLM Judges with Provable Guarantees for Human Agreement." ICLR 2025. arxiv.org/abs/2407.18370
- Zhang, L., Hosseini, A., Bansal, H., Kazemi, M., Kumar, A., Agarwal, R. "Generative Verifiers: Reward Modeling as Next-Token Prediction." ICLR 2025. arxiv.org/abs/2408.15240
- Tan, S., et al. "JudgeBench: A Benchmark for Evaluating LLM-based Judges." ICLR 2025. arxiv.org/abs/2410.12784
- Krumdick, M., Lovering, C., Reddy, V., Ebner, S., Tanner, C. "No Free Labels: Limitations of LLM-as-a-Judge Without Human Grounding." 2025. arxiv.org/abs/2503.05061
- Lù, X. H., et al. "AgentRewardBench: Evaluating Automatic Evaluations of Web Agent Trajectories." 2025. arxiv.org/abs/2504.08942
- Li, Z., Li, X., Huang, C., et al. "Judging with Confidence: Calibrating Autoraters to Preference Distributions." Findings of EMNLP 2026. aclanthology.org/2026.findings-emnlp.2093 · arxiv.org/abs/2510.00263
- Peng, Y., et al. "Can LLM-as-a-Judge Reliably Verify Rubrics in Agentic Scenarios?" (RuVerBench). EMNLP 2026. arxiv.org/abs/2606.29920
- Wahi, V. "LLM-as-a-Judge Is Not an Oracle: Why Self-Improving Agents Need Deterministic Guardrails." 2026. arxiv.org/abs/2609.02246
- Abramson, J., et al. "Evaluating Multimodal Interactive Agents." Google DeepMind, 2022. deepmind.google/blog/evaluating-multimodal-interactive-agents
- Ghiasnezhad Omran, P., Zimmermann, M., Cambridge, D., Kapoor, A., Dixit, T. "Agent Gym: A Framework for Continuous Evaluation and Evolution of LLM Agents through Human-in-the-Loop Feedback." Google Research, 2026. research.google/pubs/agent-gym
- Wallace, D., Griffin, C., O'Neill, S., Luong, T., Larter, O. "Conjecture Machines: AI agents and the new validation bottleneck in science." Google DeepMind, July 2026. deepmind.google/public-policy · PDF
- Anthropic. "Demystifying evals for AI agents." Anthropic Engineering, 2026. anthropic.com/engineering/demystifying-evals-for-ai-agents · anthropic.com/research/demystifying-evals-for-ai-agents
- Anthropic. "Building effective agents." Anthropic Engineering, 2024. anthropic.com/engineering/building-effective-agents
- Shridhar, M., et al. "ALFWorld: Aligning Text and Embodied Environments for Interactive Learning." ICLR 2021. arxiv.org/abs/2010.03768
- Yao, S., et al. "WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agents." NeurIPS 2022. arxiv.org/abs/2207.01206
- Yao, S., et al. "ReAct: Synergizing Reasoning and Acting in Language Models." ICLR 2023. arxiv.org/abs/2210.03629
- Shinn, N., et al. "Reflexion: Language Agents with Verbal Reinforcement Learning." NeurIPS 2023. arxiv.org/abs/2303.11366
- Liu, X., et al. "AgentBench: Evaluating LLMs as Agents." ICLR 2024. arxiv.org/abs/2308.03688
- Qin, Y., et al. "ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs." ICLR 2024. arxiv.org/abs/2307.16789
- Deng, X., et al. "Mind2Web: Towards a Generalist Agent for the Web." NeurIPS 2023. arxiv.org/abs/2306.06070
- Patil, S., et al. "Berkeley Function-Calling Leaderboard." gorilla.cs.berkeley.edu/leaderboard.html
- Jimenez, C. E., et al. "SWE-bench: Can Language Models Resolve Real-World GitHub Issues?" ICLR 2024. arxiv.org/abs/2310.06770
- OpenAI. "Introducing SWE-bench Verified." Aug 2024. openai.com/index/introducing-swe-bench-verified
- OpenAI. "Why SWE-bench Verified no longer measures frontier coding capabilities." Feb 2026. openai.com/index/why-we-no-longer-evaluate-swe-bench-verified
- Deng, X., et al. "SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks?" 2025. arxiv.org/abs/2509.16941
- Merrill, M. A., et al. "Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfaces." 2026. arxiv.org/abs/2601.11868
- Laude Institute. "Harbor: a framework for running agent evaluations." github.com/laude-institute/harbor
- Zhou, S., et al. "WebArena: A Realistic Web Environment for Building Autonomous Agents." ICLR 2024. arxiv.org/abs/2307.13854
- Xie, T., et al. "OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computer Environments." NeurIPS 2024. arxiv.org/abs/2404.07972
- Mialon, G., et al. "GAIA: A Benchmark for General AI Assistants." ICLR 2024. arxiv.org/abs/2311.12983
- Wei, J., et al. "BrowseComp: A Simple Yet Challenging Benchmark for Browsing Agents." 2025. arxiv.org/abs/2504.12516
- Yao, S., et al. "τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains." ICLR 2025. arxiv.org/abs/2406.12045
- Barres, V., et al. "τ²-Bench: Evaluating Conversational Agents in a Dual-Control Environment." 2025. arxiv.org/abs/2506.07982
- Trivedi, H., et al. "AppWorld: A Controllable World of Apps and People for Benchmarking Interactive Coding Agents." ACL 2024. arxiv.org/abs/2407.18901
- Debenedetti, E., et al. "AgentDojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agents." NeurIPS 2024. arxiv.org/abs/2406.13352
- Andriushchenko, M., et al. "AgentHarm: A Benchmark for Measuring Harmfulness of LLM Agents." ICLR 2025. arxiv.org/abs/2410.09024
- Zhang, A. K., et al. "Cybench: A Framework for Evaluating Cybersecurity Capabilities and Risks of Language Models." ICLR 2025. arxiv.org/abs/2408.08926
- Miserendino, S., et al. "SWE-Lancer: Can Frontier LLMs Earn $1 Million from Real-World Freelance Software Engineering?" 2025. arxiv.org/abs/2502.12115
- Xu, F. F., et al. "TheAgentCompany: Benchmarking LLM Agents on Consequential Real World Tasks." 2024. arxiv.org/abs/2412.14161
- Patwardhan, T., et al. "GDPval: Evaluating AI Model Performance on Real-World Economically Valuable Tasks." 2025. arxiv.org/abs/2510.04374
- Chan, J. S., et al. "MLE-bench: Evaluating Machine Learning Agents on Machine Learning Engineering." ICLR 2025. arxiv.org/abs/2410.07095
- Wijk, H., et al. "RE-Bench: Evaluating Frontier AI R&D Capabilities of Language Model Agents against Human Experts." 2024. arxiv.org/abs/2411.15114
- Starace, G., et al. "PaperBench: Evaluating AI's Ability to Replicate AI Research." ICML 2025. arxiv.org/abs/2504.01848
- Kwa, T., et al. "Measuring AI Ability to Complete Long Tasks." 2025. arxiv.org/abs/2503.14499
- METR. "Impact of modelling assumptions on time horizon results." Mar 2026. metr.org/notes/2026-03-20-impact-of-modelling-assumptions-on-time-horizon-results
- Chen, M., et al. "Evaluating Large Language Models Trained on Code." 2021. arxiv.org/abs/2107.03374
- Miller, E. "Adding Error Bars to Evals: A Statistical Approach to Language Model Evaluations." 2024. arxiv.org/abs/2411.00640
- Kapoor, S., et al. "AI Agents That Matter." TMLR 2025. arxiv.org/abs/2407.01502
- Kapoor, S., et al. "Holistic Agent Leaderboard: The Missing Infrastructure for AI Agent Evaluation." ICLR 2026. arxiv.org/abs/2510.11977 · hal.cs.princeton.edu
- Zheng, L., et al. "Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena." NeurIPS 2023. arxiv.org/abs/2306.05685
- Shankar, S., et al. "Who Validates the Validators? Aligning LLM-Assisted Evaluation of LLM Outputs with Human Preferences." UIST 2024. arxiv.org/abs/2404.12272
- Zhuge, M., et al. "Agent-as-a-Judge: Evaluate Agents with Agents." ICML 2025. arxiv.org/abs/2410.10934
- Cemri, M., et al. "Why Do Multi-Agent LLM Systems Fail?" NeurIPS 2025. arxiv.org/abs/2503.13657
- Zhu, Y., et al. "Establishing Best Practices for Building Rigorous Agentic Benchmarks." NeurIPS 2025 D&B. arxiv.org/abs/2507.02825
- Wang, et al. "Trustworthy benchmarks" (Berkeley RDI blog), Apr 2026. rdi.berkeley.edu/blog/trustworthy-benchmarks-cont
- Wang, et al. "Do Androids Dream of Breaking the Game? Systematically Auditing AI Agent Benchmarks with BenchJack." 2026. arxiv.org/abs/2605.12673
- METR. "Recent Frontier Models Are Reward Hacking." Jun 2025. metr.org/blog/2025-06-05-recent-reward-hacking
- Zhong, Z., Raghunathan, A., and Carlini, N. "ImpossibleBench: Measuring LLMs' Propensity of Exploiting Test Cases." 2025. arxiv.org/abs/2510.20270
- Needham, J., et al. "Large Language Models Often Know When They Are Being Evaluated." 2025. arxiv.org/abs/2505.23836
- OpenTelemetry. "Semantic Conventions for GenAI agent and framework spans." opentelemetry.io/docs/specs/semconv/gen-ai/gen-ai-agent-spans
- Weng, L. "LLM Powered Autonomous Agents." Lil'Log, Jun 2023. lilianweng.github.io/posts/2023-06-23-agent
- Weng, L. "Reward Hacking in Reinforcement Learning." Lil'Log, Nov 2024. lilianweng.github.io/posts/2024-11-28-reward-hacking
- Yang, J., et al. "SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering." NeurIPS 2024. arxiv.org/abs/2405.15793
- Anthropic. "Effective harnesses for long-running agents." Anthropic Engineering, Nov 2025. anthropic.com/engineering/effective-harnesses-for-long-running-agents
- UK AI Security Institute and Meridian Labs. "Inspect." inspect.aisi.org.uk; "The Inspect Sandboxing Toolkit." aisi.gov.uk/blog/the-inspect-sandboxing-toolkit
- METR. "Vivaria." vivaria.metr.org
- "HARBOR: Automated Harness Optimization." 2026. arxiv.org/abs/2604.20938
- Bandi, C., et al. "MCP-Atlas: A Large-Scale Benchmark for Tool-Use Competency with Real MCP Servers." 2026. arxiv.org/abs/2602.00933
- Li, J., et al. "The Tool Decathlon: Benchmarking Language Agents for Diverse, Realistic, and Long-Horizon Task Execution." ICLR 2026. arxiv.org/abs/2510.25726
- Phan, L., et al. "Humanity's Last Exam." 2025. arxiv.org/abs/2501.14249
- Backlund, A., and Petersson, L. "Vending-Bench: A Benchmark for Long-Term Coherence of Autonomous Agents." 2025. arxiv.org/abs/2502.15840 · Vending-Bench 2: andonlabs.com/evals/vending-bench-2
- METR. "Time horizons." metr.org/time-horizons
- OSWorld project page (incl. OSWorld-Verified). os-world.github.io
- Model Context Protocol. modelcontextprotocol.io
- Gao, L., Schulman, J., and Hilton, J. "Scaling Laws for Reward Model Overoptimization." ICML 2023. arxiv.org/abs/2210.10760
- Cobbe, K., et al. "Leveraging Procedural Generation to Benchmark Reinforcement Learning." ICML 2020. arxiv.org/abs/1912.01588
- Yue, Y., et al. "Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model?" NeurIPS 2025. arxiv.org/abs/2504.13837
- Shao, R., et al. "Spurious Rewards: Rethinking Training Signals in RLVR." 2025. arxiv.org/abs/2506.10947
- Wu, M., et al. "Reasoning or Memorization? Unreliable Results of Reinforcement Learning Due to Data Contamination." 2025. arxiv.org/abs/2507.10532
- "Exploration vs Exploitation: Rethinking RLVR through Clipping, Entropy, and Spurious Reward." 2025. arxiv.org/abs/2512.16912
- Lambert, N., et al. "RewardBench: Evaluating Reward Models for Language Modeling." 2024. arxiv.org/abs/2403.13787
- Agarwal, R., et al. "Deep Reinforcement Learning at the Edge of the Statistical Precipice." NeurIPS 2021. arxiv.org/abs/2108.13264 · github.com/google-research/rliable
- Jin, B., et al. "Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learning." 2025. arxiv.org/abs/2503.09516
- Jin, B., et al. "An Empirical Study on Reinforcement Learning for Reasoning-Search Interleaved LLM Agents." 2025. arxiv.org/abs/2505.15117
- Thakur, N., et al. "BEIR: A Heterogeneous Benchmark for Zero-shot Evaluation of Information Retrieval Models." NeurIPS 2021 D&B. arxiv.org/abs/2104.08663
- Su, H., et al. "BRIGHT: A Realistic and Challenging Benchmark for Reasoning-Intensive Retrieval." 2024. arxiv.org/abs/2407.12883
- Wei, J., et al. "Measuring Short-Form Factuality in Large Language Models" (SimpleQA). 2024. arxiv.org/abs/2411.04368
- Krishna, S., et al. "Fact, Fetch, and Reason: A Unified Evaluation of Retrieval-Augmented Generation" (FRAMES). 2024. arxiv.org/abs/2409.12941
- Chen, Z., et al. "BrowseComp-Plus: A More Fair and Transparent Evaluation Benchmark of Deep-Research Agent." 2025. arxiv.org/abs/2508.06600
- Gou, B., et al. "Mind2Web 2: Evaluating Agentic Search with Agent-as-a-Judge." NeurIPS 2025 D&B. arxiv.org/abs/2506.21506
- Du, M., et al. "DeepResearch Bench: A Comprehensive Benchmark for Deep Research Agents." 2025. arxiv.org/abs/2506.11763
- Gao, T., et al. "Enabling Large Language Models to Generate Text with Citations" (ALCE). EMNLP 2023. arxiv.org/abs/2305.14627
- Turing, A. "Computing Machinery and Intelligence." Mind, 1950. en.wikipedia.org/wiki/Turing_test
- Cohen, J. "A Coefficient of Agreement for Nominal Scales." 1960. en.wikipedia.org/wiki/Cohen's_kappa
- Cranfield experiments (Cleverdon, 1960s). en.wikipedia.org/wiki/Cranfield_experiments
- Text REtrieval Conference (TREC), NIST, since 1992. trec.nist.gov
- Bellemare, M. G., et al. "The Arcade Learning Environment." JAIR 2013. arxiv.org/abs/1207.4708
- Brockman, G., et al. "OpenAI Gym." 2016. arxiv.org/abs/1606.01540
- Goodhart's law (Goodhart, 1975). en.wikipedia.org/wiki/Goodhart's_law