Arize Phoenix agents observability answers a question every team building agents eventually asks: what did the agent actually do? When an agent makes ten tool calls, reads three documents and then gives a wrong answer, guessing is not a debugging strategy. Arize Phoenix is an open-source observability platform built on OpenTelemetry that records each of those steps as a trace, so you can inspect the whole run instead of only the final output.
Phoenix was built by Arize AI and began as a notebook tool for exploring embeddings and diagnosing model problems. It has since grown into a platform for LLM tracing, evaluation, datasets, experiments and prompt management. For agent builders, its most useful feature is the trace: a structured record of every LLM call, tool execution, retrieval operation and embedding step, organised into a tree you can read like a timeline.
Key takeaways
- Arize Phoenix is an open-source observability platform built on OpenTelemetry, designed for LLM applications and agents.
- It records agent runs as traces made of spans, so you can see every model call, tool call and retrieval step in order.
- Evaluations, datasets and experiments sit in the same tool, linking debugging directly to improvement.
- Phoenix runs locally in a notebook or as a shared server, and it auto-instruments popular frameworks such as LangChain, LlamaIndex and LangGraph.
- It is strongest in development and experimentation; production monitoring at scale is the job of the commercial Arize AX platform.
What Arize Phoenix Actually Is
Phoenix is not an agent framework. It does not decide what your agent does, and it does not run your agent for you. It is the layer that watches your agent work and keeps a record. That distinction matters, because observability tools are only useful when they stay out of the way of the system they observe.
The platform is built on OpenTelemetry, the industry standard for distributed tracing, and it uses the OpenInference semantic conventions that Arize leads. In practice, this means traces are captured in a standard format rather than a proprietary one, and the same trace data can be exported, queried and analysed outside Phoenix if you need it.
How Phoenix Traces an Agent Run
An agent run is messy by nature. A single user request can trigger a chain of reasoning steps, several tool calls, a retrieval pass over a document store, and then a final synthesis. When something goes wrong, the failure is usually buried in the middle of that chain: the wrong document was retrieved, a tool was called with the wrong argument, or the model ignored a key piece of context.
Phoenix lays the run out as a span tree. You start at the top-level trace and drill down into each span to see its inputs, outputs, timing and token usage. The trace shows the prompt template used by each LLM call as well as the final prompt that was generated, which is often where a debugging session turns. Retrieval spans show document scores and ordering, so you can see whether the retriever ranked the right chunk first or buried it.
Automatic Instrumentation
Getting traces into Phoenix takes little setup. The platform can be enabled with a single line of code across many application frameworks, and it automatically instruments major frameworks such as LangGraph, LlamaIndex and DSPy through OpenTelemetry instrumentation. Integrations cover more than twenty AI frameworks and LLM providers, so most teams can start tracing without writing custom instrumentation for every component.
The integrations matter because agents are usually built from several libraries at once: a framework for orchestration, a provider for the model, a vector store for retrieval, and a set of tools. Phoenix collects spans from all of them into one trace, so the debugging view matches the real system instead of only one of its parts. If you are still choosing how to structure your agents, our guide to agent design patterns that hold up in production covers the architectural choices that make tracing easier later.

Tracing, Evaluation and Experiments in One Place
Tracing alone tells you what happened. Phoenix pairs it with evaluation, which tells you whether what happened was any good. The platform includes pre-built evaluators for common concerns such as faithfulness, relevance, toxicity, summarisation quality and agent performance, and it supports custom evaluators built on LLM-as-a-judge or code-based logic. Evaluations can be applied at the span level, so a retrieval span can be scored on the quality of the chunks it returned while the overall answer is scored separately.
This pairing is where Phoenix is strongest compared with tools that only store traces. A failed trace becomes a dataset example, the dataset feeds an experiment, and the experiment compares two versions of the application with the same evaluators. Prompt iteration happens in a playground where spans from production traces can be replayed, so a fix can be tested against the exact input that failed.
Phoenix for Agent Debugging in Practice
Consider a support agent that answers questions from a knowledge base. A user reports that the agent quoted a policy that was superseded last year. With Phoenix, the trace shows the retrieval span, the documents it returned and their scores, and then the LLM span with the prompt the model actually received. If the old document scored highest, the problem is retrieval or the document store. If the right document was retrieved but the model quoted the wrong one, the problem is the prompt or the model.
The same approach applies to tool-use failures. An agent that books the wrong date or calls an API with a missing parameter leaves a span for each tool call, including the arguments passed and the response received. That makes it straightforward to distinguish a planning failure from an execution failure, which is exactly the distinction that matters when you decide what to fix. Our article on agent observability and tracing explains the general tracing workflow in more detail, and the patterns there apply directly to Phoenix.
Where Phoenix Fits and Where It Does Not
Phoenix is strongest in development and experimentation. It was designed to give developers tools close to the code, with fast feedback while they build and iterate. A single developer can run it in a notebook; a team can share a server deployment. Large-scale production monitoring, alerting and enterprise support are the job of Arize AX, the commercial platform from the same company.
Licensing deserves a clear-eyed look. Phoenix is described as open source, but it is distributed under the Elastic License 2.0 rather than an OSI-approved licence. Internal use and self-hosting are free, but offering Phoenix as a managed service to third parties is restricted. For most teams building agents for their own use, that distinction has no practical effect.
There is also a practical limit to what any tracing tool can do. Phoenix shows you what happened; it does not fix your agent. If the underlying problem is a poorly designed plan, a missing guardrail or a tool that returns unreliable data, the trace will help you find it, but the fix still belongs in your agent code, your prompts or your data.
| Capability | What Phoenix provides | Best for |
|---|---|---|
| LLM tracing | Hierarchical spans for every model call, tool call, retrieval step and embedding | Debugging long, multi-step agent runs |
| Evaluations | Pre-built and custom evaluators, including LLM-as-a-judge, applied at span level | Measuring answer and retrieval quality over time |
| Datasets and experiments | Datasets built from traces, CSV files or manual examples, with experiment comparison | Testing prompt and retrieval changes against real failures |
| Prompt playground | Replay of LLM spans from production traces | Iterating on prompts with real failing inputs |
| Monitoring | Latency, token usage, cost and error-rate metrics across projects | Spotting expensive or slow patterns during development |
| Instrumentation | OpenTelemetry auto-instrumentation for 20+ frameworks and providers | Teams using LangChain, LlamaIndex, LangGraph or DSPy |
Setting Up Phoenix for an Agent Project
Starting is deliberately simple. Install the package, launch Phoenix, and add the tracer to your framework of choice. For LangChain and LlamaIndex applications, the OpenInference tracer is added as a callback or handler, and traces are exported by default to a locally running Phoenix server.
Organise traces into projects from the start. Projects separate traces by environment, application, team or use case, and that separation becomes important as soon as more than one agent or more than one developer is involved. Sessions group related traces together, which is useful when a single user conversation spans several agent runs.
Common Mistakes to Avoid
The most common mistake is tracing everything and looking at nothing. A busy agent can generate thousands of spans a day, and a trace store without a review habit is just storage. Pick a small set of signals to watch: error rates, token usage per run, and the results of your evaluators.
Another mistake is treating the trace as the whole story. A trace shows what the agent did with the context it received, but it does not show what the user meant. When a trace looks correct but the user is unhappy, the gap is usually in the requirements, the data or the tool, not in the trace itself.
Finally, do not skip the annotation step. Human feedback on traces is what turns a pile of runs into a training and evaluation resource. Even a simple thumbs-up or thumbs-down on a sample of traces gives you a labelled set to measure against.
Checklist: Getting Value from Arize Phoenix
- Instrument your agent framework with the OpenInference tracer and confirm traces appear for a full run.
- Organise traces into projects by application and environment, and use sessions to group related runs.
- Add at least two evaluators, such as faithfulness and relevance, and apply them to traces automatically.
- Turn every real failure into a dataset example before fixing it, so the fix can be verified.
- Use the playground to replay failing spans when iterating on prompts.
- Watch token usage and latency per span to find loops and expensive steps early.
- Annotate a sample of traces with human feedback every week to build a labelled quality record.
- Decide in advance what belongs in Phoenix and what belongs in production monitoring, and do not confuse the two.
Frequently Asked Questions
Is Arize Phoenix free to use?
Yes, for internal use and self-hosting. Phoenix is distributed under the Elastic License 2.0, which allows free internal use but restricts offering it as a hosted service to third parties. The commercial Arize AX platform is a separate product for production monitoring and enterprise support.
Does Phoenix work with LangChain and LangGraph?
Yes. Phoenix auto-instruments major frameworks including LangChain, LlamaIndex, LangGraph and DSPy through OpenTelemetry, and it integrates with more than twenty frameworks and LLM providers in total.
What is the difference between Phoenix and Arize AX?
Phoenix is the open-source platform focused on development, debugging, evaluation and experimentation. Arize AX is the commercial platform from the same company, aimed at large-scale production monitoring, alerting and enterprise support.
Can Phoenix evaluate agent quality, or only trace runs?
It does both. Phoenix includes pre-built evaluators for faithfulness, relevance, toxicity, summarisation and agent performance, and it supports custom evaluators using LLM-as-a-judge or code-based logic, applied at the span level as well as the trace level.
Do I need to change my agent code to use Phoenix?
Very little. Phoenix can be enabled with a single line of code in many frameworks, and the OpenInference tracer is added as a callback or handler. You do not need to rewrite your agent around it.
What should I look at first in a failing agent trace?
Start with the retrieval and tool spans in the middle of the run. Most agent failures come from wrong retrieved context or wrong tool arguments, and the trace shows both the inputs and the outputs of each step, so you can tell a retrieval problem from a reasoning problem.







