Overview of Open Code Review
mainOpen Code Review is a CLI-based AI code review tool originally developed as an internal assistant for Alibaba Group. It uses a hybrid approach combining deterministic engineering (for file selection, bundling, and rule matching) with an AI agent (for dynamic context retrieval and scenario-specific reasoning).
Key Capabilities:
- Git Diff Review: Reads git diffs and generates structured, line-accurate review comments using a tool-use enabled LLM.
- Deep Context: The agent can read full file contents, search the codebase, and cross-reference multiple files to provide deep reviews rather than superficial diff comments.
ocr scan: Allows for full-file scanning, which is useful for auditing unfamiliar codebases or directories without significant diffs.- High Precision: Designed to prioritize precision and minimize noise/false positives, consuming significantly fewer tokens (~1/9) compared to general-purpose agents like Claude Code.