Sentry + Linear integration for AI bug fixes with Cyrus

Sentry + Linear integration for AI bug fixes with Cyrus
Connor Turland·November 25, 2026·

When Sentry spots a new error, you can have it create a Linear issue and assign it directly to Cyrus. Cyrus picks up the issue in Linear, investigates the connected codebase, and can open a GitHub pull request with a proposed fix. Your team reviews the change and decides whether to merge it. That lets support start a bug investigation from Linear without waiting for an engineer to pick up the ticket.

What you need before creating the alert

Assign a small test issue to Cyrus from Linear first. Check that activity appears on the issue and that Cyrus is working in the expected repository.

How to automatically create and assign Linear issues from Sentry

  1. In Sentry, go to Monitors → Alerts → Create Alert. Under Source, choose Alert on all issues in selected projects and pick the project for your service.
  2. Choose your environment. Start with one project and one environment so you can see which issues reach Linear before expanding the rule.
  3. Under When, keep A new issue is created for this workflow. Add an If filter if your project also receives errors you would typically leave out of the bug queue.
  4. Under Then, select Linear. Open Action Settings for Create a Linear issue. Pick the Team first, then set Assignee to Cyrus [Agent].
  5. Choose a label and status that fit your team's bug queue, such as Bug and Todo. If you track these issues in a Linear project, select it here. Save the action settings and create the alert once you've checked its scope.

The Sentry alert builder guide explains the source, triggers, filters, and throttling controls.

How a Linear issue becomes a GitHub pull request

Verify the workflow with one known, newly grouped issue in a non-production environment. Open the Linear issue and check that it links back to Sentry, is assigned to Cyrus, and shows a Cyrus session. If Cyrus proposes a change, follow the PR to GitHub and check its diff, tests, and CI results. A session may end with an investigation or a request for more context when the alert doesn't give the agent enough to make a defensible change.

We've used Cyrus to investigate errors from our own Sentry queue. One agent-authored PR changed how our error reporting handled objects that were showing up in Sentry as [object Object]. The patch preserved the message from the original error object and was merged after review. In a separate case, an agent opened a PR to filter expected cancellation errors from package searches. That PR was closed without being merged. Our Linear and Claude Code guide also describes an earlier Sentry error that went from a Linear issue to a tested patch.

A proposed fix is the start of review. Check that the change addresses the failure, especially if the diff changes which errors get reported. After merging and deploying a fix, check the affected release in Sentry for recurrence.

How customer support can kick off a bug fix

A support teammate can add reproduction steps, expected behavior, and the impact to the Linear issue. They can follow the investigation there and answer questions from Cyrus without handing off the initial work in a separate chat. An engineer can review a concrete diff when there is one, with the customer's symptoms and the original error still linked from the ticket.

For a busy Sentry project, start by having alerts create unassigned Linear issues. Use a label that does not trigger auto-assignment. Let support or triage choose which issues to assign to Cyrus. That gives your team a way to add context and see which errors are good candidates before assigning an entire alert stream to the agent.

Frequently asked questions

Do I need Sentry Seer to get AI bug fixes in Linear?

No. This setup uses Sentry's issue-tracking integration to create the Linear issue and Cyrus to investigate the code and open a PR when it has a change to propose. If you'd prefer to start with Sentry's telemetry, the Sentry Agent for Linear brings Seer's root-cause analysis and suggested fixes into the issue. Seer Autofix can also generate a fix or hand work off to a supported coding agent.

Why can't I find my Linear team or Cyrus in Sentry?

The Sentry integration supports public Linear teams within your workspace. If your team is private, it won't appear. Once you've selected the destination team in Sentry's Action Settings, open the Assignee picker. We confirmed that Cyrus [Agent] appeared after this selection in a connected workspace. If you still can't find it, verify that Sentry is connected to the same Linear workspace as Cyrus and that Cyrus is available to the team. Try assigning an existing issue to Cyrus in Linear to check that a session starts.

Can I trigger a fix with a Linear label?

Yes. Set a label on the Sentry alert's Linear action and configure that same label for Cyrus auto-assignment on the destination team. Leave the alert's Assignee empty if you use this route. The label triggers Cyrus when an unassigned issue is created. For an existing issue, assign it directly to Cyrus or mention the agent in a comment.

Does completing the Linear issue resolve the Sentry issue?

Yes. Linear's native integration resolves linked Sentry issues when the Linear issue is completed. If your team wants to check that the error stopped after deployment, keep the ticket open until you've done that. Linear's Sentry docs explain the status sync.

If you already have Sentry sending issues to Linear, follow the Cyrus Linear setup guide and try assigning one of those issues to Cyrus before editing your alert rule.

Team of engineers preparing a rocket for launch - Ship your next feature with Cyrus
Trusted by product teams at Retool, Gamma, TinyFish, and more

Break free from the terminal

As your Claude Code powered Linear agent, Cyrus is capable of accomplishing whatever large or small issues you throw at it. Get PMs, designers and the CEO shipping product.

Sentry + Linear integration for AI bug fixes with Cyrus | Cyrus