Demystifying evals for AI agents
Anthropic's field-tested playbook for evaluating AI agents reveals that a 0% pass rate almost always means a broken eval—not a broken agent—and that grading bugs routinely mask massive capability gains.
Read Original Summary used for search
TLDR
• Opus 4.5 scored 42% on CORE-Bench until a researcher found grading bugs (rigid exact-match, ambiguous specs)—after fixes, it jumped to 95%. Eval failures are usually eval problems, not agent problems.
• Grade outcomes, not trajectories: agents regularly find valid paths eval designers didn't anticipate, so rigid step-checking punishes creativity and produces brittle tests.
• Two metrics for non-determinism: pass@k (did it succeed at least once in k tries?) for tools where one success matters; pass^k (did it succeed every time?) for customer-facing agents where consistency is essential.
• Capability evals start at low pass rates (hill to climb); regression evals stay near 100% (catching backslides). As capability evals saturate, they "graduate" into regression suites.
• Teams with evals upgrade to new models in days; teams without spend weeks—evals are a direct competitive moat when new frontier models drop.
In Detail
Anthropic's core thesis: evals for AI agents aren't testing overhead—they're the mechanism that turns "the agent feels worse" into something actionable. Without them, teams get stuck in reactive loops (wait for complaints → reproduce manually → fix → hope nothing regressed). With them, failures become test cases, test cases prevent regressions, and the whole team has a shared hill to climb. The value compounds, but only if evals are treated as core infrastructure from the start, not bolted on after scaling problems emerge.
The post introduces precise vocabulary that matters for eval design: a task has defined inputs and success criteria; a trial is one attempt (run multiple for consistency); a grader scores some aspect of performance; a transcript is the full record including tool calls and reasoning; an outcome is the actual environment state at the end (not what the agent said—whether the reservation exists in the SQL database). The key design principle: grade outcomes, not trajectories. Agents find creative solutions eval designers didn't anticipate—Opus 4.5 discovered a policy loophole to book a flight, technically "failing" the eval while finding a better solution for the user. Rigid step-checking punishes this. For non-determinism, two metrics apply: pass@k (probability of at least one success in k attempts, useful when one correct answer suffices) and pass^k (probability all k trials succeed, essential for customer-facing reliability).
Practical guidance is organized as an 8-step roadmap. Start with 20-50 tasks from real failures—not hundreds. Write tasks where two domain experts would independently reach the same pass/fail verdict; ambiguity in specs becomes noise in metrics. Build balanced problem sets testing both when a behavior should and shouldn't occur (Anthropic's web search eval had to prevent over-triggering and under-triggering simultaneously). Isolate trial environments to prevent correlated failures from shared state. Calibrate LLM-as-judge graders against human experts regularly, give them an "Unknown" escape hatch to avoid hallucinated grades, and grade each rubric dimension with a separate judge rather than one monolithic grader. Most importantly: read the transcripts. A score that won't climb despite effort usually means the eval is broken, not the agent—and only transcript review reveals which.