# Open Code Review

> Open Code Review (\`ocr\`, v1.13.0, October 2026) began as Alibaba's internal reviewer. It reads Git diffs or whole files, bundles related files, matches built-in rules and has an LLM agent write line-level comments, with GitHub Actions, GitLab CI and Gerrit integrations plus plugins for Claude Code, Codex and Cursor. Apache-2.0. You bring the model: any OpenAI/Anthropic-compatible API, a local Ollama model, or delegation to your coding agent. Not a hosted bot with a dashboard; it runs as a CLI.

- Repository: https://github.com/alibaba/open-code-review
- Official docs: https://open-codereview.ai/docs
- Checked: 2026-10-15

## What it replaces
- CodeRabbit: Automated pull-request review comments, Review before pushing (CLI or IDE) (partial). Line-level review in CLI and CI with your own model; no hosted PR chat, summaries or test generation.

## Facts, with sources

| Question | Status | Answer | Source | Checked |
|---|---|---|---|---|
| Runs on my machine? | Confirmed | Yes, CLI on your machine or in your own CI | https://github.com/alibaba/open-code-review#readme | 2026-10-15 |
| Code licence | Confirmed | Apache-2.0 | https://github.com/alibaba/open-code-review/blob/main/LICENSE | 2026-10-15 |
| Model weights licence | Confirmed | No bundled weights; depends on the model you configure | https://github.com/alibaba/open-code-review#readme | 2026-10-15 |
| Commercial use | Confirmed | Yes, Apache-2.0 | https://github.com/alibaba/open-code-review/blob/main/LICENSE | 2026-10-15 |
| Paid services needed? | Partial | An LLM is required, but a local Ollama model works; paid APIs optional | https://open-codereview.ai/docs/configuration | 2026-10-15 |
| Hardware | Unknown | Not documented; depends on the model (local models need tool-calling support) | none found | - |
| Operating systems | Confirmed | macOS, Linux and Windows (PowerShell installer, npm or release binaries) | https://open-codereview.ai/docs/installation | 2026-10-15 |
| Setup effort | Confirmed | Easy, npm install -g @alibaba-group/open-code-review (needs Git 2.41+) | https://github.com/alibaba/open-code-review#install | 2026-10-15 |

GitHub: 47442 stars, 3456 forks, last push 2026-10-16, archived: no.
---
Source: RepoQuarry (https://repoquarry.dev/projects/open-code-review). Data licence: CC BY 4.0. Quotes are from project documentation and belong to their authors.
