Codex CLI
Codex CLI is OpenAI’s open-source coding agent that runs in the terminal. It can reason about your codebase, make file edits, execute shell commands, and handle multi-step coding tasks autonomously. Respan gives you full observability over every conversation including reasoning, tool calls, and responses — and gateway routing through the OpenAI-compatible Respan endpoint.
Set up Respan
Create an account at platform.respan.ai and grab an API key. For gateway, also add credits or a provider key.
Run npx @respan/cli setup to set up with your coding agent.
Tracing
Gateway
Setup
Prerequisite: Codex CLI must be installed before integrating with Respan.
View your trace
Open the Traces page to see your Codex CLI conversations with reasoning, tool calls, and responses.
Configuration
Customize the integration with flags.
Captured data
Span types
Uninstall
To remove the integration: