Installation
@arizeai/phoenix-client ships local docs and source code inside node_modules/@arizeai/phoenix-client/.Browse the website version under @arizeai/phoenix-client Docs.Start Here
- Package overview for the module map, configuration, and local
node_moduleslayout - Prompts
- Datasets
- Experiments
- CI Eval Tests
- Spans
- Sessions
Local Install Pattern
After install, a coding agent can inspect:Agent session capability checks
The client exports a capability requirement for each PXI agent session REST route, so a program can confirm a Phoenix server is new enough before calling one. There are eight —AGENT_SESSION_CREATE, AGENT_SESSION_LIST, AGENT_SESSION_GET, AGENT_SESSION_PATCH, AGENT_SESSION_MESSAGES, AGENT_SESSION_TOOL_OUTPUTS, AGENT_SESSION_COMPACT, and AGENT_SESSION_CHAT — and each requires Phoenix 20.0.0 or newer. Pass one to ensureServerCapability, which throws a clear upgrade error against an older server:
pxi terminal client runs at startup before it opens a session.

