Install
Setup
OpenAI Agents traces can include prompts, completions, handoffs, guardrails, and tool payloads. Review Data Governance before enabling production traffic.
llm.input_messages.*, llm.output_messages.*, tool.name, tool.parameters, llm.token_count.*).
Caveats
Withoutset_tracing_disabled(True), traces also flow to OpenAI’s hosted dashboard.
Verify
Run oneRunner.run call, then open Raw logs in Agnost. Confirm agent, handoff, guardrail, and LLM spans are present.
Troubleshooting
- Call
set_tracing_disabled(True)if you do not want dual-send to OpenAI’s hosted trace backend. - Confirm
OTEL_EXPORTER_OTLP_HEADERScontainsX-Agnost-Org-ID=<your-org-id>. - Confirm
using_attributeswraps the call you want grouped.
