Dev tools

Alibaba open-sources Open Code Review, a code review CLI that runs deterministic checks first and calls an LLM only for the rest

September 20, 2026 at 5:20 AM PT

Header illustration for the InfoQ article on Alibaba Open Code Review

Image: InfoQ

Why it mattersA code review tool that spends tokens only on the parts a rule engine cannot cover changes the price at which small teams can afford to review every pull request instead of a sample.

Alibaba has open-sourced Open Code Review, a command-line tool for reviewing pull requests that pairs a deterministic pipeline for file selection, bundling and rule matching with an LLM agent for dynamic analysis. InfoQ reported the release on 20 September. The project is Apache-2.0 licensed and stands at 38,109 stars and 2,715 forks on GitHub.

What is deterministic, what is not

The pipeline runs three fixed stages before any model is called: it picks which files in a pull request are worth reviewing, bundles them so the agent sees related changes together, and matches them against a built-in ruleset for common defects such as null pointer errors, thread-safety mistakes, XSS and SQL injection. Only what falls through those stages is handed to the LLM, which the README says "resolve dependencies dynamically" and produces line-level comments on the diff.

Alibaba says the tool "has served tens of thousands of developers and identified millions of code defects" inside the company over the two years before the release. The description in the repository calls it "battle-tested at Alibaba's scale."

The benchmark, as Alibaba reports it

The company built a benchmark called AACR-Bench from 50 open-source repositories and 200 real pull requests across 10 programming languages, cross-validated by more than 80 senior engineers, with 1,505 annotated ground-truth issues. The dataset is published on Hugging Face.

On that benchmark, Alibaba says Open Code Review reaches higher Precision and F1 than a general-purpose coding agent using the same underlying model, while consuming "only ~1/9 of the tokens" and completing reviews faster. The README also states that the tool "deliberately trades lower Recall for higher precision", so it finds fewer of the issues in the dataset but reports fewer false positives on the ones it does surface. InfoQ reported the comparison target as Claude Code and quoted a best-configuration recall of 20 percent on the same benchmark. Both numbers come from Alibaba's own testing; there is no independent replication.

Where it plugs in

The CLI accepts any OpenAI-compatible or Anthropic-compatible endpoint, so the choice of model is left to the caller. It integrates with GitHub, GitLab and Gerrit for the code hosting side, ships as an MCP server, and adds slash commands and skill definitions for Claude Code, Codex, Cursor, Kimi Code, OpenCode and QCA Forward. VS Code integration is listed alongside those.

What decides whether this is worth adopting

The pitch here rests on a claim about workload split: a lot of what a general coding agent spends tokens on when it reviews a diff is work a rule engine and a file selector can do for free, so keep those parts out of the model. If the one-ninth token ratio holds outside Alibaba's own benchmark, the review cost per pull request drops to a fraction of what a general agent charges for the same job on the same underlying model. That would move review from a per-merge check to something a team can afford to run on every push.

The tradeoff Alibaba states out loud is real. Lower recall means some defects a broader agent would catch will slip through, so this is a review layer that runs on every diff, then a human read for the merge itself. Two things to check against a team's own history before adopting it: whether the built-in ruleset covers the language mix the team uses, and whether the defects the tool misses on a real backlog are the ones that matter.

Source

Source: Alibaba

This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.

More from AI News

donvito's codex-astra-luna-orchestrator lets Codex use GPT-6 Astra to plan and GPT-5.6 Luna to do the work

A configurable Codex setup that makes GPT-6 Astra the root orchestrator, gives worker roles to GPT-5.6 Luna and includes token accounting reached 971 stars in six days.

Source: GitHubDev tools

Farid Zakaria's trynix-preview action puts a link on every pull request that boots the build in a browser tab

Farid Zakaria released trynix on 4 September and followed on 9 September with a GitHub action that comments on every pull request with a link that boots the PR's build in the reviewer's browser tab, using a WebAssembly Linux VM and a Nix cache.

Source: PressDev tools

Pizza Bot, a new open-source app from AWS engineers, gives long-running AI agents an email-style inbox

Pizza Bot launched on 10 September under Apache-2.0 as a self-hosted desktop app where finished background agent work arrives in an Unread queue, anything paused for approval lands in an Action queue, and runs keep going after the client disconnects.

Source: PressDev tools