# Open Code Review

> AI code review CLI combining deterministic pipelines with an LLM agent for line-level comments

Source: https://talira.ai/catalog/open-code-review-76gcpwpg
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool, Agent skill
- Categories: [developer tools / ai coding / code review](https://talira.ai/categories/developer-tools/ai-coding/code-review)
- Platforms: macos, linux, windows[^1]
- Licence: Apache-2.0[^2]
- Pricing: Free and open source[^2]
- Pricing notes: Free and open source; you pay your own model provider unless you use delegation mode.
- Free tier: yes[^2]
- Self-hostable: yes[^3]
- Supports: [MCP](https://talira.ai/standards/mcp.md)[^4], [Agent Skills](https://talira.ai/standards/agent-skills.md)[^3]
- Backed by: [Alibaba Group](https://talira.ai/orgs/alibaba.md)

Open Code Review (`ocr`) is an AI code review CLI that began as Alibaba Group's internal review assistant. It reads Git diffs, selects and bundles the changed files with deterministic rules, matches review rules to each file, and runs an LLM agent with code-review tools that reads files and searches the codebase before writing line-level comments. `ocr scan` reviews whole files without a diff. It works with OpenAI- and Anthropic-compatible model endpoints, or in delegation mode lets a coding agent such as [Claude Code](https://talira.ai/catalog/claude-code-jqv5000a.md) or Codex do the review under its pipeline, through agent skills and plugins.

## Links

- Website: https://open-codereview.ai/
- GitHub: https://github.com/alibaba/open-code-review
- Docs: https://open-codereview.ai/docs

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/open-code-review>[^1]

## Problems it solves

- AI agents reviewing big pull requests skip files and miss changes
- line numbers in AI review comments don't match where the problem actually is
- review quality from my prompt-based code review skill changes every run
- I want automated code review that flags null pointer, thread-safety, XSS and SQL injection bugs
- run an AI code review on my branch from the terminal before I open a PR
- get line-level review comments on a diff using my own OpenAI or Anthropic API key
- use my existing Claude Code or Codex subscription to do structured code reviews without another API key
- audit an unfamiliar codebase file by file when there is no diff to review
- AI code review in CI that costs fewer tokens than a general-purpose agent
- self-hosted AI code reviewer for GitHub Actions or GitLab CI with a model we choose
- give the code reviewer access to our tickets and internal docs through MCP
- custom review rules targeted to specific paths in the repo

## Features

- Reviews Git diffs: workspace changes, branch ranges or single commits
- Full-file scan mode (ocr scan) for code without a meaningful diff
- Deterministic file selection and bundling, with each bundle reviewed by an isolated sub-agent
- Template-based review rules matched to each file, customisable with path filtering
- Built-in multi-language ruleset covering NPE, thread-safety, XSS and SQL injection
- Separate comment-positioning and reflection modules for line-level accuracy
- OpenAI- and Anthropic-compatible providers, configured interactively
- Delegation mode: the host coding agent performs the review within OCR's pipeline
- Agent skills and plugins for Claude Code, Codex, Cursor, Kimi Code and OpenCode
- Connects to external MCP servers to give the review agent extra tools
- CI integrations for GitHub Actions, GitLab CI, GitFlic CI and Gerrit
- JSON output, resumable sessions and a browser session viewer
- OpenTelemetry telemetry

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.32 out of 1.
Signals: backing 0.30, extensibility 0.20.

- backed by Alibaba Group

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [CodeRabbit](https://talira.ai/catalog/coderabbit-qaedtb3s.md): Trust everything you ship with CodeRabbit
- [CodeRabbit CLI](https://talira.ai/catalog/coderabbit-cli-rq6hkd2s.md): AI code reviews for your local Git changes
- [Greptile](https://talira.ai/catalog/greptile-7m5bjnmd.md): The AI Code Reviewer
- [DeepSource](https://talira.ai/catalog/deepsource-fd2qg7dz.md): AI code review platform that combines static analysis with AI review agents
- [PR-Agent](https://talira.ai/catalog/pr-agent-e90hh6xe.md): An open-source AI agent that describes, reviews and improves pull requests.
- [Qodo](https://talira.ai/catalog/qodo-3xqcz848.md): Code review for agents. Governance for humans.

## Sources

[^1]: https://github.com/alibaba/open-code-review/blob/main/pages/src/content/docs/en/installation.md (checked 22 Nov 2026)
[^2]: https://github.com/alibaba/open-code-review/blob/main/LICENSE (checked 22 Nov 2026)
[^3]: https://github.com/alibaba/open-code-review (checked 22 Nov 2026)
[^4]: https://github.com/alibaba/open-code-review/blob/main/pages/src/content/docs/en/mcp.md (checked 22 Nov 2026)
