SuperAPI AI Directory

Open Code Review

Open Code Review (OCR) is Alibaba's open-source (Apache 2.0) AI code review CLI. It combines deterministic file selection and rule matching with an LLM agent that reads files and searches your codebase, then posts line-level comments on diffs, branches, commits, or whole files. It suits teams that w

Open website

About this tool

Open Code Review (OCR for short) is an AI code review command-line tool open-sourced by Alibaba, released under the Apache 2.0 license, and officially positioned as an "open-source code review agent."

In terms of purpose, OCR targets code review scenarios, with the goal of automatically generating code review comments within the development workflow. It combines two types of capabilities: first, deterministic file selection and rule matching, and second, an agent driven by a large language model that can read files and search the codebase, thereby providing review results based on an understanding of context.

In terms of main capabilities, OCR can generate line-level comments for diffs, branches, commits, or entire files, meaning comments are anchored to specific lines of code. This line-level feedback approach makes it easy for developers to view and address issues directly at the corresponding locations.

In terms of usage, OCR is provided as a command-line tool (CLI); the specific installation commands, runtime parameters, and configuration methods are not yet available in the existing materials.

In terms of applicable scenarios, OCR is suitable for teams that want to integrate AI code review into their development workflow, for example by introducing automated review at stages such as code commits, branch merges, or pull requests.

In terms of limitations, apart from the open-source license (Apache 2.0) and the functional description above, facts regarding pricing, cost, supported platforms, and specific effectiveness are not yet available in the existing materials.