Skip to content

open-code-review

Command-line AI code reviewer that checks Git diffs with your own LLM endpoint

Permissive (OSI) · Apache-2.0 AI-native
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

83

Health

Thriving

Overview

Stars

55,929

Last commit

today

Nov 2026

Repository age

6 months

since May 2026

Latest version

v1.14.3

Nov 2026

Contributors

–

45 active in 90 days

Releases

25

last 12 months

Language

Go

Open Code Review is a Go command-line tool that reviews code changes with a large language model. It reads your Git diff and sends the changed files to a model you configure. An agent with tool access can read full files, search the codebase and look at other changed files for context. It then writes structured review comments tied to specific lines.

The tool began as an internal review assistant at Alibaba and is now open source under Apache-2.0. A separate command, ocr scan, reviews whole files or directories, which helps when you audit code that has no meaningful diff.

Its design pairs fixed engineering logic with the agent. Code, not the model, decides which files get reviewed and how related files are grouped. The project reports that, with the same model, it reaches higher precision than a general-purpose agent while using about one ninth of the tokens. Recall is lower. It runs on Linux and macOS and installs through Homebrew.

Who it's for

Teams adding automated review to CI

A CLI with line-level comments and lower token use suits pipelines where cost and latency matter.

Skip if: You want a hosted review service with no model endpoint to configure.

Developers auditing unfamiliar codebases

The scan command reviews entire files and directories without needing a diff.

Skip if: You need broad recall over fewer false alarms, since this tool favors precision.

Engineers comparing AI review tools

The project publishes a benchmark built from 200 real pull requests across 10 languages.

Skip if: You only use Windows, as the listed platforms are Linux and macOS.

The problem it solves

Reviewing every pull request by hand is slow, and general-purpose AI agents often skip files or report wrong line numbers. This tool fixes file selection in code and uses the model for the review itself.

Strengths

  • Reads Git diffs and posts line-level review comments
  • Agent can open full files and search the repository for context
  • ocr scan reviews whole files or directories without a diff
  • Uses about one ninth of the tokens of a general-purpose agent, per its benchmark
  • Apache-2.0 license with frequent releases

Trade-offs

  • Needs a configured LLM endpoint, so model costs still apply
  • Recall is lower than general-purpose agents by design
  • Command-line only, with no web interface
  • Project started in 2026, so its track record is short

Frequently asked questions

Is it free?

The tool is open source under Apache-2.0. You pay for whatever model endpoint you connect to it.

Which platforms does it run on?

It runs on Linux and macOS as a CLI, and a Homebrew formula is available.

Can it review code without a diff?

Yes. The ocr scan command reviews entire files or directories.

Which model does it use?

You configure the model endpoint yourself.

Similar tools in AI coding assistants

Tabby (tabbyml/tabby)

AI coding assistants

Self-hosted AI coding assistant for teams that keep code and models on-prem

34k 1.8k 5 months ago Dormant Apache-2.0 + open core

Replaces GitHub Copilot

Codex CLI

AI coding assistants

Command-line AI coding assistant for developers who work in the terminal

136k Apache-2.0

Orca

AI coding assistants

Desktop workspace for running several coding agents in parallel git worktrees

135k 8.7k today Thriving MIT

cc-connect

AI coding assistants

Bridge local AI coding agents to chat apps like Slack, Telegram and Discord

16k 1.8k today Thriving MIT

pi (pi-2)

AI coding assistants

MIT-licensed AI coding assistant with a very large open source following

123k MIT