AI Systems

Agentic Evals — Scoring the Trajectory, Not Just the Answer

Standard evals score a single input-output pair. Agentic systems make that insufficient: an agent that reaches the right final answer by calling the wrong tool, in the wrong order, five more times than necessary, has a serious production problem that final-answer accuracy alone will never surface. Agentic evals score the full trajectory — the sequence of reasoning steps, tool calls, tool results, and intermediate decisions the agent took to arrive at its answer.

Quick reference
What it is
Evaluating the sequence of steps an agent takes, not only whether its final answer was correct.
Mental model
Grading a math test on the work shown, not just the final number — two students who both got the right answer are not equally good if one's method was a coin flip.
Key numbers
A small labelled trajectory benchmark (30–50 tasks with expected tool-call sequences) already unlocks debugging why an agent failed, not just that it failed.
Reach for it when
The system takes more than one step to answer — any tool-calling agent, not only ones that reach a final natural-language answer.
An agent's full trajectory feeds a step-level judge and tool-call correctness check, each with its own sub-metric, before rolling up into overall task success Agent Trajectory Step-level Judge Tool-call Correctness Task Success Exact-match trajectory Precision / recall on calls Efficiency: steps taken Groundedness per step
Each stage rolls up its own sub-metric — a good final answer with poor tool-call precision or poor groundedness is a real failure this multi-level view catches that a single pass/fail check would miss.

Trajectory evaluation

Scores the path taken, not only the destination. Exact-match trajectory evaluation checks whether the sequence of actions matches a labelled gold trajectory step for step — strict, and often too rigid, since multiple valid paths can reach the same correct answer. A more practical approach uses an LLM judge to assess whether each step was reasonable given the state at that point, independent of whether it matches a single reference path — the generalization of LLM-as-judge scoring to a multi-step setting: instead of judging one output, the judge walks the trajectory and scores coherence, necessity, and correctness of each step.

Tool-call correctness

Precision and recall computed over the set of tool calls the agent made versus the set it should have made, given the task. Precision catches unnecessary or hallucinated tool calls — calling a search API when the answer was already in context. Recall catches missed steps — failing to call a verification tool before taking a destructive action. A further layer checks argument correctness: did the agent call the right tool with the right parameters, since a correct tool choice with malformed or wrong arguments is functionally a failure even though it may look correct at a glance.

Efficiency and groundedness metrics

Efficiency metrics track the number of steps, tool calls, and tokens consumed to reach a correct outcome — two agents that both succeed are not equally good if one takes twelve steps and the other takes four, and this directly maps to production cost and latency. Groundedness metrics check, at each step, whether the agent's stated reasoning is actually supported by the tool results it has received so far, catching a specific and dangerous failure mode: an agent's chain-of-thought fabricating a justification disconnected from what its tools actually returned.

Productionizing this pattern

What changes past a demo

Real-world applications

Embedded applications

Gotchas

Field notes