Install
Setup
Usage
Passhooks to the OpenAI Agents SDK Runner:
Multi-agent handoffs
When one agent delegates to another,on_handoff records a handoff span
that links the two agents in the trace tree:
Decorator pattern
For individual tool functions, use the decorator:What gets traced
| Field | Value |
|---|---|
tool_name | Function name or tool object name |
server_name | "openai-agents" (configurable) |
latency_ms | Auto-computed from start/end |
status | success, error, or timeout |
error | Exception message on failure |
agent_name | Agent that invoked the tool |
span_type | tool_call for tools, handoff for agent delegation |