Arize Coding Harness Tracing
Important: certificate security update. Existing installations should update to pip 26.2.2, certifi 2026.10.23, and the latest coding-harness-tracing package. First install Python 3.11 or later, then run the updater:
macOS and Linux:
curl -sSL https://raw.githubusercontent.com/Arize-ai/coding-harness-tracing/main/install.sh | bash -s -- update
Windows Command Prompt:
curl.exe -fsSLo "%TEMP%\arize-install.bat" https://raw.githubusercontent.com/Arize-ai/coding-harness-tracing/main/install.bat
call "%TEMP%\arize-install.bat" update
The updater replaces an older managed Python environment and applies all three updates. See the Python certificate incident notice for details.
The secured pip bootstrap connects directly to files.pythonhosted.org with pip configuration disabled. Environments that depend on pip configuration for a private certificate authority or proxy should use the documented --wheel-dir offline installation path.
Trace AI coding sessions to Arize AX or Phoenix with OpenInference spans. Each harness integration emits spans for prompts, tool calls, model responses, and session lifecycle events.
Claude Code tracing reconstructs each turn as an AGENT span containing per-response LLM spans, correlated TOOL spans, and a foreground subagent AGENT subtree when available. See Claude Code trace structure and current limitations for details.
Quick Start
You need Python 3.11+ and the harness you want to trace. The commands below are the three most common installs on macOS and Linux. Each one downloads the installer, asks where to send spans (Phoenix or Arize AX), then writes credentials to ~/.arize/harness/config.json. For Windows commands and the rest of the supported harnesses, see Supported Harnesses.
Claude Code
curl -sSL https://raw.githubusercontent.com/Arize-ai/coding-harness-tracing/main/install.sh | bash -s -- claude
The installer registers hooks in ~/.claude/settings.json. Start a session with claude, or claude -p "hello". Spans for that session show up in the project you chose.
To install from the Claude marketplace instead:
claude plugin marketplace add Arize-ai/coding-harness-tracing
claude plugin install claude-code-tracing@coding-harness-tracing
That path skips the wizard, so set backend credentials in ~/.claude/settings.json. See Claude Code marketplace.
Codex
curl -sSL https://raw.githubusercontent.com/Arize-ai/coding-harness-tracing/main/install.sh | bash -s -- codex
The installer registers hooks in ~/.codex/config.toml. Codex will not run them until you trust them once: start codex, run /hooks, and approve the arize-harness hook codex entries. Then run a session, for example:
codex exec "explain what this file does" path/to/file.py
Cursor
curl -sSL https://raw.githubusercontent.com/Arize-ai/coding-harness-tracing/main/install.sh | bash -s -- cursor
The installer registers hooks in ~/.cursor/hooks.json, which applies to the Cursor IDE and the Cursor CLI for your user. Use either as usual; agent activity produces spans in the project you chose.
Cursor 2.5+ can install from the marketplace instead. In a Cursor agent chat, run:
/add-plugin Arize-ai/coding-harness-tracing
The plugin skips the wizard. Run the bundled manage-cursor-tracing skill once to write credentials. See Cursor plugin install.
Supported Harnesses