Agent Review
Agent Review runs a dedicated code review on your local changes from inside Cursor.
Setup
To configure Agent Review:
- Open Cursor Settings
- Go to Agents
- Find Agent Review and configure your preferences
Starting in Cursor 3.11, this setting moves to Git & PRs > Pull Requests.
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-reviewin 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.
| Depth | Speed | Cost | Best for |
|---|---|---|---|
| Quick | Fast | Low | Small diffs, formatting changes, or a fast sanity check |
| Deep | Slow | High | Complex logic, security-sensitive code, or large refactors |