Your AI agent passed the evals. That's the problem. Output-based evaluation is built for a single response - but an agent is a chain of decisions, tool calls, and retries. When every measurement point sits at the end, you risk missing where the agent actually went wrong. Here's what to measure instead.
Why single-turn evals give false confidence
Most LLM evaluation starts with one input and one output. Score the response, compare it to a golden answer, and record a pass or fail. That works well for a chatbot or a summarizer. An agent is different: it plans, calls tools, observes results, and repeats. A "correct" final answer can hide bad reasoning, wasted tool calls, or a step that silently failed and was papered over by retries.
Evaluate the agent the way you evaluate a workflow, not a single answer. That means scoring at the step level and the completion level, then reading the run's steps to turn a pass into a diagnosis.
The agent evaluation stack
- Tool-calling accuracy - did the agent invoke the right tool, with the right arguments, at the right time?
- Task completion - did the end goal get achieved, not just a plausible-sounding answer produced?
- Multi-step reasoning - is each intermediate step coherent, or does the agent jump to conclusions?
- Turn boundaries - does the agent know when to call a tool versus respond to the user?
- Cost & latency - how many tokens and calls did it take to get there?
Measure the path, not just the destination
An output-based eval returns "pass." An eval that reads the run returns "passed, but it called the search tool three times, hallucinated a SQL schema, and only recovered on the final retry." That second sentence is what you actually need in production.
A model judge can score each step and attribute a failure to the exact step; the request behind it can go back into your test set. Over time the evaluation stops being a gate that says "good or bad" and becomes a map of exactly where your agent breaks:
# Treat agent evaluation as a workflow, not a single probe
# A run groups every step - each tool call and retry - so a model
# judge can score steps independently and pinpoint the failure.
# 1. Score each step (tool call, reasoning step)
# 2. Score overall task completion
# 3. Attribute regressions to a specific step
Attributing failures with runs and steps
Runs make evaluation actionable. When an eval fails, the run shows you the tool arguments, the retrieved context, and the intermediate reasoning that led to the mistake. This is the difference between knowing that your agent failed and knowing where it failed. Infere groups an agent's requests into a run: send X-Infere-Session-Id with every request in a workflow, and X-Trace-Parent with the parent step's ID to nest a step inside it. Logs › Runs shows the steps as a tree, timeline or graph, so an evaluation failure points back to a resolvable step instead of a mystery score.
A pass only means something when the test set version is frozen and a required check gates the release.
Build the feedback loop
The most reliable signal for agent quality is production feedback looped back into your offline evaluation set. Capture failed steps from live traffic, promote them into your golden test set, and rerun your scoring runs. Freeze the version before you score it, and put a check on the release to production with a minimum pass rate. A scoring run reads only a frozen version's train and dev examples - the test examples are held out for checks - so keep the examples you want scored in train or dev. A pass then proves you didn't just stay green - you covered the failures that actually happened.
Next steps
Start with a small test set of real task completions, score each step with an evaluator judged by a model, and wire the failures back into the test set. Combine agent evaluation with run-level observability and your existing AI eval pipeline to close the loop.