Skip to main content

Command Palette

Search for a command to run...

Agent

Agent Review

Agent Review runs a dedicated code review on your local changes from inside Cursor.

Setup

To configure Agent Review:

  1. Open Cursor Settings
  2. Go to Agents
  3. Find Agent Review and configure your preferences

Agent Review also reads repository rules from BUGBOT.md files. To set up these rule files, see BugBot docs.

You can set it to run automatically after every agent task, or leave it manual and trigger it yourself.

Running a review

There are three ways to start a review:

  • Automatic: When enabled in settings, Agent Review runs after every commit is made.
  • Slash command: Type /agent-review in the agent window input to trigger a review on demand.
  • Source Control tab: Open the Source Control tab and run Agent Review to compare all local changes against your main branch. This catches issues across your full set of changes, not only the latest edit.

Review depth

Agent Review supports two depth levels. Choose based on the thoroughness of review you need.

DepthSpeedCostBest for
QuickFastLowSmall diffs, formatting changes, or a fast sanity check
DeepSlowHighComplex logic, security-sensitive code, or large refactors