Open Code Review is an AI code review CLI you run locally or in CI with your own LLM. An open-source alternative to Qodo, CodeRabbit, Greptile and Bugbot.
Open Code Review is an open-source AI code review CLI. According to the project, as of 17.11.2026, it can also run in CI (including a GitHub Action, GitLab CI, and other documented pipelines) and post review comments on pull requests. It is not a hosted GitHub App.
You install a single command, ocr, and point it at a Git repository. According to the project, it can look at uncommitted work, at a branch compared with main, at a single commit, or at whole files without a diff; we ran only a branch range. According to the project, the tool decides which files to include and groups related files together, and a language model then reads each group and writes the findings, which you get in the terminal or as a JSON file. The project describes this split as fixed engineering steps for file selection and rule matching, with the model left to the parts that need judgment.
The CLI has no model inside. In native mode you must configure an LLM endpoint. Alibaba DashScope / Qwen is one of the built-in providers, not a requirement. In delegation mode the host coding agent uses its own model and authentication, and a separate Open Code Review API key is not required, according to the project's README.
According to the project's README, as of 17.11.2026, it originated as Alibaba Group's internal AI code review assistant and was later released as an open-source project.
An open-source alternative to CodeRabbit, Qodo, Greptile and Bugbot — with the limits above. We have not compared features or review quality.
The difference is in where the review runs and who supplies the model. Hosted reviewers come with their own model and their own service. With Open Code Review you run the CLI yourself, on a laptop or a CI runner, and you decide which model it talks to: a cloud provider with your own API key, or an OpenAI-compatible endpoint you host, such as a local Ollama server. That suits teams that want review comments without connecting a vendor's app to their repositories, and that are ready to set up the model and the pipeline themselves.
It also works before a pull request exists. You can run it on local changes while you are still coding, which is a different habit from waiting for a bot in the pull request. See Open-Source Alternatives to Qodo, Greptile and for other options in the catalog.
PATH; ocr version reported v1.13.11. The only prerequisite in the documentation is Git 2.41 or later.qwen2.5:0.5b on a CPU), the review did not work: after ten minutes and 97 model calls it ended with a timeout and no comments. The project's FAQ explains why: the model must support native tool calling, and ours did not call the tools. We had no API key for a cloud provider and did not try a larger model, so this page says nothing about how useful or accurate its reviews are.ocr review. You need an API key for a cloud provider or your own endpoint, and the model must handle tool calls. Delegation mode avoids a separate key but relies on a coding agent you already use; we did not test it.OCR_NO_UPDATE=1 to turn that off. The release binary does not check for updates.Is Open Code Review open source? Yes. The repository is licensed Apache-2.0, as stated in its LICENSE file for version 1.13.11. It also contains some third-party files under other licenses, such as MIT-licensed icons; this does not change the project's license.
Is it a GitHub App like CodeRabbit or Bugbot? No. There is no ready-made GitHub App. It is a CLI that you can run in CI, including as a GitHub Action, according to the project. If you want comments from your own bot account, the documentation describes how to create your own GitHub App.
Do I need an API key? For native mode, yes, or your own endpoint. You can choose a cloud provider with your own key, or your own compatible API endpoint such as a local Ollama server; the model must support native tool calling. In delegation mode a coding agent you already use runs the model, according to the project's README.
Can I run it with a local model? The connection works: we connected it to a local Ollama server and the built-in connection test passed. A useful review needs a model with native tool calling; the small model in our test did not call the tools, and the review returned no comments.
Is it an Alibaba product? According to the project's README, as of 17.11.2026, it originated as Alibaba Group's internal AI code review assistant and was later released as an open-source project. The repository is hosted under the Alibaba organization on GitHub. According to the project, as of 17.11.2026, you do not need an Alibaba Cloud account to use it. open-source.store is not affiliated with Alibaba.
Open Code Review vs Qodo, CodeRabbit, Greptile or Bugbot: which should you choose? We have not compared them, and we did not get a review from Open Code Review in our test. Choose it if you want to run the reviewer yourself, in the terminal or your CI, with a model you pick. Stay with a hosted service if you need something we have not checked, such as a managed app, or if you need a review-quality comparison we have not done.
Choose Open Code Review if you want an open-source AI code review CLI that runs on your machine or in your CI and talks to a model you choose. It installs as one binary and connected to a local model in our test. We could not confirm the reviews themselves: with a small local model the review produced nothing, and we did not try a cloud model. Test it with a model that supports tool calling on your own repository before you put it in your pipeline. For other open-source reviewers in the catalog, see Kodus and Pullfrog; we have not compared them with Open Code Review.
We installed Open Code Review 1.13.11 from the official Linux binary in a disposable Debian 13 container on Nov 17, 2026, checked the SHA-256 sum and connected it to a local Ollama server. The connection test passed. A review with the small model
qwen2.5:0.5breturned no comments because the model did not make tool calls, so this checks installation and the model connection, not review quality. Cloud providers, CI, macOS and Windows were not tested.
| Version | 1.13.11 |
| Install size | one binary, 59 MB |
| Memory used | CLI about 40–69 MiB during a review (the local model server used about 1.6 GiB) |
| Tested on | Debian 13 x86_64 · Docker 29.9.3 (disposable container) · Git 2.47.3 · Ollama 0.40.16 |
| Tested | Nov 17, 2026 |
Requirements: Git 2.41 or later; a model endpoint — a cloud provider with your API key, or a local endpoint such as Ollama with a model that supports native tool calling (or delegation mode, not tested).
opencodereview-linux-amd64 and sha256sum.txt, then:
sha256sum -c sha256sum.txt --ignore-missing
sudo install -m 0755 opencodereview-linux-amd64 /usr/local/bin/ocr
ocr version # open-code-review v1.13.11 (0f5a284) linux/amd64
ocr config provider, then ocr config model. For a local Ollama server as an OpenAI-compatible provider:
ocr config set provider ollama
ocr config set custom_providers.ollama.url http://127.0.0.1:11434/v1
ocr config set custom_providers.ollama.protocol openai
ocr config set custom_providers.ollama.model <model-with-tool-calling>
ocr config set custom_providers.ollama.api_key <any-non-empty-value>
ocr config set model <model-with-tool-calling>
ocr llm test # expect "Connection test successful"
Ollama ignores the key, but the setting must not be empty. If the test warns that the tool-call round trip is unverified, pick another model: reviews will not work without tool calls.ocr review --from main --to HEAD --preview lists the files that would be reviewed, without calling the model.ocr review --from main --to HEAD --format json --output result.json.npm install -g @alibaba-group/open-code-review (set OCR_NO_UPDATE=1 to stop self-updates), Homebrew, the install script on the project site, release binaries for macOS and Windows, or a build from source.Notes: in a container, Git may refuse a mounted repository owned by another user; git config --global --add safe.directory <path> fixes it. In our setup the CLI container could not reach the Ollama container over a custom Docker network, so we used host networking. To remove the binary: delete /usr/local/bin/ocr. Removing the configuration and updating were not tested.
CodeRabbit, Qodo, Greptile, Bugbot, Alibaba, Qwen, DashScope, OpenAI, GitHub Copilot, Cursor, Claude Code and other product names mentioned on this page are trademarks of their respective owners. open-source.store is not affiliated with them.
Lint, codegen, breaking-change checks and dependency management in one Git-native CLI. Open source, no registry lock-in.
Show that Open Code Review is listed as an open-source alternative. Paste into your README: