mrkeyoor.com_
Tue 01 Sept 17:41 UTC
Dev Toolsevaluationupdated 26 Aug 2026

open-code-review review

OpenCodeReview is an AI code-review CLI that selects changed files, groups related code, applies path-specific rules, gives an LLM tools to inspect the repository, and returns line-level findings. It can review working-tree changes, commit ranges, or whole files, and it integrates with CI, MCP, Claude Code, Codex, Cursor, and other coding agents.

+316stars / 7d
Verdict

Our OpenCodeReview checkout could not install because its 0.0.0 package version produced a GitHub asset URL that returned 404 after 12 seconds. Try the v1.10.1 release binary or published npm package instead, then compare its findings with human review on your own changes. The architecture is attractive for controlling file coverage, but model privacy, missed defects, rule maintenance, and agent permissions remain your responsibility.

We ran it

Lab card: what happened when we ran open-code-reviewScreenshot of open-code-review (open-codereview.ai)
Install✗ · 12s
Build
Repo749 files~115,817 lines of source · 10.7 MB · 8 CI workflows

Answers from our run

Does open-code-review build from source?

The dependency install failed, and the project has no separate build step. We cloned commit 0c44f10 into a clean Debian container with 3 CPUs and no project-specific setup.

Who should not use open-code-review?

Repositories whose code cannot be sent to the configured model endpoint: normal mode gives an LLM diffs, full files, searches, and related context.

What are the alternatives to open-code-review?

PR-Agent, reviewdog. Our OpenCodeReview checkout could not install because its `0.

Setup2/5Source install requested a nonexistent v0.0.0 binary
Docs5/5Clear modes, rules, CI, MCP, agent, and provider guides
Community5/521,462 stars, 148 issues and PRs, pushed August 26
Maturity3/5Alibaba history and v1.10.1, but public repo is months old

Discussed on

  1. hnOpen Code Review – An AI-powered code review CLI tool284 points

Who it’s for

Teams that want repeatable AI review before a human approves a change.
Large repositories where deterministic file selection and resumable review sessions are useful.
Developers who need custom review rules tied to paths and file types.
Claude Code, Codex, Cursor, and OpenCode users who want review commands inside their existing agent.

Who it’s NOT for

Repositories whose code cannot be sent to the configured model endpoint: normal mode gives an LLM diffs, full files, searches, and related context.
Teams looking to replace human review: the project's own benchmark description says its recall is lower than a general-purpose agent, which means defects can be missed.
Hosts below Git 2.41: the README makes that version a prerequisite for diff generation, search, and repository operations.
Users installing straight from the measured checkout: its package identified itself as version 0.0.0 and requested a release asset that returned HTTP 404.
Organizations enabling MCP tools without a permission review: external tools expand what the review agent can access and call.

Setup reality

Our commit 0c44f10 checkout failed during npm installation after 12 seconds. Its install script read version 0.0.0 from package.json, requested opencodereview-linux-amd64 from GitHub release v0.0.0, and received HTTP 404. No build or test step ran.

A released installation also needs Git 2.41 or newer and either an LLM provider endpoint and key or delegation to a configured host agent. CI integrations add repository tokens and permissions; MCP extensions bring their own service credentials.

The 10.7 MB checkout contained 749 files and about 115,817 source lines. It has 8 CI workflows, no Dockerfile, and no top-level tests directory. Current v1.10.1 release binaries exist for Linux, macOS, and Windows, but our run measured the supplied source commit only.

Deterministic file coverage sits around an LLM reviewer

OpenCodeReview reads Git state, decides which files belong in the review, groups related files, matches rules, and then gives an agent tools to retrieve context. Separate logic positions comments and reflects on their content. The model still decides whether code looks wrong, but ordinary software controls which changes it sees and where feedback lands. That split is the project's most interesting idea.

The CLI covers staged, unstaged, and untracked work, branch ranges based on a merge base, individual commits, and full-file scans. Sessions can resume after interruption, and JSON output lets another agent or CI job consume findings without scraping terminal text. This is more purposeful than asking a general coding assistant to review everything and hoping its context budget reaches every file.

What happened when we ran it

Our sandbox cloned commit 0c44f10 with 3 CPUs and 8 GB of RAM. The 10.7 MB repository contained 749 files and about 115,817 lines of source. npm started the project's install script, but installation failed with exit code 1 after 12 seconds. We did not reach a build or test command.

The installer detected Linux on amd64 and read version 0.0.0 from package.json. It constructed a GitHub URL for release v0.0.0 and asset opencodereview-linux-amd64; GitHub returned HTTP 404. That sequence is explicit in the log. It does not show a network outage, missing compiler, or incompatible dependency, so none of those explanations belongs in the finding.

Our scan found 8 CI workflow files, no Dockerfile, and no top-level tests directory. The current GitHub release is v1.10.1 and contains platform binaries, but that does not rewrite the measured commit's failed source install. A prospective user should test the published npm package or download a checksummed release asset rather than assume npm install in a checkout follows the same path.

Normal mode sends repository context to a model endpoint

OpenCodeReview needs a configured LLM unless delegation mode hands model work to an existing coding agent. The interactive configuration selects a provider and model, records an API key, and tests connectivity. During review, the agent can read full files, search the codebase, and inspect related changes. That context improves findings and may also include proprietary source, secrets committed by mistake, or regulated material.

Provider approval should cover more than the diff shown in a pull request. Check the endpoint, retention terms, regional processing, model logging, and which repository paths the agent may read. A custom compatible endpoint can keep traffic inside an approved environment. Delegation avoids a separate OCR provider key, but the host agent's model and permissions still decide where code goes.

MCP can extend the reviewer with external tools. This warrants its own allowlist because a code review rarely needs every service available to a developer's general agent. Restrict tools to read-only operations where possible, keep production credentials out of the review process, and preserve the final JSON so a human can see what evidence supported each comment.

Lower recall makes human review part of the design

Alibaba publishes AACR-Bench, built from real pull requests across several languages and annotated issues. The README says OpenCodeReview improves precision and F1 over a general-purpose Claude Code setup with the same underlying model, while using fewer tokens and finishing faster. It also states that recall is lower, described as a deliberate preference for fewer noisy findings.

We did not reproduce that benchmark, so its performance claims should be read as project-reported results, not MrKeyoor measurements. The disclosed recall tradeoff is still useful. Higher precision can make developers pay attention because fewer comments waste their time. Lower recall means a quiet report cannot certify that the change is safe. Human review, tests, type checks, security scanners, and linters keep their jobs.

Custom rules can focus model attention on null handling, concurrency, injection risks, project conventions, or path-specific concerns. They can also fossilize outdated assumptions. Treat rules like code: assign owners, test them against examples, review changes, and remove guidance that the language or framework already enforces more reliably.

Integrations make it portable across agents and CI

The project supplies a Claude Code plugin, Codex and Cursor skills, OpenCode tools, a portable agent skill, and delegation commands. In delegated mode, OpenCodeReview resolves files and rules while the host agent performs the reasoning. That lets a team retain deterministic selection without buying another model route, though results will follow the host model and its context behavior.

CI guides cover GitHub Actions, GitLab CI, GitFlic CI, and Gerrit. Automated posting needs careful permissions: read repository contents, publish only to the intended change, and avoid allowing untrusted pull-request code to capture tokens. Start by saving JSON as an artifact or advisory check. Make comments blocking only after the false-positive and missed-defect rates are known on your repositories.

Version 1.10.1 is active despite the broken source path

GitHub recorded 21,462 stars, 148 combined open issues and pull requests, and a last push on August 26, 2026. The public repository was created May 18, 2026, while the README says the tool grew from two years of internal Alibaba use. Public governance and compatibility history are therefore young even if the underlying review approach predates the repository.

Release v1.10.1 shipped August 26 with Objective-C rules, MATLAB allowlisting, model-session fixes, delegation compatibility work, timeout forwarding, GPT-5.6 support through the Responses API, signal exit behavior, and a separate contract workflow. That same-day release and issue activity show active maintenance. They also show how quickly models, agents, platforms, and rule catalogs can change under a review pipeline.

OpenCodeReview deserves a controlled evaluation for teams frustrated by generic agents skipping files or drifting comment positions. Use a real v1.10.1 distribution, point it at an approved model, and score it against already-reviewed changes before CI enforcement. Our 12-second install failure blocks a recommendation for source checkout setup, while the deterministic shell around the model remains worth testing.

Alternatives

ProjectWhat it isPick it when
PR-AgentAn AI pull-request assistant for review, description, questions, and code suggestions across Git platforms.pick this instead when pull-request automation and hosted-platform workflows matter more than a local diff CLI.
reviewdogA non-AI framework that turns trusted linter output into code-review comments.pick this instead when deterministic static-analysis findings are preferable to model judgment.

What people are saying

  1. [github-trending] alibaba/open-code-review

Sources

  1. OpenCodeReview README
  2. OpenCodeReview repository facts
  3. OpenCodeReview v1.10.1 release
  4. AACR-Bench dataset

More dev tools reviews

workmux · v2rayNG · SecLists · hashcat · eslint · fastfetch · the whole board →