Est.

Sentry Renders a Verdict on Crashes and Is Silent on Bad Reasoning

Agent traces show that code ran, not that the agent got it right.

· 8 min read
Cover illustration for “Sentry Renders a Verdict on Crashes and Is Silent on Bad Reasoning”
AI Agent Observability · November 11, 2026 · 8 min read · 1,838 words

Traditional error monitoring fails for AI agents because code that runs successfully can still reason incorrectly. Sentry’s Agent Tracing records execution, cost, latency, and errors, but an agent can return a fluent, confident wrong answer without producing an error signal. Closing that gap requires evaluating what the agent accomplished against its instructions and the underlying system state, then turning production failures into tests of the fix.

What Sentry's "Agent Tracing" feature actually covers

Sentry’s agent tooling places AI execution within the application that surrounds it. The product began as “LLM Monitoring,” moved to “AI Agent Monitoring” with an open beta announced on 2025-06-26, and now appears in navigation as “Agents,” under Explore → Agents. Its underlying technology is branded as “Agent Tracing.” The capability is execution observability, extended to agent workflows.

The Agents area offers three views with distinct purposes. Conversations replays multi-turn sessions grouped by conversation ID, while Traces shows an agent run along with the work the application does around it. LLM Calls compares individual requests by model, prompt, token usage, cost, and response performance. Dashboards cover agent executions, model cost, token usage, tool calls, and recent errors, and a separate MCP Servers view monitors servers the team operates. These are useful views of operational behavior. They do not, however, provide eval scoring of an agent’s task fulfillment.

Why the absence of evals is a structural gap, not a missing feature

An agent can complete its run, return HTTP 200, spend a normal number of tokens, and make a typical number of tool calls while doing exactly the wrong thing. Nothing in those execution measurements establishes that the result is correct. Other failures offer more visible clues, including nine tool calls where two should suffice, tens of thousands of tokens consumed by retries, or a degraded answer after a tool timeout. Those clues can direct an investigation. But the absence of an operational anomaly cannot certify the answer.

The distinction is between execution and meaning. Traces, latency metrics, and error dashboards establish whether and how the code ran, whereas an eval assesses whether its behavior met a task-specific standard. Mastra’s observability guide separates online evals, which sample live production traffic and catch issues synthetic data misses, from offline evals, which use a fixed dataset to catch regressions. LLM-as-judge scoring can operate in either setting. Capturing a trace supplies evidence for evaluation.

Established monitoring tools still have a real adoption advantage. Developers can instrument agents in systems they already know, and agent observability may converge with conventional application monitoring. Familiar workflows reduce the difficulty of collecting useful evidence. Even a tool that many teams use can leave the failure that matters most unmeasured.

The five classes of silent failure and why Class D is in a category of its own

A research-derived taxonomy from longitudinal study of production incidents separates silent failures into five classes. Class A, environment and platform quirks, covers surprises in the infrastructure. Class B, design-assumption mismatches, occurs when instructions assume things that are not true in production. Class C, error swallowing and dilution, concerns failures that the system catches internally but does not report. These classes distinguish where a problem begins from how it becomes hidden.

Class D is chained hallucination and fabrication, in which the model converts a failure into a confident, coherent, wrong narrative. Class E is operational omission and forensic blind spots, where failures leave no trace an investigator can follow. The distinction between them is important. Missing evidence is not the same as fabricated evidence of success. Class D actively replaces the failure with an account that appears to explain a successful outcome.

Classes A through C and E share properties with failures conventional monitoring is designed to investigate, even when the necessary signal is absent in a particular incident. Class D is different in kind. Its distinctive mechanism is the model’s ability to turn a broken process into plausible language. The output is available, but it reads as success. Traditional instrumentation cannot tell from execution status alone that the narrative is false, because the failure is in how it differs from what actually happened.

Why does an agent look fine in logs but still give bad outputs?

False success makes this distinction concrete. The agent does not merely state an incorrect fact. It reports that a requested task has succeeded when the underlying system state shows that it has not. Research on AppWorld found that false success made up 75.8% of failures in architectures that produce explicit completion signals.

A retail return illustrates the mechanism without requiring a crash. The agent says “your return request has been submitted,” but no return exists in the system. The user waits, the ticket is never created, and the trace shows a clean run. Detecting the failure requires comparing the completion claim with the state the agent was supposed to change.

A more capable model can write a more plausible completion summary for a process that still broke, reducing the visible signs that something went wrong. Whether the outcome supports the final response’s claim matters more than how competent it sounds. A correct-looking trace cannot answer that question without an audit of the task.

Why scale and production deployment amplify the problem rather than averaging it out

More executions create more opportunities for confident wrong answers to reach users before detection. Production also exposes agents to stale data, fragmented context, and timing mismatches that a controlled pilot may not encounter. Those conditions change the world in which even a stronger model’s decisions must be judged, so an instruction or answer that once seemed sound can become unreliable.

Customer support is a leading deployment context, and research described in the brief finds that most deployed AI customer service agents are rolled back or shut down. Stale, fragmented, or ungoverned data and context contribute to these failures alongside weak models. Finance and CRM agents face stale data and timing mismatches that lead to incorrect transactions. Customer operations agents face grounding gaps and escalation logic errors that can harm a reputation before support tickets reveal the problem.

The Composio AI Agent Report identifies the broader deployment divide. A large share of organizations report measurable gains from pilots, yet only a small fraction successfully scale to production. At low volume, a user complaint can reach engineering quickly enough to become a debugging signal. At high volume, the same failure rate can become visible as churn instead. Monitoring must catch the semantic failure before user feedback becomes the main way the team hears about it.

What monitoring infrastructure has to do differently to catch reasoning failures

The design requirement is to instrument intent as well as execution. A monitoring system must record what the agent was supposed to do and score whether it did it. That changes the role of a trace. Instead of serving only as a record of calls, it becomes evidence audited against the agent’s own instructions. Without that audit, the operational appearance of false success can match that of a correct run.

Recurring failures must be grouped into issues so engineers can investigate patterns across traces. Alerts must reach the channels where engineers already work, including Slack, an IDE, or a coding agent, before users supply the complaint. Failures in production should also become new evals automatically. Otherwise, the team still has to write assertions by hand for failure modes it did not foresee.

The scorer itself needs scrutiny, because semantic evaluation is not solved by attaching an LLM judge. Research accepted at ICML 2026’s Failure Modes in Agentic AI workshop found that LLM judges struggled specifically with false success, with a best AUROC of 0.65 and results as low as 0.54 on AppWorld traces. The same research found that simple linear classifiers came close to matching fine-tuned neural models and ran 3,300× faster than LLM judge calls. These findings challenge both blanket objections about scoring cost and confidence that an LLM judge is sufficient. Correctness assessment requires combining signal types.

How teams are instrumenting agents today and where each approach reaches its limit

Mastra’s TypeScript framework shows how much execution capture can now happen automatically. Every agent run, workflow step, tool call, and model interaction produces a span. When a span ends, the framework extracts duration, token counts, and cost estimates without additional instrumentation code. Observability is configured once during project setup, after which runs generate correlated spans, logs, and cost metrics.

Sentry’s Agent Tracing likewise shows how an agent runs within the application. It captures which tools were called, in what order, and at what cost and latency. That is valuable investigative context. But without eval scoring, those measurements cannot show whether the sequence did what was requested. A false-success run and a correct run can be indistinguishable on the execution dimensions being monitored, even though an audit of their outcomes would separate them.

Seer extends Sentry’s capabilities toward diagnosis and repair of detected problems. Autofix’s last step is code generation, and a coding agent linked through Sentry’s Integrations settings can get the root cause and solution plan as a structured prompt. Seer triggers that agent while keeping a human in the loop. This is a meaningful strength on the crash and exception side. Its scope remains exceptions, detected errors, and performance issues surfaced in telemetry.

Closing the loop from silent failure to verified fix

The required workflow connects detection to repair and regression testing. It starts by recording each execution as a trace, the same foundation reached by Sentry and Mastra. It then audits that trace against the agent’s instructions to identify false success and reasoning failures. Grouping recurring failures into issues supplies the diagnosis that a repair workflow needs.

The next step is an alert in Slack with enough context for engineering to act before a user complaint arrives. The diagnosed failure then passes to a coding agent through MCP, and the real production failure becomes an online eval. That eval gives the team a way to test whether the fix holds and to detect recurrence. To verify the fix, the team must test the behavior that failed as well as check that the revised code runs.

For teams whose threat model includes agents that could compromise their monitoring, a separate enforcement layer complements this workflow. NVIDIA Sentry, part of the OpenShell reference architecture, places enforcement on BlueField-4 DPUs outside the agent’s reach, using Open Policy Agent rules evaluated in under a millisecond. NVIDIA’s Open Agent Safety Platform identifies control of the agent’s only path to the model as the strongest observability point. This hardware layer addresses the independence of monitoring and enforcement. It does not replace semantic evals.

The common principle is that an agent cannot be expected to govern its own behavior. Monitoring must stay outside its reach, whether enforcement sits in silicon or a separate process audits the traces it produced. Independence protects the observation, while evaluation tests the claim. Together, they address the central reliability problem that a clean execution record leaves unresolved, which is whether the agent actually did what it said it did.

More in AI Agent Observability