or, with Phoenix installed: px setup

August 7, 2026 · View on GitHub

phoenix banner

Add Arize Phoenix MCP server to Cursor

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 /mcp endpoint 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

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.

Deploy on Railway   Deploy to Render   Run on Google Cloud   Deploy to Azure   Deploy to AWS

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

PackageVersion & DocsDescription
arize-phoenix-otelPyPI Version DocsProvides a lightweight wrapper around OpenTelemetry primitives with Phoenix-aware defaults
arize-phoenix-clientPyPI Version DocsLightweight client for interacting with the Phoenix server via its OpenAPI REST interface
arize-phoenix-evalsPyPI Version DocsTooling to evaluate LLM applications including RAG relevance, answer relevance, and more

TypeScript Subpackages

PackageVersion & DocsDescription
@arizeai/phoenix-otelNPM Version DocsProvides a lightweight wrapper around OpenTelemetry primitives with Phoenix-aware defaults
@arizeai/phoenix-clientNPM Version DocsClient for the Arize Phoenix API
@arizeai/phoenix-evalsNPM Version DocsTypeScript evaluation library for LLM applications (alpha release)
@arizeai/phoenix-mcpNPM Version DocsStandalone stdio MCP server for older Phoenix versions (maintenance mode — superseded by the remote MCP server built into Phoenix)
@arizeai/phoenix-cliNPM Version DocsCLI 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

IntegrationPackageVersion
OpenAIopeninference-instrumentation-openaiPyPI Version
OpenAI Agentsopeninference-instrumentation-openai-agentsPyPI Version
LlamaIndexopeninference-instrumentation-llama-indexPyPI Version
DSPyopeninference-instrumentation-dspyPyPI Version
AWS Bedrockopeninference-instrumentation-bedrockPyPI Version
LangChainopeninference-instrumentation-langchainPyPI Version
LangGraphopeninference-instrumentation-langchainPyPI Version
MistralAIopeninference-instrumentation-mistralaiPyPI Version
Cohereopeninference-instrumentation-coherePyPI Version
Together AIopeninference-instrumentation-togetherPyPI Version
Ollamaopeninference-instrumentation-ollamaPyPI Version
Google GenAIopeninference-instrumentation-google-genaiPyPI Version
Google ADKopeninference-instrumentation-google-adkPyPI Version
Guardrailsopeninference-instrumentation-guardrailsPyPI Version
VertexAIopeninference-instrumentation-vertexaiPyPI Version
CrewAIopeninference-instrumentation-crewaiPyPI Version
Haystackopeninference-instrumentation-haystackPyPI Version
LiteLLMopeninference-instrumentation-litellmPyPI Version
OpenRouteropeninference-instrumentation-openaiPyPI Version
OrcaRouteropeninference-instrumentation-openaiPyPI Version
Groqopeninference-instrumentation-groqPyPI Version
Instructoropeninference-instrumentation-instructorPyPI Version
Anthropicopeninference-instrumentation-anthropicPyPI Version
Smolagentsopeninference-instrumentation-smolagentsPyPI Version
Agnoopeninference-instrumentation-agnoPyPI Version
BeeAIopeninference-instrumentation-beeaiPyPI Version
Strands Agentsopeninference-instrumentation-strands-agentsPyPI Version
Restateopeninference-instrumentation-openai-agentsPyPI Version
MCPopeninference-instrumentation-mcpPyPI Version
Pydantic AIopeninference-instrumentation-pydantic-aiPyPI Version
AG2openinference-instrumentation-ag2PyPI Version
Autogen AgentChatopeninference-instrumentation-autogen-agentchatPyPI Version
Portkeyopeninference-instrumentation-portkeyPyPI Version
Agent Specopeninference-instrumentation-agentspecPyPI Version
Claude Agent SDKopeninference-instrumentation-claude-agent-sdkPyPI Version

Span Processors

Normalize and convert data across other instrumentation libraries by adding span processors that unify data.

PackageDescriptionVersion
openinference-instrumentation-openlitOpenInference Span Processor for OpenLIT traces.PyPI Version
openinference-instrumentation-openllmetryOpenInference Span Processor for OpenLLMetry (Traceloop) traces.PyPI Version

JavaScript Integrations

IntegrationPackageVersion
OpenAI@arizeai/openinference-instrumentation-openaiNPM Version
OpenAI Agents@arizeai/openinference-instrumentation-openai-agentsNPM Version
LangChain.js@arizeai/openinference-instrumentation-langchainNPM Version
TanStack AI@arizeai/openinference-tanstack-aiNPM Version
Vercel AI SDK@arizeai/openinference-vercelNPM Version
BeeAI@arizeai/openinference-instrumentation-beeaiNPM Version
Claude Agent SDK@arizeai/openinference-instrumentation-claude-agent-sdkNPM Version
Mastra@mastra/arizeNPM Version
MCP@arizeai/openinference-instrumentation-mcpNPM Version

Java Integrations

IntegrationPackageVersion
LangChain4jopeninference-instrumentation-langchain4jMaven Central
SpringAIopeninference-instrumentation-springAIMaven Central
Arconia for Spring AIio.arconia:arconia-openinference-semantic-conventionsMaven Central

Go Integrations

IntegrationPackageVersion
OpenAIgithub.com/Arize-ai/openinference/go/openinference-instrumentation-openai-goGo Reference
Anthropicgithub.com/Arize-ai/openinference/go/openinference-instrumentation-anthropic-sdk-goGo Reference

Platforms

PlatformDescriptionDocs
BeeAIAI agent framework with built-in observabilityIntegration Guide
DifyOpen-source LLM app development platformIntegration Guide
Envoy AI GatewayAI Gateway built on Envoy Proxy for AI workloadsIntegration Guide
LangFlowVisual framework for building multi-agent and RAG applicationsIntegration Guide
LiteLLM ProxyProxy server for LLMsIntegration Guide
FlowiseVisual framework for building LLM applicationsIntegration Guide
Prompt FlowMicrosoft's prompt flow orchestration toolIntegration Guide
NVIDIA NeMoNVIDIA NeMo Agent Toolkit for enterprise agentsIntegration Guide
GraphiteMulti-agent LLM workflow framework with visual builderIntegration Guide

Sandboxes

Run Phoenix code evaluators in hosted sandbox providers for kernel-level isolation and runtime dependency installation.

IntegrationDescriptionDocs
E2BHosted micro-VM sandboxes for AI-generated codeIntegration Guide
DaytonaManaged development sandboxes with snapshot startupIntegration Guide
Vercel SandboxEphemeral compute on Vercel's infrastructureIntegration Guide
ModalServerless, Python-first container platformIntegration 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:

  • CLInpx @arizeai/phoenix-cli fetches 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 /mcp endpoint to query Phoenix directly.

See the coding agents documentation for setup and usage.

SkillDescription
phoenix-cliDebug LLM applications using the Phoenix CLI — fetch traces, analyze errors, review experiments, and query the GraphQL API
phoenix-evalsBuild and run evaluators for AI/LLM applications using Phoenix
phoenix-tracingOpenInference 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.

Breaking Changes

See the migration guide for a list of breaking changes.

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.