# Seer

Seer is Sentry's AI debugging agent. It uses Sentry's rich context (issue details, tracing data, logs, and profiles) to help you troubleshoot and fix errors and performance issues faster.

## [Seer Summary](https://docs.sentry.io/product/ai-in-sentry/seer.md#seer-summary)

Seer provides end-to-end debugging tools to help you troubleshoot and fix errors and performance issues faster, often before they are even merged:

* [**AI Code Review**](https://docs.sentry.io/product/ai-in-sentry/seer.md#ai-code-review): Have Seer review your code changes in GitHub, catching bugs before merging pull requests.
* [**Root Cause Analysis**](https://docs.sentry.io/product/ai-in-sentry/seer.md#root-cause-analysis): Automatically scans issues as they come into Sentry, feeding additional context to your alerts and automating triage
* [**PR Creation**](https://docs.sentry.io/product/ai-in-sentry/seer.md#pr-creation): A collaborative agent, skilled at root cause analysis and solving issues
* [**Delegate to Background Agents**](https://docs.sentry.io/product/ai-in-sentry/seer.md#background-agents): Send Seer's analysis to Cursor's background agent to debug directly in your IDE

## [Getting Started with Seer](https://docs.sentry.io/product/ai-in-sentry/seer.md#getting-started-with-seer)

To start using Seer's capabilities in your Sentry-enabled projects, follow these steps:

1. Connect to GitHub through the [Sentry GitHub integration](https://docs.sentry.io/organization/integrations/source-code-mgmt/github.md). You can follow the steps in [Seer settings](https://sentry.io/orgredirect/organizations/:orgslug/settings/seer/) to get started. **Note:** Seer can only be integrated with the cloud version of GitHub

2. Select which repositories you want Seer to have access to

3. Select which features to turn on - AI Code Review, Root Cause Analysis, PR generation of fixes

Seer is an add-on to your Sentry subscription. By enabling it, you are signing up for active contributor pricing for this feature. Any person who creates 2 or more PRs in a month in a Seer-enabled project will be billed. You can learn more about Seer pricing [here](https://docs.sentry.io/pricing.md#seer-pricing).

## [Seer Capabilities](https://docs.sentry.io/product/ai-in-sentry/seer.md#seer-capabilities)

### [AI Code Review](https://docs.sentry.io/product/ai-in-sentry/seer.md#ai-code-review)

[AI Code Review](https://docs.sentry.io/product/ai-in-sentry/seer/ai-code-review.md) helps you reviews your code changes, predicting errors and offering suggestions for improvement before merging pull requests. This feature is only available on GitHub.

### [Root Cause Analysis](https://docs.sentry.io/product/ai-in-sentry/seer.md#root-cause-analysis)

Seer is able to automatically analyze issues as they are ingested by Sentry by combining all of the relevant context from your code with Sentry's telemetry data to provide a best-in-class issue debugging experience. This initial review is used to:

* Determine if the issue can be automatically analyzed and fixed using Seer's Root Cause Analysis
* Augment issue alerts with a helpful analysis about the problem
* Add an initial guess for what the potential problem is to the issue details page

Once the Root Cause Analysis has run, Seer will provide remediatiion recommendations.

### [PR Creation](https://docs.sentry.io/product/ai-in-sentry/seer.md#pr-creation)

You can prompt Seer to generate PRs to fix your issue, and push it to GitHub. You can add more context in natural language, or any external supporting information, to help Seer generate a better PR. **Note:** You must install the [Seer GitHub app](https://docs.sentry.io/organization/integrations/source-code-mgmt/github.md#installing-the-seer-github-app) to use this feature.

### [Background Agents](https://docs.sentry.io/product/ai-in-sentry/seer.md#background-agents)

You can send Seer's root cause analysis to Cursor for further debugging directly in your IDE.

## [What Seer Uses](https://docs.sentry.io/product/ai-in-sentry/seer.md#what-seer-uses)

Seer is a powerful debugging agent, with access to a wide variety of data sources and tools. While debugging issues, it may examine:

* **Issue Context**: Error messages, stack traces, and event metadata from your [Issues](https://docs.sentry.io/product/issues.md)
* **Tracing Data**: Distributed [traces](https://docs.sentry.io/concepts/key-terms/tracing.md#whats-a-trace) and span information
* **Logs**: Structured [Logs](https://docs.sentry.io/product/explore/logs.md) from your application (beta)
* **Your Codebase**: Relevant code from linked GitHub repositories, with support for multiple repos for distributed services
* **Performance Data**: Profiles and performance metrics
* **Interactive Feedback**: Your input and guidance during the process

## [Privacy and security](https://docs.sentry.io/product/ai-in-sentry/seer.md#privacy-and-security)

Sentry includes strong guarantees for privacy and security of your data. At a glance:

* Sentry does not train generative AI models using your data by default and without your permission.
* AI-generated output is shown only to you and other authorized users in your account.

You can learn more about our data privacy practices [in the security and legal docs](https://docs.sentry.io/security-legal-pii/security/ai-ml-policy.md#use-of-identifying-data-for-generative-ai-features).

## [Turn Seer Off or On Globally](https://docs.sentry.io/product/ai-in-sentry/seer.md#turn-seer-off-or-on-globally)

If you would not like to show generative AI Features at all in your Sentry account, go to [organization settings](https://sentry.io/orgredirect/organizations/:orgslug/settings/) and turn off the `Show Generative AI Features` toggle.

You can turn specific Seer settings off or on in bulk by going to [Seer settings](https://sentry.io/orgredirect/organizations/:orgslug/settings/seer/) and selecting from the dropdown at the top of the table in each tab.

## Pages in this section

- [ai-code-review](https://docs.sentry.io/product/ai-in-sentry/seer/ai-code-review.md)
- [root-cause-analysis](https://docs.sentry.io/product/ai-in-sentry/seer/root-cause-analysis.md)
