Alibaba Open-Sources AI Code Review Tool That Reduces Token Costs by 90%

Alibaba has open-sourced Open Code Review (OCR), an AI-powered code review tool it has used internally for two years across tens of thousands of developers. The tool addresses three common pain points with existing AI review integrations: incomplete file coverage, inaccurate line-number positioning, and high token costs. OCR uses a hybrid architecture that separates deterministic tasks — such as file selection, bundling, and line tracking — from semantic reasoning, which is handled by large language models. Related files are grouped into bundles and reviewed by isolated sub-agents concurrently, reducing token usage by up to 90% compared to general-purpose AI agents. The tool is designed to integrate into both terminal workflows and CI pipelines.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in