OpenCodeReview

AI code review, on the command line

The comment lands on the line.

A review CLI that reads your git diff, gives the agent tools to open the rest of the file, and returns structured comments anchored to exact lines.

A stated trade-off. The project reports higher precision and lower recall than a general-purpose agent, preferring fewer false alarms over catching everything.

ocr review / payment-service

Illustrative output
41var cache = registry.lookup(tenant);
42return cache.entries().get(key).value();
Line 42 / null dereference

Example of a line-anchored comment, drawn from the tool's stated ruleset rather than a real run.

43}
44shared.put(key, value);
Line 44 / thread safety

The agent can open other changed files for context before it writes a comment.

Code and comments above are illustrative, not a recorded review.
Built-in ruleset covers null dereference, thread safety, XSS and SQL injection.

Deterministic engineering and an agent, together

Fixed

The pipeline

Deterministic steps decide what gets reviewed, so large changesets are not quietly skipped.

Reasoning

The agent

Tool use lets it read full files and search the codebase instead of judging the diff alone.

Beyond the diff

Whole-file scan

ocr scan reviews entire files when there is no meaningful diff to read.