alibaba/open-code-review
Alibaba’s open-source review CLI combines deterministic diff handling with an LLM agent to improve line-level precision and reduce token use, while explicitly trading away recall.
Open Code Review reads diffs, gives an LLM agent code-search and file-reading tools, and returns line-level findings. Its benchmark covers **200 pull requests**, **10 languages**, and **1,505 annotated issues** reviewed by more than 80 senior engineers.
Use it when generic coding agents produce noisy findings, skip files, or attach comments to the wrong lines. The deterministic layer selects and bundles files, matches rules, and positions comments; isolated subagents handle related bundles concurrently.
Open Code Review reads diffs, gives an LLM agent code-search and file-reading tools, and returns line-level findings. Its benchmark covers **200 pull requests**, **10 languages**, and **1,505 annotated issues** reviewed by more than 80 senior engineers. Use it when generic coding agents produce noisy findings, skip files, or attach comments to the wrong lines. The deterministic layer selects and bundles files, matches rules, and positions comments; isolated subagents handle related bundles concurrently. The project reports roughly **one-ninth the token use** of a general-purpose agent with the same model, plus higher precision and F1. Recall is lower by design, so it should complement rather than replace broader testing and review.
This narrows agentic review into a specialized pipeline where deterministic preparation and comment placement constrain focused subagents. The reported precision and token gains support task-specific harnesses over general agents for line-level findings, but intentionally lower recall makes the system one evidence source within testing, security analysis, and human review—not a complete merge gate.