Open Code Review is a command-line tool that uses a language model to review code changes in a Git repository. It is aimed at developers who want automated review comments on their diffs before a human reviewer looks at them. The tool is set up by pointing it at a model endpoint.
The tool reads Git diffs and sends the changed files to a configurable LLM through an agent that can call tools. The agent can read full file contents, search the codebase and look at other changed files for context. It returns structured review comments tied to specific lines. The project is released under the Apache-2.0 license, and the source code is public on GitHub. It was originally built as an internal review assistant at Alibaba before being released as open source.
Alternatives to Open Code Review
Products that do a similar job in Developer Tools.
CodeRabbit
command-line AI code review for local changes
lazygit
Terminal UI for running git commands with keyboard shortcuts
bat
command-line file viewer with syntax highlighting and git integration
GitHub CLI
Command line tool for working with GitHub from the terminal
GitKraken
Desktop Git client with a visual commit graph and branch view
Worktrunk
command-line helper for managing Git worktrees
onefetch
Command-line tool that shows a summary of a Git repository
gitui
Keyboard-driven terminal interface for git repositories