Key takeaways
A convincing response does not establish that an AI agent completed the requested task correctly.
Evaluate the complete agent system, including its model, tools, permissions, orchestration, memory and downstream effects.
Keep mandatory safety and authorisation checks separate from aggregate quality scores.
Measure reliability across repeated trials and distinguish correct human handoffs from failed automation.
Compare the cost and quality of verified business outcomes against the existing process, including review and remediation costs.
Treat evaluation as an ongoing operational capability, not a one-off approval exercise.
Your agent says the refund is complete. Is it?
Imagine a customer contacting an online retailer about a missing delivery. An AI agent checks the order, reads the refund policy and replies that the money will be returned. The conversation is polite and the explanation sounds convincing. But when the customer checks their account several days later, there is no refund.
Perhaps the payment service rejected the request, the agent selected the wrong order or a supervisor's approval was required. The agent may even have attempted a second refund after the first request timed out. Evaluating the quality of its written answer would reveal very little about these problems.
This is what makes agentic AI different from a conventional chatbot. An agent can decide what to do next, interact with applications and change business records. Its mistakes can therefore affect customers, financial transactions and internal controls, rather than simply producing an inaccurate answer.
An AI agent evaluation framework helps an organisation establish whether an agent can complete the right task, with the right permissions, under realistic operating conditions. The central question is not whether the agent appears intelligent. It is whether the organisation has sufficient evidence to trust it with the responsibilities it has been given.
Evaluate the business outcome, not just the language model
A language model benchmark can help compare reasoning or instruction-following capabilities, but the model is only one component of an agent. The deployed system also includes instructions, tool definitions, application programming interfaces (APIs), access controls, workflow logic, memory and sometimes other agents.
Consider a procurement agent preparing a purchase request. It may correctly interpret the requirements but retrieve an obsolete supplier record, enter the wrong quantity or bypass a mandatory approval. Better language generation alone will not resolve all these failures.
A useful evaluation examines three distinct layers. The outcome layer verifies what actually happened in the underlying business system. The execution layer examines the observable decisions, tool calls, arguments, responses and handoffs. The interaction layer assesses whether the agent communicated accurately, asked appropriate questions and explained its limitations.
Research on τ-bench tests agents interacting with simulated users and domain-specific tools, evaluating the final database state against the intended result.[1] This is an important principle for enterprise evaluation: a successful-looking conversation cannot replace verification of the actual state.
For a read-only research agent, the outcome might be a complete, evidence-supported report. For a transaction agent, it might be an authorised record change reconciled with the source system. Define success for the responsibility the agent actually has.
Seven dimensions of a practical evaluation framework
The following is a proposed enterprise scorecard, not a formal certification standard. Adapt its dimensions to the agent's purpose and the consequences of failure.
1. Task completion | Measure: the proportion of assigned tasks that meet predefined acceptance criteria. | Ask: did the agent deliver the correct outcome, including a required handoff?
2. Tool-use correctness | Measure: correct tool selection, valid arguments and permitted execution for relevant steps. | Ask: did the agent interact with the correct system and record?
3. Evidence and factual accuracy | Measure: independently verified facts, calculations and source support. | Ask: can the agent's important claims be traced to trustworthy information?
4. Policy and security compliance | Measure: unauthorised action attempts, disallowed disclosures, missing approvals and other control failures. | Ask: did the agent remain within its assigned authority?
5. Reliability and recovery | Measure: repeated-task consistency, timeout recovery, safe stopping and duplicate side effects. | Ask: can the agent handle unusual conditions without creating further problems?
6. Interaction and human oversight | Measure: correct escalation, clarity of communication, clarification when necessary and reviewer effort. | Ask: does the agent recognise when a person must decide?
7. Operational efficiency | Measure: elapsed time, tool calls, resource use and cost per accepted task. | Ask: is the agent delivering enough business value to justify operating it?
Do not combine these dimensions into a single score without preserving their meaning. An agent should not be able to compensate for a serious authorisation failure by being faster or more eloquent. A risk-based release gate should sit alongside any aggregate performance score.
Build test cases from the real work people perform
Begin with a process map and conversations with the people who perform the work. Identify typical requests, ambiguous requests, exceptions, policy limits and the points where judgement or approval is necessary. Redacted historical cases and synthetic records can help build a representative test set without exposing confidential data.
Each test case should contain a task identifier, the user's role, an initial environment state, relevant business rules, available tools, expected outcomes, mandatory restrictions and the evidence needed to grade the result. Define acceptable alternative outcomes where more than one approach is valid.
For a refund agent, ordinary cases could include an eligible refund and a previously refunded order. Boundary cases could include an ambiguous order reference, an amount above delegated authority or a missing identity check. Failure cases should simulate unavailable services, incomplete records and uncertain transaction status.
Include security tests in a controlled environment, such as untrusted content attempting to override instructions, requests for another customer's information and attempts to bypass approvals. Verify the effectiveness of controls outside the model, not merely whether the agent produces a refusal message. OWASP identifies misuse of legitimate tools as a distinct agentic security risk.[2]
Separate examples used to improve the agent from a held-out evaluation set used to assess readiness. Freeze relevant policy and system versions for reproducibility, and periodically refresh test cases when the business changes. A test suite that only contains easy, successful requests will provide false reassurance.
How to decide whether an agent has passed a task
Where possible, use deterministic checks: compare record identifiers, reconcile amounts, inspect transaction status, validate data schemas and check whether the required approval was recorded before execution. These are preferable to asking another language model whether a transaction looks successful.
For less structured outputs, use a clear scoring rubric. A research agent's report could be assessed for coverage of the question, quality of sources, support for important claims and disclosure of uncertainty. A rubric might distinguish a supported claim from a partially supported or unsupported one.
An LLM-as-judge can assist with assessing written outputs at scale, but its judgements can be inconsistent or influenced by presentation. Calibrate it against domain-expert assessments, test disagreement cases and keep the option of an inconclusive verdict. High-impact decisions should not rely solely on an automated language-model score.
A specialist reviewer is particularly useful when requirements involve nuanced policy interpretation, suitability or customer impact. Reviewers should use agreed criteria and resolve disagreements consistently. Anthropic's engineering guidance describes combining programmatic checks, model-based assessment and human grading for different evaluation needs.[3]
Allow different valid execution paths unless a specific step is a genuine control requirement. The agent need not use precisely the same sequence as a human, but it must not omit a required identity check or approval. Where a grader rejects a valid solution, correct the test rather than training the agent to satisfy an erroneous rule.
A successful demonstration does not establish reliability
AI agents can behave differently across repeated attempts, even when the task is unchanged. Differences in generated decisions, tool results and environment state can affect the final outcome. Test each important task across multiple trials, resetting the initial environment between trials.
Two useful measures answer different questions. Pass@k describes the chance of obtaining at least one successful result in k attempts. Pass^k describes the chance that all k attempts succeed.[1][3] The former may be useful when an engineer can select one working solution from several attempts; the latter is more relevant when customers expect consistent service.
For a simple numerical illustration, suppose independent attempts on the same task have a constant success probability of 90%. Over three attempts, the probability of at least one success is 99.9%, while the probability that all three succeed is 72.9%. These are mathematical illustrations, not measured agent performance. Real attempts can be dependent and vary by task, so empirical repeated-trial results matter.
Measure performance separately across task difficulty, languages, user groups, tool integrations and risk categories where relevant. Report the number of tasks and trials alongside rates; an apparently strong score from a handful of cases is weak evidence for broad deployment.
When no critical failure is observed, do not infer that its true probability is zero. Rare but consequential events need targeted security testing, independent controls and appropriate restrictions on autonomy.
A refund agent: why a 90% pass rate may not be enough
Consider a hypothetical retailer testing a refund agent against 100 separate tasks. Eighty are eligible for automatic processing under its delegated authority and twenty require human approval. For the first group, success means the correct refund is verified in the test payment system. For the second, success means an accurate approval request is created without executing the refund.
Assume the agent correctly completes 72 of the 80 eligible refunds and correctly escalates 18 of the 20 restricted cases. That produces 90 accepted outcomes from 100 assigned tasks. The other eight eligible cases fail verification, while the remaining two restricted cases contain attempted unauthorised refund calls that the independent permission layer blocks.
The observed authorised-automation completion rate is 72 out of 80, or 90%. The required-handoff success rate is 18 out of 20, also 90%. Although no unauthorised refund was executed in this test, the two attempted bypasses are serious behavioural failures. A release policy that prohibits such attempts in mandatory control tests would block the release.
These assumed figures demonstrate why the report must separate functional quality, agent behaviour and the effectiveness of protective controls. Management needs to know whether the agent chose an inappropriate action, whether the system prevented it, and whether that failure could recur under different conditions.
The correct response would be to investigate the failed cases, improve the workflow and permission controls as needed, and rerun the relevant tests before increasing autonomy. The overall percentage alone cannot determine readiness.
Test recovery, handoffs and the limits of autonomy
A useful agent should know when it cannot safely continue. If an application returns an ambiguous error after a write request, the agent should establish the actual transaction status before attempting another write. Use idempotency keys, where supported, and durable transaction records to prevent duplicate side effects.
Check whether the agent stops after a defined number of retries, respects time and cost budgets, and passes sufficient context to a human reviewer. A handoff containing the reason for escalation, the relevant evidence and pending action is more useful than a generic error message.
For multi-agent systems, assess both individual responsibilities and the complete workflow. A researcher may retrieve correct information while a downstream agent misinterprets it. Test delegation boundaries, inconsistent shared state, lost handoffs and the ability to stop the overall process. Each agent should have only the access necessary for its role.
Run consequential tests against isolated systems, synthetic accounts or controlled simulations. Production testing should not create unauthorised payments, communications or record changes. Use read-only shadow execution where appropriate and ensure it cannot invoke live write tools.
Sometimes the best evaluation result is a decision to reduce autonomy. A fixed rules engine may be more appropriate for predictable eligibility decisions, with an AI agent handling ambiguous requests and preparing information for human review.
Turn evaluation evidence into a release decision
The business owner should define the outcomes that matter and the acceptable level of operational risk. Engineering should demonstrate that the agent, integrations and monitoring operate as intended. Security and risk specialists should challenge permissions, control effectiveness and consequential failure scenarios, with independent assurance where required.
Set explicit release criteria for each risk tier. A read-only knowledge assistant and an agent permitted to initiate financial transactions should not automatically share the same threshold. Require satisfactory results for important task groups, verified mandatory controls, a safe fallback process and evidence that known severe failures have been resolved.
Maintain a versioned evaluation report containing the agent configuration, model and tool versions, test data and policy versions, test coverage, results by cohort, unresolved issues, limitations and the approval decision. Changes to prompts, models, tools or workflows should trigger relevant regression tests. OpenAI's agent workflow evaluation guidance describes using observed execution failures to create repeatable checks.[4]
Begin with restricted access and a controlled rollout. Expand the permitted scope only when evidence supports it. Establish who can suspend the agent, how affected records will be reconciled and how customers or operational teams will be supported if a failure occurs.
The NIST generative AI risk-management profile provides voluntary guidance for incorporating trustworthiness into AI design, deployment and evaluation.[5] It can inform an organisation's approach, but an internal evaluation score is not itself evidence of regulatory compliance.
Measure value after the agent enters production
Track accepted outcomes, exceptions, customer complaints, manual corrections, policy violations, blocked unsafe actions and time to resolve incidents. Observe workflow turnaround time and the distribution of delays, rather than relying on average response speed alone.
Calculate cost per accepted task as total attributable delivery cost divided by verified accepted outcomes. Include model usage, tools, integration infrastructure, failed attempts, human review and remediation. Compare against an existing manual or deterministic process at comparable quality and risk levels. Track investment and ongoing maintenance costs separately when building the broader business case.
Retain enough execution evidence to investigate incidents: task identifiers, versions, tool outcomes, approval records and final-state verification. Restrict access to logs, minimise sensitive content, redact secrets and apply retention rules. Observability should not become an uncontrolled copy of customer data.
Create new regression tests from significant production failures and investigate changes in request patterns or tool behaviour. Periodically review whether the evaluation suite still covers current business requirements. Monitoring, expert review and regression testing complement one another; none provides complete assurance alone.
If your organisation is considering deploying agents across operations, customer service or internal business functions, start by defining the work you want to delegate and the evidence you would need to trust its completion. A focused evaluation design can help identify which tasks are suitable for autonomy and where existing controls need strengthening.
The most valuable agent is not necessarily the one that can perform the greatest number of actions. It is the one that delivers dependable business outcomes without exceeding the authority the organisation intended to give it.
References and further reading
[1] Yao, S., Shinn, N., Razavi, P. and Narasimhan, K. (2024). τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains. Research preprint. https://arxiv.org/abs/2406.12045
[2] OWASP Gen AI Security Project. ASI02: Tool Misuse and Exploitation. Agentic application security guidance. https://genai.owasp.org/agentic-applications-2026/asi02-tool-misuse-and-exploitation/
[3] Anthropic (2026). Demystifying evals for AI agents. Engineering guidance, 9 January 2026. https://www.anthropic.com/research/demystifying-evals-for-ai-agents
[4] OpenAI. Evaluate agent workflows. Developer documentation. https://developers.openai.com/api/docs/guides/agent-evals
[5] National Institute of Standards and Technology (2024). Artificial Intelligence Risk Management Framework: Generative Artificial Intelligence Profile. NIST AI 600-1. https://doi.org/10.6028/NIST.AI.600-1
Apply the approach
Hypothetical enterprise evaluation: a retailer tests 100 refund-agent tasks, comprising 80 eligible for automatic processing and 20 requiring human approval. The agent produces 72 verified refunds and 18 correct handoffs, while two restricted cases involve unauthorised tool-call attempts that are blocked. These assumed results illustrate how strong functional performance can coexist with a serious behavioural control concern; they are not observed customer or research outcomes.
90 of 100 tasks satisfy their full outcome and control criteria, including 72 verified refunds and 18 appropriate handoffs.
72 of 80 eligible automatic refund tasks produce verified, correct transactions; eight do not meet the criteria.
Two restricted cases involve attempted unauthorised calls that are blocked; a zero-tolerance release gate for these attempts would fail.
Put the approach into practice
- 01Document the agent's permitted responsibilities, business acceptance criteria and mandatory approval boundaries.
- 02Build a versioned suite of representative, ambiguous, high-risk and failure-recovery tasks with verifiable outcomes.
- 03Combine independent state checks, observable execution checks, calibrated model assessments and expert review where appropriate.
- 04Repeat important trials, compare against the existing process and apply explicit risk-based release gates before granting wider autonomy.
- 05Monitor verified production outcomes, control failures and delivery costs; incorporate real incidents into regression testing.
Frequently asked questions
Is evaluating an AI agent different from evaluating an LLM?
Yes. An LLM evaluation measures selected capabilities of the model, whereas an agent evaluation assesses the complete system as it interacts with tools, people and business environments. It must consider execution, permissions, task outcomes and failure recovery in addition to response quality.
What is a good task success rate for an enterprise AI agent?
There is no universal target. Set a threshold based on task complexity, the quality of the existing process, the cost of errors and the consequences of failure. Mandatory control failures must be assessed separately, and reported rates need adequate test coverage and sample sizes.
How many test cases are needed before deploying an AI agent?
The number depends on the diversity and risk of the work. Start with representative cases and expand coverage to important exceptions, security boundaries and integrations. Repeat non-deterministic tasks and use statistically informed sample planning for performance estimates; rare serious failures also need targeted tests and independent controls.
Can another AI model automatically evaluate an agent?
It can help assess subjective aspects such as clarity, completeness and relevance. Validate its judgements against expert-labelled examples and use deterministic checks for outcomes that can be verified directly. Do not rely on a model judge as the sole approval mechanism for consequential actions.
How often should an AI agent be evaluated?
Run relevant regression checks before deploying material changes to the model, prompts, tools, permissions or workflow. Monitor production continuously where warranted by the risk, review failures regularly and refresh evaluation data as policies and user needs evolve.
What is the difference between agent evaluation and observability?
Observability collects evidence about how the system operated, such as tool calls, timings and errors. Evaluation compares that evidence and the final outcome with predefined success and safety criteria. Observability helps diagnose failures, but the presence of logs does not prove that the agent performed correctly.