Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
arize-ai avatar

Phoenix Tracing

  • 1.1k installs
  • 10.8k repo stars
  • Updated July 28, 2026
  • arize-ai/phoenix

phoenix-tracing is an AI agent skill that teaches OpenInference-compatible tracing and instrumentation for LLM, chain, tool, and agent workflows for developers who need Phoenix observability in production.

About

phoenix-tracing is a flat rules-based skill from arize-ai/phoenix that maps OpenInference semantic conventions onto Phoenix instrumentation for LLM apps. It organizes reference files under six semantic prefixes in rules/: span-* for LLM, CHAIN, and TOOL span kinds; setup-* and instrumentation-* for getting started; fundamentals-* and attributes-* for spec reference; plus annotations-* and export-* for advanced trace features. Developers reach for phoenix-tracing when wiring OpenTelemetry spans into chains and agents and aligning attributes with the OpenInference spec and Phoenix OTEL Python API docs.

  • OpenInference semantic conventions for spans, chains, tools, and LLM calls
  • Flat rules directory with semantic prefixes: span-*, setup-*, instrumentation-*, fundamentals-*, attributes-*, annotatio
  • Supports four annotation types: Span Annotation, Document Annotation, Session Annotation, and Trace-level feedback
  • Ready-to-use instrumentation guides for Python OTEL, Phoenix Client, and TypeScript
  • Links to full OpenInference Spec and Phoenix documentation for rapid onboarding

Phoenix Tracing by the numbers

  • 1,103 all-time installs (skills.sh)
  • +82 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Ranked #945 of 16,659 AI & Agent Building skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
npx skills add https://github.com/arize-ai/phoenix --skill phoenix-tracing

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1.1k
repo stars10.8k
Security audit2 / 3 scanners passed
Last updatedJuly 28, 2026
Repositoryarize-ai/phoenix

How do you add OpenInference tracing to LLM agents?

Add OpenInference-compatible tracing and instrumentation to LLM, chain, tool, and agent workflows.

Who is it for?

Backend and ML engineers instrumenting production LLM pipelines who already use or plan to adopt Arize Phoenix and OpenTelemetry.

Skip if: Teams that only need generic application logging without LLM-specific span semantics or Phoenix export pipelines.

When should I use this skill?

A developer asks to add Phoenix tracing, OpenInference spans, or OTEL instrumentation to an LLM, chain, tool, or agent workflow.

What you get

OpenInference-aligned span instrumentation, attribute maps, and Phoenix-exportable OTEL traces for LLM, chain, tool, and agent runs.

  • Instrumented spans with OpenInference attributes
  • Phoenix-exportable OTEL trace configuration

By the numbers

  • Organizes rules/ into 6 semantic prefix groups: span, setup, instrumentation, fundamentals, attributes, annotations, and
  • Documents 3 core span kinds by name: LLM, CHAIN, and TOOL

Files

SKILL.mdMarkdownGitHub ↗

Phoenix Tracing

Comprehensive guide for instrumenting LLM applications with OpenInference tracing in Phoenix. Contains reference files covering setup, instrumentation, span types, and production deployment.

When to Apply

Reference these guidelines when:

  • Setting up Phoenix tracing (Python or TypeScript)
  • Creating custom spans for LLM operations
  • Adding attributes following OpenInference conventions
  • Deploying tracing to production
  • Querying and analyzing trace data

Reference Categories

PriorityCategoryDescriptionPrefix
1SetupInstallation and configurationsetup-*
2InstrumentationAuto and manual tracinginstrumentation-*
3Span Types9 span kinds with attributesspan-*
4OrganizationProjects and sessionsprojects-*, sessions-*
5EnrichmentCustom metadatametadata-*
6ProductionBatch processing, maskingproduction-*
7FeedbackAnnotations and evaluationannotations-*

Quick Reference

1. Setup (START HERE)

  • setup-python - Install arize-phoenix-otel, configure endpoint
  • setup-typescript - Install @arizeai/phoenix-otel, configure endpoint

2. Instrumentation

  • instrumentation-auto-python - Auto-instrument OpenAI, LangChain, etc. (also covers OTel GenAI native instrumentation)
  • instrumentation-auto-typescript - Auto-instrument supported frameworks
  • instrumentation-manual-python - Custom spans with decorators
  • instrumentation-manual-typescript - Custom spans with wrappers
  • instrumentation-atif-python - Import ATIF agent trajectories (Claude Code, OpenHands, Codex, etc.)

3. Span Types (with full attribute schemas)

  • span-llm - LLM API calls (model, tokens, messages, cost)
  • span-chain - Multi-step workflows and pipelines
  • span-retriever - Document retrieval (documents, scores)
  • span-tool - Function/API calls (name, parameters)
  • span-agent - Multi-step reasoning agents
  • span-embedding - Vector generation
  • span-reranker - Document re-ranking
  • span-guardrail - Safety checks
  • span-evaluator - LLM evaluation

4. Organization

  • projects-python / projects-typescript - Group traces by application
  • sessions-python / sessions-typescript - Track conversations

5. Enrichment

  • metadata-python / metadata-typescript - Custom attributes

6. Production (CRITICAL)

  • production-python / production-typescript - Batch processing, PII masking

7. Feedback

  • annotations-overview - Feedback concepts
  • annotations-python / annotations-typescript - Add feedback to spans

Reference Files

  • fundamentals-overview - Traces, spans, attributes basics
  • fundamentals-required-attributes - Required fields per span type
  • fundamentals-universal-attributes - Common attributes (user.id, session.id)
  • fundamentals-flattening - JSON flattening rules
  • attributes-messages - Chat message format
  • attributes-metadata - Custom metadata schema
  • attributes-graph - Agent workflow attributes
  • attributes-exceptions - Error tracking

Common Workflows

  • Quick Start: setup-{lang} → instrumentation-auto-{lang} → Check Phoenix
  • Custom Spans: setup-{lang} → instrumentation-manual-{lang} → span-{type}
  • Session Tracking: sessions-{lang} for conversation grouping patterns
  • Production: production-{lang} for batching, masking, and deployment

How to Use This Skill

Navigation Patterns:

# By category prefix
references/setup-*              # Installation and configuration
references/instrumentation-*    # Auto and manual tracing
references/span-*               # Span type specifications
references/sessions-*           # Session tracking
references/production-*         # Production deployment
references/fundamentals-*       # Core concepts
references/attributes-*         # Attribute specifications

# By language
references/*-python.md          # Python implementations
references/*-typescript.md      # TypeScript implementations

Reading Order: 1. Start with setup-{lang} for your language 2. Choose instrumentation-auto-{lang} OR instrumentation-manual-{lang} 3. Reference span-{type} files as needed for specific operations 4. See fundamentals-* files for attribute specifications

References

Phoenix Documentation:

Python API Documentation:

TypeScript API Documentation:

  • TypeScript Packages - @arizeai/phoenix-otel, @arizeai/phoenix-client, and other TypeScript packages

Related skills

How it compares

Choose phoenix-tracing when you need OpenInference span semantics and Phoenix OTEL export rather than generic stdout logging or non-LLM APM dashboards.

FAQ

What span kinds does phoenix-tracing cover?

phoenix-tracing documents OpenInference span kinds including LLM, CHAIN, and TOOL through span-* rule files in the flat rules/ directory, alongside setup, instrumentation, fundamentals, attributes, annotations, and export references.

Does phoenix-tracing require Phoenix already installed?

phoenix-tracing is an instrumentation guide skill that points to Phoenix documentation and the Python OTEL API; developers follow setup-* and instrumentation-* rules to wire OpenInference-compatible spans before exporting traces to Phoenix.

Is Phoenix Tracing safe to install?

skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

AI & Agent Buildingagentsllmautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.