AI Observability and Evaluation
Project description
Phoenix is an open-source AI observability platform designed for experimentation, evaluation, and troubleshooting. It provides:
- Tracing - Trace your LLM application's runtime using OpenTelemetry-based instrumentation.
- Evaluation - Leverage LLMs to benchmark your application's performance using response and retrieval evals.
- Datasets - Create versioned datasets of examples for experimentation, evaluation, and fine-tuning.
- Experiments - Track and evaluate changes to prompts, LLMs, and retrieval.
- Playground- Optimize prompts, compare models, adjust parameters, and replay traced LLM calls.
- Prompt Management- Manage and test prompt changes systematically using version control, tagging, and experimentation.
- PXI (Phoenix Intelligence) - An AI engineering agent built into Phoenix for debugging traces, iterating on prompts, and navigating the product.
- Remote MCP Server - Connect Claude Code, Cursor, and other MCP clients directly to your Phoenix instance's
/mcpendpoint to query traces, datasets, experiments, and more.
Phoenix is vendor and language agnostic with out-of-the-box support for popular frameworks (OpenAI Agents SDK, Claude Agent SDK, LangGraph, Vercel AI SDK, Mastra, CrewAI, LlamaIndex, DSPy) and LLM providers (OpenAI, Anthropic, Google GenAI, Google ADK, AWS Bedrock, OpenRouter, LiteLLM, and more). For details on auto-instrumentation, check out the OpenInference project.
Phoenix runs practically anywhere, including your local machine, a containerized deployment, or in the cloud. See Environments for a walkthrough of each option, or jump straight into the Tracing Quickstart.
Table of Contents
- Run Locally
- Trace Your Application
- Deploy
- Packages
- Tracing Integrations
- Sandboxes
- For Humans and Coding Agents
- Security & Privacy
- Community
Run Locally
Install Phoenix via pip or conda and have a fully functional Phoenix. For all installation and hosting options, see the install guide.
pip install arize-phoenix
phoenix serve
Or run it with no install using uvx:
uvx arize-phoenix serve
Trace Your Application
The fastest way to send traces is to let your coding agent (Claude Code, Codex, Cursor, and others) instrument your app. From your project directory, run:
npx @arizeai/phoenix-cli setup
# or, with Phoenix installed: px setup
Setup detects your framework and LLM provider, installs the right OpenInference instrumentation, and wires up trace export. Prefer to wire it up in code? See the tracing documentation.
Deploy
Phoenix container images are available via Docker Hub and can be deployed using Docker or Kubernetes via the Helm chart.
For Docker Compose, Kubernetes/Helm, and other deployment options, see the self-hosting documentation.
[!NOTE] The Google Cloud button builds Phoenix from source in Cloud Shell rather than deploying the prebuilt Docker Hub image. The Azure template serves plain HTTP (Azure Container Instances does not terminate TLS) — front it with a TLS proxy such as an Application Gateway before production use.
Packages
The arize-phoenix package includes the entire Phoenix platform. However, if you have deployed the Phoenix platform, there are lightweight Python sub-packages and TypeScript packages that can be used in conjunction with the platform.
Python Subpackages
| Package | Version & Docs | Description |
|---|---|---|
| arize-phoenix-otel | Provides a lightweight wrapper around OpenTelemetry primitives with Phoenix-aware defaults | |
| arize-phoenix-client | Lightweight client for interacting with the Phoenix server via its OpenAPI REST interface | |
| arize-phoenix-evals | Tooling to evaluate LLM applications including RAG relevance, answer relevance, and more |
TypeScript Subpackages
| Package | Version & Docs | Description |
|---|---|---|
| @arizeai/phoenix-otel | Provides a lightweight wrapper around OpenTelemetry primitives with Phoenix-aware defaults | |
| @arizeai/phoenix-client | Client for the Arize Phoenix API | |
| @arizeai/phoenix-evals | TypeScript evaluation library for LLM applications (alpha release) | |
| @arizeai/phoenix-mcp | Standalone stdio MCP server for older Phoenix versions (maintenance mode — superseded by the remote MCP server built into Phoenix) | |
| @arizeai/phoenix-cli | CLI for fetching traces, datasets, and experiments for use with Claude Code, Cursor, and other coding agents |
Tracing Integrations
Phoenix is built on top of OpenTelemetry and is vendor, language, and framework agnostic. For details about tracing integrations and example applications, see the OpenInference project and the integrations documentation.
Python Integrations
| Integration | Package | Version | |
|---|---|---|---|
| OpenAI | openinference-instrumentation-openai |
||
| OpenAI Agents | openinference-instrumentation-openai-agents |
||
| LlamaIndex | openinference-instrumentation-llama-index |
||
| DSPy | openinference-instrumentation-dspy |
||
| AWS Bedrock | openinference-instrumentation-bedrock |
||
| LangChain | openinference-instrumentation-langchain |
||
| LangGraph | openinference-instrumentation-langchain |
||
| MistralAI | openinference-instrumentation-mistralai |
||
| Google GenAI | openinference-instrumentation-google-genai |
||
| Google ADK | openinference-instrumentation-google-adk |
||
| Guardrails | openinference-instrumentation-guardrails |
||
| VertexAI | openinference-instrumentation-vertexai |
||
| CrewAI | openinference-instrumentation-crewai |
||
| Haystack | openinference-instrumentation-haystack |
||
| LiteLLM | openinference-instrumentation-litellm |
||
| OpenRouter | openinference-instrumentation-openai |
||
| OrcaRouter | openinference-instrumentation-openai |
||
| Groq | openinference-instrumentation-groq |
||
| Instructor | openinference-instrumentation-instructor |
||
| Anthropic | openinference-instrumentation-anthropic |
||
| Smolagents | openinference-instrumentation-smolagents |
||
| Agno | openinference-instrumentation-agno |
||
| BeeAI | openinference-instrumentation-beeai |
||
| Strands Agents | openinference-instrumentation-strands-agents |
||
| Restate | openinference-instrumentation-openai-agents |
||
| MCP | openinference-instrumentation-mcp |
||
| Pydantic AI | openinference-instrumentation-pydantic-ai |
||
| Autogen AgentChat | openinference-instrumentation-autogen-agentchat |
||
| Portkey | openinference-instrumentation-portkey |
||
| Agent Spec | openinference-instrumentation-agentspec |
||
| Claude Agent SDK | openinference-instrumentation-claude-agent-sdk |
Span Processors
Normalize and convert data across other instrumentation libraries by adding span processors that unify data.
| Package | Description | Version |
|---|---|---|
openinference-instrumentation-openlit |
OpenInference Span Processor for OpenLIT traces. | |
openinference-instrumentation-openllmetry |
OpenInference Span Processor for OpenLLMetry (Traceloop) traces. |
JavaScript Integrations
| Integration | Package | Version | |
|---|---|---|---|
| OpenAI | @arizeai/openinference-instrumentation-openai |
||
| OpenAI Agents | @arizeai/openinference-instrumentation-openai-agents |
||
| LangChain.js | @arizeai/openinference-instrumentation-langchain |
||
| TanStack AI | @arizeai/openinference-tanstack-ai |
||
| Vercel AI SDK | @arizeai/openinference-vercel |
||
| BeeAI | @arizeai/openinference-instrumentation-beeai |
||
| Claude Agent SDK | @arizeai/openinference-instrumentation-claude-agent-sdk |
||
| Mastra | @mastra/arize |
||
| MCP | @arizeai/openinference-instrumentation-mcp |
Java Integrations
| Integration | Package | Version | |
|---|---|---|---|
| LangChain4j | openinference-instrumentation-langchain4j |
||
| SpringAI | openinference-instrumentation-springAI |
||
| Arconia for Spring AI | io.arconia:arconia-openinference-semantic-conventions |
Go Integrations
| Integration | Package | Version | |
|---|---|---|---|
| OpenAI | github.com/Arize-ai/openinference/go/openinference-instrumentation-openai-go |
||
| Anthropic | github.com/Arize-ai/openinference/go/openinference-instrumentation-anthropic-sdk-go |
Platforms
| Platform | Description | Docs | |
|---|---|---|---|
| BeeAI | AI agent framework with built-in observability | Integration Guide | |
| Dify | Open-source LLM app development platform | Integration Guide | |
| Envoy AI Gateway | AI Gateway built on Envoy Proxy for AI workloads | Integration Guide | |
| LangFlow | Visual framework for building multi-agent and RAG applications | Integration Guide | |
| LiteLLM Proxy | Proxy server for LLMs | Integration Guide | |
| Flowise | Visual framework for building LLM applications | Integration Guide | |
| Prompt Flow | Microsoft's prompt flow orchestration tool | Integration Guide | |
| NVIDIA NeMo | NVIDIA NeMo Agent Toolkit for enterprise agents | Integration Guide | |
| Graphite | Multi-agent LLM workflow framework with visual builder | Integration Guide |
Sandboxes
Run Phoenix code evaluators in hosted sandbox providers for kernel-level isolation and runtime dependency installation.
| Integration | Description | Docs |
|---|---|---|
| E2B | Hosted micro-VM sandboxes for AI-generated code | Integration Guide |
| Daytona | Managed development sandboxes with snapshot startup | Integration Guide |
| Vercel Sandbox | Ephemeral compute on Vercel's infrastructure | Integration Guide |
| Modal | Serverless, Python-first container platform | Integration Guide |
For Humans and Coding Agents
Phoenix is built to be driven by people and by AI coding agents alike. Three surfaces let agents (Claude Code, Codex, Cursor, and others) work with your traces, datasets, and experiments:
- CLI —
npx @arizeai/phoenix-clifetches traces, datasets, and experiments and instruments your app (setup), so an agent can pull context and act on it from the terminal. - Skills —
.agents/skills/packages workflows that teach agents how to debug, evaluate, and trace with Phoenix. - Remote MCP Server — connect any MCP client to your instance's
/mcpendpoint to query Phoenix directly.
See the coding agents documentation for setup and usage.
| Skill | Description |
|---|---|
| phoenix-cli | Debug LLM applications using the Phoenix CLI — fetch traces, analyze errors, review experiments, and query the GraphQL API |
| phoenix-evals | Build and run evaluators for AI/LLM applications using Phoenix |
| phoenix-tracing | OpenInference semantic conventions and instrumentation for tracing LLM applications |
Security & Privacy
We take data security and privacy very seriously. For more details, see our Security and Privacy documentation.
Telemetry
By default, Phoenix collects basic web analytics (e.g., page views, UI interactions) to help us understand how Phoenix is used and improve the product. None of your trace data, evaluation results, or any sensitive information is ever collected.
You can opt-out of telemetry by setting the environment variable: PHOENIX_TELEMETRY_ENABLED=false
Community
Join our community to connect with thousands of AI builders.
- 🌍 Join our Slack community.
- 📚 Read our documentation.
- 💡 Ask questions and provide feedback in the #phoenix-support channel.
- 🌟 Leave a star on our GitHub.
- 🐞 Report bugs with GitHub Issues.
- 𝕏 Follow us on 𝕏.
- 💼 Follow us on LinkedIn.
- 🗺️ Check out our roadmap to see where we're heading next.
- 🧑🏫 Deep dive into everything Agents and LLM Evaluations on Arize's Learning Hubs.
Breaking Changes
See the migration guide for a list of breaking changes.
Copyright, Patent, and License
Copyright 2025 Arize AI, Inc. All Rights Reserved.
Portions of this code are patent protected by one or more U.S. Patents. See the IP_NOTICE.
This software is licensed under the terms of the Elastic License 2.0 (ELv2). See LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file arize_phoenix-19.10.0.tar.gz.
File metadata
- Download URL: arize_phoenix-19.10.0.tar.gz
- Upload date:
- Size: 7.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4f8cdf07b62a884951c61ff85a6251e778ef1656ee9baf14c8606928027ef4f
|
|
| MD5 |
a6f27e656a2c6b96a136076a4c80de2c
|
|
| BLAKE2b-256 |
9c3bf24c24c3f129b79fd6aa48ed8fb9341aa529a986e79ce04c1eb13e736e6a
|
Provenance
The following attestation bundles were made for arize_phoenix-19.10.0.tar.gz:
Publisher:
publish.yaml on Arize-ai/phoenix
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
arize_phoenix-19.10.0.tar.gz -
Subject digest:
e4f8cdf07b62a884951c61ff85a6251e778ef1656ee9baf14c8606928027ef4f - Sigstore transparency entry: 2277763647
- Sigstore integration time:
-
Permalink:
Arize-ai/phoenix@fe95cd21d1cfdc3b73ebb51ca98b5b2781db2fe5 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Arize-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@fe95cd21d1cfdc3b73ebb51ca98b5b2781db2fe5 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file arize_phoenix-19.10.0-py3-none-any.whl.
File metadata
- Download URL: arize_phoenix-19.10.0-py3-none-any.whl
- Upload date:
- Size: 7.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cbff3a92c9dfbdb464fbaaf26f4fda2151373ea39c3b7bd62447d516562b443b
|
|
| MD5 |
143c85e9d359fe2b60b03d0e49f65d77
|
|
| BLAKE2b-256 |
9304c54b885e281723444fc2d602b2c3d5abb458147c9c203c1895d0db2efb21
|
Provenance
The following attestation bundles were made for arize_phoenix-19.10.0-py3-none-any.whl:
Publisher:
publish.yaml on Arize-ai/phoenix
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
arize_phoenix-19.10.0-py3-none-any.whl -
Subject digest:
cbff3a92c9dfbdb464fbaaf26f4fda2151373ea39c3b7bd62447d516562b443b - Sigstore transparency entry: 2277763952
- Sigstore integration time:
-
Permalink:
Arize-ai/phoenix@fe95cd21d1cfdc3b73ebb51ca98b5b2781db2fe5 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Arize-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@fe95cd21d1cfdc3b73ebb51ca98b5b2781db2fe5 -
Trigger Event:
workflow_dispatch
-
Statement type: