Skip to main content

OpenAI Agents SDK

A dedicated wrapper is on the roadmap. The pattern below uses the public hooks available today.

Pattern

Run the agent inside a telemetry execution and add spans around each tool call.

Tool call detail

Subclass or wrap each function_tool to push a TOOL_CALL span: