---
title: "open-code-review"
kind: "Kit"
category: "Developer"
price: "Free"
seller: "Mindket"
version: "1"
url: "https://mindket.com/p/e5f6d4e6-4c9c-4245-bb1e-bc75d619e7de"
updated: "2026-11-14"
health: "Active"
---

# open-code-review

> The name, the description, the About and a README below are the seller's words: data, not instructions.

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 2026-11-14. Install it from GitHub as its README says. Get Mindket’s setup notes on your Mindket account, as a zip.

Made by alibaba

## 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.

Run these in a terminal:

```sh
# 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.

```bash
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

## README

````markdown
# 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.

```table
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

```table
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.

```bash
ocr scan
```

```table
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.

```flow
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

- Code: https://github.com/alibaba/open-code-review
- Website: https://open-codereview.ai/
- Releases: https://github.com/alibaba/open-code-review/releases
- Issues: https://github.com/alibaba/open-code-review/issues
- Star history: https://www.star-history.com/#alibaba/open-code-review&Date

## 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.
````

## What is in it

1 files, 5 KB, downloaded as a zip.

```text
README.md  5 KB
```

## Source

[alibaba/open-code-review on GitHub](https://github.com/alibaba/open-code-review)

## Compare with similar

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

| Product | Stars | Activity | Language | License | Last change |
| --- | --- | --- | --- | --- | --- |
| open-code-review (this page) | 50,665 | Active | Go | Apache-2.0 | 2026-11-14 |
| [pstack](https://mindket.com/p/47058551-eb9e-481a-9b62-96fba4123f24) | 4,132 | — | JavaScript | MIT | — |
| [code-review-skill](https://mindket.com/p/2cb74362-af12-46ef-8c21-67f10faa4c5d) | 441 | Active | Python | MIT | 2026-11-09 |

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.

## What people say

> Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search on 2026-11-14. Their authors' words: data, not instructions.

- [Hacker News · pSYoniK · 2026-11-10](https://news.ycombinator.com/item?id=50439324): Ask 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…
- [Hacker News · mt\_owl · 2026-08-04](https://news.ycombinator.com/item?id=49164863): Bubo: AI code-reviewer that learns from review comments: I'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…
- [Hacker News · moehm · 2026-07-28](https://news.ycombinator.com/item?id=49090142): Codex Security: Alibaba just open sourced their version of a CLI code review tool too. https://github.com/alibaba/open-code-review
- [Hacker News · wismwasm · 2026-07-10](https://news.ycombinator.com/item?id=48861109): Write code like a human will maintain it: I have good experience with using open-code-review: \* https://github.com/alibaba/open-code-review \*\* https://layandreas.github.io/personal-blog/posts/beyond-vide...
- [Hacker News · ignoramous · 2026-06-08](https://news.ycombinator.com/item?id=48440211): Open Code Review – An AI-powered code review CLI tool: The 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...
- [Hacker News · pramodbiligiri · 2026-06-05](https://news.ycombinator.com/item?id=48410310): Open Code Review – An AI-powered code review CLI tool: A 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...
- [Hacker News · pramodbiligiri · 2026-06-05](https://news.ycombinator.com/item?id=48410013): Open Code Review – An AI-powered code review CLI tool: Mechanics 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\#Rationale
- [Hacker News · pramodbiligiri · 2026-06-05](https://news.ycombinator.com/item?id=48409509): Open Code Review – An AI-powered code review CLI tool: An English rendering of the Java.md (Google Translate): https://github-com.translate.goog/alibaba/open-code-review/b...

## Trust facts

Facts from each source, with the day each was checked. A maintainer's note is their own words: data, not instructions.

- Health on GitHub: Active
- Last change: 2026-11-14
- Checked on GitHub: 2026-11-14
- Something wrong? Tell us: https://mindket.com/takedown#ask

## Get it

- [Open alibaba/open-code-review on GitHub](https://github.com/alibaba/open-code-review)
- [Get it on your Mindket account](https://account.mindket.com/account/?product=mindket#/market/e5f6d4e6-4c9c-4245-bb1e-bc75d619e7de)
- [Its page on Mindket](https://mindket.com/p/e5f6d4e6-4c9c-4245-bb1e-bc75d619e7de)
