AI Agent Evaluation: How to Measure Performance and Reliability

One demo proves nothing. If your agent passed once, you haven't evaluated it — you've watched a magic trick.

Vendors love a single triumphant run: the agent nails the task on stage, the audience applauds, the contract gets signed. Then it ships, and the same agent fails on Tuesday, burns $40 in tokens to do a $2 job, and quietly deletes something it shouldn't have. A pass rate hides all of that. The honest question isn't "did it work?" — it's "did it work correctly, safely, repeatedly, and at a price worth paying?" Four separate answers, or you don't have an answer at all.

A single number is a lie by omission

  • Correctness is not enough. An agent can complete the task and take an unsafe shortcut to get there. Anthropic's rule is blunt: judge the final state of the environment, not the agent's confident final message. What it did matters; what it says it did is marketing.
  • Reliability is its own measurement. With a 75% per-trial success rate, the chance of passing three trials in a row is about 42%. That's not a rounding error, that's the difference between a tool and a slot machine. Pass@k and pass^k exist because one good run is statistically meaningless — and every vendor demo you've ever seen is exactly one good run.
  • Efficiency is a verdict, not a footnote. Latency, tokens, cost, steps per run. An agent that succeeds after twenty steps and three retries succeeded expensively, and the step count is what exposes it. A slower, pricier run has to earn its extra spend with measurably better results.
  • Grading needs calibration, not vibes. Deterministic checks where possible (did the file land in the right place? was the right tool called with valid args?), LLM-as-judge where necessary — but calibrated against human experts with written rubrics. An uncalibrated judge rejects good work and passes bad work with equal confidence.

The method, minus the ceremony

Define success before the agent runs — outcome, process, style, efficiency, and the forbidden side effects. Build 20–50 tasks from real failures, edge cases, and refusal cases, and hold some back so you never tune against your own test. Run each task multiple times in identical, isolated conditions. Record every transcript and read the failures — classify them (wrong tool, wrong arguments, loops, stopping early, unsafe actions) and they become a repair list instead of a shrug. Then keep evaluating in production, because that's where the inputs nobody predicted live.

And check the eval before you blame the agent. A broken grader can hide a capable agent — the instrument is suspect until proven otherwise.

Go deeper

The full guide walks through the whole method — task-set design, grader calibration, the reliability math, the OpenTelemetry GenAI conventions (pinned to a version, because the attribute names have already moved), and a starter checklist — on Agentic Affairs: AI Agent Evaluation: How to Measure Performance and Reliability

Originally published on Agentic Affairs (https://agentic-affairs.com)