git diff | ./review
Code Review on the Diff, Nothing Leaves.
Local ai code review puts a model in front of every diff before a colleague sees it. It catches the mechanical mistakes, misses the architectural ones, and never sends the patch anywhere.

Of all the ways to use a coding model, review is the one we trust most, because the model does not write anything. It reads a diff and comments. A wrong comment costs a minute of a reviewer's time; a wrong line of code costs an incident. This page is the review entry under the page on local ai code quality.
What It Is Good At

Mechanical things, consistently. A missing null check. An off-by-one in a loop bound. A function that returns in one branch and falls through in another. Inconsistent error handling with the rest of the file. Unused imports, a misleading variable name, a comment that no longer matches the code. A model reads every line with the same attention, including the eleventh file in a large pull request, where a tired human has stopped reading.
What It Is Bad At
Anything that needs the whole system. It does not know that this service is called from a cron job at midnight and that the new lock will deadlock it. It does not know the invariant that lives in another repository. It also tends to produce comments that are true but not useful ("consider adding documentation"), and a review tool that spams such comments gets ignored within a week. Tune the prompt to ask only for bugs and security issues, and to stay silent otherwise.
The Setup

A review bot is a small program that triggers on a pull request, pulls the diff plus a little surrounding context, sends it to a local model endpoint and posts the answer as a comment. It runs on your own CI runner or a team server, so the diff crosses your own network and nothing else. A mid-sized model with a long context window does noticeably better than a small one here, because a diff without its surroundings is hard to judge.
For the surrounding context to be useful, the model needs to read parts of the repository beyond the diff, which raises the questions of indexing and secrets that we handle in our guide to ai on private codebase.
Keep the Human
The model is the first reviewer, never the only one. Its best effect is indirect: when the mechanical findings are already handled, the human reviewer spends their attention on design, naming and whether the change should exist at all. That is the review you were short of before.

Prove it on your documents.
Every engagement starts the same way: we run the system on a sample of your own files, under NDA/DPA, and hand you a written report with the scores, misses included. No commitment.