TL;DR

  • AI agent evaluation judges an agent on reasoning, tool use, the path it takes and the end result, because an agent can fail at any step, not just in its final answer.
  • This guide covers how it differs from model evaluation, the four dimensions to measure, how to build a framework, and the pitfalls that quietly invalidate results.
  • The examples come from Groundtruth, the benchmark we built for geological reasoning: eight agents on the same 150 questions.

Key Takeaways

  • Evaluation is trajectory-level, not just outcome-level. Scoring only the final answer misses where in the chain an agent actually failed.
  • Tool use and reasoning need separate metrics. A correct answer reached via the wrong tool call is a different failure than a wrong answer for the right reason.
  • Frameworks combine automated judges, execution checks, and human review. No single method covers every failure mode on its own.
  • Evaluation design choices shape results as much as the agent does. Harness, rubric and judge selection are not neutral. We saw it running eight models through one shared harness in Benchmarking an Agent Harness With the Model Held Fixed.

AI agent evaluation measures whether a system that plans and acts, reading files, calling tools and deciding when to search again, completes a task correctly. That is a different question from whether one final answer looks right.

A chat model gets a prompt and returns text, so what you grade is what you see. An agent reads files, runs shell commands, calls APIs and sometimes spawns sub-agents before it answers. Two runs of the same agent on the same question can take different paths. Yet most AI agents evaluation still grades only that final answer, which is the part that misses the most.

What is AI agent evaluation?

AI agent evaluation is the practice of measuring an agent, meaning a model plus the tools, prompts and retrieval layer wrapped around it, across the whole task it performs: how it reasoned, which tools it called, the path it took, and whether the result was usable.

That gap between the model and the system around it is also where AI agent testing gets concrete: an agent with file or shell access can read things it was never meant to see. That is a different kind of failure from a wrong answer, and final-answer scoring alone will never catch it.

Why agent evaluation differs from model evaluation

The first thing that breaks when you move from models to agents is attribution. Change the system prompt, the retrieval layer or the tool list, and the answer changes even though the model did not. Everything that decides what the model sees and what it may call is what we call the harness. Comparing two agents that differ in both model and harness leaves a gap with two possible causes and no way to separate them.

We ran into this directly. Eight models ran inside one identical harness, with the same three tools over the same staged documents. Questions, judge and everything else were the same; only the model changed. The transcripts show how differently they used that identical toolkit.

Gemini 3.1 Pro Preview made 67% of its tool calls in the shell. GPT 5.6 Sol made 0.4%. Grok 4.6 made 19.0 tool calls per question and finished mid-table. Claude Sonnet 5 took second place with 9.9. The full ranking is on the Groundtruth leaderboard.

Horizontal stacked bar chart of AI agent evaluation results: the share of each of eight models’ tool calls by type (read, grep, bash, glob, task, webfetch) in one shared harness, ranked top to bottom by leaderboard score
Same harness, different habits: Gemini leaned on the shell for two-thirds of its calls, GPT barely touched it, and neither pattern predicted the score

Tool mix did not predict the score either: GPT 5.6 Sol and Grok 4.6 used almost the same mix and finished 0.77 points apart. The practical rule is to change one layer at a time, model or harness, and record which one moved.

Core evaluation dimensions

Most agentic AI evaluation metrics collapse into four dimensions. The last two are where most evaluation writing stops short.

Reasoning

Did the agent reach the right outcome for the right reason. This is what a rubric or an LLM judge usually grades: exact match, a scoring guide, or a pass/fail gate against a reference answer. A fluent answer that scores well on a loose rubric without committing to the actual claim is the most common way this dimension gets faked.

Tool use

Did it call the right tool with the right arguments. Tool-call accuracy and schema validity catch a correct answer reached by a wasteful route, or the reverse: a wrong answer arrived at correctly. Evaluating agentic AI without this dimension means you cannot tell a lucky guess from a sound process.

Trajectory

Was the path sensible: step count, loop detection, plan adherence, or a match against a reference path where one exists. Reference paths go stale quickly, and open-ended research questions rarely have one correct route. So we score this from saved transcripts rather than against a fixed path.

End-to-end outcome

Did the whole run produce something usable. This is the only dimension that tells you whether the system works. It is also the only one that survives a rewrite of the internals, which makes it the stable number to keep across versions.

Which agentic AI evaluation metrics we track

We measure reasoning and end-to-end outcome directly, and tool use from saved transcripts. Cost and whether the evaluation itself stayed honest matter too. Both change how you read these four rather than replacing them, and both show up in the framework below.

Building an AI agent evaluation framework: harness, rubric, judge

An agent evaluation framework has three moving parts, and treating any one of them as neutral is where evaluating AI agents most often goes wrong.

Harness design

Because model and harness are entangled, a fair comparison needs two separate tracks. One holds the harness fixed and varies the model. The other pins the model and varies the harness, so a score’s difference from an unassisted baseline can be credited to the harness rather than guessed at.

Rubric design

Score with a gated rubric, not a checklist. Our rubrics run 0 to 10 per question, split into components with fixed point values. One component is the gate: miss the concept it tests and the total is zero, however good the rest is. Only once the gate passes do the remaining components get scored on their own merits, positively, with nothing deducted for style or omission. Without a gate, a long, confident answer that covers everything near the question collects partial credit everywhere. It lands at a respectable score while missing the point.

Know the rubric’s resolution before you trust a result. Fifty questions is a small sample. On ours, the smallest mean gap distinguishable from noise ranged from 0.27 points on one district to 0.45 on another. A 0.3-point improvement is a real finding on one task set and pure noise on another, from the exact same benchmark.

Put cost in the same table as quality. Agent runs vary in cost by an order of magnitude for similar accuracy. In our run, generating 150 answers cost $7.47 with the cheapest model and $54.97 with the most expensive, and the expensive one did not win.

Judge selection

If a language model assigns your scores, the judge is part of your measurement instrument and deserves the same scrutiny as the agent. Ours must end its response with a JSON block covering the gate decision, every component’s award and reason, the total, and an adjudication flag. A validator checks eleven rules before the score is accepted. A response that breaks the contract is rejected and re-graded, up to three attempts. After that, the question is recorded as unscored rather than filled with a guessed number. We store the judge’s full reasoning alongside every score. Our judge also comes from a model family that appears on the leaderboard, a real conflict, so we disclose it in the methodology rather than leaving readers to notice it.

In an agent that updates itself, the evaluator also decides which changes to keep.

Common pitfalls: answer leakage, judge bias, benchmark contamination

Judge bias. Pairwise comparison has a failure mode worth knowing: judges favour one position regardless of content. Running the same pair twice with the answers swapped, and treating a flipped verdict as no preference, is the cheap defence.

Answer leakage and benchmark contamination. Suppose the candidate is an agent with file and shell tools, and the rubric lives in the same repository as the harness. Then the grading key is inside the agent’s search space. With only the most obvious hiding spot closed, a 50-question run reached the rubric folder on 13 questions. On 8 of them, grading text ended up in its context. Renaming the folder did not help: the agent read it out of the new name on 8 of 50. What worked was making the files absent, moving them outside the repository for the run’s duration and restoring them on every exit path.

Prevention is not enough on its own. Every transcript is audited for grading-key access before its score counts, and that audit has caught one leaked answer, which was regenerated.

AI agent evaluation tools and frameworks in use today

Evaluating agentic AI with off-the-shelf tools

Off-the-shelf options fall into four categories, and knowing which problem each one actually solves.

CategoryWhat it gives youExamples
Eval libraries in your test suiteMetrics and assertions you run like unit tests, in CIDeepEval, Ragas for retrieval pipelines, OpenAI Evals
Research and safety frameworksA structured task, solver and scorer model, sandboxing, and a log viewer for reproducible runsInspect AI, from the UK AI Security Institute, covering benchmarks such as GAIA and SWE-bench
Tracing and observability platformsTraces of live traffic, datasets built from production runs, online scoring and dashboardsLangSmith, Arize Phoenix, Braintrust
Your own harnessExactly the metrics your domain needs, with full control of judge, rubric and isolationGroundtruth, in our case

Libraries suit teams who want evaluation to fail a build. Platforms suit teams whose main risk is production behaviour they cannot see. Building your own is worth it for domain reasoning no general metric captures, as we argue in Ground Truth: Dynamic Benchmarking in Highly Specific Fields. It also makes sense when you need control over how answers are isolated from grading material.

FAQs

What does AI agent evaluation measure?

It measures a system that plans and acts, not a single model response: whether the agent reasoned correctly, called the right tools, took a sensible path, and produced a usable end-to-end result. Cost, and whether the evaluation itself stayed honest, belong alongside those four when you read the scores.

How is it different from LLM evaluation?

LLM evaluation typically grades one response to one prompt. AI agent evaluation grades a system that reads files, calls tools and makes multi-step decisions. The harness around the model can change the result as much as the model does. And a wrong turn early in the trajectory can still produce a fluent, wrong answer at the end.

What metrics matter most for agent evaluation?

Reasoning correctness against a rubric with a gate, tool-call accuracy from saved transcripts, trajectory sensibility where a task has a canonical route, and end-to-end task success as the headline number. Cost and evaluation integrity, whether the measurement itself stayed honest, modify how you read all four.

What frameworks are available for AI agent evaluation?

Eval libraries such as DeepEval and OpenAI Evals run CI-style checks. Research frameworks such as Inspect AI give sandboxed, reproducible runs. Tracing platforms such as LangSmith or Arize Phoenix monitor production. A custom harness fits when the domain reasoning you need to measure has no general equivalent.