AI coding tools
Alibaba Open-Sources Open Code Review, Using a Deterministic Pipeline to Constrain LLM Review Scope and Comment Placement
Open Code Review delegates file filtering, rule matching, and comment placement to deterministic code, then lets LLM agents search repository context and identify defects. Alibaba’s internal benchmarks show token usage at roughly one-ninth that of Claude Code, but it trades lower recall for higher precision and cannot directly replace existing tests and static analysis.

Alibaba has open-sourced its internally developed AI code review tool, Open Code Review, under the Apache 2.0 license. The Go-based CLI reads Git diffs and anchors comments to specific lines of code. It can also use `ocr scan` to scan entire files or directories when no diff is available. On the model side, it supports OpenAI- and Anthropic-compatible interfaces and can integrate with GitHub Actions, GitLab CI, Gerrit, and other delivery workflows.
Its key technical feature is not another prompt wrapper, but the division of review work between a deterministic pipeline and agents. Program logic selects files, filters out irrelevant changes, groups dependent files into review units, and applies rules for issues such as null pointer dereferences, thread safety, XSS, and SQL injection based on file extensions and paths. Each unit is then assigned to a sub-agent with an isolated context. The LLM can read complete files, search the repository, and inspect other changes, after which separate localization and reflection modules correct the placement and content of comments. This separation is intended to reduce missed files in large changes, line-number drift, and unstable results caused by subtle prompt variations.
The official benchmark covers 50 open-source repositories, 200 real pull requests, 10 languages, and 1,505 issues cross-validated by more than 80 senior engineers. The team claims that, when using the same underlying model, Open Code Review achieves higher precision and F1 scores than Claude Code while consuming roughly one-ninth as many tokens on average. However, the maintainers also explicitly acknowledge lower recall, meaning that fewer false positives come at the cost of potentially missing more real defects. These results have not yet been reproduced by an independent team, and comparisons may be affected by model versions, rule sets, and repository types. Engineering teams evaluating the tool should next determine whether the benchmark data can be publicly rerun, assess rule coverage for Chinese-language comments and internal frameworks, and examine whether low recall could quietly defer risk to the human review stage.