Arize Phoenix Setup Guide
Arize Phoenix is a observability tool for monitoring and debugging llm traffic. This guide provides instructions on enabling Arize Phoenix across different llm frameworks.
Pre Read​
- This document focusses on setting up Arize Phoenix custom deployment or local deployment.
- Wherever applicable, uv dependency manager is mentioned for installing the required packages. Please, use relevant package manager as per your project setup.
- Each section mentions a documented date and upon updates the instructions might need changes. Please, refer back official documentation when needed.
Arize Phoenix Setup for LangChain / LangGraph​
Documented Date: January 03, 2026
-
Install the Arize Phoenix package using uv:
uv add arize-phoenix -
Install the LangChain Phoenix integration package:
uv add openinference-instrumentation-langchain -
Launch the Arize Phoenix server:
uv run python -m phoenix.server.main serve -
Add the below code snippet to your LangChain or LangGraph application:
from phoenix.otel import register
# configure the Phoenix tracer
tracer_provider = register(
endpoint="http://localhost:6006/v1/traces",
project_name="keys-langgraph-exp", # Default is 'default'
auto_instrument=True # Auto-instrument your app based on installed OI dependencies
)
info
Tested with LangGraph.
Used Arize Phoenix version 12.27.0.