{"id":477,"date":"2026-06-05T00:04:00","date_gmt":"2026-06-05T00:04:00","guid":{"rendered":"https:\/\/futurenews24.com\/index.php\/2026\/06\/05\/open-code-review\/"},"modified":"2026-06-06T07:00:16","modified_gmt":"2026-06-06T07:00:16","slug":"open-code-review","status":"publish","type":"post","link":"https:\/\/futurenews24.com\/index.php\/2026\/06\/05\/open-code-review\/","title":{"rendered":"Battle-tested at Alibaba&#8217;s scale. Hybrid structure code evaluation instrument"},"content":{"rendered":"\n<div id=\"\">\n<p><img decoding=\"async\" style=\"max-width: 100%; height: auto; max-height: 240px;\" src=\"https:\/\/github.com\/alibaba\/open-code-review\/raw\/main\/imgs\/logo.svg\" alt=\"OpenCodeReview logo\" width=\"240\" height=\"240\" \/><\/p>\n<p dir=\"auto\" align=\"center\">The open supply AI code evaluation agent.<\/p>\n<p dir=\"auto\" align=\"center\"><img decoding=\"async\" style=\"max-width: 100%;\" src=\"https:\/\/camo.githubusercontent.com\/e4b8794715fd95b551a5f9151bb4cafdc660ff143c3375aadbae3698a50ed82e\/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f40616c69626162612d67726f75702f6f70656e2d636f64652d7265766965773f7374796c653d666c61742d737175617265\" alt=\"npm\" data-canonical-src=\"https:\/\/img.shields.io\/npm\/v\/@alibaba-group\/open-code-review?style=flat-square\" \/><br \/>\n<img decoding=\"async\" style=\"max-width: 100%;\" src=\"https:\/\/camo.githubusercontent.com\/aaac266761424237a7f8ac6c51a51a453169fc8881d26a2ca027259d3bed5bea\/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f616c69626162612f6f70656e2d636f64652d7265766965772f72656c656173652e796d6c3f7374796c653d666c61742d737175617265\" alt=\"Build status\" data-canonical-src=\"https:\/\/img.shields.io\/github\/actions\/workflow\/status\/alibaba\/open-code-review\/release.yml?style=flat-square\" \/><br \/>\n<img decoding=\"async\" style=\"max-width: 100%;\" src=\"https:\/\/camo.githubusercontent.com\/81a302e376f278236fe580b923ee7e69db270e5ed4b65b78c325efbb9158be05\/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f616c69626162612f6f70656e2d636f64652d7265766965773f7374796c653d666c61742d737175617265\" alt=\"License\" data-canonical-src=\"https:\/\/img.shields.io\/github\/license\/alibaba\/open-code-review?style=flat-square\" \/><\/p>\n<p dir=\"auto\" align=\"center\">English | \u7b80\u4f53\u4e2d\u6587<\/p>\n<div class=\"markdown-heading\" dir=\"auto\">\n<h2 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\">What&#8217;s Open Code Evaluate?<\/h2>\n<\/div>\n<p dir=\"auto\">Open Code Evaluate is an AI-powered code evaluation CLI instrument. It originated as Alibaba Group&#8217;s inside official AI code evaluation assistant \u2014 over the previous two years, it has served tens of 1000&#8217;s of builders and recognized tens of millions of code defects. After thorough validation at large scale, we incubated it into an open supply venture for the group. Merely configure a mannequin endpoint to get began.<\/p>\n<p dir=\"auto\">It reads Git diffs, sends modified information to a configurable LLM through an agent with tool-use capabilities, and generates structured evaluation feedback with line-level precision. The agent can learn full file contents, search the codebase, examine different modified information for context, and produce deep critiques \u2014 not simply surface-level diff suggestions.<\/p>\n<p dir=\"auto\"><img decoding=\"async\" style=\"max-width: 100%;\" src=\"https:\/\/github.com\/alibaba\/open-code-review\/raw\/main\/imgs\/highlights-en.png\" alt=\"Highlights\" \/><\/p>\n<div class=\"markdown-heading\" dir=\"auto\">\n<h3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\">The Downside with Basic-Goal Brokers<\/h3>\n<\/div>\n<p dir=\"auto\">When you&#8217;ve used general-purpose brokers like Claude Code with Abilities for code evaluation, you&#8217;ve got seemingly encountered these ache factors:<\/p>\n<p>Incomplete protection \u2014 On bigger changesets, brokers are inclined to &#8220;reduce corners,&#8221; selectively reviewing just some information and lacking others.<br \/>\nPlace drift \u2014 Reported points steadily do not match the precise code location, with line numbers or file references drifting off track.<br \/>\nUnstable high quality \u2014 Pure-language-driven Abilities are arduous to debug, and evaluation high quality fluctuates considerably with minor immediate variations.<\/p>\n<p dir=\"auto\">The basis trigger: a purely language-driven structure lacks arduous constraints on the evaluation course of.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\">\n<h3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\">Core Design: Deterministic Engineering \u00d7 Agent Hybrid<\/h3>\n<\/div>\n<p dir=\"auto\">Open Code Evaluate&#8217;s core philosophy is to mix deterministic engineering with an agent, every dealing with what it does finest.<\/p>\n<p dir=\"auto\">Deterministic Engineering \u2014 Arduous Constraints<\/p>\n<p dir=\"auto\">For evaluation steps that should not go fallacious, engineering logic \u2014 not the language mannequin \u2014 ensures correctness:<\/p>\n<p>Exact file choice \u2014 Determines precisely which information want evaluation and which ought to be filtered, guaranteeing no essential change is missed.<br \/>\nGood file bundling \u2014 Teams associated information right into a single evaluation unit (e.g., message_en.properties and message_zh.properties are bundled collectively). Every bundle runs as a sub-agent with remoted context \u2014 a divide-and-conquer technique that stays steady on very massive changesets and naturally helps concurrent evaluation.<br \/>\nNice-grained rule matching \u2014 Matches evaluation guidelines to every file&#8217;s traits, maintaining the mannequin&#8217;s consideration sharply targeted and eliminating info noise on the supply. In comparison with purely language-driven rule steering, template-engine-based rule matching is extra steady and predictable.<br \/>\nExterior positioning and reflection modules \u2014 Unbiased comment-positioning and comment-reflection modules systematically enhance each the placement accuracy and content material accuracy of AI suggestions.<\/p>\n<p dir=\"auto\">Agent \u2014 Dynamic Resolution-Making<\/p>\n<p dir=\"auto\">The agent&#8217;s strengths are concentrated the place they matter most \u2014 dynamic choices and dynamic context retrieval:<\/p>\n<p>Situation-tuned prompts \u2014 Immediate templates deeply optimized for code evaluation, enhancing effectiveness whereas lowering token consumption.<br \/>\nSituation-tuned toolset \u2014 Distilled from deep evaluation of tool-call traces in large-scale manufacturing information \u2014 together with name frequency distributions, per-tool repetition charges, and the influence of recent instruments on the general name chain \u2014 leading to a purpose-built toolset that&#8217;s extra steady and predictable for code evaluation than a generic agent toolkit.<\/p>\n<p dir=\"auto\">By way of NPM (Beneficial)<\/p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"npm install -g @alibaba-group\/open-code-review\">npm set up -g @alibaba-group\/open-code-review<\/div>\n<p dir=\"auto\">After set up, the ocr command is accessible globally.<\/p>\n<p dir=\"auto\">From GitHub Launch<\/p>\n<p dir=\"auto\">Obtain the newest binary from GitHub Releases:<\/p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# macOS (Apple Silicon)\ncurl -Lo ocr https:\/\/github.com\/alibaba\/open-code-review\/releases\/latest\/download\/opencodereview-darwin-arm64\nchmod +x ocr &amp;&amp; sudo mv ocr \/usr\/local\/bin\/ocr\n\n# macOS (Intel)\ncurl -Lo ocr https:\/\/github.com\/alibaba\/open-code-review\/releases\/latest\/download\/opencodereview-darwin-amd64\nchmod +x ocr &amp;&amp; sudo mv ocr \/usr\/local\/bin\/ocr\n\n# Linux (x86_64)\ncurl -Lo ocr https:\/\/github.com\/alibaba\/open-code-review\/releases\/latest\/download\/opencodereview-linux-amd64\nchmod +x ocr &amp;&amp; sudo mv ocr \/usr\/local\/bin\/ocr\n\n# Linux (ARM64)\ncurl -Lo ocr https:\/\/github.com\/alibaba\/open-code-review\/releases\/latest\/download\/opencodereview-linux-arm64\nchmod +x ocr &amp;&amp; sudo mv ocr \/usr\/local\/bin\/ocr\n\n# Windows (x86_64) \u2014 move ocr.exe to a directory in your PATH\ncurl -Lo ocr.exe https:\/\/github.com\/alibaba\/open-code-review\/releases\/latest\/download\/opencodereview-windows-amd64.exe\n\n# Windows (ARM64) \u2014 move ocr.exe to a directory in your PATH\ncurl -Lo ocr.exe https:\/\/github.com\/alibaba\/open-code-review\/releases\/latest\/download\/opencodereview-windows-arm64.exe\"><span class=\"pl-c\"><span class=\"pl-c\">#<\/span> macOS (Apple Silicon)<\/span><br \/>\ncurl -Lo ocr https:\/\/github.com\/alibaba\/open-code-review\/releases\/newest\/obtain\/opencodereview-darwin-arm64<br \/>\nchmod +x ocr <span class=\"pl-k\">&amp;&amp;<\/span> sudo mv ocr \/usr\/native\/bin\/ocr<\/div>\n<p><span class=\"pl-c\"><span class=\"pl-c\">#<\/span> macOS (Intel)<\/span><br \/>\ncurl -Lo ocr https:\/\/github.com\/alibaba\/open-code-review\/releases\/newest\/obtain\/opencodereview-darwin-amd64<br \/>\nchmod +x ocr <span class=\"pl-k\">&amp;&amp;<\/span> sudo mv ocr \/usr\/native\/bin\/ocr<\/p>\n<p><span class=\"pl-c\"><span class=\"pl-c\">#<\/span> Linux (x86_64)<\/span><br \/>\ncurl -Lo ocr https:\/\/github.com\/alibaba\/open-code-review\/releases\/newest\/obtain\/opencodereview-linux-amd64<br \/>\nchmod +x ocr <span class=\"pl-k\">&amp;&amp;<\/span> sudo mv ocr \/usr\/native\/bin\/ocr<\/p>\n<p><span class=\"pl-c\"><span class=\"pl-c\">#<\/span> Linux (ARM64)<\/span><br \/>\ncurl -Lo ocr https:\/\/github.com\/alibaba\/open-code-review\/releases\/newest\/obtain\/opencodereview-linux-arm64<br \/>\nchmod +x ocr <span class=\"pl-k\">&amp;&amp;<\/span> sudo mv ocr \/usr\/native\/bin\/ocr<\/p>\n<p><span class=\"pl-c\"><span class=\"pl-c\">#<\/span> Home windows (x86_64) \u2014 transfer ocr.exe to a listing in your PATH<\/span><br \/>\ncurl -Lo ocr.exe https:\/\/github.com\/alibaba\/open-code-review\/releases\/newest\/obtain\/opencodereview-windows-amd64.exe<\/p>\n<p><span class=\"pl-c\"><span class=\"pl-c\">#<\/span> Home windows (ARM64) \u2014 transfer ocr.exe to a listing in your PATH<\/span><br \/>\ncurl -Lo ocr.exe https:\/\/github.com\/alibaba\/open-code-review\/releases\/newest\/obtain\/opencodereview-windows-arm64.exe<\/p>\n<\/div>\n<p dir=\"auto\">From Supply<\/p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"git clone https:\/\/github.com\/alibaba\/open-code-review.git\ncd open-code-review\nmake build\nsudo cp dist\/opencodereview \/usr\/local\/bin\/ocr\">git clone https:\/\/github.com\/alibaba\/open-code-review.git<br \/>\n<span class=\"pl-c1\">cd<\/span> open-code-review<br \/>\nmake construct<br \/>\nsudo cp dist\/opencodereview \/usr\/native\/bin\/ocr<\/div>\n<p dir=\"auto\">1. Configure LLM<\/p>\n<p dir=\"auto\">You need to configure an LLM earlier than reviewing code.<\/p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# Option A: Interactive config\nocr config set llm.url https:\/\/api.anthropic.com\/v1\/messages\nocr config set llm.auth_token your-api-key-here\nocr config set llm.model claude-opus-4-6\nocr config set llm.use_anthropic true\n\n# Option B: Environment variables (highest priority)\nexport OCR_LLM_URL=https:\/\/api.anthropic.com\/v1\/messages\nexport OCR_LLM_TOKEN=your-api-key-here\nexport OCR_LLM_MODEL=claude-opus-4-6\nexport OCR_USE_ANTHROPIC=true\"><span class=\"pl-c\"><span class=\"pl-c\">#<\/span> Choice A: Interactive config<\/span><br \/>\nocr config <span class=\"pl-c1\">set<\/span> llm.url https:\/\/api.anthropic.com\/v1\/messages<br \/>\nocr config <span class=\"pl-c1\">set<\/span> llm.auth_token your-api-key-here<br \/>\nocr config <span class=\"pl-c1\">set<\/span> llm.mannequin claude-opus-4-6<br \/>\nocr config <span class=\"pl-c1\">set<\/span> llm.use_anthropic <span class=\"pl-c1\">true<\/span><span class=\"pl-c\"><span class=\"pl-c\">#<\/span> Choice B: Surroundings variables (highest precedence)<\/span><br \/>\n<span class=\"pl-k\">export<\/span> OCR_LLM_URL=https:\/\/api.anthropic.com\/v1\/messages<br \/>\n<span class=\"pl-k\">export<\/span> OCR_LLM_TOKEN=your-api-key-here<br \/>\n<span class=\"pl-k\">export<\/span> OCR_LLM_MODEL=claude-opus-4-6<br \/>\n<span class=\"pl-k\">export<\/span> OCR_USE_ANTHROPIC=true<\/p>\n<\/div>\n<p dir=\"auto\">Config is saved in ~\/.opencodereview\/config.json.<\/p>\n<p dir=\"auto\">It is usually suitable with Claude Code atmosphere variables (ANTHROPIC_BASE_URL, ANTHROPIC_AUTH_TOKEN, ANTHROPIC_MODEL) and parses ~\/.zshrc \/ ~\/.bashrc for these exports.<\/p>\n<p dir=\"auto\">2. Check Connectivity<\/p>\n<p dir=\"auto\">3. Evaluate<\/p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"cd your-project\n\n# Workspace mode \u2014 review all staged, unstaged, and untracked changes\nocr review\n\n# Branch range \u2014 compare two refs\nocr review --from main --to feature-branch\n\n# Single commit\nocr review --commit abc123\"><\/p>\n<p><span class=\"pl-c1\">cd<\/span> your-project<\/p>\n<p><span class=\"pl-c\"><span class=\"pl-c\">#<\/span> Workspace mode \u2014 evaluation all staged, unstaged, and untracked modifications<\/span><br \/>\nocr evaluation<\/p>\n<p><span class=\"pl-c\"><span class=\"pl-c\">#<\/span> Department vary \u2014 evaluate two refs<\/span><br \/>\nocr evaluation &#8211;from principal &#8211;to feature-branch<\/p>\n<p><span class=\"pl-c\"><span class=\"pl-c\">#<\/span> Single commit<\/span><br \/>\nocr evaluation &#8211;commit abc123<\/p>\n<\/div>\n<div class=\"markdown-heading\" dir=\"auto\">\n<h3 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\">Combine with Coding Brokers<\/h3>\n<\/div>\n<p dir=\"auto\">OCR might be seamlessly built-in into AI coding brokers as a slash command, enabling code evaluation immediately inside your agent workflow.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\">\n<h4 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\">Choice 1: Set up as a Ability<\/h4>\n<\/div>\n<p dir=\"auto\">Use npx to put in the OCR ability into your venture:<\/p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"npx skills add alibaba\/open-code-review --skill open-code-review\">npx expertise add alibaba\/open-code-review &#8211;skill open-code-review<\/div>\n<p dir=\"auto\">This installs the open-code-review ability from the talents registry, which teaches your coding agent how you can invoke ocr for code evaluation, classify points by precedence, and optionally apply fixes.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\">\n<h4 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\">Choice 2: Set up as a Claude Code Plugin<\/h4>\n<\/div>\n<p dir=\"auto\">For Claude Code, set up the command plugin by means of the next command in Claude Code:<\/p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"\/plugin marketplace add alibaba\/open-code-review\n\/plugin install open-code-review@open-code-review\">\/plugin market add alibaba\/open-code-review<br \/>\n\/plugin set up open-code-review@open-code-review<\/div>\n<p dir=\"auto\">This registers the \/open-code-review:evaluation slash command, which runs OCR and robotically filters and fixes points.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\">\n<h4 class=\"heading-element\" dir=\"auto\" tabindex=\"-1\">Choice 3: Copy the Command File Instantly<\/h4>\n<\/div>\n<p dir=\"auto\">For a fast setup with none bundle supervisor, merely copy the command file to make use of the \/open-code-review slash command in Claude Code.<\/p>\n<p dir=\"auto\">Mission-level (shared with crew through git):<\/p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"mkdir -p .claude\/commands\ncurl -o .claude\/commands\/open-code-review.md \n https:\/\/raw.githubusercontent.com\/alibaba\/open-code-review\/main\/plugins\/open-code-review\/commands\/review.md\">mkdir -p .claude\/instructions<br \/>\ncurl -o .claude\/instructions\/open-code-review.md<br \/>\nhttps:\/\/uncooked.githubusercontent.com\/alibaba\/open-code-review\/principal\/plugins\/open-code-review\/instructions\/evaluation.md<\/div>\n<p dir=\"auto\">Consumer-level (private international use throughout all initiatives):<\/p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"mkdir -p ~\/.claude\/commands\ncurl -o ~\/.claude\/commands\/open-code-review.md \n https:\/\/raw.githubusercontent.com\/alibaba\/open-code-review\/main\/plugins\/open-code-review\/commands\/review.md\">mkdir -p <span class=\"pl-k\">~<\/span>\/.claude\/instructions<br \/>\ncurl -o <span class=\"pl-k\">~<\/span>\/.claude\/instructions\/open-code-review.md<br \/>\nhttps:\/\/uncooked.githubusercontent.com\/alibaba\/open-code-review\/principal\/plugins\/open-code-review\/instructions\/evaluation.md<\/div>\n<blockquote>\n<p dir=\"auto\">Prerequisite: All integration strategies require the ocr CLI to be put in and an LLM configured. See Set up and Configure LLM above.<\/p>\n<\/blockquote>\n<p dir=\"auto\">OCR might be built-in into CI\/CD pipelines to automate code evaluation on Merge Requests \/ Pull Requests.<\/p>\n<p dir=\"auto\">The core command for CI integration:<\/p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"ocr review \n --from &quot;origin\/main&quot; \n --to &quot;origin\/feature-branch&quot; \n --format json\">ocr evaluation<br \/>\n&#8211;from <span class=\"pl-s\"><span class=\"pl-pds\">&#8220;<\/span>origin\/principal<span class=\"pl-pds\">&#8220;<\/span><\/span><br \/>\n&#8211;to <span class=\"pl-s\"><span class=\"pl-pds\">&#8220;<\/span>origin\/feature-branch<span class=\"pl-pds\">&#8220;<\/span><\/span><br \/>\n&#8211;format json<\/div>\n<p dir=\"auto\">The &#8211;format json flag outputs machine-readable outcomes appropriate for parsing in CI scripts.<\/p>\n<p dir=\"auto\">See the examples\/ listing for integration examples:<\/p>\n<p>Command<br \/>\nAlias<br \/>\nDescription<\/p>\n<p>ocr evaluation<br \/>\nocr r<br \/>\nBegin a code evaluation<\/p>\n<p>ocr guidelines examine<br \/>\n\u2014<br \/>\nPreview which evaluation rule applies to a file path<\/p>\n<p>ocr config set<br \/>\n\u2014<br \/>\nSet configuration values<\/p>\n<p>ocr llm check<br \/>\n\u2014<br \/>\nCheck LLM connectivity<\/p>\n<p>ocr viewer<br \/>\nocr v<br \/>\nLaunch WebUI session viewer on localhost:5483<\/p>\n<p>ocr model<br \/>\n\u2014<br \/>\nPresent model information<\/p>\n<p>Flag<br \/>\nShorthand<br \/>\nDefault<br \/>\nDescription<\/p>\n<p>&#8211;repo<br \/>\n\u2014<br \/>\npresent dir<br \/>\nGit repository root<\/p>\n<p>&#8211;from<br \/>\n\u2014<br \/>\n\u2014<br \/>\nSupply ref (e.g., principal)<\/p>\n<p>&#8211;to<br \/>\n\u2014<br \/>\n\u2014<br \/>\nGoal ref (e.g., feature-branch)<\/p>\n<p>&#8211;commit<br \/>\n-c<br \/>\n\u2014<br \/>\nSingle decide to evaluation<\/p>\n<p>&#8211;preview<br \/>\n-p<br \/>\nfalse<br \/>\nPreview which information shall be reviewed with out working the LLM<\/p>\n<p>&#8211;format<br \/>\n-f<br \/>\ntextual content<br \/>\nOutput format: textual content or json<\/p>\n<p>&#8211;concurrency<br \/>\n\u2014<br \/>\n8<br \/>\nMax concurrent file critiques<\/p>\n<p>&#8211;timeout<br \/>\n\u2014<br \/>\n10<br \/>\nConcurrent activity timeout in minutes<\/p>\n<p>&#8211;audience<br \/>\n\u2014<br \/>\nhuman<br \/>\nhuman (present progress) or agent (abstract solely)<\/p>\n<p>&#8211;rule<br \/>\n\u2014<br \/>\n\u2014<br \/>\nPath to customized JSON evaluation guidelines<\/p>\n<p>&#8211;max-tools<br \/>\n\u2014<br \/>\nbuilt-in<br \/>\nMax instrument name rounds per file; solely takes impact when larger than template default<\/p>\n<p>&#8211;tools<br \/>\n\u2014<br \/>\n\u2014<br \/>\nPath to customized JSON instruments config<\/p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# Preview which files will be reviewed (no LLM calls)\nocr review --preview\nocr review -c abc123 -p\n\n# Review workspace changes with default settings\nocr review\n\n# Review branch diff with higher concurrency\nocr review --from main --to my-feature --concurrency 4\n\n# Review a specific commit with verbose JSON output\nocr review --commit abc123 --format json --audience agent\n\n# Use custom review rules\nocr review --rule \/path\/to\/my-rules.json\n\n# Preview which rule applies to a file\nocr rules check src\/main\/java\/com\/example\/Foo.java\nocr rules check --rule custom.json src\/main\/resources\/mapper\/UserMapper.xml\n\n# View review session history in browser\nocr viewer\nocr viewer --addr :3000\"><span class=\"pl-c\"><span class=\"pl-c\">#<\/span> Preview which information shall be reviewed (no LLM calls)<\/span><br \/>\nocr evaluation &#8211;preview<br \/>\nocr evaluation -c abc123 -p<span class=\"pl-c\"><span class=\"pl-c\">#<\/span> Evaluate workspace modifications with default settings<\/span><br \/>\nocr evaluation<\/p>\n<p><span class=\"pl-c\"><span class=\"pl-c\">#<\/span> Evaluate department diff with increased concurrency<\/span><br \/>\nocr evaluation &#8211;from principal &#8211;to my-feature &#8211;concurrency 4<\/p>\n<p><span class=\"pl-c\"><span class=\"pl-c\">#<\/span> Evaluate a selected commit with verbose JSON output<\/span><br \/>\nocr evaluation &#8211;commit abc123 &#8211;format json &#8211;audience agent<\/p>\n<p><span class=\"pl-c\"><span class=\"pl-c\">#<\/span> Use customized evaluation guidelines<\/span><br \/>\nocr evaluation &#8211;rule \/path\/to\/my-rules.json<\/p>\n<p><span class=\"pl-c\"><span class=\"pl-c\">#<\/span> Preview which rule applies to a file<\/span><br \/>\nocr guidelines examine src\/principal\/java\/com\/instance\/Foo.java<br \/>\nocr guidelines examine &#8211;rule customized.json src\/principal\/sources\/mapper\/UserMapper.xml<\/p>\n<p><span class=\"pl-c\"><span class=\"pl-c\">#<\/span> View evaluation session historical past in browser<\/span><br \/>\nocr viewer<br \/>\nocr viewer &#8211;addr :3000<\/p>\n<\/div>\n<p dir=\"auto\">The viewer serves session JSONL contents (LLM request messages and responses) over HTTP. It enforces a Host-header allowlist on each request: loopback names (localhost, 127.0.0.0\/8, ::1) and the concrete bind host are all the time allowed. Wildcard binds (&#8211;addr :3000, &#8211;addr 0.0.0.0:3000) and different non-loopback Hostnames should be added through the OCR_VIEWER_ALLOWED_HOSTS atmosphere variable (comma-separated):<\/p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"OCR_VIEWER_ALLOWED_HOSTS=review.internal,ocr.lan ocr viewer --addr :3000\">OCR_VIEWER_ALLOWED_HOSTS=evaluation.inside,ocr.lan ocr viewer &#8211;addr :3000<\/div>\n<p dir=\"auto\">This blocks DNS-rebinding assaults towards the native viewer.<\/p>\n<p dir=\"auto\">OCR resolves evaluation guidelines utilizing a four-layer precedence chain. Every layer makes use of first-match-wins: if a file path matches a sample, that rule is used; in any other case it falls by means of to the following layer.<\/p>\n<p>Precedence<br \/>\nSupply<br \/>\nPath<br \/>\nDescription<\/p>\n<p>1 (highest)<br \/>\n&#8211;rule flag<br \/>\nConsumer-specified path<br \/>\nCLI specific override<\/p>\n<p>2<br \/>\nMission config<br \/>\n\/.opencodereview\/rule.json<br \/>\nPer-project guidelines, might be dedicated to git<\/p>\n<p>3<br \/>\nInternational config<br \/>\n~\/.opencodereview\/rule.json<br \/>\nConsumer-wide private preferences<\/p>\n<p>4 (lowest)<br \/>\nSystem default<br \/>\nEmbedded system_rules.json<br \/>\nConstructed-in guidelines protecting widespread languages and file sorts<\/p>\n<p dir=\"auto\">Layers 1\u20133 share the identical JSON format:<\/p>\n<div class=\"highlight highlight-source-json notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"{\n &quot;rules&quot;: [\n {\n &quot;path&quot;: &quot;force-api\/**\/*.java&quot;,\n &quot;rule&quot;: &quot;All new methods must validate required parameters for null values&quot;\n },\n {\n &quot;path&quot;: &quot;**\/*mapper*.xml&quot;,\n &quot;rule&quot;: &quot;Check SQL for injection risks, parameter errors, and missing closing tags&quot;\n }\n ]\n}\">{<br \/>\n<span class=\"pl-ent\">&#8220;guidelines&#8221;<\/span>: [<br \/>\n{<br \/>\n<span class=\"pl-ent\">&#8220;path&#8221;<\/span>: <span class=\"pl-s\"><span class=\"pl-pds\">&#8220;<\/span>force-api\/**\/*.java<span class=\"pl-pds\">&#8220;<\/span><\/span>,<br \/>\n<span class=\"pl-ent\">&#8220;rule&#8221;<\/span>: <span class=\"pl-s\"><span class=\"pl-pds\">&#8220;<\/span>All new methods must validate required parameters for null values<span class=\"pl-pds\">&#8220;<\/span><\/span><br \/>\n},<br \/>\n{<br \/>\n<span class=\"pl-ent\">&#8220;path&#8221;<\/span>: <span class=\"pl-s\"><span class=\"pl-pds\">&#8220;<\/span>**\/*mapper*.xml<span class=\"pl-pds\">&#8220;<\/span><\/span>,<br \/>\n<span class=\"pl-ent\">&#8220;rule&#8221;<\/span>: <span class=\"pl-s\"><span class=\"pl-pds\">&#8220;<\/span>Check SQL for injection risks, parameter errors, and missing closing tags<span class=\"pl-pds\">&#8220;<\/span><\/span><br \/>\n}<br \/>\n]<br \/>\n}<\/div>\n<p>path helps ** recursive matching and {java,kt} brace enlargement.<br \/>\nInside every layer, guidelines are evaluated in declaration order \u2014 the primary match wins.<br \/>\nIf a rule file doesn&#8217;t exist, it&#8217;s silently skipped.<\/p>\n<p dir=\"auto\">Config file: ~\/.opencodereview\/config.json<\/p>\n<p>Key<br \/>\nSort<br \/>\nInstance<\/p>\n<p>llm.url<br \/>\nstring<br \/>\nhttps:\/\/api.openai.com\/v1\/chat\/completions<\/p>\n<p>llm.auth_token<br \/>\nstring<br \/>\nsk-xxxxxxx<\/p>\n<p>llm.mannequin<br \/>\nstring<br \/>\nclaude-opus-4-6<\/p>\n<p>llm.use_anthropic<br \/>\nboolean<br \/>\ntrue | false<\/p>\n<p>language<br \/>\nstring<br \/>\nEnglish | Chinese language (default: Chinese language)<\/p>\n<p>telemetry.enabled<br \/>\nboolean<br \/>\ntrue | false<\/p>\n<p>telemetry.exporter<br \/>\nstring<br \/>\nconsole | otlp<\/p>\n<p>telemetry.otlp_endpoint<br \/>\nstring<br \/>\nOTLP collector tackle<\/p>\n<p>telemetry.content_logging<br \/>\nboolean<br \/>\nEmbody prompts in telemetry<\/p>\n<p dir=\"auto\">Surroundings variables take priority over the config file.<\/p>\n<p>Variable<br \/>\nGoal<\/p>\n<p>OCR_LLM_URL<br \/>\nLLM API endpoint URL<\/p>\n<p>OCR_LLM_TOKEN<br \/>\nAPI key \/ auth token<\/p>\n<p>OCR_LLM_MODEL<br \/>\nMannequin title<\/p>\n<p>OCR_USE_ANTHROPIC<br \/>\ntrue = Anthropic, false = OpenAI<\/p>\n<p dir=\"auto\">OpenTelemetry integration for observability (spans, metrics). Disabled by default.<\/p>\n<div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"ocr config set telemetry.enabled true\nocr config set telemetry.exporter otlp\nocr config set telemetry.otlp_endpoint localhost:4317\">ocr config <span class=\"pl-c1\">set<\/span> telemetry.enabled <span class=\"pl-c1\">true<\/span><br \/>\nocr config <span class=\"pl-c1\">set<\/span> telemetry.exporter otlp<br \/>\nocr config <span class=\"pl-c1\">set<\/span> telemetry.otlp_endpoint localhost:4317<\/div>\n<p dir=\"auto\">Set telemetry.content_logging to incorporate LLM prompts and responses in exported information.<\/p>\n<p dir=\"auto\">See CONTRIBUTING.md for growth setup, coding tips, and how you can submit pull requests.<\/p>\n<p dir=\"auto\"><img decoding=\"async\" style=\"max-width: 100%;\" src=\"https:\/\/camo.githubusercontent.com\/43321b7a2f6a055e70a296276197f1c46fc2f3ab0a578258cf51f38645599371\/68747470733a2f2f6170692e737461722d686973746f72792e636f6d2f7376673f7265706f733d616c69626162612f6f70656e2d636f64652d72657669657726747970653d44617465\" alt=\"Star History Chart\" data-canonical-src=\"https:\/\/api.star-history.com\/svg?repos=alibaba\/open-code-review&amp;type=Date\" \/><\/p>\n<p dir=\"auto\">Apache-2.0 \u2014 Copyright 2026 Alibaba<\/p>\n\n<p><a href=\"https:\/\/github.com\/alibaba\/open-code-review\">Source link <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The open supply AI code evaluation agent. English | \u7b80\u4f53\u4e2d\u6587 What&#8217;s Open Code Evaluate? Open Code Evaluate is an AI-powered code evaluation CLI instrument. It originated as Alibaba Group&#8217;s inside official AI code evaluation assistant \u2014 over the previous two years, it has served tens of 1000&#8217;s of builders and recognized tens of millions of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":479,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/opengraph.githubassets.com\/cedb8258c936ad8da632f4168518fe8e9c3f164eabd1645cc5bc18f30b4c1d0d\/alibaba\/open-code-review","fifu_image_alt":"","jnews-multi-image_gallery":[],"jnews_single_post":[],"jnews_primary_category":[],"jnews_override_bookmark_settings":[],"jnews_social_meta":[],"jnews_override_counter":[],"footnotes":""},"categories":[5],"tags":[457,765,767,259,769,766,775,362,774,783,770,776,97,768,782,773,452,778,258,771,772,445,777,268,781,779,16,780],"class_list":["post-477","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-developer-ai-open-source-ecosystem","tag-agent","tag-alibabaopencodereview","tag-alibabas","tag-anthropic","tag-architecture","tag-battletested","tag-builtin","tag-code","tag-comments","tag-compatible","tag-deterministic","tag-finetuned","tag-github","tag-hybrid","tag-injection","tag-linelevel","tag-llm","tag-npe","tag-openai","tag-pipelines","tag-precise","tag-review","tag-ruleset","tag-scale","tag-sql","tag-threadsafety","tag-tool","tag-xss"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Battle-tested at Alibaba&#039;s scale. Hybrid structure code evaluation instrument - Future News 24<\/title>\n<meta name=\"description\" content=\"Battle-tested at Alibaba&#039;s scale. Hybrid architecture code review tool: deterministic pipelines + LLM Agent, precise line-level comments, built-in fine-tuned ruleset (NPE, thread-safety, XSS, SQL injection), OpenAI &amp; Anthropic compatible. - alibaba\/open-code-review\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/futurenews24.com\/index.php\/2026\/06\/05\/open-code-review\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Battle-tested at Alibaba&#039;s scale. Hybrid structure code evaluation instrument - Future News 24\" \/>\n<meta property=\"og:description\" content=\"Battle-tested at Alibaba&#039;s scale. Hybrid architecture code review tool: deterministic pipelines + LLM Agent, precise line-level comments, built-in fine-tuned ruleset (NPE, thread-safety, XSS, SQL injection), OpenAI &amp; Anthropic compatible. - alibaba\/open-code-review\" \/>\n<meta property=\"og:url\" content=\"https:\/\/futurenews24.com\/index.php\/2026\/06\/05\/open-code-review\/\" \/>\n<meta property=\"og:site_name\" content=\"Future News 24\" \/>\n<meta property=\"article:published_time\" content=\"2026-06-05T00:04:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-06T07:00:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/opengraph.githubassets.com\/cedb8258c936ad8da632f4168518fe8e9c3f164eabd1645cc5bc18f30b4c1d0d\/alibaba\/open-code-review\" \/>\n<meta name=\"author\" content=\"Future News 24\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/opengraph.githubassets.com\/cedb8258c936ad8da632f4168518fe8e9c3f164eabd1645cc5bc18f30b4c1d0d\/alibaba\/open-code-review\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Future News 24\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/futurenews24.com\\\/index.php\\\/2026\\\/06\\\/05\\\/open-code-review\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/futurenews24.com\\\/index.php\\\/2026\\\/06\\\/05\\\/open-code-review\\\/\"},\"author\":{\"name\":\"Future News 24\",\"@id\":\"https:\\\/\\\/futurenews24.com\\\/#\\\/schema\\\/person\\\/cecad1bde21cfc357cf70128144d6c83\"},\"headline\":\"Battle-tested at Alibaba&#8217;s scale. Hybrid structure code evaluation instrument\",\"datePublished\":\"2026-06-05T00:04:00+00:00\",\"dateModified\":\"2026-06-06T07:00:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/futurenews24.com\\\/index.php\\\/2026\\\/06\\\/05\\\/open-code-review\\\/\"},\"wordCount\":1805,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/futurenews24.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/futurenews24.com\\\/index.php\\\/2026\\\/06\\\/05\\\/open-code-review\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/opengraph.githubassets.com\\\/cedb8258c936ad8da632f4168518fe8e9c3f164eabd1645cc5bc18f30b4c1d0d\\\/alibaba\\\/open-code-review\",\"keywords\":[\"Agent\",\"alibabaopencodereview\",\"Alibabas\",\"Anthropic\",\"architecture\",\"Battletested\",\"builtin\",\"Code\",\"comments\",\"compatible\",\"deterministic\",\"finetuned\",\"GitHub\",\"Hybrid\",\"injection\",\"linelevel\",\"LLM\",\"NPE\",\"OpenAI\",\"pipelines\",\"precise\",\"review\",\"ruleset\",\"scale\",\"SQL\",\"threadsafety\",\"Tool\",\"XSS\"],\"articleSection\":[\"Developer AI &amp; Open-Source Ecosystem\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/futurenews24.com\\\/index.php\\\/2026\\\/06\\\/05\\\/open-code-review\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/futurenews24.com\\\/index.php\\\/2026\\\/06\\\/05\\\/open-code-review\\\/\",\"url\":\"https:\\\/\\\/futurenews24.com\\\/index.php\\\/2026\\\/06\\\/05\\\/open-code-review\\\/\",\"name\":\"Battle-tested at Alibaba's scale. Hybrid structure code evaluation instrument - Future News 24\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/futurenews24.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/futurenews24.com\\\/index.php\\\/2026\\\/06\\\/05\\\/open-code-review\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/futurenews24.com\\\/index.php\\\/2026\\\/06\\\/05\\\/open-code-review\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/opengraph.githubassets.com\\\/cedb8258c936ad8da632f4168518fe8e9c3f164eabd1645cc5bc18f30b4c1d0d\\\/alibaba\\\/open-code-review\",\"datePublished\":\"2026-06-05T00:04:00+00:00\",\"dateModified\":\"2026-06-06T07:00:16+00:00\",\"description\":\"Battle-tested at Alibaba's scale. Hybrid architecture code review tool: deterministic pipelines + LLM Agent, precise line-level comments, built-in fine-tuned ruleset (NPE, thread-safety, XSS, SQL injection), OpenAI & Anthropic compatible. - alibaba\\\/open-code-review\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/futurenews24.com\\\/index.php\\\/2026\\\/06\\\/05\\\/open-code-review\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/futurenews24.com\\\/index.php\\\/2026\\\/06\\\/05\\\/open-code-review\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/futurenews24.com\\\/index.php\\\/2026\\\/06\\\/05\\\/open-code-review\\\/#primaryimage\",\"url\":\"https:\\\/\\\/opengraph.githubassets.com\\\/cedb8258c936ad8da632f4168518fe8e9c3f164eabd1645cc5bc18f30b4c1d0d\\\/alibaba\\\/open-code-review\",\"contentUrl\":\"https:\\\/\\\/opengraph.githubassets.com\\\/cedb8258c936ad8da632f4168518fe8e9c3f164eabd1645cc5bc18f30b4c1d0d\\\/alibaba\\\/open-code-review\",\"width\":\"1200\",\"height\":\"600\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/futurenews24.com\\\/index.php\\\/2026\\\/06\\\/05\\\/open-code-review\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/futurenews24.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Battle-tested at Alibaba&#8217;s scale. Hybrid structure code evaluation instrument\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/futurenews24.com\\\/#website\",\"url\":\"https:\\\/\\\/futurenews24.com\\\/\",\"name\":\"Future News 24\",\"description\":\"The Smart Hub for AI and Next-Gen Innovation\",\"publisher\":{\"@id\":\"https:\\\/\\\/futurenews24.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/futurenews24.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/futurenews24.com\\\/#organization\",\"name\":\"Future News 24\",\"url\":\"https:\\\/\\\/futurenews24.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/futurenews24.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/futurenews24.com\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/fn24-favicon.png\",\"contentUrl\":\"https:\\\/\\\/futurenews24.com\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/fn24-favicon.png\",\"width\":250,\"height\":250,\"caption\":\"Future News 24\"},\"image\":{\"@id\":\"https:\\\/\\\/futurenews24.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/futurenews24.com\\\/#\\\/schema\\\/person\\\/cecad1bde21cfc357cf70128144d6c83\",\"name\":\"Future News 24\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d57f07142d73cb5503ab2446ea7bc9ef3d0a5ba378d64a6157692311e42bf097?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d57f07142d73cb5503ab2446ea7bc9ef3d0a5ba378d64a6157692311e42bf097?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d57f07142d73cb5503ab2446ea7bc9ef3d0a5ba378d64a6157692311e42bf097?s=96&d=mm&r=g\",\"caption\":\"Future News 24\"},\"sameAs\":[\"https:\\\/\\\/futurenews24.com\"],\"url\":\"https:\\\/\\\/futurenews24.com\\\/index.php\\\/author\\\/mridulpahuja20\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Battle-tested at Alibaba's scale. Hybrid structure code evaluation instrument - Future News 24","description":"Battle-tested at Alibaba's scale. Hybrid architecture code review tool: deterministic pipelines + LLM Agent, precise line-level comments, built-in fine-tuned ruleset (NPE, thread-safety, XSS, SQL injection), OpenAI & Anthropic compatible. - alibaba\/open-code-review","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/futurenews24.com\/index.php\/2026\/06\/05\/open-code-review\/","og_locale":"en_US","og_type":"article","og_title":"Battle-tested at Alibaba's scale. Hybrid structure code evaluation instrument - Future News 24","og_description":"Battle-tested at Alibaba's scale. Hybrid architecture code review tool: deterministic pipelines + LLM Agent, precise line-level comments, built-in fine-tuned ruleset (NPE, thread-safety, XSS, SQL injection), OpenAI & Anthropic compatible. - alibaba\/open-code-review","og_url":"https:\/\/futurenews24.com\/index.php\/2026\/06\/05\/open-code-review\/","og_site_name":"Future News 24","article_published_time":"2026-06-05T00:04:00+00:00","article_modified_time":"2026-06-06T07:00:16+00:00","og_image":[{"url":"https:\/\/opengraph.githubassets.com\/cedb8258c936ad8da632f4168518fe8e9c3f164eabd1645cc5bc18f30b4c1d0d\/alibaba\/open-code-review","type":"","width":"","height":""}],"author":"Future News 24","twitter_card":"summary_large_image","twitter_image":"https:\/\/opengraph.githubassets.com\/cedb8258c936ad8da632f4168518fe8e9c3f164eabd1645cc5bc18f30b4c1d0d\/alibaba\/open-code-review","twitter_misc":{"Written by":"Future News 24","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/futurenews24.com\/index.php\/2026\/06\/05\/open-code-review\/#article","isPartOf":{"@id":"https:\/\/futurenews24.com\/index.php\/2026\/06\/05\/open-code-review\/"},"author":{"name":"Future News 24","@id":"https:\/\/futurenews24.com\/#\/schema\/person\/cecad1bde21cfc357cf70128144d6c83"},"headline":"Battle-tested at Alibaba&#8217;s scale. Hybrid structure code evaluation instrument","datePublished":"2026-06-05T00:04:00+00:00","dateModified":"2026-06-06T07:00:16+00:00","mainEntityOfPage":{"@id":"https:\/\/futurenews24.com\/index.php\/2026\/06\/05\/open-code-review\/"},"wordCount":1805,"commentCount":0,"publisher":{"@id":"https:\/\/futurenews24.com\/#organization"},"image":{"@id":"https:\/\/futurenews24.com\/index.php\/2026\/06\/05\/open-code-review\/#primaryimage"},"thumbnailUrl":"https:\/\/opengraph.githubassets.com\/cedb8258c936ad8da632f4168518fe8e9c3f164eabd1645cc5bc18f30b4c1d0d\/alibaba\/open-code-review","keywords":["Agent","alibabaopencodereview","Alibabas","Anthropic","architecture","Battletested","builtin","Code","comments","compatible","deterministic","finetuned","GitHub","Hybrid","injection","linelevel","LLM","NPE","OpenAI","pipelines","precise","review","ruleset","scale","SQL","threadsafety","Tool","XSS"],"articleSection":["Developer AI &amp; Open-Source Ecosystem"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/futurenews24.com\/index.php\/2026\/06\/05\/open-code-review\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/futurenews24.com\/index.php\/2026\/06\/05\/open-code-review\/","url":"https:\/\/futurenews24.com\/index.php\/2026\/06\/05\/open-code-review\/","name":"Battle-tested at Alibaba's scale. Hybrid structure code evaluation instrument - Future News 24","isPartOf":{"@id":"https:\/\/futurenews24.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/futurenews24.com\/index.php\/2026\/06\/05\/open-code-review\/#primaryimage"},"image":{"@id":"https:\/\/futurenews24.com\/index.php\/2026\/06\/05\/open-code-review\/#primaryimage"},"thumbnailUrl":"https:\/\/opengraph.githubassets.com\/cedb8258c936ad8da632f4168518fe8e9c3f164eabd1645cc5bc18f30b4c1d0d\/alibaba\/open-code-review","datePublished":"2026-06-05T00:04:00+00:00","dateModified":"2026-06-06T07:00:16+00:00","description":"Battle-tested at Alibaba's scale. Hybrid architecture code review tool: deterministic pipelines + LLM Agent, precise line-level comments, built-in fine-tuned ruleset (NPE, thread-safety, XSS, SQL injection), OpenAI & Anthropic compatible. - alibaba\/open-code-review","breadcrumb":{"@id":"https:\/\/futurenews24.com\/index.php\/2026\/06\/05\/open-code-review\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/futurenews24.com\/index.php\/2026\/06\/05\/open-code-review\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/futurenews24.com\/index.php\/2026\/06\/05\/open-code-review\/#primaryimage","url":"https:\/\/opengraph.githubassets.com\/cedb8258c936ad8da632f4168518fe8e9c3f164eabd1645cc5bc18f30b4c1d0d\/alibaba\/open-code-review","contentUrl":"https:\/\/opengraph.githubassets.com\/cedb8258c936ad8da632f4168518fe8e9c3f164eabd1645cc5bc18f30b4c1d0d\/alibaba\/open-code-review","width":"1200","height":"600"},{"@type":"BreadcrumbList","@id":"https:\/\/futurenews24.com\/index.php\/2026\/06\/05\/open-code-review\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/futurenews24.com\/"},{"@type":"ListItem","position":2,"name":"Battle-tested at Alibaba&#8217;s scale. Hybrid structure code evaluation instrument"}]},{"@type":"WebSite","@id":"https:\/\/futurenews24.com\/#website","url":"https:\/\/futurenews24.com\/","name":"Future News 24","description":"The Smart Hub for AI and Next-Gen Innovation","publisher":{"@id":"https:\/\/futurenews24.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/futurenews24.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/futurenews24.com\/#organization","name":"Future News 24","url":"https:\/\/futurenews24.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/futurenews24.com\/#\/schema\/logo\/image\/","url":"https:\/\/futurenews24.com\/wp-content\/uploads\/2026\/06\/fn24-favicon.png","contentUrl":"https:\/\/futurenews24.com\/wp-content\/uploads\/2026\/06\/fn24-favicon.png","width":250,"height":250,"caption":"Future News 24"},"image":{"@id":"https:\/\/futurenews24.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/futurenews24.com\/#\/schema\/person\/cecad1bde21cfc357cf70128144d6c83","name":"Future News 24","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/d57f07142d73cb5503ab2446ea7bc9ef3d0a5ba378d64a6157692311e42bf097?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/d57f07142d73cb5503ab2446ea7bc9ef3d0a5ba378d64a6157692311e42bf097?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d57f07142d73cb5503ab2446ea7bc9ef3d0a5ba378d64a6157692311e42bf097?s=96&d=mm&r=g","caption":"Future News 24"},"sameAs":["https:\/\/futurenews24.com"],"url":"https:\/\/futurenews24.com\/index.php\/author\/mridulpahuja20\/"}]}},"_links":{"self":[{"href":"https:\/\/futurenews24.com\/index.php\/wp-json\/wp\/v2\/posts\/477","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/futurenews24.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/futurenews24.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/futurenews24.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/futurenews24.com\/index.php\/wp-json\/wp\/v2\/comments?post=477"}],"version-history":[{"count":3,"href":"https:\/\/futurenews24.com\/index.php\/wp-json\/wp\/v2\/posts\/477\/revisions"}],"predecessor-version":[{"id":585,"href":"https:\/\/futurenews24.com\/index.php\/wp-json\/wp\/v2\/posts\/477\/revisions\/585"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/futurenews24.com\/index.php\/wp-json\/wp\/v2\/media\/479"}],"wp:attachment":[{"href":"https:\/\/futurenews24.com\/index.php\/wp-json\/wp\/v2\/media?parent=477"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/futurenews24.com\/index.php\/wp-json\/wp\/v2\/categories?post=477"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/futurenews24.com\/index.php\/wp-json\/wp\/v2\/tags?post=477"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}