
Where Sentry Shines for AI Applications, and Where Teams Look for More
Production AI agents tend to fail in strange ways. A tool gets called twice, a model returns malformed JSON, or a loop quietly runs up the bill. Engineers who already trust Sentry for error tracking often turn to it first when they need answers, and that instinct is sound. The platform has grown well beyond crash reports, and its newer features are aimed squarely at agent workflows.
This review looks at what the platform does well for AI work and where teams start searching for extra help. It also explains how a full-stack AI observability platform such as Pydantic Logfire can sit beside Sentry for teams that want more evaluation and infrastructure depth.
Quality and Infrastructure in the Same Trace: Where Pydantic Logfire Complements Sentry
One Trace From the Agent to the Database Query
Pydantic Logfire is an observability and evaluation platform for the entire AI engineering stack. Its core idea is one trace that follows an agent’s reasoning to the model call, the API requests, and the database query behind it. AI observability tools often see only the LLM layer, while general monitoring tools treat AI as an afterthought, and root cause hides between the two. Pydantic Logfire covers agent spans, APIs, background jobs, workers, hosts, metrics, and dashboards in one platform. Logfire’s SLOs with burn-rate alerts are available only on Enterprise.
Evals on the Same Telemetry
Sentry describes agent tracing as complementary to evaluation tools, and Pydantic Logfire is one place teams look for that layer. Teams define datasets and evaluators in code with Pydantic Evals or edit them in the Pydantic Logfire interface, using LLM-judge or deterministic evaluators. Experiments run in CI so a regression fails the build, and the same evaluators run on live production traffic with results attached to the scored span. Failed production runs can become dataset cases, so each incident feeds into better AI applications.
Open Standards and Query Access
Pydantic Logfire is OpenTelemetry-native, so it works with any framework, SDK, or language that emits OpenTelemetry, including Pydantic AI, LangChain, the OpenAI and Anthropic SDKs, Go, and Java. A team can keep Sentry for errors and performance and send the same OpenTelemetry telemetry to Pydantic Logfire. Trace data is queried with standard PostgreSQL-compatible SQL rather than a proprietary query language, and an MCP server lets coding agents query production traces to find failure patterns and propose fixes.
Deployment, Data Protection, and Pricing
Sentry treats prompts and model outputs as personally identifiable data by default, and Pydantic Logfire gives teams a layered approach to the same concern. Sensitive data can be scrubbed at the SDK, the OpenTelemetry collector, and AI Gateway DLP, and deployment runs from US or EU cloud to single-tenant Enterprise Dedicated or self-hosted. The AI Gateway is included on Personal, Team, and Growth with 3, 5, and 20 bring-your-own provider keys, respectively, at 0% markup. Full gateway access is an Enterprise add-on. Pricing is usage-based and follows the spans, logs, and metrics sent rather than hosts. A free Personal plan is available, and paid plans start with Team at $49 per month. Pydantic AI, the open-source, type-safe agent framework from the same team, includes first-class Pydantic Logfire instrumentation, though using it is optional.
What Sentry Gets Right for AI Applications
Sentry earned its reputation in error monitoring, and its AI features build on that base in a sensible way. For many teams the biggest advantage is that nothing new has to be installed or learned to get started.
Agent Runs Inside Your Existing Traces
The standout feature is how agent activity shows up next to everything else in your system. Model calls, tool executions and handoffs between agents appear in the same trace waterfall as HTTP requests, database queries and queue jobs. When a slow answer turns out to be caused by a sluggish database query rather than the model, you can see that at a glance instead of stitching together two tools.
Setup is light. Installing the SDK and enabling tracing is enough for supported integrations to start producing spans, with no hand-written instrumentation required for common cases.
Dashboards then turn those spans into something readable, with charts for agent runs, model calls, duration, token usage and cost. Engineers can spot an expensive model or a slow step without writing a single query.
Practical Features for Everyday Debugging
Conversations is a useful addition for chat-style products. It lets you replay a past exchange in a chat-like view, showing every message and tool call, and a stable conversation identifier ties together interactions that span several traces. Support engineers can reproduce what a customer saw without reading raw logs. MCP server monitoring covers tool executions, resource access and client connections, a welcome extra as more teams ship their own servers.
Custom attributes round out the picture. You can tag spans with dimensions such as a customer tier or a feature flag and then query against them, which makes it easy to ask whether a problem hits only one segment. Agent tracing, dashboards and cost tracking are also available on every plan, including the free Developer plan, so small teams can try everything without a purchase order.
Where Teams Look for More Than Sentry Provides
No monitoring platform can do everything, and the gaps teams mention are mostly natural consequences of what Sentry is designed to be. It watches software that other tools create, which shapes both its strengths and its focus.
Observing and Evaluating
Sentry observes agents that you build elsewhere. It shows what happened in production, and teams add other tools for the pieces that sit outside that role, such as output validation, retries, and scoring answer quality against test cases. Sentry describes agent tracing as complementary to eval workflows, which is an honest framing. Scoring answers against curated test sets usually calls for a dedicated tool or a platform with evals included.
Teams reviewing their stack tend to raise a few recurring questions:
- Where do output validation and automatic retries happen before bad data spreads?
- Which tool scores agent quality against curated test sets?
- How are prompts and completions handled when they contain sensitive user data?
- Can application, infrastructure, and AI telemetry share one trace?
Answering these early avoids awkward surprises once an agent is carrying real traffic.
Data Handling and Depth
Privacy settings deserve a careful look. Sentry treats prompts and model outputs as personally identifiable data by default, so capturing them requires opting in through configuration. That caution is the right default, though teams in regulated industries may spend extra time deciding what to collect and how to explain it to their security reviewers.
Breadth is the other consideration. Agent features sit inside a large application monitoring product built for many kinds of software, so teams that spend their days iterating on prompts and agent logic sometimes want tooling focused on that work. Neither point is a flaw, and both explain why some engineers keep Sentry for the wider application while adding a specialist or full-stack platform for agent internals.
Matching the Tool to the Team
The right answer depends less on feature lists and more on where your team feels the most pain today. A short audit of your last few incidents usually points clearly in one direction.
When Sentry Is Enough
If your product is an established web application that gained an AI feature, Sentry is a strong fit. Your engineers already know the interface, and the agent view sits beside the errors and performance data they check every day. A support assistant bolted onto a larger product is a good example, since slow responses and failed tool calls land in the same place as every other production issue.
Cost is rarely the obstacle either. With agent tracing available on the free plan, the first experiment takes an afternoon and requires no budget approval.
When a Full-Stack AI Platform Pays Off
Teams whose product is the agent often feel a different kind of pressure. Their trouble starts with evaluation, tool contracts, and provider changes as much as with errors, and a platform that handles traces, evals, and query access together removes a lot of glue work. Pydantic Logfire fits that profile, with one trace from the agent to the database query, evals in CI and on live traffic, and SQL access for engineers and coding agents.
The two approaches also coexist comfortably. A team can keep Sentry for errors and performance while Pydantic Logfire takes on the agent’s evaluation and infrastructure view, with the same OpenTelemetry data flowing to both.
Pick the Tool That Fits How Your Agents Actually Fail
Sentry deserves credit for bringing agent tracing into a tool that developers already open every morning, with clear dashboards, conversation replay and a free tier that invites experimentation. Its focus is observing, which leaves evaluation and some of the surrounding pieces to other parts of your stack. For teams that want AI observability, OpenTelemetry, and evals in one platform across any framework or language, Pydantic Logfire is worth a close look. It gives engineers one trace from agent reasoning to the database query, plus a path from finding a failure to confirming in CI that the fix holds, and it can run next to Sentry while a team decides how much of its stack it wants in a single view.
