Agent Evaluation Metrics: How to Measure What AI Agents Actually Do

Agent Evaluation Metrics: How to Measure What AI Agents Actually Do

Agent evaluation metrics are the measurements teams use to judge whether an AI agent is doing its job well. The central question is straightforward: how do you know if an agent is genuinely effective, rather than merely fluent and confident? The answer is to measure what the agent actually did — whether the task was completed, how many steps it took, and what it cost — instead of relying on how polished its replies sound.

Key takeaways

  • Judge agents by task outcomes, not by fluent language: a smooth reply that fails the task is still a failure.
  • Combine outcome, efficiency, safety, and cost metrics, because any single number can be gamed or misunderstood.
  • Scorecards turn raw scores into decisions by setting thresholds for shipping, fixing, or rolling back.
  • Evaluate on realistic tasks with real tools, since a benchmark that ignores tool use flatters weak agents.

What agent evaluation metrics measure

Evaluating a chatbot is mostly about the quality of its words. Evaluating an agent is different, because an agent acts: it calls tools, changes records, sends messages, and spends money. A reply can be well written and still be wrong in every way that matters.

Agent evaluation metrics therefore fall into groups that mirror what an agent does. Outcome metrics ask whether the task was completed correctly. Efficiency metrics ask how much work it took. Safety metrics ask whether anything harmful happened along the way. Cost metrics ask what the run consumed in tokens, time, and money. A serious evaluation looks at all four, because an agent that succeeds slowly and expensively is not the same as one that succeeds quickly and cheaply, and an agent that succeeds by taking a risky shortcut is not a success at all.

The main types of agent evaluation metrics

Metric type What it measures Example Watch out for
Task success rate Share of tasks completed correctly 82 of 100 bookings correct Partial credit can hide real failures
Step efficiency Tool calls and turns per task Average 4.2 calls per task Fewer steps is not always better
Tool selection accuracy Share of calls using the right tool 94% of calls chose correctly Needs a defined correct tool per step
Error and recovery rate How often the agent fails, then recovers Recovered in 7 of 10 errors Recovery that changes data is risky
Safety violations Unsafe or unauthorised actions taken Zero policy breaches in 500 runs Rare events need large samples
Cost per task Tokens, time, and money consumed Average 11 pence per resolved query Cheap and wrong is still wrong

Best for a first evaluation: task success rate, because it answers the only question that matters at the start — does the agent actually finish the job?

Best for comparing two agent designs: step efficiency plus cost per task, because they reveal which design does the same work with less effort.

Best for production monitoring: safety violations and error rates, because they catch the failures that damage trust and cost money.

Outcome metrics: did the agent finish the job?

Task success rate is the headline number for most agent evaluations. It is simply the share of tasks the agent completed correctly, judged against a clear definition of success written before the evaluation runs. That last point matters: if success is defined after seeing the results, the definition will quietly bend to flatter the agent.

Defining success well takes care. For a booking agent, success might mean the right date, the right person, and a confirmation the user can see. For a research agent, it might mean an answer supported by retrieved sources, with no invented facts. Partial credit is tempting, but use it sparingly, because it can hide failures that a user would notice immediately.

Some teams also rate the clarity of the final answer separately from the outcome. That is useful, but keep the two scores apart, or a beautifully written failure will look like a win. For a broader view of how model-level measurement differs from agent-level measurement, see our guide to LLM evaluation metrics, what they measure, and where they fail.

Efficiency metrics: how much work did it take?

Two agents can both succeed while doing very different amounts of work. One might solve a task in three tool calls; another might take fifteen, retrying searches, re-reading the same page, and asking the user questions it could have answered itself. Both completed the task, but only the first is fit for production, where every extra call costs time, tokens, and patience.

Step efficiency is usually measured as the average number of tool calls, model turns, or total actions per completed task. It is worth tracking alongside success rate, because the two interact: an agent that is forced to be efficient may start cutting corners, while an agent with no efficiency pressure may wander. The goal is not the lowest possible number of steps, but the lowest number that still succeeds reliably.

Latency matters too, especially for agents users interact with directly. A task that takes forty seconds of tool calls will feel broken even if the result is correct, so measure end-to-end time from the user’s request to the finished result, not just model response time.

Two colleagues reviewing printed charts and a laptop together
Reviewing results together catches problems that a single headline score can hide.

Safety and reliability metrics

Safety metrics exist because agents act in the world. The key measure is the rate of policy violations: actions the agent should never have taken, such as accessing data it had no permission for, sending a message without approval, or changing a record it was only meant to read. Even a low rate matters here, because a single violation can be serious in a way that a single wrong answer is not.

Reliability is closely related. Track how often the agent hits tool errors, how often it recovers from them, and how often it gives up. Recovery is a skill worth measuring on its own: an agent that notices a failed call, tries a sensible alternative, and succeeds is far more useful than one that repeats the same failing call or quits at the first error.

Hallucination still matters for agents, but it shows up differently. Instead of inventing facts in a paragraph, an agent may invent a tool parameter or a record identifier. Track these as tool-use errors, not as language errors, because the fix is usually in the tool descriptions or the validation step.

Cost metrics: what each task consumes

Every agent run consumes tokens, and tokens cost money. Cost per completed task is the most useful cost metric, because it combines the price of success with the price of failure. Track cost per task alongside success rate.

Cost is not only about tokens. Long-running agents hold connections open, occupy workers, and keep users waiting. If your agent runs in a queue, measure throughput as well: how many tasks it completes per hour, and how that changes as load grows.

Turning metrics into decisions with scorecards

Building a good scorecard starts with choosing a small set of metrics — five or six at most — and deciding what good looks like for each one before the evaluation runs. A customer support agent might weight task success and safety heavily, and cost lightly. An internal research agent might weight accuracy and completeness, and care little about latency. The weights are a statement of priorities, and they should be argued about openly, because they decide what the team optimises for. Our guide to AI evaluation scorecards explains how to turn model scores into decisions in practice.

A practical evaluation checklist

Use this checklist before trusting any agent evaluation result.

  • Realistic tasks. Test on tasks drawn from real use, with real tools and real data, not on simplified examples the agent was tuned for.
  • Success defined in advance. Write down what counts as success before running anything, including what counts as partial success.
  • Enough runs. Small samples flatter or condemn unfairly; run enough tasks that a few lucky or unlucky runs cannot swing the result.
  • Separate test data. Never evaluate on tasks used to develop or tune the agent.
  • Full action trails. Record every tool call, not just the final answer, so failures can be traced to the step where they happened.
  • Human review of failures. Read a sample of failed runs yourself; categories of failure are more useful than an overall percentage.
  • Repeated over time. Re-run the evaluation when tools, models, or data change, because a score from last month describes a system that no longer exists.

If you are setting up an evaluation from scratch, our guide to building an LLM evaluation framework that actually guides decisions covers the structure in more detail, and most of it applies directly to agents.

Common pitfalls in agent evaluation

Grading the answer instead of the outcome

Many teams import their chatbot evaluation habits and grade the agent’s final message. For an agent, the message is the least important part. Check the state of the world after the agent ran: was the record updated correctly, was the message actually sent, was the booking really made?

Testing without tools

An agent evaluated without its tools is not being evaluated at all. Tool use is where agents fail most often — wrong tool, wrong parameters, wrong order — and a test that removes tools removes the failures too. Always evaluate with the full tool set the agent will have in production.

Letting the agent grade itself

Using a model to judge an agent’s work is common and often useful, but it has limits. A judge model shares the blind spots of the agent it grades, and it tends to reward fluent, confident answers over correct ones. Use model judges for scale, but spot-check their verdicts with human reviewers.

Reporting one number

A single headline score hides the trade-offs. An agent can score 90% on task success while violating policy twice in a hundred runs, or while costing five times as much as the alternative. Report the small set of metrics together, and let the reader see the trade-offs.

Frequently asked questions

What is the most important agent evaluation metric?

Task success rate, because it measures whether the job was actually done. Efficiency, safety, and cost metrics matter too, but they only make sense once the agent can complete tasks reliably.

How is evaluating an agent different from evaluating a language model?

A language model produces text, so evaluation compares words with a reference answer. An agent produces a trail of actions, so evaluation must check outcomes in the world, tool choices, error recovery, and cost, not just the final message.

How many test tasks do I need?

Enough that the result is stable: for most teams that means at least fifty to a hundred tasks per evaluation run, covering the main task types and the common edge cases. Rare but serious failures, such as safety violations, need larger samples to detect at all.

Should I use a model to judge my agent?

Yes, for scale, but not alone. Model judges share the agent’s blind spots and favour confident answers, so pair them with human review of a sample of runs.

What is a good task success rate for an agent?

There is no universal target: it depends on the task and the cost of failure. A research agent at 85% may be excellent, while a payment agent at 95% may be unacceptable.

How often should I re-evaluate an agent?

After every meaningful change — a new model, tool, or data source — and on a regular schedule in between, because tools and data drift even when the agent does not.

Latest articles

Scroll to Top