Why the Eval Dimension Is the Only Axis on Which Silent Agent Failures Become Visible

Status codes show agents ran, only evals show they were right.

· 9 min read
Cover illustration for “Why the Eval Dimension Is the Only Axis on Which Silent Agent Failures Become Visible”
Agent Failure Modes · November 14, 2026 · 9 min read · 1,941 words

Traditional error monitoring fails for AI agents because it measures execution alone. An agent can return successful status codes, finish within normal latency, and raise no exceptions even when it gets the outcome wrong. Evaluation is the only observability axis that makes this semantic failure visible, because it compares production behavior with the task’s intended outcome rather than treating successful execution as proof of success.

How agents fail without raising an alarm

An agent returns HTTP 200 on every call even though it gets the outcome wrong. Its tools respond, its workflow completes, and its final answer looks coherent. The failure is between the steps. A wrong tool argument at step 2 can corrupt every subsequent step that depends on that result without causing an exception. Unlike an isolated bad response from a single-turn LLM, this error propagates through the causal structure of a workflow.

Goal drift exposes the same problem without a visibly broken tool result. A user asks an agent to schedule a meeting next week, avoiding Friday. By step 8, the agent is scheduling for the following month because it over-weighted a conflict at step 4. Each decision may look reasonable in isolation. The completed workflow nevertheless violates the original request, illustrating how context loss and goal drift can escape checks focused on individual responses.

Priyanka Bajaj’s Evaluation Blindness: How Silent Measurement Failures Corrupt AI Systems from Training to Deployment formalizes this gap between system behavior and measurement. A measurement is evaluation-blind when a failing state looks indistinguishable from a non-failing state and no auxiliary signal exposes the discrepancy. The paper’s validation against 50 real-world production incidents found that most verifiable public incidents were silent. The examples extend beyond multi-step agents. Air Canada’s bereavement-fare chatbot gave inaccurate policy information, and a New York attorney’s brief contained fabricated citations, yet both passed the implicit quality checks in their integration pipelines.

Why traditional error monitoring fails for AI agents

Logs, latency, error rates, and status codes answer questions about execution. They establish whether a call ran, how long it took, and whether it entered an exception path. They do not establish whether it fulfilled the request. The Air Canada response and fabricated citations illustrate this distinction because delivering an answer successfully says nothing about whether its claims are true.

Sugam Panthi and Rabab Abdelfattah’s Outcome Monitors: Recovery Affordances for Silent Tool Failures documents the mechanism at the tool boundary. A cached HTTP error page can arrive as content and become the basis for a confident fabricated analysis. The log shows a successful tool call. Latency is equally indifferent to the result’s validity, and an agent that answers from stale data can be faster than one that detects the problem and routes around it. Error rates stay clean when the failure never enters an exception path.

A monitoring platform used to track these execution signals cannot derive correctness from them alone. Bajaj’s paper also shows that accuracy stayed flat across five evaluation windows even as output diversity fell sharply. Even an evaluation metric can be blind to a failure outside its scope, so visibility requires a criterion that actually distinguishes the relevant wrong outcome from a correct one.

What the measurement gap looks like across a team's actual stack

A team can have production logs, latency charts, error alerts, and pre-deployment tests while leaving agent decisions unchecked. The gap sits between deciding and acting. Most agent architectures have no mandatory evaluation point between the agent deciding to do something and that action occurring. Reasoning, action, and reporting form one uninterrupted flow, leaving no independent check of whether the action serves the task.

This gap becomes harder to diagnose when different parts of the stack change independently. A developer updates a system prompt, another team changes the expected JSON output format, and someone adjusts a tool definition. Nothing breaks immediately. Three days later, agents can begin failing inconsistently while the error rate remains at zero. The stack still records execution, but those records alone cannot attribute a change in behavior to a change in intent, context, or tool use.

Bajaj’s paper treats measurement infrastructure as a correctness concern throughout the lifecycle, rather than a model-evaluation step completed before deployment. A passing test suite covers the cases that are in it. Runtime instrumentation covers the properties it measures. Neither supplies an independent judgment of production outcomes merely by existing in the same stack.

What evaluation does that no other axis can — checking the agent's output against its own intent

Evaluation compares what the agent produced with what it was supposed to produce. Here, intent means the task and its constraints. This requires an independent point of reference. For goal drift, the evaluator needs the original request and the resulting outcome. For context loss, it also needs the earlier information that makes an otherwise reasonable response wrong.

Offline evaluation runs against a fixed test set before deployment and can gate a CI pipeline. Online evaluation scores actual production traffic. Its role is to expose regressions and edge cases absent from the pre-deployment set. The correctness criterion remains central in both settings.

Outcome Monitors demonstrates a concrete form of that criterion through an outcome contract. A deterministic detector checks a returned tool result against a mined or public invariant and signals a violation to the acting agent. Detection and recovery remain separate. The paper reports improved task completion on ToolMaze and τ-bench retail, while removing the recovery-tool list from the signal eliminated the measured gain in the controls. The monitor identifies the violated property, and the agent decides how to respond using the available recovery tools.

How online evaluation applied to production traces catches what test sets miss

Production failures can come from inputs, tool states, and context lengths combined in ways that a fixed test set may never include. Production traces let teams check what happened in cases they did not plan for, including the decisions between a request and its outcome. A final answer alone may conceal where the workflow departed from its task.

A prompt regression makes this distinction concrete. A changed system prompt may pass existing tests yet alter behavior on a combination of production inputs those tests omit. The resulting calls can all succeed. Error monitoring then reports no regression because nothing entered an exception path, while online evaluation can detect a shift in how well the outputs satisfy the original requests. Evaluating sampled traffic after deployment and alerting when quality score distributions shift turns that change into a population-level signal.

The diagnostic path moves from trace collection to failure clustering, root cause analysis, and eval generation from production failures. Clustering reduces hundreds of individual events to actionable patterns. It also avoids making manual, trace-by-trace review the detection strategy. The external correctness check is essential throughout this process. Bajaj’s paper uses the UK Post Office Horizon accounting system to illustrate the opposite architecture, in which an audit function treated system output as ground truth and allowed failures to propagate undetected for years.

The failure modes where the eval axis is not optional — tool misuse and silent partial success in production workflows

Tool misuse separates a valid invocation from a valid action. A tool can accept an argument, update a record, and return success even though the agent selected the wrong customer. The API completed its assigned operation. In a refund workflow, success against the wrong customer is therefore a semantic failure even when the underlying call succeeds.

Outcome contracts can detect when a call and its result do not fit together as they should. Outcome Monitors describes contracts mined from task-disjoint traces or built from public invariants, with checks for impossible values such as negative inventory and for cached error pages served as content. A violation produces an advisory receipt without blocking execution. The paper also documents a production incident in which 70% of that runtime’s silent failures were first caught by a human reading output.

In customer support, updating a ticket does not prove that the customer’s problem was resolved. A misrouted ticket or wrong-record update can satisfy every execution metric while leaving the intended work incomplete or corrupting a record. The evaluator must check the routing or update against the request and the required outcome. Tool-result validity and task completion are separate checks, and passing one does not count as passing the other.

Closing the loop from detected failure to verified fix without hand-writing assertions

A detected production failure becomes durable coverage when it generates a test case that can verify a fix and catch recurrence. Detection alone leaves that work unfinished. The trace-to-eval workflow therefore ends with eval generation, rather than stopping at a clustered issue or an explanation of its cause. Test sets built only from clean historical data underrepresent the edge cases that production exposes, while hand-writing assertions for every new failure limits how quickly coverage can grow.

The Model Context Protocol provides a substrate for connecting detection to a coding-agent repair loop. A monitoring platform can pass a clustered failure, its trace, and the violated eval criterion to a coding agent over MCP. The coding agent proposes a prompt or tool-definition change. The eval case created from the failure then tests that proposed fix before it ships. This pattern removes the need to author a new assertion for each detected case without treating the proposed repair itself as evidence of success.

Prompt versioning makes that loop attributable and reversible. Treating prompts as deployable infrastructure means making them versioned, traceable, and rollback-capable, so that a quality shift can be tied to a specific change. The same criterion then evaluates the proposed repair. Alerts on quality score distribution shifts, task completion rates, and average session step counts provide signals for this workflow beyond error rate and latency. They prompt teams to look into changes in production behavior before the failures reach users at scale.

What to instrument and where to start — framework-level eval surfaces for LangGraph, OpenAI Agents SDK, Mastra, and Vercel AI SDK

The practical recommendation is to pair the framework with observability from the first production deployment. Evaluation needs enough context from the trace to check what the agent did and what happened against the request. Argument-level visibility is part of that requirement. The attachment point differs by framework, but the criterion does not change merely because a framework offers built-in tracing or durable execution.

LangGraph exposes durable execution, checkpointing, and time-travel debugging. Its relevant evaluation surface is the checkpoint. The production pattern described in the brief uses CheckpointSaver with a PostgreSQL or Redis backend and connects the saved checkpoint to an OpenTelemetry trace as a span attribute. Tracing can route commercially to LangSmith. The saved state gives evaluation a different basis from a record that only establishes that a step ran.

The OpenAI Agents SDK enables tracing by default. For evaluation, the trace still needs to support comparison of the task, the agent’s actions, and the outcome against an independent criterion. Default tracing does not remove the need to define what counts as successful completion.

Mastra brings durable workflows, memory, evals, tracing, and MCP support together. Its evaluation surface is native rather than dependent on a separate instrumentation layer. That integration provides an attachment point within the framework’s design. The remaining work is to make the evaluation criterion specific to the intended outcome.

Vercel’s AI SDK 7 introduces @ai-sdk/workflow and WorkflowAgent for durable, resumable execution that survives process restarts, deploys, interruptions, and delayed approvals. Evaluation still needs the task’s constraints and what the workflow did to judge whether it succeeded. Across these frameworks, the decisive instrumentation question is whether the evaluator can distinguish a completed operation from a fulfilled request.

Sources

  1. Outcome Monitors: Recovery Affordances for Silent Tool Failures
  2. Evaluation Blindness: How Silent Measurement Failures Corrupt AI Systems from Training to Deployment

More in Agent Failure Modes