Why agents are hard to evaluate
What it is
Evaluating a single model reply means comparing an output with an expected output. Agents break that in four ways:
- Many valid paths: two runs can take different steps and both be correct.
- Non-determinism: the same case passes on one run and fails on the next.
- Actions, not only text: the result is a changed world: a refund issued, a file edited.
- Long tasks: a failure can come from any of dozens of steps.
Why it matters
So agent evaluation has its own rules.
- Judge the outcome in the world, not the wording of the final message.
- Judge the path separately, for safety and efficiency.
- Run each case several times and report a rate, not a pass or fail.
- Use a test environment so actions are real enough to check and safe enough to repeat.
In the real world: A team that demoed its agent successfully ten times shipped it and found a 12 percent failure rate in production; a fifty-case evaluation set run five times each would have shown it beforehand.
Evaluating an agent by reading a few transcripts and deciding it 'looks good'. It finds the obvious failures and misses the rare ones that matter. A fixed set of cases with coded checks is the minimum.
Practise it: Design an AI Customer Support Agent