Set Up with One Command, Skills, or Code
Pick a path: one command (npx evals or ax instrument) to have your coding agent do all of it (recommended), Arize Skills to drive each step yourself, or Code to write the spans against the OpenTelemetry API.
- By one command (Recommended)
- By Arize Skills
- By Code
One command does the whole setup: it installs the tooling, connects your account, instruments your app — including manual spans for your custom logic — and confirms your first traces arrive. Run it from your project’s root directory so your agent can read and edit the right code.Pick your coding agent from the list: Claude Code, Codex, Cursor, GitHub Copilot, or Antigravity CLI. It launches in your current directory with a guided onboarding prompt and walks you through four things:
- Install the tooling. The AX CLI and the Arize Skills.
- Connect your account. It creates a free Arize AX account or signs you in, then picks your space — no copying a Space ID or API key by hand.
- Instrument your app. It reads your stack, attaches any auto-instrumentors that fit, and wraps your custom logic and tool calls in manual spans with the right span kinds and OpenInference attributes.
- Verify your traces. It runs your app and confirms spans reached your project.
Learn More
- Group traces into conversations — attach
session.idanduser.idto your manual spans to follow multi-turn interactions. See Set up sessions. - Mix auto + manual — let auto-instrumentors handle LLM calls while you keep manual CHAIN and TOOL spans for custom logic. See Combine auto + manual.
- Visualize agent execution — set
graph.node.idandgraph.node.parent_idto render agent graphs in the UI. See Agent trajectory. - Track costs — turn token counts on your LLM spans into per-span and per-trace cost. See Track costs.
- Configure for production — switch to
BatchSpanProcessor, add resource attributes, route to multiple projects. See Configure your tracer. - Mask sensitive data — hide PII in inputs/outputs before spans leave your app. See Mask and redact data.
- Scale with OTEL Collector — centralize routing, handle async context, sample at volume. See Advanced patterns.
FAQs
Q: Do I have to use an SDK that supports OpenInference? A: No; you can use any OpenTelemetry-compatible tracer. But if you instrument using the OpenInference schema (span kinds + attributes) you’ll get better integration (analytics, visualization) in Arize AX. Q: What if I’m capturing sensitive data (PII) in spans or attributes? A: When using manual instrumentation, you must handle masking, redaction, or encryption as appropriate. See Mask and redact data. Q: Why does@tracer.chain raise AttributeError on a tracer returned by arize.otel.register()?
A: register() returns a standard OpenTelemetry tracer provider whose tracers don’t carry the OpenInference decorator methods. Wrap the tracer in OITracer as shown in Enable the decorators.

