LLM Digest
Subscribe

Agent Builder Foundations

Evidence-tiered mechanisms for agent builders

View as JSON

Agent foundations

What should an agent eval actually measure?

Concept·Evals and reliability·5 sources·updated 2026-10-14

A low eval score usually gets read as "the agent failed." Anthropic reports a case where that read was wrong: Opus 4.5's CORE-Bench score rose from 42% to 95% once the team fixed grading bugs, ambiguous task specs, and stochastic tasks in the eval. The agent never changed. Before you spend a cycle improving an agent that scored badly, spend an hour checking whether the eval is what's broken.

What's new in the evidence
Short answer

An agent eval is an input plus grading logic, and the grading logic is usually the weak link. Three grader types trade cost against accuracy: code-based graders are cheap and objective but only check what you encoded; model-based graders handle nuance but are non-deterministic and expensive; human graders set the bar but don't scale.

Because agents vary run to run, one pass/fail number isn't enough. pass@k asks whether the agent can solve the task at all; pass^k asks whether it solves it every time. And a bad score on either can mean the eval, not the agent, is broken.

Builder model

Treat an eval as software with the usual failure surface: bugs, ambiguous specs, and flaky behavior. All three produce the same symptom as a real agent failure — a low score.

  • Grader choice is a cost/accuracy trade-off. Code-based graders (unit tests, string checks, static analysis) can run on every commit but only check what you encoded. Model-based graders catch nuance but add their own non-determinism; see can you trust an LLM-as-judge score?. Human graders calibrate the others. Real suites mix all three, matched to how often each check must run.
  • One score hides whether failure is rare or reliable. An agent that solves a task 1 of 5 times and one that solves it 4 of 5 times both fail pass^5. The second is near production-ready behind a retry; the first is not solving the task.
  • The unit under test is the system. Task information, tools, budget, and model all move the score, so a result describes the configuration, not the model alone.
Mechanism

Start from real failures. Anthropic recommends 20-50 tasks drawn from cases that actually went wrong. Each needs an unambiguous spec and a reference solution; ambiguity produced the 42%-to-95% CORE-Bench jump. Include negative cases where the right behavior is to refuse or say it doesn't know; solvable-only suites cannot detect overconfidence.

Keep the environment stable and grade outcomes. A flaky sandbox produces noise indistinguishable from a regression. Exact step matching penalizes a correct result reached by a different path, so grade the outcome and, separately, the trajectory.

Grade the artifact each agent type produces.

  • Coding: unit tests for the outcome, a transcript pass for process.
  • Conversational: backend state verification plus an LLM rubric for tone.
  • Research: groundedness, coverage, and source quality as separate checks.
  • Computer use: interface state (DOM, screenshots) and backend state, since a correct-looking screen can hide a failed action.

Measure the configuration, repeatedly. In an 18,000-trajectory study of coding agents, 54% of outcome variance was run-to-run noise within identical configurations, and task information moved results more than time budget or model size. A verification tool changed behavior where a verification prompt barely did. TRACE found identical reruns flip 15-36% of task outcomes.

Test the scorer when a score moves. A score change can come from the scoring rule, not the agent. TRACE rescored unchanged trajectories after renaming tools: restoring the names at scoring time erased a 0.250 drop in a scripted agent.

Audit the simulated tools. Benchmarks grade what a simulated tool reports having done. An audit of 34 mutating tools in four benchmarks confirmed seven tool defects; in one clinical benchmark the tool claimed writes it never made, and the grader scored that claim as success. A defect like this is present on every rerun, so repeated runs never expose it.

Watch for saturation. Once scores plateau near the ceiling, the eval stops separating good from great, and further optimization tunes to its blind spots — the dynamic covered in does a high benchmark score predict production reliability?.

How to apply
  • Audit the eval before touching the agent. When a score looks bad, read failing transcripts by hand and check for ambiguous specs, wrong reference solutions, or a grader that missed a valid path.
  • Start from 20-50 real failures. A small set from production catches the failures that matter faster than a large synthetic one.
  • Report pass@k and pass^k. They answer "can it ever solve this" and "can I trust it every time"; one aggregate hides which you have.
  • Match grader type to cadence. Code-based graders for anything deterministic, on every commit; model-based graders for tone, groundedness, and nuance; humans for periodic calibration of the automated graders.
  • Grade the trajectory as well as the output. A lucky pass through a bad process is a risk the outcome score won't show.
  • Rescore before you blame the agent. After a score change, rescore the unchanged trajectories under the old format; if the gap closes, the scorer moved, not the agent.
  • Run each configuration several times and report the spread. At 54% run-to-run variance, a single run is mostly noise.
  • Change behavior with tools, not prompt lines. Treat task information, budget, and tooling as explicit eval dimensions, and test self-verification as a tool or dedicated component.
  • Check the tools against their contract. Probe each mutating tool in the eval and confirm the state it reports matches the state it wrote.
  • Retire saturated evals. At ceiling, raise the difficulty or discount further gains.
Failure modes
  • Debugging the wrong thing: changing the agent to chase a low score without checking the eval for ambiguous specs, wrong references, or grader bugs.
  • One aggregate score: hiding whether failure is occasional (decent pass@k, bad pass^k) or total.
  • Exact step matching: penalizing a correct result reached by a different valid path.
  • No negative cases: overconfidence and unwarranted refusals never get caught.
  • Trusting tool output as ground truth: a defective simulated tool makes the grader reward actions that never happened.
  • Brittle scorers: a verifier that keys on tool names or output formatting turns a cosmetic change into a fake regression.
  • Single-run comparisons: run-to-run variance read as a real difference.
  • Misattribution: crediting the model for a change when task information, budget, or tooling also changed.
  • Optimizing a saturated eval: tuning to its blind spots instead of real capability.
Related

See agent evaluation, agent benchmarks for where public benchmarks diverge from your own eval, can you trust an LLM-as-judge score? for model-based grader failures, and does a high benchmark score predict production reliability? for reading a score as a production claim.

Evidence · 5 sources
newest first
  1. BenchmarkDo Agent Benchmarks Do What They Say? An Executable-Contract Audit of Tool-Using Agent Environmentsbenchmark/result-backed · in the feed

    Checks each simulated tool against its advertised interface across 34 mutating tools in four benchmarks and confirms seven tool defects plus one evaluator property. On AgentDojo, at least 5 of 25 mutating tools diverge from their contract. On tau2-bench, the evaluator rewards a refuel of a suspended line and fails the repaired tool. A clinical benchmark's tool reports writes it never made, and its grader counts that message as success.

  2. BenchmarkTRACE: Diagnosing Verifier Brittleness in Agentic Evaluationbenchmark/result-backed · in the feed

    Protocol that mutates one part of an eval, compares paired runs, and rescores unchanged trajectories. Renaming tools cut a scripted agent's score by 0.250 with identical operations; restoring names at scoring time closed the gap. On tau2-bench (88 tasks), misleading tool names lowered every agent's reward 0.20-0.44, while identical reruns flipped 15-36% of outcomes. Two frontier judges disagreed on 57% of records.

  3. BenchmarkAgents Are Systems, Not Models: Rethinking Agentic Evaluationbenchmark/result-backed · in the feed

    Runs a coding agent on four scientific tasks that require operating specialist models, across more than 18,000 trajectories varying task information, reasoning approach, self-verification, time budget, and backbone model. 54% of outcome variance came from run-to-run variability within identical configurations. Task information had the largest effect, above time budget or model size; extra time helped only with enough information or a capable model. Verification tools changed behavior substantially; verification prompts had minimal effect.

  4. Primary docDemystifying evals for AI agentsprimary-doc-backed · in the feed

    Anthropic's guide to building agent evals. Names three grader types: code-based (fast, cheap, objective), model-based (flexible, non-deterministic, expensive), and human (best quality, slowest). Recommends starting from 20-50 real-failure tasks with unambiguous specs and reference solutions, positive and negative cases, isolated environments, and outcome grading over step matching. Defines pass@k and pass^k. Reports Opus 4.5's CORE-Bench score rising from 42% to 95% after fixing grading bugs, ambiguous specs, and stochastic tasks in the eval.

  5. EditorialLLM Digest synthesiseditorial inference

    A low eval score is a claim about two things at once: the agent's behavior and the eval's own correctness. Builders default to debugging the first without checking the second. Treat the eval as software that needs its own bug-fixing pass before trusting what it reports about the agent.