---
title: "Agents"
description: "Trace and debug AI agent workflows, conversations, and MCP servers. Monitor agent runs, tool calls, model interactions, token usage, and errors."
url: https://docs.sentry.io/product/agents/
---

# Agents

Sentry helps you understand what's going on with your AI agent workflows. It automatically collects information about agent runs, tool calls, model interactions, and errors across your entire AI pipeline—from user interaction to final response. You can also monitor MCP servers and replay past conversations.

## [Get Started](https://docs.sentry.io/product/agents.md#get-started)

To use Agents, you must have an existing Sentry account and project set up. If you don't have one, [create an account here](https://sentry.io/signup/).

Learn how to [set up Sentry for Agents](https://docs.sentry.io/product/agents/getting-started.md) and [name your agents](https://docs.sentry.io/product/agents/naming.md) so they're identifiable in the dashboard.

## [Example Use Cases](https://docs.sentry.io/product/agents.md#example-use-cases)

* Your AI agent is failing silently during tool execution, and you want to trace the complete agent flow to identify where it's breaking.
* Users report that your AI agent is returning unexpected or malformed responses, and you need to debug the full context of prompts, model calls, and outputs.
* Your AI agent workflows are experiencing performance issues, and you want to identify which steps (model calls, tool usage, or custom logic) are causing bottlenecks.

## [Related Features](https://docs.sentry.io/product/agents.md#related-features)

[![](https://docs.sentry.io/ai/img/IconCompass.svg)](https://docs.sentry.io/product/agents/conversations.md)

### [Conversations](https://docs.sentry.io/product/agents/conversations.md)

[Replay past conversations with your AI assistants. See every message and tool call in a chat-like view.](https://docs.sentry.io/product/agents/conversations.md)

[![](https://docs.sentry.io/ai/img/IconCode.svg)](https://docs.sentry.io/product/agents/mcp.md)

### [MCP Monitoring](https://docs.sentry.io/product/agents/mcp.md)

[Trace and debug your MCP server implementations. Monitor tool executions, resource access, and client connections.](https://docs.sentry.io/product/agents/mcp.md)

## Pages in this section

- [Set Up](https://docs.sentry.io/product/agents/getting-started.md)
- [AI Agents Dashboards](https://docs.sentry.io/product/agents/dashboards.md)
- [Naming Your Agents](https://docs.sentry.io/product/agents/naming.md)
- [Model Costs](https://docs.sentry.io/product/agents/costs.md)
- [Sampling Strategies](https://docs.sentry.io/product/agents/sampling.md)
- [Data Privacy](https://docs.sentry.io/product/agents/privacy.md)
- [Conversations](https://docs.sentry.io/product/agents/conversations.md)
- [MCP Servers](https://docs.sentry.io/product/agents/mcp.md)
