
Arize Phoenix Agents Observability With OpenTelemetry, Evaluation Workflows, and Instrumentation Basics
AI teams need a clear way to see what happens between a user request and an agent’s final response. Arize Phoenix agents observability OpenTelemetry evaluation capabilities are designed to make that process easier to inspect, helping developers trace model calls, prompts, tool use, and multi-step workflows in one place.
As a source-available platform, Phoenix focuses on debugging, evaluation, and production monitoring for AI applications. Its tracing approach can be useful for teams working with RAG pipelines or multi-agent systems, though the platform's value depends on thoughtful instrumentation and an evaluation process that reflects real user scenarios.
Instrument Once, See the Whole Stack: What OpenTelemetry-Native Pydantic Logfire Adds
A Shared Standard With a Wider View
Pydantic Logfire is an observability and evaluation platform for the entire AI engineering stack. Like Phoenix, it is built on OpenTelemetry, so it works with any framework, SDK, or language that emits OpenTelemetry, including Pydantic AI, LangChain, the OpenAI and Anthropic SDKs, Go, and Java. Because the instrumentation is standard, a team can instrument once and send the same telemetry to Phoenix and to Pydantic Logfire.
Datalayer, a data science startup, sends telemetry to Pydantic Logfire and to its own collectors over OpenTelemetry, and supports AG-UI, ACP, Vercel AI, and Google A2A from one codebase. That is the practical benefit of a standards-based approach: the code stays the same while the destinations change.
One Trace From the Agent to the Database Query
AI observability tools often see only the LLM layer, while general monitoring tools treat AI as an afterthought, and the root cause hides between the two. Pydantic Logfire follows an agent’s reasoning to the model call, the API requests, and the database query behind it. It covers background jobs, workers, hosts, metrics, and dashboards in the same platform. Logfire’s SLOs with burn-rate alerts are available only on Enterprise. Pending spans show requests while they run, so tracing is useful in local development and staging as well as in production.
SQL, Coding Agents, and Evals
Trace data is queried with standard PostgreSQL-compatible SQL rather than a proprietary query language. An MCP server lets coding agents query production traces to find failure patterns and propose fixes, and SQL-based monitors and alerts turn those patterns into action. Teams define datasets and evaluators in code with Pydantic Evals or edit them in the Pydantic Logfire interface, run experiments in CI so regressions fail the build, and score live production traffic with the same evaluators. Failed production runs become dataset cases, so each incident feeds into better AI applications.
Data Protection, Deployment, and Pricing
Instrumentation should protect sensitive data, and Pydantic Logfire can scrub it at three layers: the SDK, the OpenTelemetry collector, and AI Gateway DLP. Personal, Team, and Growth include the AI Gateway and support 3, 5, and 20 bring-your-own keys, respectively, with no markup. Enterprise customers can add full gateway access. It offers US or EU cloud, single-tenant Enterprise Dedicated, and self-hosted deployment. Pricing is usage-based and follows the spans, logs, and metrics sent, not 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.
How Arize Phoenix Maps Agent Behavior
A Trace-Level View of Complex Workflows
Phoenix records activity inside an AI application, including model calls, prompts, responses, and tool executions. By presenting these events as traces, it helps developers follow the path an agent took to complete a task. That visibility is particularly helpful when an answer appears incorrect, but the source of the issue is unclear.
For RAG applications, a trace can help show where retrieval, context assembly, model generation, and downstream tools fit into the same request. In multi-agent systems, the trace may also reveal the order in which agents hand work to one another. This makes it easier to investigate unexpected behavior without relying only on final outputs.
The platform can help surface latency problems, errors, and recurring patterns that warrant a closer look. Still, Phoenix can only display what an application captures. Teams need to decide which functions, model interactions, and tool calls to trace so the record reflects the full workflow rather than isolated fragments.
OpenTelemetry and Instrumentation Fundamentals in Phoenix
Building Useful Traces Without Over-Collecting
Phoenix uses OpenTelemetry-compatible tracing, allowing applications to collect and transmit trace data through a widely used standard. This reduces reliance on a proprietary tracing format and makes it easier to connect AI operations with broader application observability practices. Compatible framework integrations can also simplify the first stages of implementation.
Effective instrumentation starts with the operations that most affect user outcomes. Developers should capture meaningful inputs, outputs, timing data, and errors around model calls, tools, retrieval steps, and key agent functions. The goal is not to trace every possible event, but to preserve the context needed to diagnose a failure or understand a surprising result.
A practical instrumentation checklist includes:
- Trace important functions, model calls, and tool executions.
- Apply consistent conventions across models, tools, and agent steps.
- Confirm that a trace reflects the complete request path.
- Protect sensitive data in prompts, outputs, and trace attributes.
- Track quality, latency, errors, and costs in ways that match business priorities.
Evaluation Workflows and Production Feedback
Turning Observations Into Measurable Improvements
Phoenix supports evaluation workflows built around representative datasets and defined scoring methods. Teams can assess responses for correctness, relevance, groundedness, and task completion, then compare results across prompts, models, application versions, or workflow changes. Code-based evaluators, model-based judges, and human feedback can each contribute different evidence.
Automated scoring can speed up routine comparisons, while human review is valuable for nuanced tasks where a simple metric may miss important context. A useful dataset should include realistic user scenarios, difficult edge cases, and examples that reflect the application’s intended use. This gives development teams a more dependable basis for deciding whether a change is ready for release.
Production monitoring closes the loop. When traces expose real-world failures, those incidents can become new evaluation cases that guard against regressions. Monitoring response quality, error rates, latency, and costs over time helps teams identify recurring weaknesses and refine both their application logic and their testing approach.
A Practical Perspective on Arize Phoenix
Where Phoenix Fits in an AI Development Process
Arize Phoenix offers a focused set of capabilities for teams that need trace-based insight into AI agents and applications. Its OpenTelemetry-compatible approach, support for evaluation workflows, and emphasis on debugging make it a reasonable option for understanding complex behavior in development and production. The platform is most useful when tracing is implemented consistently, and evaluation data reflects the problems users actually encounter.
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. Because both tools rely on OpenTelemetry, they can also run side by side while a team decides how much of its stack it wants in a single trace.