What is agent evaluation?

Agent evaluation is a testing practice that measures whether an AI agent completes tasks accurately and safely across a repeatable set of test cases. Unlike manual spot-checking, evaluations run scenarios multiple times, grade hard rules like tool calls and policy checks separately from tone, and give teams objective evidence before releasing a new version.

By Sacha Arbonel, Founder and CTOLast updated
  • Also called
  • Evals
  • LLM evaluation

Why does agent evaluation matter?

Language models produce non-deterministic outputs, so a prompt change that fixes one conversation can silently break ten others. Evaluations catch regressions before customers encounter wrong actions, missed approvals, or policy violations.

An evaluation, or eval, runs an agent on a set of test cases and checks what it did. Good evaluations separate hard checks, such as the right amount, the right account or an approval requested, from softer judgments like tone and clarity, so a friendly reply can never hide a wrong action.

Because models are not fully predictable, each case is usually run several times. A case only counts as passing when it passes consistently.

Key characteristics of agent evaluation

  • Deterministic hard checks verify required tool calls, parameters, policy boundaries, and approval requests first.
  • Soft criteria such as tone, formatting, and helpfulness are scored separately and never override a failed hard check.
  • Multiple trials per test case expose flaky behavior that a single lucky run would hide.
  • Held-out cases prevent teams or automated optimizers from overfitting to known examples.

How agent evaluation works step by step

  1. 1. Test casesCommon, edge, and adversarial scenarios
  2. 2. Repeated runsRun each case several times
  3. 3. Layered gradingHard policy checks first, tone second
  4. 4. Release gateCompare against the live version
How an agent evaluation pipeline turns test cases into a release decision.

Agent evaluation vs. unit tests: key differences

DimensionAgent evaluationTraditional unit test
Behavior testedMulti-step reasoning, tool selection, and policy complianceDeterministic function input and output
Pass conditionConsistent pass rate across repeated trials and assertionsSingle deterministic pass or fail
Grading methodHard checks combined with rubric or LLM-as-judge scoringExact code assertions
Failure signalPolicy drift, wrong tool arguments, or missed escalationThrown exception or wrong return value

Example in practice

How Norilu handles agent evaluation

Frequently asked questions

How many times should each agent evaluation case run?
Most production teams run critical cases three to five times per candidate version so intermittent failures surface before deployment.
Can an LLM judge replace deterministic checks in an eval?
No. Use deterministic checks for exact amounts, tool calls, permissions, and approval gates, and reserve LLM judges for subjective qualities like clarity or tone.

Go deeper