Mindket

open-code-review

Newversion 1 · updated
GitHub trendingTrendshift
Star50.7k

Overview

Reviews Git changes with an AI agent that reads files and searches the codebase, then writes comments tied to exact lines. It suits developers who want automated review from the command line.

open-code-review is an open-source project on GitHub in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Install it from GitHub as its README says. Get Mindket’s setup notes on your Mindket account, as a zip.

At a glance

You need
  • Git and a repository to review
  • A model endpoint compatible with OpenAI or Anthropic
  • A terminal
Runs in
  • A terminal on a machine with Git
  • A Git repository with changes to review
  • A folder of code with no diff, using the scan command
  • Any model endpoint that speaks the OpenAI or Anthropic format
Start with
git clone https://github.com/alibaba/open-code-review.git
cd open-code-review

About

What it is

Open Code Review is a command line tool that checks code with an AI model. It reads your Git diff, passes the changed files on to a model you configure, and returns review comments tied to exact lines. It began as an internal review assistant at Alibaba before it was released as open source.

Who it suits

Developers and teams who want a first pass of review before a person looks at the code. It also suits anyone taking over an unfamiliar codebase.

IndustryWho uses itHow they use itExample
Software teamsDevelopers and reviewersRun a review on a Git diff before asking a colleagueA change comes back with comments that point to individual lines
Web developmentBackend and frontend engineersCheck changes against the built-in rules for XSS and SQL injectionA query built from user input gets flagged on its line
Concurrent servicesEngineers on multithreaded codeLook for thread-safety and null pointer problems in a changeA shared field touched by several threads draws a comment
Legacy codeEngineers inheriting old projectsScan whole files or folders that have no recent diffThe scan returns comments on files nobody has changed lately

If you do not work with Git or a terminal, you can skip it.

Where to use it

The tool runs where your code and a model endpoint are within reach.

  • A terminal on a machine with Git
  • A Git repository with changes to review
  • A folder of code with no diff, using the scan command
  • Any model endpoint that speaks the OpenAI or Anthropic format
Use caseWhoWhat they get back
Review a changeDeveloperLine-level comments, with context drawn from other files
Audit unfamiliar codeNew maintainerA review of whole files or directories
Check against built-in rulesReviewerFindings on null pointers, thread safety, XSS and SQL injection

How to set it up

Before you start, have these ready.

  • Git and a repository to review
  • A model endpoint compatible with OpenAI or Anthropic
  • A terminal
  1. Get the project's code from its GitHub repository, which the kit's notes point to.
  2. Follow the setup steps in the project's README.
  3. Configure your model endpoint.
  4. Run a review on a repository that has changes.

Run these in a terminal:

# Copy the project to your computer
git clone https://github.com/alibaba/open-code-review.git
# Go into its folder
cd open-code-review

How to use it

Run the review on a repository with changes and read the comments it returns. For a folder with no meaningful diff, the scan command reviews whole files.

ocr scan
ToolWhat it does
Diff reviewReads Git diffs and writes comments tied to lines
ocr scanReviews entire files or directories, useful when there is no diff

Example

You inherit a folder of old code and nobody has changed it recently. You run ocr scan on it. The agent reads the files in full, searches the codebase for context, and sends back review comments that each point to a line.

For newcomers and experts

If you are new to this, start small. Pick a repository you know well, make one small change, set up a model endpoint, and run a review on that diff. Compare the comments with what you would have caught yourself.

Under the hood, fixed pipeline steps work together with an LLM agent. The agent can read whole files, search the codebase and look at other changed files, so its comments draw on more than the diff text. The README says it reaches higher precision and F1 than a general-purpose agent on the same model, using about a ninth of the tokens. Those figures are the project's own claim.

  1. Read the Git diff
  2. Run deterministic pipeline steps
  3. Agent reads files and searches the code
  4. Model writes review comments
  5. Each comment points to a line

Good to know

The kit holds notes about the project, and the code lives in its own repository.

  • License: Apache-2.0
  • Cost to run: needs an OpenAI or Anthropic compatible model endpoint, and the README names no price or key
  • Data it reaches: your Git diffs and the files of your repository, which go to the model you configure
  • Kit contents: notes only, and nothing in this kit runs by itself

README and files

README

open-code-review

Reviews Git changes with an AI agent that reads files and searches the codebase, then writes comments tied to exact lines. It suits developers who want automated review from the command line.

Made by alibaba on GitHub. These notes are Mindket's, written from its README; the project's own files and license are in its repository.

About

What it is: Open Code Review is a command line tool that checks code with an AI model. It reads your Git diff, passes the changed files on to a model you configure, and returns review comments tied to exact lines. It began as an internal review assistant at Alibaba before it was released as open source.

Who it suits: Developers and teams who want a first pass of review before a person looks at the code. It also suits anyone taking over an unfamiliar codebase.

Industry | Who uses it | How they use it | Example
Software teams | Developers and reviewers | Run a review on a Git diff before asking a colleague | A change comes back with comments that point to individual lines
Web development | Backend and frontend engineers | Check changes against the built-in rules for XSS and SQL injection | A query built from user input gets flagged on its line
Concurrent services | Engineers on multithreaded code | Look for thread-safety and null pointer problems in a change | A shared field touched by several threads draws a comment
Legacy code | Engineers inheriting old projects | Scan whole files or folders that have no recent diff | The scan returns comments on files nobody has changed lately

If you do not work with Git or a terminal, you can skip it.

Where to use it: The tool runs where your code and a model endpoint are within reach.

  • A terminal on a machine with Git
  • A Git repository with changes to review
  • A folder of code with no diff, using the scan command
  • Any model endpoint that speaks the OpenAI or Anthropic format
Use case | Who | What they get back
Review a change | Developer | Line-level comments, with context drawn from other files
Audit unfamiliar code | New maintainer | A review of whole files or directories
Check against built-in rules | Reviewer | Findings on null pointers, thread safety, XSS and SQL injection

How to set it up: Before you start, have these ready.

  • Git and a repository to review
  • A model endpoint compatible with OpenAI or Anthropic
  • A terminal
  1. Get the project's code from its GitHub repository, which the kit's notes point to.
  2. Follow the setup steps in the project's README.
  3. Configure your model endpoint.
  4. Run a review on a repository that has changes.

How to use it: Run the review on a repository with changes and read the comments it returns. For a folder with no meaningful diff, the scan command reviews whole files.

ocr scan
Tool | What it does
Diff review | Reads Git diffs and writes comments tied to lines
ocr scan | Reviews entire files or directories, useful when there is no diff

Example: You inherit a folder of old code and nobody has changed it recently. You run ocr scan on it. The agent reads the files in full, searches the codebase for context, and sends back review comments that each point to a line.

For newcomers and experts: If you are new to this, start small. Pick a repository you know well, make one small change, set up a model endpoint, and run a review on that diff. Compare the comments with what you would have caught yourself.

Under the hood, fixed pipeline steps work together with an LLM agent. The agent can read whole files, search the codebase and look at other changed files, so its comments draw on more than the diff text. The README says it reaches higher precision and F1 than a general-purpose agent on the same model, using about a ninth of the tokens. Those figures are the project's own claim.

Read the Git diff
Run deterministic pipeline steps
Agent reads files and searches the code
Model writes review comments
Each comment points to a line

Good to know: The kit holds notes about the project, and the code lives in its own repository.

  • License: Apache-2.0
  • Cost to run: needs an OpenAI or Anthropic compatible model endpoint, and the README names no price or key
  • Data it reaches: your Git diffs and the files of your repository, which go to the model you configure
  • Kit contents: notes only, and nothing in this kit runs by itself

On GitHub, 14 November 2026

  • Stars: 50,665 (215 that day)
  • Forks: 3,771
  • Watching: 145
  • Open issues and pull requests: 341
  • Language: Go
  • License: Apache-2.0
  • Topics: agent, agent-skills, code-review, code-review-assistant, harness, repository-level-context
  • Trending: #1 repository of the week on GitHub trending (14 November 2026)

Links

Get the code

git clone https://github.com/alibaba/open-code-review.git

Then follow the setup in its README. Nothing in this kit runs by itself.

Files
README.md  5 KB

1 file, 5 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-14

Compare with similar

Listed GitHub projects in the same category that share the most topics with this one.

ProductStarsActivityLanguageLicenseLast change
open-code-review This page50,665ActiveGoApache-2.0
pstackShares code-review · agent-skills4,132—JavaScriptMIT—
code-review-skillShares code-review · agent-skills441ActivePythonMIT
Numbers as Mindket last read them, from 2026-11-08 to 2026-11-14. Activity is read from each project’s last change on GitHub: Active within 30 days, Quiet within 180, Stale after that.

Reviews

No ratings yet

Write a review

No reviews yet.

What people say

Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.

pSYoniKAsk HN: What other tools similar to Alibaba OCR do people use with LLMs?I'm asking the question focusing specifically on what I could use/download/configure right now, not necessarily on any custom written harness you might be using which isn't shared and fits your specific workflow. I have been finding Alibaba's OCR (https://github.com/alibaba/open-code-review) very…1 point · 1 replymt_owlBubo: AI code-reviewer that learns from review commentsI'm getting tired of AI code reviewers flooding PRs with noise and repeat findings, not to say false positives. And then learning nothing when a developer explains why a finding is wrong! For me there's a lot going on in code beyond the tech stack: tribal and institutional knowledge, business…moehmCodex SecurityAlibaba just open sourced their version of a CLI code review tool too. https://github.com/alibaba/open-code-reviewwismwasmWrite code like a human will maintain itI have good experience with using open-code-review: * https://github.com/alibaba/open-code-review ** https://layandreas.github.io/personal-blog/posts/beyond-vide...ignoramousOpen Code Review – An AI-powered code review CLI toolThe project lead has since mainlined the translation: https://github.com/alibaba/open-code-review/commit/8c4463f65... I wonder what it means for prompts to go from Mandarin / Cantonese to English...pramodbiligiriOpen Code Review – An AI-powered code review CLI toolA repo with the English translation of each of the rules files, using Google Translate: https://github.com/pramodbiligiri/open-code-review-rules. The original rules files (in Chinese): https://github.com/alibaba/open-code-review/tree/main/intern...pramodbiligiriOpen Code Review – An AI-powered code review CLI toolMechanics of running their command aside, I think the main value add is all the rules: https://github.com/alibaba/open-code-review/tree/main/intern... Like with "SKILL" files in general, it's got to do with Prompt Engineering: https://en.wikipedia.org/wiki/Prompt_engineering#RationalepramodbiligiriOpen Code Review – An AI-powered code review CLI toolAn English rendering of the Java.md (Google Translate): https://github-com.translate.goog/alibaba/open-code-review/b...

Searched

More from Mindket

See all from Mindket

Huashu Design

alchaincyf · Skill

Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…

New29.4k

Guizang PPT Skill

op7418 · Skill

Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…

New29.8k

Claude Code Skills & Plugins

alirezarezvani · Skill

Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…

New29.8k

Similar projects

See all in Developer

pstack

michael-denyer · Skill

Michael Denyer’s port of Lauren Tan’s pstack skill stack to Claude Code, Codex, Pi, GitHub Copilot, Muse and other agents. Tell its poteto-mode skill your goal…

New4132

code-review-skill

kyy-logs · Skill

Reviews a diff or a commit range statically and writes an auditable report with located findings, severities and a pass or fail gate built from JSON records, w…

New441

buzz

block · Kit

Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…

New37.3k