CH 13 · Code Review and Security Agents · 01/10
Read as one pageCode Review and Security Agents
Cursor's Bugbot and security agents review pull requests behind a short prompt backed by heavy infrastructure and independent checks.
10 slides · 6 min read
In this chapter
- 01Bugbot: an agent wired into the pull request
- 02Cursor's security agents and the 15-line prompt
- 03The lesson: an agent cannot mark its own homework
- 04The agentic supply chain
- 05Why it matters
- 06How it works: a review agent with an independent check
- 07Code MVP: a two-tier PR review agent
- 08Connecting to the bigger picture
- 09Key takeaways
The harness you have built is general. This chapter looks at the first big class of specialized agents deployed in the real world: agents that review code. They are interesting for builders because they are simple agents on top of serious infrastructure, and because they teach the single most important lesson about trusting agent output. Two systems anchor the chapter: Cursor's Bugbot (a general PR reviewer) and Cursor's four security agents (analyzed by Snyk).
Finished this idea?
Your learning progress stays in this browser.