mrkeyoor.comAsk

alibaba/open-code-reviewtested 08 Oct 2026commit 182898c

open-code-review review

Our published-package run installed v1.14.0 in 6.5 seconds, then provider setup failed because /dev/tty was unavailable.

  • README install 6.5 s
Failedinstall
  • README usage failed
Dev Toolsevaluationupdated 21 Nov 2026
+1,120stars / 7d

Alibaba's Open Code Review is a command-line AI reviewer that reads code changes and returns comments tied to particular lines. You can configure its own model provider or use a delegation skill with an existing coding agent; English documentation is available.

Verdict

Our published-package run installed v1.14.0 in 6.5 seconds, then provider setup failed because /dev/tty was unavailable. Use Open Code Review if you can manage its model configuration and want inspectable scope and rules alongside human review. Skip it if you need a ready-made mandatory merge gate: Wisk.aero's early CI rollout reports missing features needed for that role.

Infographic on how open-code-review works, its uses, our test result, common pitfalls and who should use it
Tested 21 November 2026: the README command failed with "TUI error: bubbletea: error". Before that: 8 Oct: source install failed; npm install took 6.5 s.

We ran it

Lab card: what happened when we ran open-code-review
Lab card from our sandbox run
Screenshot of open-code-review (open-codereview.ai)
open-codereview.ai
Install✗ · 8s
Build—
Repo956 files~159,965 lines of source · 14.1 MB · 12 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 182898c into a clean Debian container with 3 CPUs and no project-specific setup.

Who should not use open-code-review?

Teams needing an immediately dependable merge gate: Wisk.aero reports missing gating features in its early CI rollout.

What are the alternatives to open-code-review?

Claude Code, GitHub Copilot review, CodeRabbit. Our published-package run installed v1.

Setup3/5In our 2026-11-21 run it installed as the README says in 6.5 s, but the README’s “Quick Start” command failed as written with “TUI error: bubbletea: error opening TTY: bubbletea: could not open TT…”.Editor’s note: The published package installed and ran help, but provider setup stopped at a missing terminal device before any code review completed.
Docs3/5The README has an install section (“1. Install the Skills”) and a usage section (“How to Use”), but its “Quick Start” command failed as written in our 2026-11-21 run (“TUI error: bubbletea: error opening TTY: bubbletea: could not open TT…”).Editor’s note: The CLI reference covers scope and provider controls, but workspace resume and staging guidance conflict with the official skill.
Community5/5Last push on 2026-11-21, 55,040 stars and maintainers answered or closed 10 of the 10 most-discussed issues we sampled.Editor’s note: Named contributors describe local and CI use; these self-reports do not measure adoption, support capacity, or review accuracy.
Maturity3/5Latest release v1.14.0 on 2026-11-21 and repository created 2026-05-18.Editor’s note: Our runs cover installation and configuration boundaries, without completed reviews or a production merge-gating assessment.

How we score

Discussed on

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

Who it’s for

Developers who want inspectable file selection and path-specific review rules.
Teams adding advisory review suggestions to an existing human review process.
Claude Code and other coding-agent users choosing between a separate OCR provider and host-agent delegation.

Who it’s NOT for

Teams needing an immediately dependable merge gate: Wisk.aero reports missing gating features in its early CI rollout.
Developers expecting several matching user rule files to combine automatically: maintainers declined that behavior in #1177.
Teams requiring a strict billing ceiling from a token-budget flag: the documented budget behavior permits a final submission round.
Headless jobs relying on the interactive provider selector: our container could not open /dev/tty.

Setup reality

Our October 8 source install at 182898c failed in 8 seconds with exit 1: scripts/install.js read version 0.0.0 and its release-binary URL returned HTTP 404. The sandbox configuration was 3 CPUs, 8 GB RAM, image lab-node:22. In our November 21 run, the published v1.14.0 npm package installed in 6.5 seconds and occupied 62.2 MB; version and help commands succeeded.

Native mode needs an OCR model provider configured separately from your coding-agent login. Delegation uses the host agent's model without separate OCR credentials. The official skill documents provider and model configuration followed by ocr llm test.

The November container had 2 CPUs, 4 GB RAM, no secrets, and no published ports. Its Quick Start command ocr config provider failed in 0.1 seconds because /dev/tty was unavailable. That was an interactive-terminal failure after installation. Neither image label proves an actual runtime version.

The package installed; provider setup stopped at the terminal

Our November run installed the published package in 6.5 seconds, then provider setup failed because /dev/tty was unavailable. Use Alibaba's Open Code Review if you want configurable review assistance and can own the provider configuration, scope rules, and failure handling. Skip it if you need a ready-made mandatory merge gate: snemetz at Wisk.aero reports missing features needed for gating.

OCR is a command-line tool that reads changes, gathers surrounding code, and asks a model for line-level findings. Its attraction is the part you can inspect before paying for a review: preview lists selected files and exclusion reasons without running the model. Start there. A clean-looking report is useful only after you know which changes it covered.

Alibaba's repository and npm package identify the right OCR

Alibaba's official open-code-review GitHub repository is alibaba/open-code-review, and its npm package is @alibaba-group/open-code-review. Our installed CLI printed that repository URL with version v1.14.0. Those identifiers matter because another Open Code Review project uses @open-code-review/cli, ocr init, and ocr dashboard. Copying that project's onboarding into an Alibaba guide would send you down the wrong path.

The English CLI reference documents workspace, commit, and branch-range reviews, plus ocr scan for complete files. The official skill distinguishes native review from open-code-review-delegate, which uses your coding agent's model. Decide which mode you want before configuring credentials. A host-agent login and an OCR provider configuration are different things.

What people use open-code-review for

Named users report local review assistance and CI suggestions, with different policies for acting on findings. Issue #1020 is a useful adoption record because contributors describe their actual workflows rather than simply endorsing the project.

Who What they use it for Reported outcome or boundary
Qiyuanqiii, China West Normal University Incremental changes in Prayu, a Go, React/TypeScript, and Rust agent workbench Developer-side assistance around runtime permissions, persistence, recovery, and desktop behavior
snemetz, Wisk.aero Suggestions on merge requests through CI Initial proof of concept, limited rollout, and missing features needed for a gate
zhangheng2022, MeetTrace Required local reviews for a Flutter/Dart application targeting Android, iOS, and Windows Previews scope, adds product context, and requires Critical and High findings to be resolved before PR readiness
xwil1, Wenzhou Medical University Local development with Codex and Claude Code Reports using OCR alongside existing coding agents
moltar, an unnamed UK company An official company review skill combining Claude, Codex, and OCR Reports using OCR with three models

MeetTrace supplies the most actionable pattern: preview first, explain the product constraints, then handle findings according to a stated policy. Wisk's report answers a different question. Posting suggestions in CI and deciding whether a merge must stop are separate jobs. If your immediate problem is getting a second opinion before handing a change to a colleague, the local workflows are closer to your needs than a promise of unattended approval.

What happened when we ran it

Our November 21 run installed v1.14.0 in 6.5 seconds, then the README's ocr config provider command exited 1 with a terminal error. The run used checkout 39515dca6161 in a fresh unprivileged container with 2 CPUs, 4 GB RAM, no published ports, and no secrets. The installed release identified itself separately as v1.14.0, commit d29ca204, linux/amd64.

November step What came back Meaning
Clone Completed in 2 seconds Checkout obtained
Published npm package v1.14.0, 62.2 MB installed, 6.5 seconds This distribution installed successfully
Version command Exit 0 in 0.1 seconds CLI executed and identified its release
Help command Exit 0 in 0.1 seconds CLI printed command help
Provider setup Exit 1 in 0.1 seconds Interactive setup could not open /dev/tty
Teardown ok Sandbox cleanup completed

The installation worked, and both version and help commands ran. Next came the Quick Start's provider selector. Instead of opening its text interface, it returned Error: TUI error: bubbletea: error opening TTY: bubbletea: could not open TTY: open /dev/tty: no such device or address. That failure is the recorded finding. A TTY is the terminal device an interactive command expects; this container had none available. The failure happened before a provider could be configured through that interface.

The older source-checkout run failed earlier. On October 8, at commit 182898c, npm install exited 1 after 8 seconds. Its installer detected linux/amd64, read version 0.0.0 from package.json, and requested https://github.com/alibaba/open-code-review/releases/download/v0.0.0/opencodereview-linux-amd64. The server answered HTTP 404 for that download. That log identifies the failed request, without explaining why the checkout contained that version.

October source-checkout observation Recorded result
Sandbox configuration 3 CPUs, 8 GB RAM, image label lab-node:22
Checkout 956 files, approximately 159,965 source lines, 14.1 MB
Install Failed, exit 1, 8 seconds
Failing command node scripts/install.js
Repository scan 12 CI workflow files, no Dockerfile, no tests directory detected

The source-install failure and the published-package result are two different installation paths at different dates. The November package installation succeeded; its later configuration error must not be rewritten as a download failure. The sandbox image labels describe configuration, not independently recorded Node.js or operating-system versions.

Where people get stuck: scope, rules, and incomplete reports

A zero-findings report can follow a zero-files review: issue #209 reports exactly that on v1.5.1, even though git show showed changes. The maintainer asked for preview output and checked whether Git and OCR ran from the same directory. The discussion ends with an offer to investigate, rather than a demonstrated repair.

Symptom and source Useful response Resolution shown
#209: some commits select no changed files Compare git show with ocr review --commit <sha> --preview in the same repository Closed thread, no confirmed cause or fix
vibetools: test files appear under default exclusions Add appropriate test include patterns and inspect preview output Documented configuration workaround
#40: need full-file review without manufacturing a diff Use ocr scan Maintainer says full scans shipped in v1.6.0 and work in non-Git directories
#1177: several matching user rules do not stack Generate one effective rule file and commit it for review Built-in rule arrays explicitly declined
Official skill: agent output can be truncated Save with --output and inspect the complete file Older CLIs can reject that flag

Rule matching deserves a concrete example. In #1177's Kotlin configuration, three entries match the same files: common rules, Kotlin rules, and Android domain rules. Only the first matching user rule applies. Setting merge_system_rule: true adds the system rule to that winning entry; it doesn't add the other two user entries. A maintainer declined the proposed array syntax, and the requester accepted generating a committed effective rule as the alternative.

Language coverage has another split. A Swift contributor in #470 says .swift is accepted but falls back to default.md without a dedicated Swift rubric. The tracking issue is open. You need to know both whether your file gets selected and which instructions the reviewer receives.

Large reviews need a budget before they need more time

The author of issue #409 reports a failed review covering about 308 files and consuming about 90.4 million tokens. The caller then fell back to another reviewer. The author's concern is practical: a later successful result can hide the cost already incurred by the failed attempt. These are the reporter's figures from a private merge request, not our measurements.

The CLI reference documents --max-tokens-budget, effort levels, concurrency, tool-call limits, and per-subtask timeouts. Its total-token budget defaults to unlimited. When the budget has been exceeded, a subtask gets a final submission round and further subtasks stop being dispatched. Treat that control as a way to constrain execution, rather than an exact billing ceiling.

For your first large change, choose a bounded Git range and inspect its preview before enabling model calls. Set a token budget you can afford, reduce concurrency if your provider rate-limits, and retain failed-attempt usage alongside fallback usage. Extending a timeout alone gives an expensive attempt more room to continue. The official skill's default medium effort permits 30 minutes per review group, derived from its base timeout and review rounds.

A local CLI still sends code to the selected model

OCR's help output says it sends Git diffs to a configurable LLM service. Running the executable on your laptop gives you control over the client, while the endpoint determines where model requests go. Your organization's source-code policy should determine that endpoint before the first review.

The CLI reference also warns that evidence and logs can contain source text. Its analysis trace lives under the user's OCR sessions directory, alongside review information. Protect those files when collecting CI artifacts or asking for support. A session export and the underlying execution trace are different artifacts; the reference says the analysis trace stays out of HTML exports.

The MCP guide also describes OCR as a Model Context Protocol client, the interface agents use to call outside tools. It warns that OCR does not enforce read-only behavior on those tools. Keep the tool allowlist small and review each server's permissions before adding it to a review workflow.

English documentation is available through the CLI reference, and the official skill documents English as the default comment language. Several substantive rule and troubleshooting discussions are in Chinese, including #209 and #1177. If you depend on those discussions for a configuration decision, distinguish the original reporter's proposal from the maintainer's eventual answer.

Open-code-review vs Claude Code, Copilot, CodeRabbit, and Greptile

OCR offers explicit scope and rule controls; using your existing reviewer directly saves you another review configuration to maintain. The official skill separates native OCR's provider from host-agent delegation, so those two OCR workflows deserve separate trials.

Choice What the research actually supports Choose it when
Native OCR Its review pipeline uses a separately configured model provider You want OCR's own pipeline and control of its provider configuration
open-code-review-delegate Uses the host agent's model without separate OCR credentials You want to use an existing coding-agent setup
Claude Code directly The project's benchmark gives Claude Code higher recall, while favoring OCR on precision and F1 You value a broader sweep and will triage the findings yourself
GitHub Copilot review A Yangzhou University user reports replacing Copilot in private GitHub repositories with OCR Compare your actual private-repository workflow before changing tools
CodeRabbit or Greptile Flowtivity frames hosted convenience against OCR's deployment and endpoint control You prefer evaluating a hosted review service over operating a CLI integration

Precision means the share of reported findings that are real defects. Recall means the share of real defects the reviewer finds. The project's benchmark deliberately trades recall for precision. That trade can suit you if noisy comments are causing developers to ignore the bot, but a shorter report cannot replace tests or human review of a sensitive change.

What the other reviews get wrong

Flowtivity's article demonstrates file selection and rule matching, rather than completed detection of the vulnerabilities it planted. Its Go and React fixture preview selects the files and loads security rules. Reading that passage as a successful vulnerability-detection test adds an outcome the walkthrough doesn't show. Its benchmark figures are attributed to the project, and should stay attributed when used to compare reviewers.

Identity is the other avoidable error. For example, SkillsLLM's “opencode vs open-code-review” page labels the latter spencermarx. That comparison cannot establish Alibaba OCR's dashboard, runtime requirements, or workflow. The spencermarx README describes its own product. Search for the full repository name before copying an installation command.

Outdated claims, corrected

The CLI reference contradicts parts of the fork README, the official skills, and the vibetools workflow. Prefer the specific documented command behavior over a copied setup recipe, especially when the two disagree about which files or provider a review will use.

The last contradiction also appears within the CLI reference's workspace explanation: it describes the combined changes and then suggests selective staging. Use a commit or explicit range when that is the target you intend to review, and inspect the preview for that exact invocation.

Questions people ask

Alibaba's official repository is github.com/alibaba/open-code-review; the installed CLI prints the same URL.

Where is Alibaba's official open-code-review GitHub repository?

Use alibaba/open-code-review. The npm package is @alibaba-group/open-code-review, which is the package our November run installed. The similarly named spencermarx repository is a separate project.

What do Reddit users report about open-code-review?

PoppaBear1950 on r/hermesagent describes a remote workflow combining Hermes, a tool called open-code-review, and DeepSeek execution. Their command uses the unscoped open-code-review package. Don't import its AST-processing or log-sanitizing claims into an Alibaba OCR setup. The r/devopsish post shares the Alibaba repository announcement.

Can I use open-code-review-delegate without a separate API key?

Yes: the official skill directs you to delegation to use the host agent's model without separate OCR credentials. You still need the OCR CLI and the host-agent setup. Native OCR instead requires its own supported provider configuration.

Is Alibaba's code review agent useful in practice?

Users report concrete local and CI workflows in #1020, including MeetTrace's required local reviews and Wisk's suggestion posting. Those reports support evaluating it as assistance for an existing review process. They give you workflows to copy, rather than a measured defect-detection rate for your code.

How do I install OCR locally and connect it to Claude Code or OpenCode?

The official skill names npm install -g @alibaba-group/open-code-review. For native mode, configure the provider and model, then run ocr llm test. For host-agent mode, its troubleshooting guidance gives npx skills add alibaba/open-code-review --skill open-code-review-delegate. Our noninteractive provider selector failed opening /dev/tty, so use a real terminal for the interactive selector or follow the documented noninteractive configuration path.

How should I review code when AI writes faster than I can read?

MeetTrace's reported sequence is preview, product context, agent-assisted review, then resolving Critical and High findings. That is a useful starting policy. Keep your existing tests and assign a human to judge whether each suggested fix preserves the intended behavior.

Who is Open Code Review for?

OCR suits developers who want explicit review scope and configurable rules alongside their coding agents. That is the local-assistant role Prayu's author and xwil1 describe. Teams expecting unattended merge approval should first resolve the failure-policy and coverage questions their own integration raises.

Why do general-purpose agents struggle with structured code review?

Alibaba's project description names incomplete coverage, drifting comment locations, and prompt-sensitive quality. The video “Open Code Review: AI Code Review Architecture Deep Dive” presents the same architectural argument. Treat it as the rationale for deterministic selection and rule matching, rather than proof that every competing agent fails.

Will an OCR-based agent workflow work in a mostly remote setup?

PoppaBear1950 says their tiered workflow fits remote setups, but its package identity differs from Alibaba's documented package. For Alibaba OCR, choose native or delegation mode according to where your agent and provider run, using the official skill's distinction.

Who is actually using Open Code Review, and for which workflows?

The #1020 contributors include Prayu's author, MeetTrace, Wisk.aero, and university developers. They describe incremental local reviews, a required PR preparation step, and CI suggestions. Moltar also reports a company skill combining multiple review tools and models.

Can OCR support SVN diffs and merge-triggered reviews?

The maintainer's answer in #40 points SVN users to ocr scan for complete files. It explains that Git-dependent diff, search, and branch-comparison behavior would need substantial adaptation. A separate SVN request remains open in #1017.

Can I scan an entire codebase without a Git diff?

Yes: #40's maintainer says full scans arrived in v1.6.0 and ocr scan supports non-Git directories. Review the selected files before expanding to a whole codebase; scan mode still sends work through a model-backed review process.

What we have not tested yet

Our runs reached installation and CLI setup, not a completed code review. We have not measured defect detection, false positives, review latency, model cost, native-versus-delegation quality, successful provider configuration, or unattended merge gating. The October block contains no build or test outcome. Detecting no tests directory is not proof that the repository has no tests.

The November run's checkout and installed binary have different commit identifiers. It exercised the published v1.14.0 package, not a binary built from checkout 39515dca6161. Neither sandbox image label establishes the actual runtime version. A follow-up should record the full toolchain and repeat the provider step with terminal access or documented noninteractive configuration.

The Flowtivity walkthrough stops at scope and rule matching, and the project benchmark is a project-reported comparison. We have not reproduced either benchmark quality or large-review cost behavior. The video “Stop Paying For Code Reviews. Use This Instead” describes a session list showing an aborted process while the review session looks fine; its transcript is not a checked defect-detection result.

Native mode and delegation use different model arrangements, and no controlled comparison here demonstrates equal accuracy or token usage. The Reddit remote-workflow attribution remains uncertain because its package command differs. Our X search includes Tuminha_dds summarizing the hybrid design and delegation option, rather than presenting a controlled trial. User comments, including MeetTrace's policy and Wisk's early rollout, are self-reports, not independent audits.

We have not inspected provider traffic, session-file permissions, retention, Windows or macOS behavior, or specialist rules across languages. The next useful trial is a small change with known defects: record selected files, rules applied, completed files, actual findings, failed attempts, and total provider usage. Decide whether to expand from that result.

Alternatives

ProjectWhat it isPick it when
Claude CodeAn existing coding agent you can ask to review changes directly.Consider direct review if you already use it and prefer fewer review-specific configuration layers; the project benchmark reports higher recall for Claude Code.
GitHub Copilot reviewA GitHub-centered review option compared by an OCR user in #1020.Compare it against OCR on your private-repository workflow if Copilot already serves your team.
CodeRabbitA hosted review service discussed in Flowtivity’s comparison.Evaluate it if hosted convenience matters more to you than operating OCR and choosing its endpoint.
GreptileA hosted code-review service discussed alongside OCR by Flowtivity.Evaluate it if you prefer a hosted service to maintaining a CLI review integration.

What people are saying

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

Sources

  1. Alibaba Open Code Review
  2. CLI reference
  3. Official native review skill
  4. Named user workflows
  5. Large-review cost report
  6. Rule composition decision
  7. Flowtivity walkthrough and comparisons

More dev tools reviews