Open Code Review
Tool : A precise action the AI can call
Alibaba's code review tool: deterministic rules to frame the work, an agent to understand the code, and comments placed at the exact line.
Most AI reviews leave everything to the model. Open Code Review separates the roles. The deterministic part picks the files, groups them into review units, applies per-language rules and checks the location of each comment. The agent handles context and judgment. The tool can be used from the command line, in a GitHub or GitLab CI pipeline, as a skill in Claude Code or Codex, or through an MCP server. Its benchmark, published by the project itself, reports better precision than Claude Code at the cost of lower recall, a deliberate choice to limit noise.
Security reflects where data goes, requested permissions and incidents on record at the verification date. It is not a guarantee of zero risk: check the deployment mode and the connections you enable.
What it does, concretely
When you hand a code review to a general-purpose agent, three problems keep coming back: on large changes some files are skimmed or skipped, comments sometimes land on the wrong line, and quality shifts with the wording of the instructions. Open Code Review, built by Alibaba, starts from the idea that a purely language-driven approach lacks hard constraints on the review process.
In practice, the tool reads Git diffs and splits the work. The deterministic part picks the files to review, bundles related ones (for example two translation files), applies the rules suited to each file and checks where each comment lands. Each bundle is reviewed by a sub-agent with isolated context, which can read full files, search the codebase and inspect other changed files. The "ocr scan" command also reviews whole files, which helps when auditing an unfamiliar codebase.
The tool began as Alibaba's internal review assistant before being opened to the community. You use it from the command line (Windows, macOS, Linux) or as a skill in Claude Code, Codex, Cursor or Kimi Code. The project publishes a benchmark (AACR-Bench, 200 Pull Requests, 10 languages): with the same model, it reports higher precision than Claude Code and about nine times fewer tokens, but a lower recall.
It suits developers and teams who want few, well-placed comments, including in a CI pipeline. It fits less well if you want to catch as many defects as possible and accept sorting through noise, or if you are not comfortable with Git and the terminal: the tool requires Git 2.41 or later and a configured model, except in delegation mode.
What it offers
- ·Deterministic selection of the files to review and to filter out, so no important change is missed.
- ·Bundling of related files into review units, each handled by a sub-agent with isolated context, with parallel review possible.
- ·Review rules matched to each file's characteristics through a template engine rather than plain natural-language guidance.
- ·External positioning and reflection modules that improve the accuracy of comment location and content.
- ·An agent that can read full files, search the codebase and inspect other changed files to judge with context.
- ·An "ocr scan" command to review whole files or directories, with no Git diff to analyze.
- ·Delegation mode: your coding agent (Claude Code, Codex, Cursor, Kimi Code) performs the review within Open Code Review's framework, with no model configuration on the tool side.
- ·Structured JSON output and resuming of an interrupted review through sessions.
In practice
- Price
- Free
- Commercial use
- Commercial use: yes
- Available on
- cli, claude-code, codex, cursor, opencode
- FR interface
- No
Security and data
- Rating
- Security: one caveat, see the card
- Your data
- Local or cloud depending on use
- Maintenance
- Active
- Last release
- 30 November 2026
Links and repository checked on 30 November 2026 · added on 30 November 2026
How to install Open Code Review
npm install -g @alibaba-group/open-code-review