Send Sentry bugs to Cursor for a fix PR

Sentry’s Seer can hand a bug report to Cursor, which analyzes the context, writes a fix, and drafts a pull request.

Done with Cursor· Intermediate

What they did
A developer installed the Cursor Agent integration inside Sentry and added a Cursor API key. They also changed Seer’s handoff point so it would stop after root-cause analysis and pass the problem to Cursor. From there, Cursor Cloud Agent got the traces, breadcrumbs, user-facing impact, the RCA, and the live codebase, and it could be started either from the issue view or on its own.
How it went
The workflow can leave an issue in pull-request form after the agent runs type checks, lint, and tests. The post did not report any performance numbers, and it also gave no figures for cost or success rate.
Tips
Set the automation per project in Seer settings so only the issues you want are queued. It’s a good idea to review the proposed changes and PR copy before allowing the handoff to proceed.

Try it yourself with Cursor

Use the Sentry report [issue link or ID] in [repo name] to diagnose the bug from the stack trace, breadcrumbs, recent commits, and user impact. Propose the smallest fix that addresses the root cause, add a test that fails first and then passes with the change, and draft a pull request summary. Stop and ask for my approval before any branch is pushed, a pull request is opened, or anything else irreversible happens.

Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.

Get 3 agent uses like this every morning

With the day's top AI news. Free, and one click to unsubscribe.