New Integration (BETA): Add support for openai-agents (#4437) by @antonpirker
We can now instrument AI agents that are created with the OpenAI Agents SDK out of the box.
import sentry_sdk
from sentry_sdk.integrations.openai_agents import OpenAIAgentsIntegration
# Add the OpenAIAgentsIntegration to your sentry_sdk.init call:
sentry_sdk.init(
dsn="...",
integrations=[
OpenAIAgentsIntegration(),
]
)
For more information see the OpenAI Agents integrations documentation.
dict arguments (#4478) by @AbhiPrasad_wrap_configure (#4479) by @szokeasaurusrextracerite (#4494) by @sentrivanaLookupErrors gracefully (#4481) by @sentrivanaFetched March 31, 2026