Cursor Bugbot is Cursor’s pull request reviewer: it comments on bugs, security issues and code quality problems in the diff, and runs on every PR update unless you change that (Bugbot docs). Connect your Git provider under Integrations in the Cursor dashboard, then comment bugbot run to trigger a review by hand. It bills by usage since May 2026, not $40 per seat, with an average run of $1.00 to $1.50 (Cursor blog).
Applies to: Cursor’s Bugbot documentation and help article as read on November 24, 2026; /review-bugbot needs Cursor 3.7 or later. Last checked: November 24, 2026.
On this page
Set up Bugbot
- Open the Integrations tab of the Cursor dashboard and connect your repository provider. Cursor documents setup for GitHub (including Enterprise Server), GitLab (including Self-Hosted), Bitbucket (including Data Center), Azure DevOps Services and Origin (Bugbot docs).
- Open Bugbot in Automations to choose which repositories it reviews.
- Open or update a pull request. Bugbot comments with an explanation and a suggested fix, and each finding has a Fix in Cursor and a Fix in Web link (Bugbot help).
Defaults differ by provider. On GitHub, connecting turns Bugbot on for the repositories you grant access to, except when someone who is not a team admin connects an enterprise team or a team that already has Bugbot on. On GitLab, Bitbucket, Azure DevOps and Origin you turn it on per repository. A member who cannot change the setting sees Request access, which emails the team admins a one-click link; the repository stays off until an admin enables it (Bugbot docs).
Trigger a review by hand
| Comment on the PR | What it does |
|---|---|
cursor review or bugbot run | Starts a review now. Bugbot ignores the command when a bot account or GitHub App posts it. |
cursor review verbose=true or bugbot run verbose=true | Same review, plus a table of every rule used in the run, with any rule that was truncated or omitted flagged, and a request ID for support. |
@cursor remember [fact] | Saves the fact as a learned rule for future reviews. |
@cursor push <sha> | Applies an Autofix commit on a stacked PR (see Autofix below). |
Source: Bugbot docs. If Bugbot does not review your PR, Cursor’s troubleshooting order is: run verbose mode, check that Bugbot has repository access in Automations, and confirm the provider integration is installed and enabled for the repository.
What Bugbot skips
- Large PRs. Bugbot skips a PR above its default review-size limit, measured in changed lines and diff characters, and asks you to split it. A skipped run records no review usage.
- Generated files. Files marked
linguist-generatedin.gitattributesare left out and do not count toward the size limit. - Credential files. Bugbot does not read the contents of paths that look like
.env,id_rsa,*.pem,credentials.json,*.tfvarsor Terraform state. Templates such as.env.exampleare reviewed normally, and so is source code that hardcodes a key. - Bot-authored PRs. A per-team cap limits reviews on PRs opened by bot accounts, repeat reviews of the same PR included.
Source: Bugbot docs.
Write BUGBOT.md rules
Put a .cursor/BUGBOT.md file in the repository. Bugbot always includes the root file, and for each changed file it walks upward and includes any nested .cursor/BUGBOT.md it finds on the way:
project/
.cursor/BUGBOT.md # Always included (project-wide rules)
backend/
.cursor/BUGBOT.md # Included when reviewing backend files
api/
.cursor/BUGBOT.md # Included when reviewing API files
frontend/
.cursor/BUGBOT.md # Included when reviewing frontend files
Cursor’s own example of a rule asks for tests when backend code changes (Bugbot docs):
If the PR modifies files in {server/**, api/**, backend/**} and there are no changes in {**/*.test.*, **/__tests__/**, tests/**}, then:
- Add a blocking Bug titled "Missing tests for backend changes"
- Body: "This PR modifies backend code but includes no accompanying tests. Please add or update tests."
- Apply label "quality"
Two details trip people up. Project rules in .cursor/rules/*.mdc do not apply to Bugbot runs, so a repository that already has Cursor rules still needs a BUGBOT.md (see Cursor rules, .mdc and AGENTS.md for the other file type). And rules have size limits.
| Limit | Value |
|---|---|
| One rule | Truncated at 30,000 characters |
Each .md or .mdc file linked from a BUGBOT.md | Counts as its own rule, with its own 30,000-character limit, loaded once |
| All rules in one review | 100,000 characters combined; required team rules are kept first |
Three rules of maximum length already take 90,000 of the 100,000 characters, so a long rule set needs to be split and trimmed. Run bugbot run verbose=true to see what was cut.
When several kinds of rules apply, Bugbot merges them in this order: team rules (set by admins in Automations), project BUGBOT.md files including nested ones, learned rules, then manual rules (Bugbot docs).
Learned rules. Bugbot learns from your team’s activity: it learns when a pull request is merged or closed, posts nothing on the PR, and each learning run counts toward usage like a review. The Automatically Learn Rules switch is per organization. Where that switch exists, turning it off also stops manual rules from applying (Bugbot docs).
Settings: dashboard, personal and bugbot.yaml
Teams set a repository to run only once per PR, and members can override settings for their own PRs: run only when mentioned, run only once, or review draft PRs. On public repositories, the Public repositories switch decides whether automatic reviews cover PRs from outside contributors and bots. It is on for teams created before October 22, 2026 and off for teams created after, unless an admin changed it; it does not affect manual bugbot run reviews (Bugbot docs).
A repository can also carry its own settings in .cursor/config/bugbot.yaml. Every field is optional, and this is the file from Cursor’s documentation:
# .cursor/config/bugbot.yaml
version: 1
triggers:
drafts: false
frequency: everyPush # everyPush | oncePerPr
review:
effort: default # low | default | high | smart
smartPrompt: ""
incremental: true
prSummary:
mode: comment # disabled | description | comment
riskScore: true
autofix:
mode: disabled # disabled | newBranch | existingBranch
Bugbot reads this file from the branch the PR merges into, not from the PR branch, so a PR cannot change how it is reviewed; Cursor suggests CODEOWNERS to control who edits it. Files over 64 KB are ignored. The order of precedence is the PR author’s personal overrides, then the YAML file, then team and organization settings from the dashboard. The YAML can lower the Autofix mode but not turn Autofix on when the dashboard has it off (Bugbot docs).
Effort levels
| Level | What Cursor says |
|---|---|
| Low | Optimizes for cost, with quality close to Default; cheaper and slower |
| Default | Optimizes for efficiency and speed; less expensive, but may find fewer bugs |
| High | More reasoning; more expensive and slower, may find more bugs |
| Smart | You describe when to use Low, Default or High; Cursor picks from your instructions plus the PR title, author, repository name and diff, not the PR description, labels or BUGBOT.md |
Cursor’s May 2026 post says Default keeps the earlier behaviour, with 80% of the bugs it identifies resolved by merge time, and that High finds 35% more bugs in Cursor’s internal runs while the resolution rate stays at 80% (Cursor blog). Effort levels exist only on usage-based Bugbot plans (Bugbot docs).
Run Bugbot before you push
/review-bugbot and /review run Bugbot from your agent, on Cursor 3.7 or later, on cursor.com/agents and in the Cursor CLI (see Cursor CLI). By default /review-bugbot reviews every change against the base branch, committed or not; ask it to review only uncommitted changes for a narrower pass. It stores the patch ID of the reviewed diff, so when you open a PR with the same diff, Bugbot on your Git provider skips the remote review and leaves a comment saying it already reviewed it (Bugbot docs).
Autofix
Autofix starts a Cloud Agent to fix findings, pushes the fix and comments on the PR. Modes are Off, Create New Branch (Cursor’s recommendation) and Commit to Existing Branch, which is capped at 3 attempts per PR to prevent loops.
| Provider | Create New Branch | Commit to Existing Branch |
|---|---|---|
| GitHub, Origin | Yes | Yes |
| GitLab, Bitbucket | No | Yes |
| Azure DevOps | No | No |
On a stacked PR (base branch is not the default branch), GitHub and Origin deliver the fix on a new branch that you apply with @cursor push <sha>; GitLab and Bitbucket skip stacked PRs. Autofix needs additional usage (prepaid credit, or on-demand usage on a legacy plan) and storage enabled, meaning not Legacy Privacy Mode, and it bills Cloud Agent credits at your plan rates (Bugbot docs; for the agents it starts, see Cursor Cloud Agents).
What Bugbot costs
Cursor announced on May 11, 2026 that Bugbot was moving from $40 per seat per month to usage-based billing for Teams and Individual plans. For existing customers it starts at the next renewal after June 8, 2026, so an annual plan bought in May 2026 changes in May 2027 (Cursor blog). Each review is billed once, to the team or personal account that has Bugbot on for the repository, whoever wrote the PR; learning runs use Bugbot usage too. Bugbot first uses your included usage, then bills additional reviews from prepaid credit, or from on-demand spend on a legacy Cursor plan (Bugbot docs).
On Cursor’s pricing page, checked November 24, 2026, the row “AI code reviews via Bugbot” is empty for Free and Plus and ticked from Premium ($30 per month) up through Super, Ultra, Teams and Enterprise. For the tiers themselves see Cursor AI pricing and the Cursor Teams Standard seat listing.
Two calculations from Cursor’s published average of $1.00 to $1.50 per run. Real runs vary with PR size, so treat them as a budgeting starting point:
| Question | Arithmetic | Result |
|---|---|---|
| How many runs equal the old $40 seat? | $40 / $1.50 and $40 / $1.00 | About 27 runs at $1.50, 40 runs at $1.00 per month |
| A team opens 20 PRs a week with 3 pushes each, reviewed on every push | 60 reviews x $1.00 to $1.50 | $60 to $90 a week |
Same team, frequency: oncePerPr | 20 reviews x $1.00 to $1.50 | $20 to $30 a week |
Because Bugbot runs on every PR update by default, the trigger setting is the lever you control first. Incremental review, which is on by default, reviews only the changes since the previous Bugbot review; Cursor does not give a per-run price for it, so the table above uses the average for every review.





