← Blog home
AI Research · October 24, 2026 · 4 min read

Stop Scoring the Answer: Agent Evals Must Measure the State Left Behind

An agent can produce a plausible final message while corrupting the environment it was meant to improve. Serious evaluation therefore has to inspect trajectories, side effects, and recoverability—not merely answers.

Stop Scoring the Answer: Agent Evals Must Measure the State Left Behind

The familiar language-model benchmark assumes a clean exchange: supply an input, collect an output, compare that output with a reference. That arrangement made sense when models mostly completed sentences or answered questions. It becomes dangerously incomplete when an AI system can edit files, query databases, call services, and make decisions across dozens of steps.

An agent’s real output is not its final message. Its output is the state of the world after it stops.

Consider a coding agent asked to fix an authentication bug. It may produce an eloquent summary and a passing unit test while quietly weakening an authorization check elsewhere. A research agent may answer correctly after citing a source it never opened. A support agent may issue the requested refund but also expose another customer’s record in its trace. Under answer-centric evaluation, these systems can look successful because the grader is watching the curtain call rather than the performance.

The trajectory is part of the product

Agent evaluation should be framed as state-transition testing. The initial environment is one state; the agent’s tool calls transform it; the final environment is another. Success depends on whether the requested transition occurred, whether prohibited transitions did not occur, and whether the evidence supports the path taken.

This is harder than checking a string, but it is not mysterious. Software engineering already has concepts for it: integration tests, transaction logs, invariants, property-based testing, fault injection, and reproducible environments. The novelty lies in applying those methods to systems that choose their own sequence of operations.

Anthropic’s guide to agent evaluations usefully separates tasks, trials, graders, and traces. That vocabulary matters because a single run can mislead. Model behavior varies, tools fail intermittently, and a successful path can coexist with a dangerously high rate of destructive alternatives. Teams need repeated trials and graders that inspect both final state and intermediate conduct.

The research community also has to confront benchmark contamination. Once a static task circulates publicly, its value as a test of generalization decays. The problem is documented in the survey of benchmark data contamination, but agents add another failure mode: they can discover fixtures, infer grader assumptions, or exploit loopholes in simulated environments. A benchmark may end up measuring familiarity with the test harness rather than competence in the underlying work.

Build evals around invariants, not ideal scripts

The tempting response is to prescribe one approved trajectory. That would punish agents for finding legitimate shortcuts and turn evaluation into imitation. A better design defines invariants: facts that must remain true regardless of the path.

These checks distinguish outcome freedom from operational recklessness. The agent may choose its route, but it cannot redefine success, conceal side effects, or leave an unrecoverable mess.

Recovery deserves particular attention. Most benchmarks treat failure as a zero and reset the sandbox. Production does not reset so politely. A system that recognizes a bad migration, rolls it back, and reports uncertainty may be more valuable than one that completes more tasks while occasionally damaging customer data. Mean task success hides that distinction. Evaluation suites should report failure severity, blast radius, detectability, and rollback quality alongside completion rate.

The benchmark should resemble the deployment

Generic leaderboards can reveal broad capability, but they cannot certify a product. A procurement agent needs tests involving approval limits, duplicate orders, vendor substitutions, and stale inventory. A software agent needs messy repositories, flaky tests, ambiguous issue descriptions, and secrets it must not touch. A clinical documentation assistant needs provenance and omission checks, not trivia questions about medicine.

This implies that the most valuable eval set may never be published. It should grow from production incidents, near misses, user corrections, and domain-specific red-team exercises. Public benchmarks can guide model selection; private, continuously refreshed evaluations should govern release decisions.

There is an organizational consequence here. Evaluation cannot remain a final quality-assurance gate owned by a small specialist team. Product managers must specify acceptable outcomes, domain experts must define invariants, engineers must create observable environments, and security teams must enumerate irreversible actions. The eval suite becomes a negotiated definition of what the product is allowed to do.

The next generation of agent benchmarks will look less like exams and more like instrumented workplaces. They will contain mutable state, adversarial distractions, unreliable dependencies, approval boundaries, and meaningful recovery paths. That makes them more expensive to build. It also makes them worth trusting.

A neat answer is evidence of verbal competence. A clean, verified, reversible change to the world is evidence of agency. We should stop confusing the two.

Advertisement

#agent-evals #benchmarks #reliability #tool-use

Building something in AI? Let's talk.

Start a project
More from the blog

© 2026 XioX. All rights reserved.
Home Solutions Products Blog AI Updates Contact Us RSS