This integration is only for Agent tracing. If you are looking for the OpenAI integration with the AI gateway, please see the OpenAI integration.
Give us a star on GitHub!


Keywords AI agent tracing with OpenAI Agents SDK.
Core concepts:
- Agents: LLMs configured with instructions, tools, guardrails, and handoffs
- Handoffs: Allow agents to transfer control to other agents for specific tasks
- Guardrails: Configurable safety checks for input and output validation
- Tracing: Built-in tracking of agent runs, allowing you to view, debug and optimize your workflows
Quickstart
When you install OpenAI Agents SDK and Keywords AI exporter, implementKeywordsAISpanExporter
in your code to send traces from the OpenAI Agents SDK to Keywords AI.
Prerequisites
If you are on the enterprise platform, please use the enterprise endpoint plus the suffix.
Hello World example
Python
Handoffs example
Python
Functions example
Python