Who it is forA developer already paying for a coding agent who does not want to configure another provider.
The problemSetting up another model endpoint and key just for reviews is extra work.
The outcomeA review run by your coding agent's own LLM, with ocr handling file selection and rule resolution.
What you need first
- Git 2.41 or newer
- Node.js and npm to install the CLI
- An API key for an LLM provider, unless you use Delegation Mode
Steps
- Install the CLI with
npm install -g @alibaba-group/open-code-review - Run
ocr delegate previewto see what will be reviewed - Run
ocr delegate rule src/main.go src/handler.gowith your own file paths to resolve the rules for those files - Have your agent review each file against those rules
- For Claude Code, Codex or Cursor, install the matching plugin described in the plugins/open-code-review README
Prompt for your agent
Install alibaba/open-code-review, run `ocr delegate preview`, then run `ocr delegate rule <files>` for the files it lists and review them yourself against the rules it returns. Report findings by file and line.
Caveat. Plugin install steps live in the repository's plugins README rather than the main README, so read them for your agent.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for alibaba/open-code-review and "Use delegation mode so your coding agent does the review"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer