Set Up
Learn how to set up Sentry Agent Tracing
Sentry Agent Tracing helps you track and debug AI agent applications using our supported SDKs and integrations. Monitor your complete agent workflows from user interaction to final response, including tool calls, model interactions, and custom logic.
To use Conversations, set a conversation ID for each chat. Sentry uses the gen_ai.conversation.id attribute to group related AI spans, and some SDK integrations set it automatically.
To start sending AI agent data to Sentry, make sure you've created a Sentry project for your AI-enabled repository and follow one of the guides below:
After setting up, name your agents so they appear as identifiable entries in the AI Agents dashboard.
Don't see your runtime?
You can also instrument AI agents manually by following our manual instrumentation guides.
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").