AI agent evals
For teams moving an AI agent from an impressive demo toward something they can safely depend on.
A demo proves an agent can succeed once. An eval asks how often it succeeds, where it fails and whether a change made it better.
Evaluating an agent is harder than grading one model answer because the agent can take different paths through the same task. It may call different tools, recover from one error and fail on another, or reach the right answer after making an unacceptable change along the way.
What an eval measures
Judge the task, the path and the side effects.
A useful agent eval starts with a task that has a checkable outcome. The grader can then inspect whether the task was completed, whether required constraints were respected and whether the environment ended in an acceptable state.
For coding agents, that may include tests, file changes and repository state. For operational agents, it may include the records changed, messages sent, tools used and whether a human approval boundary was respected.
Outcome
Did the agent complete the task correctly?
Process
Did it follow important constraints and use allowed actions?
Side effects
Did it leave the environment in a safe and valid state?
Efficiency
Did it use unreasonable time, tokens or tool calls to get there?
Build a task set
Good evals look like the work the agent will actually receive.
A task set should contain normal cases, difficult cases and known failure modes. If every example is clean and fully specified, the eval will reward an agent that only works in a clean and fully specified world.
Keep the expected result checkable, but allow more than one valid path when the task permits it. Agents are useful partly because they can adapt, so an eval should not require one hidden chain of actions unless that sequence is itself a requirement.
Representative
Use tasks drawn from the real operating distribution.
Adversarial
Include ambiguous inputs, missing data and dependency failures.
Repeatable
Run the same task enough times to expose nondeterministic behavior.
Versioned
Keep historical failures in the suite so fixes do not quietly regress.
Choose graders carefully
Use deterministic checks where the result can be checked deterministically.
If a unit test, schema, database assertion or exact state check can grade the outcome, use it. Model-based graders are valuable when quality is semantic or multiple answers are valid, but they add another probabilistic system to the measurement loop.
Most serious eval suites combine graders. The exact answer may require a model judgment while permissions, file state, tool use and required fields can still be checked with code.
Programmatic
Tests, schemas, diff checks and state assertions for objective requirements.
Model grader
Useful for relevance, reasoning quality and outputs with several valid forms.
Human review
Best for disputed criteria, high-consequence behavior and calibration.
Composite score
Combine several checks when one metric hides important failure modes.
Use evals during development
The value is in comparing changes, not collecting a decorative score.
An eval becomes useful when it runs repeatedly while prompts, tools, models and harness behavior change. A modification that improves one task class but damages another should be visible before production users discover it.
Track failure categories alongside the headline score. “78% success” tells you less than knowing the agent commonly fails after tool timeouts, skips approvals or loses task state after compaction.
Baseline
Measure the current system before changing it.
Regression
Run the same suite after model, tool or prompt changes.
Failure taxonomy
Group errors by mechanism so fixes target the real weakness.
Production feedback
Turn real incidents and overrides into new eval cases.
Keep going
Related paths
Understand the runtime whose behavior the eval is measuring.
Agentic engineering →See why faster agent-generated work makes verification more important.
Context engineering →Test context changes as system changes rather than relying on intuition.
The Intelligence Stack →Keep deterministic checks deterministic and reserve model judgment for the parts that need it.
Find the first useful system
Start with the workflow, not the tool.
The Pixel & Process assessment looks at how work arrives, where it stalls, what delay costs and which part is actually worth changing first.
Assess your workflow →