Skip to content
FossShelf
Home / Categories / For LLM Engineers

Phoenix

LLM tracing, evals, and prompt management for AI engineers

Replaces Langsmith, Braintrust, Arize Ax, Helicone, Langfuse

12.32K starsElastic License 2.0 (ELv2)last commit 16 Nov 2026
Screenshot of Phoenix

Who it's for

AI engineers debugging RAG pipeline failures

Phoenix captures every step in a retrieval-augmented generation pipeline: the query rewrite, the vector search, the retrieved chunks, and the final generation call. When a response is wrong or slow, the trace shows exactly which step introduced the problem. Span-level evaluation can score retrieval quality separately from answer quality.

Your RAG pipeline is a single model call with no retrieval step or tool use. For that, standard model monitoring handles most of what you need and the setup overhead of a full observability stack is not justified.

ML teams running prompt experiments before deploy

The prompt playground lets teams test a prompt change across a dataset of production examples before rolling it out. Evaluators score outputs automatically, and experiment results are tracked by run, so teams can confirm a change improves quality on the distribution they actually see in production rather than on hand-crafted test cases.

You have no existing trace data and are still building the first version of your application. Phoenix is more valuable once you have real production traffic to evaluate against.

Teams self-hosting to meet data residency requirements

Managed LLMOps tools require sending model inputs and outputs to third-party infrastructure. Phoenix runs entirely on your servers, keeping production queries and evaluation data within your network. Docker and Kubernetes deployment options fit standard enterprise infrastructure patterns.

Your organization has no data residency requirements and prefers a fully managed service with no infrastructure overhead. Arize AX or LangSmith are better fits in that scenario.

Teams migrating off managed LLMOps services

Phoenix accepts the same OpenTelemetry instrumentation format used by other LLMOps tools, so migration involves pointing the exporter endpoint at Phoenix instead of the managed service. The evaluation, datasets, and experiment features cover the core use cases provided by tools like LangSmith, with trace data staying on your infrastructure.

You need a fully managed setup with no server administration. The infrastructure overhead of self-hosting is a real cost; if that cost outweighs the benefit of data ownership, a managed service remains the better choice.

The problem

LLM applications fail in ways that traditional monitoring cannot catch. A pipeline that chains retrieval, model calls, and tool invocations can return wrong or hallucinated answers for reasons that never surface in standard application logs. Teams end up re-running queries by hand, adding print statements, or reconstructing traces in spreadsheets to understand failures. Evaluating output quality adds another layer of work. Running an LLM as a judge requires storing outputs, running evaluators, and tracking regressions across deploys. Comparing prompt variants on the same inputs means managing datasets, version-controlling prompts, and aggregating scores. Most teams do this work in one-off notebooks, which breaks as application complexity grows.

How it works

OpenTelemetry-based distributed tracing

Captures every step in an LLM application run: model calls, retrieval operations, tool use, and custom logic. Traces arrive over the OpenTelemetry OTLP protocol, so any OTel-compatible instrumentation library sends data to Phoenix without vendor-specific SDKs. Python, TypeScript, and Java are all supported out of the box.

LLM and code-based output evaluation

Scores traces and spans with pre-built or custom LLM evaluators, code-based checks, or human annotations in the UI. Third-party evaluator libraries including Ragas, Deepeval, and Cleanlab can be wired in alongside Phoenix's own eval library. Evaluators attach to datasets and run automatically during experiments.

Prompt playground with version control

Test prompt variants side by side, replay production LLM calls with different inputs, and version prompts with tagging. Prompts sync to running applications via SDK, so changes made in the playground can be promoted to the app without a code deploy. Span replay lets you debug by replaying an individual LLM call with modified inputs.

Datasets and experiments

Groups traces into named datasets, then runs them through different application versions to compare evaluation scores. Dataset evaluators attach reusable checks that run automatically during experiments, making it practical to compare a prompt change or model swap on the same production examples. Results are tracked across experiment runs for regression detection.

Auto-instrumentation for popular AI frameworks

Ships OpenInference packages that auto-instrument LlamaIndex, LangChain, LangGraph, CrewAI, DSPy, Vercel AI SDK, Mastra, and the OpenAI Agents SDK, plus the Claude Agent SDK. For LLM providers, it covers OpenAI, Anthropic, AWS Bedrock, Google GenAI, LiteLLM, and OpenRouter. The setup command (px setup or npx @arizeai/phoenix-cli setup) detects the framework and installs the right packages.

Remote MCP server for coding agents

Exposes a /mcp endpoint that connects Claude Code, Cursor, and other MCP clients directly to a running Phoenix instance. Through the MCP interface, coding agents can query traces, datasets, and experiment results without leaving their development environment. The MCP server works with any self-hosted Phoenix deployment.

Features

  • OpenTelemetry-based distributed tracing
  • LLM and code-based output evaluation
  • Prompt playground with version control
  • Datasets and experiments
  • Auto-instrumentation for popular AI frameworks
  • Remote MCP server for coding agents

How to install

Install Phoenix with pip, then start the local server.

pip install arize-phoenix
phoenix serve

Recommended for this setup

Strengths

  • Self-hosted data ownership: Traces, evaluation results, and prompt versions stay on your server rather than in a third-party cloud. For teams with data residency requirements or sensitive production queries, this avoids sending model inputs and outputs outside the organization's infrastructure. No data leaves your network during normal operation.
  • 12,000+ GitHub stars with active development: The Arize-ai/phoenix repository has over 12,000 stars and 1,242 forks, with the last commit pushed in October 2026. The project ships translations in 30+ languages and maintains an active Slack community. Steady development means new integrations and bug fixes land on a regular cadence.
  • Vendor-agnostic instrumentation layer: Phoenix uses OpenTelemetry and OpenInference as the instrumentation layer, so the same trace data works with both Phoenix and Arize AX (the managed enterprise version) without changing application code. Teams are not locked into a specific SDK or trace format, and can switch between self-hosted and managed without re-instrumenting.
  • Full observability stack in one install: Tracing, evaluation, prompt management, datasets, experiments, and a prompt playground are all included in a single pip install. Teams that would otherwise stitch together separate tools for each stage can run the full observability cycle from one deployment, with a consistent data model across all features.

Trade-offs

  • Elastic License 2.0 restricts managed-service use: Phoenix is licensed under the Elastic License 2.0 (ELv2), not an OSI-approved open source license. You can self-host it, modify it, and use it internally including for commercial team use at no cost. You cannot offer Phoenix itself as a hosted or managed service to third parties. Teams building an internal observability platform are within the license; teams reselling it as a product are not.
  • Over 1,200 open GitHub issues: The issue tracker has over 1,200 open items, reflecting both the breadth of integrations and a backlog of reported bugs and feature requests. For a production deployment, expect to monitor release notes for regressions and to work around minor issues in less common framework integrations while waiting for fixes.

Tech stack

Languages
Python, TypeScript, Jupyter Notebook, C, Shell, Makefile, MDX, HTML, PLpgSQL, Dockerfile, JavaScript, CSS, Go Template, Jinja, Java, HCL, Batchfile, Mako
Frameworks
Express, LangChain, React
Databases
—
Tooling
—

FAQ

Is Phoenix free to use?

The self-hosted version is free to run on your own infrastructure. Phoenix is licensed under the Elastic License 2.0, which allows internal use including commercial team use at no cost. Arize also offers Arize AX, a managed enterprise platform built on the same instrumentation, which carries commercial pricing. The same OpenTelemetry instrumentation works with both.

What LLM frameworks does Phoenix support?

Phoenix ships auto-instrumentation for LlamaIndex, LangChain, LangGraph, CrewAI, DSPy, Vercel AI SDK, Mastra, the OpenAI Agents SDK, and the Claude Agent SDK. For LLM providers, it auto-instruments OpenAI, Anthropic, AWS Bedrock, Google GenAI, Google ADK, LiteLLM, and OpenRouter. Auto-instrumentation covers Python and TypeScript; Java is also documented in the official integration pages.

What is the difference between Phoenix and Arize AX?

Phoenix is the open source, self-hosted tool. Arize AX is Arize's managed enterprise platform built on the same OpenTelemetry and OpenInference standards, so instrumented applications can send traces to either without code changes. Phoenix gives you full data ownership and requires you to manage the hosting; Arize AX removes the infrastructure management at commercial pricing.

Can Phoenix evaluate multi-step agent runs?

Yes. Phoenix captures traces at the span level across agent steps, tool calls, and model invocations within a single agent run. You can attach evaluators to individual spans, score retrieval quality separately from generation quality, and run datasets of agent traces through experiments to compare changes across application versions.

Can I use Phoenix with a non-Python application?

Yes. Phoenix accepts traces over the OpenTelemetry OTLP protocol, so any application that emits OTel traces can send data to Phoenix regardless of language. Official auto-instrumentation packages cover Python and TypeScript; Java is also documented. Manual instrumentation using any OTel SDK will work for other languages not yet covered by official packages.

Similar tools

More in LLM Engineers