Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ Sentry SDK repositories use AI code review tools to catch bugs, enforce standard

## Sentry Seer

<Alert level="warning" title="Code Review Ends December 8">
Seer Code Review is deprecated and will be removed on December 8, 2026.
Automatic reviews and `@sentry review` stop on that date. Autofix will still
come with Seer.
</Alert>

Seer is Sentry's own AI platform. Its AI Code Review feature analyzes pull request diffs to predict errors, highlight potential bugs, and suggest improvements. It provides line-by-line comments, code summaries, risk assessments, and can even generate unit tests.

https://docs.sentry.io/product/ai-in-sentry/seer/code-review/
Expand All @@ -22,7 +28,6 @@ https://docs.sentry.io/product/ai-in-sentry/seer/code-review/

These checks are configured as optional so they don't block merges during service disruptions.


## BugBot

BugBot is Cursor's AI code review bot, enabled on some Sentry repositories. It analyzes PR diffs and leaves comments with explanations and fix suggestions, detecting logic bugs, security issues, and code quality problems.
Expand All @@ -36,7 +41,6 @@ https://cursor.com/bugbot

BugBot suggestions should be treated as recommendations, not blocking requirements — accuracy is still evolving and false positives can occur.


## Warden

[Warden](https://warden.sentry.dev/) runs AI-powered skills against code changes — locally before you push, or automatically on pull requests in CI.
Expand All @@ -63,7 +67,6 @@ SDK repos have consistency requirements that are hard to enforce through code re

See the [Warden guide](https://warden.sentry.dev/guide) for installation, local usage, and CI integration via the Warden GitHub Action. For a reference example, see [sentry-python's `warden.toml`](https://github.com/getsentry/sentry-python/blob/master/warden.toml).


## Tips for New Engineers

- **Don't ignore AI reviews, but don't blindly follow them either.** Read the suggestions, apply what makes sense, and dismiss false positives.
Expand Down
1 change: 0 additions & 1 deletion develop-docs/sdk/getting-started/ai-tools/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ This section covers the AI tools available to SDK engineers, how they layer toge
| **[AGENTS.md](/sdk/getting-started/templates/agents-md/)** | Always-loaded repo instructions | Every SDK repo — sets the baseline for all AI contributions |
| **[Skills](/sdk/getting-started/ai-tools/skills/)** | Portable AI playbooks | Encode repeated workflows once, run them consistently |
| **[dotagents](/sdk/getting-started/ai-tools/skills/#dotagents)** | Skills package manager | Share and version-lock skills across the team |
| **[AI Code Review](/sdk/getting-started/ai-tools/code-review/)** | AI-powered PR feedback | Every PR — surfaces issues before human review |
| **[Sentry MCP Server](https://docs.sentry.io/ai/mcp/)** | Live Sentry data in your LLM client | Bring Sentry issues and Seer analysis into your coding session |
| **[Sentry CLI](https://docs.sentry.io/ai/sentry-cli/)** | Natural-language issue management | List, inspect, and triage issues from the terminal or an agent |
| Rules files | Workflow-specific instructions | Fixed conventions that vary by task or directory |
Expand Down
8 changes: 4 additions & 4 deletions docs/ai/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ keywords:

## AI In Sentry

Looking for Sentry's AI-powered debugging features? Sentry uses AI to help you debug faster with Autofix, fix suggestions, and AI-powered PR reviews. [Learn more about AI In Sentry](/product/ai-in-sentry/), or chat with [Seer Agent](/product/ai-in-sentry/seer/#seer-agent) to start debugging.
Looking for Sentry's AI-powered debugging features? Sentry uses AI to help you debug faster with Autofix and fix suggestions. [Learn more about AI In Sentry](/product/ai-in-sentry/), or chat with [Seer Agent](/product/ai-in-sentry/seer/#seer-agent) to start debugging.

<LinkCardGrid>
<LinkCard
Expand All @@ -80,10 +80,10 @@ Looking for Sentry's AI-powered debugging features? Sentry uses AI to help you d
className="w-full md:w-[calc(50%-12px)]"
/>
<LinkCard
href="/product/ai-in-sentry/seer/code-review/"
href="/product/ai-in-sentry/seer/#seer-agent"
iconSrc="/ai/img/IconSeer.svg"
title="Seer - Bug Prediction / AI Code Review"
description="Get error predictions and code reviews on your pull requests before merging."
title="Seer Agent"
description="Investigate errors and performance issues in natural language, then archive issues or create dashboards, monitors, and alerts from Sentry or Slack."
className="w-full md:w-[calc(50%-12px)]"
/>
<LinkCard
Expand Down
19 changes: 9 additions & 10 deletions docs/get-started/cookbook/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,15 @@ Use the cookbook when you want to:

## Featured recipes

| Recipe | Outcome | Time |
| --- | --- | --- |
| [Monitor Claude Code with Sentry](https://sentry.io/cookbook/monitor-claude-code-with-sentry/) | Track Claude Code usage, errors, and cost | ~15 min |
| [Monitor AI agent costs (Next.js)](https://sentry.io/cookbook/monitor-ai-agent-costs-nextjs/) | Catch agent spend and failures in one place | ~20 min |
| [Debug with Sentry MCP + Claude Code](https://sentry.io/cookbook/debug-with-sentry-mcp-claude-code/) | Pull production issues into your coding agent | ~15 min |
| [AI Code Review with Seer](https://sentry.io/cookbook/ai-code-review-seer/) | Review PRs with Sentry context | ~15 min |
| [Fix Sentry issues from Slack](https://sentry.io/cookbook/fix-sentry-issues-from-slack/) | Triage and open fixes without leaving Slack | ~15 min |
| [Setup Supabase log drain monitoring](https://sentry.io/cookbook/setup-supabase-log-drain-monitoring/) | Forward Supabase logs into Sentry | ~10 min |
| [Fix user feedback with Cursor agents](https://sentry.io/cookbook/fix-user-feedback-with-cursor-agents/) | Turn feedback into actionable fixes | ~15 min |
| [Install the Sentry plugin for coding agents](https://sentry.io/cookbook/install-sentry-plugin-coding-agent/) | Land a first fix from your agent | ~10 min |
| Recipe | Outcome | Time |
| ------------------------------------------------------------------------------------------------------------- | --------------------------------------------- | ------- |
| [Monitor Claude Code with Sentry](https://sentry.io/cookbook/monitor-claude-code-with-sentry/) | Track Claude Code usage, errors, and cost | ~15 min |
| [Monitor AI agent costs (Next.js)](https://sentry.io/cookbook/monitor-ai-agent-costs-nextjs/) | Catch agent spend and failures in one place | ~20 min |
| [Debug with Sentry MCP + Claude Code](https://sentry.io/cookbook/debug-with-sentry-mcp-claude-code/) | Pull production issues into your coding agent | ~15 min |
| [Fix Sentry issues from Slack](https://sentry.io/cookbook/fix-sentry-issues-from-slack/) | Triage and open fixes without leaving Slack | ~15 min |
| [Setup Supabase log drain monitoring](https://sentry.io/cookbook/setup-supabase-log-drain-monitoring/) | Forward Supabase logs into Sentry | ~10 min |
| [Fix user feedback with Cursor agents](https://sentry.io/cookbook/fix-user-feedback-with-cursor-agents/) | Turn feedback into actionable fixes | ~15 min |
| [Install the Sentry plugin for coding agents](https://sentry.io/cookbook/install-sentry-plugin-coding-agent/) | Land a first fix from your agent | ~10 min |

## Browse all recipes

Expand Down
8 changes: 8 additions & 0 deletions docs/integrations/notification-incidents/slack/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@ For metric issues, a chart of the metric's history will be included in the alert

## Seer Agent

<Alert level="warning" title="Seer Billing Changes December 8">
On December 8, 2026, Seer moves from active-contributor pricing to usage-based
credits. Instead of tracking repository commits, manage your [Seer
Wallet](https://sentry.io/orgredirect/organizations/:orgslug/settings/billing/overview/)
in organization settings to add funds, set a daily spend limit, and turn Seer
on or off.
</Alert>

<Alert>

This feature is currently in open beta. Please reach out on [GitHub](https://github.com/getsentry/sentry/discussions) if you have feedback or questions. Features in beta are still in-progress and may have bugs. We recognize the irony.
Expand Down
10 changes: 8 additions & 2 deletions docs/integrations/source-code-mgmt/cursor-origin/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ sidebar_order: 1
description: >-
Connect Cursor Origin to Sentry to link stack traces to source code, import
CODEOWNERS, track release commits, resolve issues from commits and pull
requests, and power Seer AI features like Autofix and Code Review.
requests, and power Seer AI features like Autofix.
---

The Cursor Origin integration connects your repositories to Sentry to bring [commit tracking](#commit-tracking) and [stack trace linking](#stack-trace-linking) into the contexts that Sentry uses to help debug issues and power [Seer AI features](#configure-cursor-origin-integration) like Autofix and Code Review. It also supports [resolving issues via commit or pull request](#resolve-via-commit-or-pull-request) and email-based [Code Owners](#code-owners) for automatic issue routing.
The Cursor Origin integration connects your repositories to Sentry to bring [commit tracking](#commit-tracking) and [stack trace linking](#stack-trace-linking) into the contexts that Sentry uses to help debug issues and power [Seer AI features](#configure-cursor-origin-integration) like Autofix. It also supports [resolving issues via commit or pull request](#resolve-via-commit-or-pull-request) and email-based [Code Owners](#code-owners) for automatic issue routing.

This is a source code integration. To launch Cursor Cloud Agents from Sentry, see the separate [Cursor coding agent integration](/integrations/coding-agents/cursor/).

Expand All @@ -28,6 +28,12 @@ After installing, configure code mappings to link stack traces and import CODEOW

If you have added [Seer](/product/ai-in-sentry/seer/) to your organization, you can enable [Issue Autofix](/product/ai-in-sentry/seer/autofix/) and [Code Review](/product/ai-in-sentry/seer/code-review/) in your [organization settings](https://sentry.io/orgredirect/organizations/:orgslug/settings/seer/).

<Alert level="warning" title="Code Review Ends December 8">
Seer Code Review is deprecated and will be removed on December 8, 2026.
Automatic reviews and `@sentry review` stop on that date. Autofix will still
come with Seer.
</Alert>

### Stack Trace Linking

Stack trace linking takes you from a stack frame in Sentry to the corresponding file and line in Origin. With commit tracking configured, Sentry can link to the version associated with the event's release. Otherwise, it uses the branch configured in your code mapping.
Expand Down
9 changes: 8 additions & 1 deletion docs/integrations/source-code-mgmt/github/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,12 @@ Use GitHub to [track commits](#commit-tracking), identify [suspect commits](#sus

If you have added [Seer](/product/ai-in-sentry/seer/) to your organization, you can enable [Issue Autofix](/product/ai-in-sentry/seer/autofix/) and [Code Review](/product/ai-in-sentry/seer/code-review/) in your [organization settings](https://sentry.io/orgredirect/organizations/:orgslug/settings/seer/).

<Alert level="warning" title="Code Review Ends December 8">
Seer Code Review is deprecated and will be removed on December 8, 2026.
Automatic reviews and `@sentry review` stop on that date. Autofix will still
come with Seer.
</Alert>

### Commit Tracking

Commit tracking allows you to hone in on problematic commits. Learn more about [commit tracking](/product/releases/setup/release-automation/).
Expand Down Expand Up @@ -355,7 +361,8 @@ Here, you'll be able to create or link GitHub issues.
To minimize duplication in issue tracking, you can sync comments, assignees, and status updates for Sentry issues to Github issues and vice versa. When you delegate an issue to an assignee or update a status on Github, the updates will also populate in Sentry. When you resolve an issue in Sentry, the issue status will automatically update in Github. When Github issues are marked as closed, you can configure how the corresponding issue in Sentry should be resolved.

<Alert title="Note">
Issue sync is available for organizations on the Team, Business, and Enterprise plans.
Issue sync is available for organizations on the Team, Business, and
Enterprise plans.
</Alert>

To configure Issue sync, navigate to [**Organization Settings** > **Integrations**](https://sentry.io/orgredirect/organizations/:orgslug/settings/integrations/), and click "Configure" next to your Github instance. On the following page, you can configure how you want information to sync between Sentry and Github.
Expand Down
21 changes: 8 additions & 13 deletions docs/integrations/source-code-mgmt/gitlab/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: >-
og_image: /og-images/organization-integrations-source-code-mgmt-gitlab.png
---

The GitLab integration connects your repositories to Sentry to bring [commit tracking](#commit-tracking), [suspect commits](#suspect-commits), [stack trace linking](#stack-trace-linking), and [issue management](#issue-management) into the contexts that help Sentry debug issues and power [Seer AI features](#seer) like Autofix and Code Review. It also supports [resolving issues via commit or merge request (MR)](#resolve-via-commit-or-pull-request) and [Code Owners](#code-owners) for automatic issue routing.
The GitLab integration connects your repositories to Sentry to bring [commit tracking](#commit-tracking), [suspect commits](#suspect-commits), [stack trace linking](#stack-trace-linking), and [issue management](#issue-management) into the contexts that help Sentry debug issues and power [Seer AI features](#seer) like Autofix. It also supports [resolving issues via commit or merge request (MR)](#resolve-via-commit-or-pull-request) and [Code Owners](#code-owners) for automatic issue routing.

## Install

Expand Down Expand Up @@ -43,7 +43,6 @@ Sentry owner, manager, or admin permissions and GitLab owner or maintainer permi
![Configuration modal and Sentry app within GitLab =600x](./img/configuration-modal.png)

1. Fill out the resulting GitLab Configuration form with the following information:

1. The GitLab URL is the base URL for your GitLab instance. If using gitlab.com, enter https://gitlab.com/.

2. Find the GitLab Group Path in your group’s GitLab page. Groups might contain subgroups and projects. You should not specify the URL to any specific project, just to a group or subgroup.
Expand Down Expand Up @@ -87,7 +86,6 @@ Issue tracking allows you to create GitLab issues from within Sentry and link Se
![GitLab logo with Link GitLab Issue text =600x](./../img/global-link-issue.png)

1. You have two options to complete the issue link:

1. In the pop-up, you can fill out the appropriate details in the _Create_ tab, and then click "Create Issue".

![pop-up modal to create issue =600x](./img/gitlab-create-issue.png)
Expand Down Expand Up @@ -162,6 +160,12 @@ With the GitLab integration connected, you can use Seer's AI features, including

**Autofix** analyzes Sentry issues using your GitLab repo code as context and can open a merge request with the proposed fix directly in GitLab.

<Alert level="warning" title="Code Review Ends December 8">
Seer Code Review is deprecated and will be removed on December 8, 2026.
Automatic reviews and `@sentry review` stop on that date. Autofix will still
come with Seer.
</Alert>

**Code Review** reviews your merge requests for potential errors. Trigger it by commenting `@sentry review` on any MR. Automatic reviews also run when a merge request is opened or updated.

<Alert>
Expand All @@ -173,42 +177,33 @@ To set up Seer with GitLab, go to [Seer settings](https://sentry.io/orgredirect/
## Troubleshooting

- Does Seer support GitLab?

- Yes. Autofix and Code Review both work with GitLab.com repositories. Self-hosted GitLab is not currently supported for Seer features.
- Autofix works with GitLab.com repositories. Code Review is deprecated and will be removed on December 8, 2026. Self-hosted GitLab is not currently supported for Seer features.

- I'm using GitLab on-premises. Do I need to allow Sentry's IP addresses?

- Yes. You can find our IP ranges [ here ](/security-legal-pii/security/ip-ranges/).
- Verify the provided installation URL is a fully qualified domain name (FQDN), which is resolvable on the internet.
- Make sure that Sentry's access to your installation URL is not path restricted.
- To add the GitLab repo, navigate to ** GitLab > Admin area > Settings > Network > Outbound requests > Allow requests to the local network from hooks and services ** and enable the option.

- I'm using both GitLab on-premises and self-hosted Sentry, and I get an error `Error Communicating with GitLab (HTTP 422): unknown error` when I try to use the integration. How can I fix this?

- By default, GitLab does not allow Hooks to communicate with the local private network, which prevents the integration with Sentry from working. To enable local network communication in GitLab, enable "Allow requests to the local network from hooks and services" on the **Admin > Settings > Network** page.

- Do you support subgroups?

- Currently, we only support subgroups for users using GitLab 11.6 or higher.

- My repositories are hosted under my user account, not a group account. Can I still use this integration?

- Unfortunately, not. The GitLab integration only works for repositories that are hosted under group accounts.

- Are there pricing restrictions?

- This integration is available for organizations on the [Team, Business, or Enterprise plan](https://sentry.io/pricing/).

- Who has permission to install this?

- You must have both owner/manager/admin permissions in Sentry and owner permissions in GitLab to successfully install this integration.

- Why am I getting a `500` response during installation or configuration?

- First, make sure you’ve allowed our IPs, which can be found [here](/security-legal-pii/security/ip-ranges/). The 500 response is coming from GitLab, so you may need to try again or double-check that your settings and permissions are correct in GitLab. You must have both owner/manager/admin permissions in Sentry as well as owner permissions in GitLab to successfully install this integration.

- Why am I seeing an "Invalid Repository Names" error?

- GitLab takes into account the whitespace before and after the `/` . On the Repositories page ([Organization Settings > Repositories](https://sentry.io/orgredirect/organizations/:orgslug/settings/repos/)), you’ll notice a space (for example, "Owner / Repo" as opposed to "Owner/Repo"), which will need to be included in any command you’re running. If you are using GitLab’s [environment variables](https://docs.gitlab.com/ee/ci/variables/#debug-tracing) to pass the repository as `CI_PROJECT_PATH` in a cURL request for example, it may not include the spaces and you’ll need to hardcode the name in order for it to work.

- Why am I always the reporter?
Expand Down
Loading
Loading