Launch Phoenix
- Self-Host
- Local
- Container
Run Phoenix on your own infrastructure, backed by PostgreSQL so traces persist beyond a single process. This is the option to reach for once Phoenix is shared across a team or environment.The self-hosting guide covers Kubernetes, Helm, Railway, AWS CloudFormation, Google Cloud Run, Azure, and Render, plus authentication and configuration.
phoenix serve; for a deployment running elsewhere, use its hostname instead.
Install
Setup
Enable Phoenix tracing to capture traces from your application:Basic Usage
1. Generate Traces to Evaluate
First, create some example traces by running your AI application. Here’s a simple example:2. Export Traces from Phoenix
Export the traces you want to evaluate:3. Define Evaluation Dataset
Create a dataset of test cases using Pydantic Evals:4. Create Custom Evaluators
Define evaluators to assess your model’s performance:5. Setup Task and Dataset
Create a task that retrieves outputs from your traced data:6. Add LLM Judge Evaluator
For more sophisticated evaluation, add an LLM judge:7. Run Evaluation
Execute the evaluation:Advanced Usage
Upload Results to Phoenix
Upload your evaluation results back to Phoenix for visualization:Custom Evaluation Workflows
You can create more complex evaluation workflows by combining multiple evaluators:Observe
Once you have evaluation results uploaded to Phoenix, you can:- View evaluation metrics: See overall performance across different evaluation criteria
- Analyze individual cases: Drill down into specific examples that passed or failed
- Compare evaluators: Understand how different evaluation methods perform
- Track improvements: Monitor evaluation scores over time as you improve your application
- Debug failures: Identify patterns in failed evaluations to guide improvements

