NeuralBridge
Sign in Download IDE
AI NewsAI development

Alibaba released Open Code Review — CLI for AI code review

Alibaba opened the source code of Open Code Review — a tool that was used internally for two years. It combines deterministic change processing with an AI agent and is designed for code review from the command line and CI.

Alibaba opened the source code of Open Code Review — a CLI tool for AI-powered code review. Before publication it was used for two years as an internal review assistant at Alibaba Group; the repository became public on 18 May 2026.

How Open Code Review works

Utility ocr analyzes Git diff and creates structured comments linked to lines. The AI agent can study full files, search for context in the codebase, and consider other modified files. A command is provided for checking whole files, not just the changes. ocr scan.

The core of the project is task separation between regular code and the agent. The deterministic part selects files for review, groups related files, assigns rules, and handles comment placement. The agent handles tasks that require contextual assessment and additional information lookup. The built‑in rule set covers, among other things, NULL‑reference errors, thread safety, XSS and SQL injection.

This approach aims to limit typical universal‑agent problems: skipping files in large changes, inaccurate comment placement, and result instability with minor instruction tweaks. The project supports CI integration as well as plugins for various development tools. There is a delegation mode where Open Code Review determines files and rules, while the actual review is performed by a local agent.

What the benchmark showed

The project team compared the tool with the universal agent Claude Code on a single model — Claude-4.6-Opus. AACR‑Bench included 200 real pull requests from 50 popular repositories across 10 programming languages. The annotation contains 1 505 issues vetted by more than 80 senior engineers.

According to the team's published results, Open Code Review achieved F1 25,10% and precision 33,90%; Claude Code achieved 11,57% and 7,23% respectively. The tool's recall was lower: 20,00% versus 28,90%. Average review time was about 1 minutes 23 seconds versus roughly 13 minutes 6 seconds, and token usage was about 385 thousand versus 5,664 million.

These numbers reflect a trade‑off: the tool aims for more precise remarks and fewer false positives, but finds a smaller share of annotated issues. The benchmark was prepared by the project team, so the results should be taken as the developers' own assessment, not as an independent verification.

What this means for developers

Open Code Review can be considered for regular pull request reviews, especially if the team wants to run AI checks in CI and reduce false‑positive noise. At the same time, low recall is important for audit scenarios where it is critical not to miss as many issues as possible: a single tool is insufficient here, and the results do not replace human review.

Git version 2.41 or newer is required to run. The repository offers installation via npm with the command npm install -g @alibaba-group/open-code-review; after it the command is available ocr. In normal mode you need to configure the provider and model. Compatible OpenAI and Anthropic connections are supported. In delegation mode a separate model configuration for Open Code Review is not required: the connected agent performs the review.

All postsAlso in "AI News"