Alibaba open-sources OpenCodeReview, an AI-powered code review tool
A Go CLI under the Apache-2.0 license blends deterministic pipelines with an LLM agent to review pull requests, promising higher precision than Claude Code while spending a ninth of the tokens.

Alibaba has open-sourced OpenCodeReview, a CLI written in Go that automates code review by combining deterministic steps with an LLM agent for dynamic analysis. The project is under the Apache-2.0 license and, according to the InfoQ report, had already been used internally by tens of thousands of Alibaba developers for two years before becoming open source.
The core proposition isn't just "another AI review bot." It's separating what can be solved with deterministic rules from what requires a language model, and that changes the tool's behavior in production.
Hybrid architecture: determinism where possible, AI where needed
OpenCodeReview breaks the review process into multiple stages, each with a different degree of determinism. File selection, diff packaging and rule matching are handled deterministically, with no model intervention. Only the code analysis itself, the part that requires understanding context and semantics, is left to an LLM agent. The tool also validates generated comments against the diff before displaying them, which reduces the classic risk of an agent hallucinating the wrong line or flagging an issue in code that wasn't even changed.
Native checks include null-pointer exceptions, thread safety, XSS and SQL injection, bug categories any backend or security team recognizes by heart. The tool runs locally or integrates with GitHub, GitLab, Gerrit, VS Code, MCP and code agents such as Claude Code, Codex and Cursor, and works with models compatible with the OpenAI and Anthropic APIs.
Tom Rochette, a senior engineer at Shopify, sums up the architecture's merit in an analysis published by InfoQ: "the architecture targets the real failure modes of agents: incomplete coverage, line-number drift, prompt instability on large changesets. It publishes a public benchmark and transparently discloses its recall disadvantage, which is already evidence of better behavior than most of the category."
Alibaba's numbers and the gap that surfaced later
In an internal benchmark covering 200 pull requests across 10 languages, Alibaba claims OpenCodeReview achieved higher precision and F1 score than Claude Code, using roughly a ninth of the tokens. That's the kind of number any team worried about the cost of running an LLM in CI pays attention to.
But Rochette himself warns that the only independent benchmark run so far wasn't pretty: about 12% precision on 10 PRs from the so-called Martian-benchmark, a result the project maintainer disputed as a tool-call anomaly and fixed, without any independent validation after the fix. In other words: the strong number Alibaba publishes is internal, and the only outside check came out poorly before being explained and adjusted by the project's own team.
Rochette also makes clear that recall is deliberately lower than that of a generalist agent: "teams that want maximum defect detection should know that's not this tool's bet."
The recall ceiling, according to Daniel Vaughan
In the article "OpenCodeReview and the Determinism Dividend," cited by InfoQ, Daniel Vaughan, head of forward deployed engineering at HCLTech, puts the hardest point on the table: "the best configuration achieves 20% recall, meaning 80% of the issues identified by experts are not found. The deterministic dispatch that drives precision also limits the discovery of cross-file and architectural problems that require broader exploration."
In other words: the design that makes OpenCodeReview precise and cheap in tokens is the same thing that keeps it from seeing bugs that span multiple files or depend on broad architectural context. Vaughan sums up the project's contribution bluntly: "it's not a better model, it's a better harness. By injecting determinism into file dispatch, limiting tool access and filtering through an independent reflector, it achieves 2.17 times the review quality at a fraction of the token cost."
What changes for developers in Brazil
The practical point for teams here is twofold. First, licensing: Apache-2.0 and open source mean the entire review pipeline can run inside the company's own infrastructure, without subscribing to a closed code review SaaS or sending entire diffs to a third-party service just to get automated comments. Second, compatibility with OpenAI- and Anthropic-format APIs is broad enough to include local gateways that replicate those interfaces (common in setups with self-hosted open models), which leaves room to use OpenCodeReview without depending exclusively on a paid account with a proprietary American model, even though the native integration cited by InfoQ is with OpenAI and Anthropic.
The list of integrations (GitHub, GitLab, Gerrit, VS Code, MCP, and even the competing agents Claude Code, Codex and Cursor) suggests the tool was designed to fit into the team's existing workflow, not to replace the stack end to end. For a squad that already uses Cursor or Claude Code day to day, OpenCodeReview works as an extra verification layer before merge, not as a tool swap.
What's still an open question
Two points weigh against blind adoption. The first is that the strong number (precision and F1 above Claude Code at a ninth of the token cost) comes from Alibaba's own internal benchmark, and the only attempt at external verification, even after being fixed, had no new published independent validation. The second is the recall ceiling: 20% at the best configuration, according to Vaughan, is a number any security or compliance team needs to understand before treating the tool as a complete safety net. It filters out noise and flags known bugs at low cost, but it doesn't replace human review for architectural problems or issues that cross multiple files.
Translated from the Brazilian Portuguese original · Read the original
Perplexity swaps DynamoDB for in-house database and cuts latency by 5x
The company behind the AI-powered search engine migrated its serving layer to CobbleDB, an internal database written in Rust, and cut batch read latency by up to 5x while saving at least 20% on storage.