Open Code Review
Open Code Review is Alibaba's Apache-2.0 AI code review CLI (ocr), used internally by tens of thousands of Alibaba developers before it was open-sourced. It reads Git diffs and sends changed files to an agent that can read whole files, search the codebase and inspect related changes, then posts structured line-level comments; deterministic pipelines and a built-in multi-language ruleset catch issues like null-pointer risks, thread safety, XSS and SQL injection, and ocr scan reviews whole files or folders without a diff. It works with any OpenAI- or Anthropic-compatible model endpoint.
Updated
✨ Try AgentScout's free AI image generator →Good for: writing code, reviewing pull requests, coding in the terminal, research, working with documents
Use cases
About Open Code Review
Open Code Review is listed in our coding category and is aimed at builders. Open Code Review is Alibaba's Apache-2.0 AI code review CLI (ocr), used internally by tens of thousands of Alibaba developers before it was open-sourced. It reads Git diffs and sends changed files to an agent that can read whole files, search the codebase and inspect related changes, then posts structured line-level comments; deterministic pipelines and a built-in multi-language ruleset catch issues like null-pointer risks, thread safety, XSS and SQL injection, and ocr scan reviews whole files or folders without a diff. It works with any OpenAI- or Anthropic-compatible model endpoint. Pricing, as the maker states it: Open source. Maturity: Mature. We last checked the official link on 2026-12-01.
What is Open Code Review?
Open Code Review is an AI-powered code review CLI. It began as Alibaba Group's internal AI code review assistant and was later released as open source.
It reads Git diffs and sends changed files to a configurable LLM through an agent that can read full files and search the codebase, then writes structured review comments with line-level precision. An ocr scan command reviews whole files for audits.
Sources: the official README and our directory listing, checked 2026-10-18. Official site: open-codereview.ai.
Who is Open Code Review for?
Engineering teams that want automated, line-level AI code reviews on their own model endpoint, run from the command line or CI.
Open Code Review at a glance
- Open source: Yes (Apache License 2.0)
- GitHub: alibaba/open-code-review · 57,895 stars (as of Dec 2, 2026)
Key features
- Reviews Git diffs with line-level comments
- Agent can read files, search the codebase and inspect related changes
- Works with a configurable model endpoint
- ocr scan for full-file audits
- Originated as Alibaba's internal review assistant
Open Code Review FAQ
What is Open Code Review?
Open Code Review is an AI-powered code review CLI. It began as Alibaba Group's internal AI code review assistant and was later released as open source.
Who is Open Code Review for?
Engineering teams that want automated, line-level AI code reviews on their own model endpoint, run from the command line or CI.
Is Open Code Review free?
Open Code Review's pricing, as the maker states it: Open source. Open-source tools are free to use, though you may still pay for model API usage or a hosted plan. Check the official site for current plans.
Is Open Code Review open source?
Yes. Open Code Review is released under the Apache License 2.0, according to its GitHub repository.
What are alternatives to Open Code Review?
Similar tools include Gemini CLI, Cline, Aider, Greptile, PR Lens and Semble.
Open Code Review ratings and reviews
Be the first to rate Open Code Review: tap 1 to 5 stars below. A written review is optional.
Open Code Review alternatives
Compare 10 Open Code Review alternatives side by side →
Other coding tools in our directory. See all coding tools →
Gemini CLI
Gemini CLI is Google's Apache-2.0 open-source terminal agent that brings Gemini models into your shell to read code, edit files and run commands. As of June 18, 2026 it is aimed at Gemini Code Assist Standard/Enterprise and Code Assist for GitHub users; free individual access and Google AI Pro/Ultra plans moved to Antigravity CLI, and the project says it is not tuned for the Gemini 4 series.
Cline
Cline is an Apache-2.0 open-source coding agent that runs as a VS Code extension, a JetBrains plugin, a macOS and Windows desktop app, a CLI (npm i -g cline, interactive or headless for CI) and an SDK for building your own agents. It creates and edits files, runs commands, browses the web and uses MCP tools with human-in-the-loop approval for each step, and works with the model provider of your choice.
Aider
Aider is an Apache-2.0 AI pair programmer in your terminal: you start a new project or work in an existing repo, and it edits files across 100+ languages using a map of your whole codebase, then commits each change to git with a sensible message. It works with Claude, DeepSeek, OpenAI models and almost any other LLM, including local models, and also supports voice input, images and web pages as context and linting and testing after each edit.
Greptile
AI code reviewer that reads your whole codebase to review pull requests and catch bugs before merge.
PR Lens
PR Lens helps people review code that agents wrote. For each pull request it draws animated architecture and data-flow diagrams inside the PR, showing which parts of the app were added, changed or removed, what else depends on the change and how a request now moves through the system. It also flags likely bugs, security holes and design problems in the same review comment, with a ready prompt to hand each fix to your coding agent or an autofix. The open-source core runs locally and installs as an agent skill.
Semble
Fast code search for agents that uses far fewer tokens than grep and file reads.