Skip to main content
Available via: OpenTelemetry auto-instrumentation (Python). This is not a Zespan SDK wrapper — see Send traces from any OTel-instrumented app for how the underlying endpoint works.
OpenAI’s Agents SDK has its own built-in tracing model (agent runs, handoffs, guardrail checks, tool calls). OpenInference’s openinference-instrumentation-openai-agents package bridges that tracing model onto standard OpenTelemetry spans, so it flows through the same /v1/traces endpoint as everything else.

Installation

Setup

What gets captured

Agent runs, tool calls, and handoffs between agents map to Zespan’s agent/tool span kinds via the standard OpenTelemetry GenAI semantic conventions — a multi-agent handoff chain shows up as one connected trace, the same shape as Google ADK or CrewAI traces.
OpenAI Agents SDK’s own model calls (to gpt-4o etc.) are captured as part of this same instrumentation — you don’t need wrapOpenAI/patch_openai separately for agent runs built with this SDK.