OpenParable
Skip to content
← Back to skills

Phoenix Client Development

Development
phoenix-client-development

Phoenix Client Development is an Agent Skill for development published in the Arize-ai/phoenix repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Development guide for the @arizeai/phoenix-client TypeScript SDK — run and resume experiments, manage OpenTelemetry tracer providers with stack-based attach/detach, and write vitest unit and integration tests. Use when adding features to phoenix-client, debugging experiment lifecycle or provider cleanup, modifying dataset/prompt/session/span APIs, or writing tests for the js/packages/phoenix-client/ directory.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/Arize-ai/phoenix/blob/HEAD/js/packages/phoenix-client/.agents/skills/phoenix-client-development/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/phoenix-client-development, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Phoenix Client Development

TypeScript SDK for Phoenix AI observability: datasets, experiments, prompts, sessions, spans, traces.

Read existing code in the directory you're working in before writing new code.

Rule Files

Rule fileWhen to read
rules/experiments.mdExperiment execution, task runners, evaluator wiring
rules/tracing.mdOpenTelemetry tracer providers, span export, global state
rules/testing.mdUnit tests, integration tests, test fixtures

Build and Test

cd js/
pnpm --filter phoenix-client test

Tests use vitest. Test files live in test/ named *.test.ts.