I built an AI code review agent in a few hours, here's what I learned
The idea behind an AI code review agent is simple. Listen to PR events, send each diff in the PR to an LLM and ask it to find issues, and then comment on the diff with any issues you find. The hope is that this catches issues that a human missed, improving code quality and stability. There's a lot of these agents on the market right now: GitHub copilot review, Coderabbit, Greptile, Korbit, Qodo, Panto, Diamond, and probably 10 more I haven't heard of. But are these agents actually useful, and if so - how hard is it to make one? We've been using Coderabbit for the past few weeks at Sourcebot and have enjoyed it. A lot of the time it generates suggestions that aren't really related or helpful, but these are outweighed by the few times where it suggests a fix that a human reviewer completely missed. Here's an example of a suggestion it gave us in a PR to add Bitbucket support to Sourcebot. Bitbucket has two different APIs, one for cloud and another for self-hosted. I had incorrectly assum
I built an AI code review agent in a few hours, here's what I learned Pricing Blog Changelog Contact 3k Docs Docs May 6, 2025 May 6, 2025 I built an AI code review agent in a few hours, here's what I learned Trying to understand how difficult it is to build a useful code review agent by building one Michael Sukkarieh The idea behind an AI code review agent is simple. Listen to PR events, send each diff in the PR to an LLM and ask it to find issues, and then comment on the diff with any issues you find. The hope is that this catches issues that a human missed, improving code quality and stabili
Explore this link on the map →saved by
related reading
- If you are good at code review, you will be good at using AI agentsseangoedecke.com
- Best practices for using AI coding Agents | Augment Codeaugmentcode.com
- Your job is to deliver code you have proven to worksimonwillison.net
- Demystifying evals for AI agents \ Anthropicanthropic.com
- Building Effective AI Agents \ Anthropicanthropic.com
- Building Effective AI Agents \ Anthropicanthropic.com
- Best practices for coding with agents · Cursorcursor.com
- Using AI to write better code more slowly | Read the Tea Leavesnolanlawson.com
- How I'm using coding agents in September, 2025 — Massively Parallel Procrastinationblog.fsck.com
- Now – Updates from the Linear teamlinear.app
- Treat Agent Output Like Compiler Output | Skipskiplabs.io
- AI code reviews for complex codebases | cubic | Try free nowcubic.dev