Set Up Agents

Learn how to set up Sentry Agent Tracing

Sentry Agent Tracing helps you track and debug 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 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 setup, send an agent request and open Explore → Agents to verify that its data arrived. Then name your agents so you can identify and filter them.

Was this helpful?
Help improve this content
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").