Sign InOpen Brain
Back
GitHubGitHub RepoNeeds ReviewtoolsNew

alibaba/open-code-review

Combine deterministic diff handling with targeted agent review to improve comment placement and precision while preserving broader tests.

GitHubSep 13, 20262 min
Open SourceOpen MarkdownOpen JSON
Source Summary

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.

Practical Implication

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.

Agent-Ready Context
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.
Context Map
toolscodingsecurity#coding-agents#agent-reliability#tool-useGeneric AgentPrepare Coding Session
Uncertainty
Automatically selected from source material; feed7 has not independently tested the claim.
Rate This Item
Personal Note

No note yet. Notes are included in exported bundles.

Related — Every Edge Explained

No approved edges yet for this post.