# 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 Capabilities](https://docs.sentry.io/product/ai-in-sentry/seer.md#seer-capabilities)

Seer provides three main capabilities to enhance your debugging:

* [**Issue fix**](https://docs.sentry.io/product/ai-in-sentry/seer.md#issue-fix): A collaborative agent skilled at root cause analysis and solving issues
* [**Issue scan**](https://docs.sentry.io/product/ai-in-sentry/seer.md#issue-scan): Automatically scans issues as they come in, feeding additional context to your alerts and automating triage
* [**Automation**](https://docs.sentry.io/product/ai-in-sentry/seer.md#automation): Combines issue fix and scan into a powerful workflow: identifying actionable issues in real time and generating high quality fixes, automatically

### [Issue Fix](https://docs.sentry.io/product/ai-in-sentry/seer.md#issue-fix)

Seer combines all of the relevant context from your code with Sentry's telemetry data to provide a best-in-class issue debugging experience. The workflow consists of three steps:

1. Root cause the issue using Sentry's context and your codebase
2. Identify a solution based on the analysis
3. Generate a code patch that implements the solution and open a PR

For a full product walk-through, see [issue fix](https://docs.sentry.io/product/ai-in-sentry/seer/issue-fix.md).

### [Issue Scan](https://docs.sentry.io/product/ai-in-sentry/seer.md#issue-scan)

Seer is able to automatically analyze issues as they are ingested by Sentry. This initial review is used to:

* Generate an "actionability" score, which indicates how likely it is that a particular issue can be fixed with a code change
* 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

The actionability score is represented in the issue feed by a Seer icon, which indicate issues that are likely straightforward fixes.

### [Automation](https://docs.sentry.io/product/ai-in-sentry/seer.md#automation)

You can use automation to trigger issue scans and fixes. There are three automation settings you can configure:

1. **Automate Issue Scans**: This enables Seer's issue scan functionality
2. **Automate Issue Fixes**: This allows you to customize the degree of automation employed by Seer. For example, setting it to "Highly Actionable and Above" will automatically trigger issue fixes for all of your highly actionable Issues.
3. **Stopping Point for Automatic Fixes**: Seer allows you to customize how far to go with automation. By default, it stops at the solution step, but you can choose to have it go all the way to code changes or even generate PRs automatically.

## [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

## [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. **Enable generative AI features**: Make sure "Show Generative AI Features" is enabled in your [organization settings](https://sentry.io/orgredirect/organizations/:orgslug/settings/#hideAiFeatures)

2. **Set up GitHub Integration**: For issue fix capabilities, [connect your GitHub repositories](https://docs.sentry.io/organization/integrations/source-code-mgmt/github.md).
   * *Optional:* To make Pull Requests with Seer, [configure the Seer GitHub App](https://docs.sentry.io/organization/integrations/source-code-mgmt/github.md#installing-the-seer-github-app).

3. **Configure Settings**: Customize Seer's behavior in your project settings under `Seer Automation`. Seer is enabled by default using these settings:

   * **Automatic issue scans**: Enabled

   * **Automatic issue fixes**: Enabled for highly actionable issues and above

   > **Note**: You can monitor your Seer usage in the [Stats & Usage tab](https://sentry.io/settings/stats/) and can learn more about managing your Seer budget [here](https://docs.sentry.io/pricing/quotas/manage-seer-budget.md).

4. **Start Using**: Look for Seer options in your issue details pages

You can also use Seer for [AI code reviews](https://docs.sentry.io/product/ai-in-sentry/ai-code-review.md) by enabling the [GitHub integration](https://docs.sentry.io/organization/integrations/source-code-mgmt/github.md) and turning on the `Enable AI Code Review` setting in your [organization settings](https://sentry.io/orgredirect/settings/:orgslug/).

## [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).
