Documentation Index
Fetch the complete documentation index at: https://arizeai-433a7140.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.

What PXI is
PXI (pronounced “pixie”) is an agent built into Phoenix. It sees what you are looking at and acts on your behalf:- Drives the product. PXI navigates, filters, and pivots through your Phoenix data the same way you would — only faster.
- Iterates with you on prompts and traces. It reads, edits, and explores prompts, spans, and traces directly in context.
- Investigates failures. Built-in skills walk failing traces and propose root causes instead of leaving you to grep through spans.
- Reasons over your data. A sandboxed runtime lets PXI query your Phoenix instance to answer questions evals and dashboards cannot.
- Knows the product. Phoenix’s own documentation is wired in as a first-class source, so answers are grounded rather than guessed.
When to use it
- Debugging. Hand off a failing trace and get a root-cause hypothesis, not a list of spans to read.
- Exploring data. Describe the view you want and let PXI set up the filters, time range, and pivots.
- Sharpening prompts. Co-iterate on playground prompts with diffs you review before anything lands.
- Learning Phoenix. Ask product questions and get answers grounded in the live docs, not in training-data folklore.
Enabling PXI
PXI is off by default. To turn it on, set the following environment variable on the Phoenix server and restart:The
DANGEROUSLY_ prefix is intentional. Enabling PXI gives an LLM the ability
to read Phoenix data the signed-in user can already see, and to call tools that
modify UI state. Only enable it in environments where that trade-off is
acceptable.OPENAI_API_KEYANTHROPIC_API_KEYGEMINI_API_KEY- AWS Bedrock credentials
- Or a custom provider configured under Settings → Models.
Use a recommended model
PXI relies heavily on tool calling — almost every action it takes is a tool call (set a filter, edit a prompt, read a span, run a debug skill). Models that are weak at tool use will produce broken sessions, even if they handle free-form chat well. We curate a short list of models that PXI has been validated against. Pick one of these unless you have a specific reason not to:- Anthropic —
claude-opus-4-6,claude-sonnet-4-6 - OpenAI —
gpt-5.5,gpt-5.4,gpt-5.4-mini - Google —
gemini-3.1-pro-preview,gemini-3.5-flash
How it works
PXI is modeled after a coding agent — the same shape as Claude Code, Cursor, or Codex — but pointed at Phoenix instead of a code editor. It has:- A harness of tools for taking action in the product (set the time range, apply a spans filter, read a span, edit a playground prompt, render generative UI, ask the user a question).
- An MCP server that exposes the Phoenix docs to the agent — served by Mintlify, the same provider that hosts the public Phoenix documentation — so PXI can look up product behavior the same way a coding agent looks up library docs.
- Skills — reusable, multi-step playbooks for common investigations. The
first built-in skill is
debug_trace, which walks a failing trace and proposes root causes. - A sandboxed bash tool for running ad-hoc queries, scripting against the Phoenix API, and storing intermediate files inside the agent’s working directory.
- The server owns everything the model sees — tool definitions, system prompt, skills, and capability guidance. This is the source of truth for what PXI can do.
- The browser executes tool calls that need to touch the page (filters, navigation, prompt edits) and dispatches server-side tools through the data stream.
Architecture
The browser owns the chat UI and a sandboxed bash environment. Inside that sandbox, PXI uses the phoenix-gql CLI to query the Phoenix GraphQL API on the server, the same authenticated endpoint a logged-in user hits from the UI. The server hosts the PXI agent along with its model-facing surface — tools, skills, and an MCP client — and calls your LLM provider with your API key. The only external dependency is the Mintlify-hosted Phoenix docs MCP, reached through the server’s MCP client.Runs entirely on your Phoenix
PXI runs inside the Phoenix process you are already running. Concretely:- Tool calls execute against your Phoenix server and your data — no separate Arize service is involved.
- The LLM behind PXI is your model provider, called with your API key (OpenAI, Anthropic, Google, Bedrock, or a custom provider you configured). Arize is not in the request path.
- Documentation lookups go to the Mintlify-hosted Phoenix docs MCP server, the same public docs surface you can read in a browser. It serves docs only.
- Arize receives PXI session traces only if you explicitly opt in under Settings → Agents (“Share PXI session traces with the team improving PXI”), and that opt-in is only available when a remote collector has been configured for your instance. If you never enable it, Arize never sees your traces, prompts, or tool outputs.
Privacy and observability
Every PXI conversation is captured as a Phoenix trace. By default these traces are written to a dedicated PXI project in the Phoenix instance you are using — no data leaves your deployment. From Settings → Agents you can:- Turn local PXI tracing on or off.
- Opt into sharing PXI session traces with the team building PXI (only available when a remote collector is configured).
Safety
PXI is a beta feature. Keep these limits in mind:- Verify before you act. PXI can apply filters, edit prompts, and run bash. Review proposed changes — especially prompt edits — before accepting them.
- Don’t point it at sensitive production data without controls. PXI sees whatever the signed-in user can see. Use it against scoped projects or staging data while it is in beta.
- Treat outputs as suggestions. PXI hallucinates, especially on long traces or unfamiliar frameworks.

