Nexum Intelligent Systems Research Team · AI Infrastructure & Governance · 14 min read
Evaluating Agentic AI in Production
On τ-bench, a GPT-4o agent that solved 61% of retail tasks on one try succeeded on all eight repeat attempts less than 25% of the time. Why agent evaluation differs from model benchmarks, what to measure across the trajectory, and a 90-day path to a production evaluation system.
A customer-service agent that resolves a refund correctly in a demo has cleared a low bar. The question that decides whether it belongs in production is harder: will it resolve the same issue correctly for the next eight customers who phrase it eight different ways — without leaking data, looping on a tool call, or breaking a policy buried on page nine of the operations manual?
That is an evaluation question, and it is usually answered last. This article covers why evaluating an agent is a different problem from evaluating a model, what to measure across an agent's trajectory rather than only its final answer, and how to build an evaluation system that keeps working after launch. It draws on published research and primary sources: Sierra's τ-bench, the Measuring Agents in Production study, the OpenTelemetry GenAI conventions, OWASP, NIST, and the EU AI Act.
Reliability, Not Capability, Is the Production Barrier
The clearest evidence comes from a benchmark designed to test exactly this. In 2024, researchers at Sierra published τ-bench (Yao et al.), which puts agents through realistic multi-turn customer-service conversations in retail and airline domains. A language model plays the customer, and the agent has to follow a written domain policy. τ-bench also introduced a metric that most capability benchmarks leave out: pass^k, the probability that an agent succeeds on all k independent attempts at the same task.
The results were sobering. The best agent in the study, built on GPT-4o with function calling, succeeded on 61 percent of retail tasks on a single attempt (35 percent in the harder airline domain). But its retail pass^8 fell below 25 percent. Sierra's own summary: there is only about a 25 percent chance the agent resolves eight cases of the same issue with different customers. All 12 models in the study became markedly less consistent as k increased.
Even for the best-performing gpt-4o function calling agent which has a >60% average task success, pass^8 drops to <25%. — Yao et al., τ-bench (2024)
Models have improved since 2024, but the lesson has not changed: a single-attempt success rate overstates how an agent behaves in production, because production is the repeated trial. From the customer's side, an agent that solves a task six times out of ten is not "60 percent good". It is unpredictable.
Practitioners report the same thing. Measuring Agents in Production (Pan et al.), presented at ICLR 2026, combines a survey (306 responses, 86 of them describing systems in production or pilot) with 20 in-depth case-study interviews across 26 domains. It finds that reliability is the top development challenge, and that teams handle it mainly by keeping agents simple and controllable. Among deployed systems, 68 percent execute at most 10 steps before a human intervenes and 74 percent rely primarily on human evaluation. Fourteen of the 20 case studies (70 percent) use off-the-shelf models without fine-tuning.
These teams are trading autonomy for reliability. That is a rational choice, but it limits what agents can deliver. Our view is that the way to loosen the constraint is better evaluation, not less autonomy, and that evaluating an agent means measuring things a model benchmark never touches.
Why Agent Evaluation Is a Different Problem
A model benchmark such as MMLU tests one capability in isolation: given a prompt, is the answer correct? An agent works in a loop. It plans, picks tools, calls them with arguments, observes the results, recovers from errors, and chains many steps toward a goal. NVIDIA's evaluation guidance draws the same line: a model benchmark tests a foundation model's capability, while agent evaluation tests how a whole system behaves end to end. Two agents can return the same final answer, one in three precise tool calls and the other after dozens of wasted steps. A final-answer grade scores them the same. A production bill does not.
Evaluation tooling has settled on three levels of agent evaluation, described clearly in Langfuse's agent-evaluation guide:
- Final-response evaluation asks whether the agent achieved the user's goal. It tells you what went wrong, not where or why.
- Trajectory evaluation compares the path the agent took (which tools, in what order, with what arguments) against an expected path. It tells you where it went wrong.
- Single-step evaluation tests one decision in isolation, the way a unit test does. It tells you why it went wrong.
All three are needed because an agent can reach the right answer through flawed reasoning. Google Cloud's engineers call this a "silent failure". Grading only the outcome gives that run full marks and hides a flaw that shows up as soon as the task changes slightly. Trajectory evaluation is what catches it.
Most production agents succeed or fail on how they use tools, so the trajectory metrics that matter most are about tools:
- Tool-selection precision and recall: were the right tools called and the wrong ones avoided?
- Argument accuracy: were tools called with the correct parameters? For tools with several parameters, this is often scored as the fraction of arguments that were correct, not all-or-nothing.
- Order and dependency satisfaction: did dependent steps run in a valid sequence? Benchmarks such as TRAJECT-Bench now report trajectory-level diagnostics like tool selection and argument correctness alongside final accuracy.
- Trajectory efficiency: how many steps and tokens did success cost? An agent that reaches the right answer with ten times the tokens of a comparable run is often looping or re-reading context. Efficiency is a cost metric and also an early warning of reliability problems.
A final-answer benchmark cannot produce any of these metrics. They require an agent instrumented to record every decision, which is where evaluation meets observability.
The Benchmark-to-Production Gap
Public benchmarks are valuable for tracking progress and shortlisting models, but they cannot support a go/no-go decision for a specific deployment, for three reasons.
The first is saturation and non-comparability. When SWE-bench launched in 2023, the best model resolved under 2 percent of its real GitHub issues. By late 2025, vendors were reporting scores above 80 percent on SWE-bench Verified, its human-validated subset. Those scores come from different scaffolds, tools, and harnesses, and the benchmark faces data-contamination concerns, so they are not directly comparable across vendors. A benchmark score belongs to a whole agentic system, not to a model you can drop into your own stack and expect to match.
The second is environment drift and limited transfer. Benchmarks built on live websites, such as Mind2Web, are realistic, but they decay as those sites change. Simulated environments such as WebArena are reproducible but only approximate the real thing. No public dataset is realistic, reproducible, and representative of your workflow all at once.
The third is cost, which most leaderboards ignore. The CLEAR framework preprint (2025) reports cost differences of up to roughly 50× between agents with similar accuracy. In its own evaluation of 300 enterprise tasks, accuracy-optimized agents cost 4.4 to 10.8 times more than cost-aware alternatives that performed comparably. The figures come from a single study, but the direction is consistent with what teams find: evidence that a system is production-ready has to come from your own data, tools, policies, and budget.
Evaluation in Production: The Online Loop
Offline evaluation means running a curated test set before each release. It is necessary but not sufficient. Production traffic contains inputs no test set anticipated, and agent behavior drifts as models are updated, source documents change, and user populations shift. Online evaluation closes the gap: score a sample of live production traces continuously, detect drift and regressions, and promote newly discovered failures back into the offline suite. Over time, the test set learns from real use.
The order of the work matters. Langfuse's guidance is to start by inspecting traces before building automated scorers, because the failures you see tell you which metrics matter. Google Cloud's quality-gate approach follows the same order: human review first, to establish ground truth and surface real failure modes, then LLM-as-a-judge scoring to turn those documented failures into repeatable tests. In both cases, success criteria (the expected answer, tool sequence, and arguments) are written down explicitly, because vague criteria produce unreliable evaluations.
The online loop depends on two things most pilots lack: complete tracing of every agent step, and a scalable way to score outputs that have no ground-truth label. The first is an observability problem. The second is the LLM-as-a-judge problem.
Observability: A Standard Is Emerging
You cannot evaluate what you cannot see, and agents are hard to see into. An agent can return an HTTP 200, throw no exception, and still produce a wrong or harmful result. Agent observability therefore has to record what the agent decided, not just whether it ran.
This no longer has to be built from scratch. Since 2024, an OpenTelemetry special interest group has been developing the GenAI Semantic Conventions, a vendor-neutral schema for AI telemetry covering model calls, token usage, tool calls, and agent operations. In this schema, an agent run becomes a span tree: an invoke_agent span with child chat spans for each LLM call and execute_tool spans for each tool call, annotated with standard attributes such as gen_ai.request.model and gen_ai.usage.input_tokens.
Two caveats apply. First, the conventions are still marked Development rather than stable, and the agent-specific parts change most often. Proposals to cover handoffs between agents, memory, guardrails, and human-in-the-loop review are still being worked through. Second, adoption is real but uneven. Datadog added native ingestion of GenAI-convention traces in December 2025, and many agent frameworks can emit compatible spans through instrumentation libraries. Even so, check what your stack actually emits rather than assuming coverage.
More fundamentally, OpenTelemetry standardizes how telemetry is captured and moved. It does not judge whether what the agent did was correct, safe, or compliant with policy. A faithful trace is the prerequisite; the judgment layer is still yours to build.
LLM-as-a-Judge: Scalable, Useful, and Biased
Most agent outputs have no answer key. Nothing records whether a support reply was helpful, a summary was faithful, or a research trajectory was sound. To score these at production volume, teams use a strong language model to grade the outputs of another. This is the LLM-as-a-judge pattern.
The approach has real empirical support. Zheng et al. (2023) found that GPT-4 as a judge agreed with human preferences more than 80 percent of the time, about the same rate at which human evaluators agree with each other. That made automated evaluation practical for open-ended qualities that older metrics like BLEU and ROUGE miss.
Research since then, summarized in surveys such as From Generation to Judgment, has catalogued systematic judge biases:
- Position bias: the verdict can depend on the order in which candidates appear, so swapping two answers can flip the result.
- Verbosity bias: longer answers tend to be preferred regardless of quality.
- Self-enhancement bias: a model tends to rate outputs that resemble its own more favorably.
- Authority bias: answers that cite sources are favored, even when the citations are fabricated.
Judges are also vulnerable to adversarial manipulation, including prompt injection aimed at the score itself. The answer is not to abandon LLM judges, since at production volume there is often no alternative, but to engineer around their weaknesses:
- Provide a reference answer whenever one exists.
- Use explicit, detailed rubrics instead of a single holistic score.
- Control for position by swapping candidate order and averaging.
- Calibrate against human labels. Treat the judge as a measuring instrument whose agreement with people is measured, not assumed, and keep spot-checking it on high-stakes decisions.
Agent Evaluation Is Also a Security Problem
An agent that can browse the web, query databases, run code, and call APIs can do far more damage than a chatbot. Its evaluation has to cover adversarial behavior, not just correctness on cooperative inputs.
The reference catalogue is the OWASP Top 10 for Agentic Applications, published in December 2025 with input from more than 100 security researchers and practitioners. Its risks include agent goal hijack (redirecting an agent's objectives through malicious instructions in content it processes), tool misuse and exploitation, identity and privilege abuse, and cascading failures across connected agents. Prompt injection, already the top risk in OWASP's LLM list, is more dangerous in agentic settings because an injected instruction can trigger real actions, not just unwanted text. These risks are not hypothetical. EchoLeak, a zero-click data-exfiltration vulnerability in Microsoft 365 Copilot disclosed in 2025 (CVE-2025-32711), worked by planting instructions in content the assistant would later read.
For evaluation, the consequence is concrete. A production agent's test suite needs adversarial cases (injection attempts hidden in retrieved content, tool-misuse scenarios, attempts to exceed authority), scored in the same harness that measures task success. Reliability evaluation asks does it work? Security evaluation asks can it be made to do harm? Production needs both answers.
Governance: Evaluation Is the Evidence Regulators Will Ask For
The artifacts described above are increasingly what governance frameworks and regulators expect to see. Treating evaluation output as audit evidence from day one costs much less than reconstructing it later.
- NIST. The AI Risk Management Framework (AI RMF 1.0, 2023) organizes practice into four functions: Govern, Map, Measure, Manage. Its Generative AI Profile (NIST AI 600-1), published in July 2024, maps 12 GenAI-specific risks, including confabulation and information integrity, to suggested actions. The Measure function maps directly onto the continuous evaluation described here.
- ISO/IEC 42001. ISO/IEC 42001:2023 is the first certifiable standard for an AI management system. It expects documented controls across the AI lifecycle, including the monitoring and measurement an online evaluation loop produces.
- EU AI Act. For high-risk systems, the EU AI Act (Regulation (EU) 2024/1689) requires risk management, logging, human oversight, accuracy and robustness, and post-market monitoring. Obligations for general-purpose AI models have applied since August 2025. The Digital Omnibus on AI (Regulation (EU) 2026/1744, in force since July 27, 2026) moved the high-risk deadlines to December 2, 2027 for Annex III systems and August 2, 2028 for Annex I systems. The delay buys time, not an exemption.
The common thread is that the evaluation system becomes the governance system. The traces you use to debug an agent are the logs an auditor will request. The suite that gates releases is your evidence of testing. The drift monitors that protect reliability are your post-market monitoring. Build them once and they serve both purposes.
A Reference Architecture for Production Agent Evaluation
A workable evaluation system has five components. They are rarely a single product; most teams assemble them from open-source frameworks, cloud services, and some custom code. What matters is that all five exist, each has a named owner, and they are connected in one loop rather than kept as separate scripts.
- Tracing and instrumentation. Every run emits a full trace (agent invocation, each LLM call, each tool call with arguments and results), ideally following the OpenTelemetry GenAI conventions so the telemetry is portable.
- Offline evaluation harness. Versioned datasets of golden cases, regressions captured from past failures, and adversarial cases, scored at all three levels. It runs in CI on every prompt, model, or tool change, and a regression blocks the release.
- Online evaluation loop. A sample of live traffic is scored by automated judges and human reviewers, with drift monitored across inputs, outputs, and cost. New failure modes are promoted into the offline harness.
- Judge and scoring layer. Rubrics, reference answers, and position-bias controls, calibrated against human labels and spot-checked continuously. This is the layer OpenTelemetry does not provide.
- Reliability and security metrics. Dashboards and thresholds that turn scores into signals: pass^k-style consistency instead of single-run success, tool-call accuracy, trajectory efficiency, cost per resolved task, adversarial pass rates, and the SLOs and alerts built on them.
A 90-Day Path to Production Evaluation
If you have an agent that already handles a slice of real traffic, one focused quarter is a realistic target for a defensible baseline. The sequence matters: instrument before you score, and score before you scale.
Days 1–30: See everything
Instrument the agent end to end so every run produces a full trace. Review traces by hand to learn the real failure modes. Build the first offline harness from golden and regression cases, scored on final response and trajectory. Exit criterion: a named owner can tell, from the trace alone, what the agent did on any run and where it went wrong.
Days 31–60: Judge and gate
Build the judge layer and calibrate it against human labels on a sample. Add metrics for tool selection, argument accuracy, and trajectory efficiency. Add adversarial cases drawn from the OWASP agentic catalogue. Wire the harness into CI. Exit criterion: no change ships without passing the harness, and the judge's agreement with human reviewers is measured, not assumed.
Days 61–90: Close the loop
Start sampling and scoring production traffic, monitor drift in inputs, outputs, and cost, and promote new failures into the offline set. Replace single-run success with a consistency metric based on repeated trials of representative tasks. The first governance artifacts fall out as a by-product. Exit criterion: a weekly evaluation review is on the calendar, and reliability and cost-per-task trends go to the people accountable for the workflow.
Evaluation is never finished, but a team that completes this arc has moved from "the demo worked" to "we can tell, continuously, whether the system works."
The Discipline Is the Moat
The evidence points one way. τ-bench shows that capable agents are inconsistent across repeated trials. Practitioners know it and constrain their agents to compensate. Public benchmark scores do not transfer cleanly to specific deployments. Governance frameworks increasingly expect continuous measurement.
So the hard part of agentic AI is not building an agent that can do the task once. It is building the unglamorous machinery a demo skips: full tracing, a three-level evaluation harness, a calibrated judge, an online loop that learns from production, adversarial coverage, and a reliability number based on repeated trials rather than one lucky run. Each piece compounds: every captured regression makes the next release safer, and every calibration makes the judge more trustworthy.
Competitors can replicate an agent. They cannot easily replicate an evaluation system tuned to your workflows, tools, policies, and risk posture. That is where the durable advantage lies.
References
- Yao, S., Shinn, N., Razavi, P., Narasimhan, K. τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains. 2024. arxiv.org/abs/2406.12045 · Sierra, τ-bench announcement. sierra.ai
- Pan, M. Z. et al. Measuring Agents in Production. ICLR 2026. arxiv.org/abs/2512.04123
- Jimenez, C. E. et al. SWE-bench: Can Language Models Resolve Real-World GitHub Issues? 2023. arxiv.org/abs/2310.06770
- Mehta, S. Beyond Accuracy: A Multi-Dimensional Framework for Evaluating Enterprise Agentic AI Systems (CLEAR). Preprint, 2025. arxiv.org/abs/2511.14136
- He, P. et al. TRAJECT-Bench: A Trajectory-Aware Benchmark for Evaluating Agentic Tool Use. 2025. arxiv.org/abs/2510.04550
- Zheng, L. et al. Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena. 2023. arxiv.org/abs/2306.05685
- Li, D. et al. From Generation to Judgment: Opportunities and Challenges of LLM-as-a-Judge. 2024. arxiv.org/abs/2411.16594
- OpenTelemetry. Semantic Conventions for Generative AI. opentelemetry.io
- Datadog. LLM Observability now supports OpenTelemetry GenAI Semantic Conventions. December 2025. datadoghq.com
- Google Cloud. A methodical approach to agent evaluation: Building a robust quality gate. November 2025. cloud.google.com
- Langfuse. Agent evaluation cookbook (Pydantic AI + MCP example). langfuse.com
- NVIDIA. Mastering Agentic Techniques: AI Agent Evaluation. 2026. developer.nvidia.com
- OWASP GenAI Security Project. OWASP Top 10 for Agentic Applications for 2026. December 2025. genai.owasp.org
- NIST. AI Risk Management Framework (AI RMF 1.0). 2023. nist.gov · Generative AI Profile (NIST AI 600-1). July 2024. nvlpubs.nist.gov
- ISO/IEC. ISO/IEC 42001:2023 — AI management system. iso.org
- European Union. Regulation (EU) 2024/1689 (Artificial Intelligence Act) and Regulation (EU) 2026/1744 (Digital Omnibus on AI). artificialintelligenceact.eu
Related insights
From AI Pilots to Operational AI Systems
Why 95% of GenAI pilots fail to deliver P&L impact — and a research-backed 90-day playbook for crossing from demos to governed production systems.
Read articleGovernance-by-Design for Trusted AI Operations
Only 30% of organizations reach agentic AI governance maturity. A framework for embedding NIST, ISO, OWASP, and EU AI Act controls into architecture from day one.
Read article