Tools/alibaba/open-code-review

open-code-review

Secure, fast, efficient, battle-tested at Alibaba's scale. Hybrid architecture code review tool: deterministic pipelines + LLM Agent, precise line-level comments, built-in multi-language ruleset (NPE, thread-safety, XSS, SQL injection), OpenAI & Anthropic compatible.

52.5k ★+2.8k/wkestablishedGoApache License 2.0 →trending

The Lens

By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.

Updated Nov 2026

Alibaba ran this as its internal AI code reviewer for two years before opening it up. The CLI hands your Git diff to an LLM agent that can search the rest of the repo, and returns comments pinned to exact lines. Built-in rules cover null pointer errors, thread safety, XSS and SQL injection. Apache 2.0, bring your own model.

Install via npm, then pick a provider: Anthropic, OpenAI, Gemini, OpenRouter, Bedrock and DeepSeek are built in. Or use delegation mode, where Claude Code, Codex or Cursor reviews with its own model and no extra key. CI recipes for GitHub Actions and GitLab CI post comments on the PR. Nothing to host.

The smart part: plain code decides which files get reviewed and which rules apply, and the model only judges. Solo: free, run it before you push. Small teams: free plus API spend, wire it into CI. Larger teams: free, but tune the rules first.

The catch: it trades recall for precision on purpose, so treat it as a second reviewer, not a replacement for a human. A September advisory let a repo's rule file pull host files into the prompt (fixed in 1.11.1), so keep CI current.

Free vs Self-Hosted vs Paid

fully free

Free: The whole tool under Apache 2.0: the ocr CLI (diff review and full-file scan), built-in multi-language rule sets, custom review rules, plugins for Claude Code, Codex, Cursor, Kimi Code and OpenCode, GitHub Actions and GitLab CI recipes, the session viewer, and OpenTelemetry support.

Self-hosted: Runs on your machine or a CI runner. Needs Git 2.41 or newer. Install from npm (@alibaba-group/open-code-review, published by Alibaba staff), a release binary or source. Configure an LLM provider and API key, or use delegation mode so your coding agent supplies the model.

Paid: No paid edition or hosted service from Alibaba. The real cost is model tokens, billed by whichever provider you configure, plus CI runner minutes if you run it on every pull request.

Free under Apache 2.0 with no paid tier. Your bill is the model provider's tokens, or usage on the agent plan you already have in delegation mode.

What to do by team size

Solo
free
Small team
free plus model API spend; run it in CI on every PR
Medium team
free plus model API spend
Large team
free; tune review rules and set token budgets before rolling out
Self-hosting ops:trivial

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Similar Tools

Score
95/100 · A+
Adoption30/30
Maintenance25/25
Community15/20
License15/15
Analysis10/10

A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores

Trust Signals

High adoption: 49,325 starsActive community: 3,618 forksCommunity discussions enabledOrganization account (544 public repos)Notable author: 21,535 followersAuthor also built: alibaba/qz-browser-agent (165 stars)

License: Apache License 2.0

Use freely. Patent grant included.

Commercial use: ✓ Yes

About

Owner
Alibaba (Organization)
Stars
52,504
Forks
4,215

Also by Alibaba

Explore Further

More tools in the directory