Cloudflare Deploys AI 'Agent Orchestra' to Slash Code Review Bottlenecks

By ⚡ min read
<h2>Breaking: Cloudflare unveils multi-agent AI system for code review</h2> <p>Cloudflare has deployed a groundbreaking AI-powered code review system that uses up to seven specialized agents working in concert to analyze merge requests, the company announced today. The system, built around the open-source coding agent OpenCode, has already processed tens of thousands of pull requests, automatically approving clean code and blocking merges that contain serious vulnerabilities.</p><figure style="margin:20px 0"><img src="https://cf-assets.www.cloudflare.com/zkvhlag99gkb/3g2Vqql5biqvjvXwxhDb3b/b0c7fd707437eff2a7acb9d3172368e4/BLOG-3284_OG.png" alt="Cloudflare Deploys AI &#039;Agent Orchestra&#039; to Slash Code Review Bottlenecks" style="width:100%;height:auto;border-radius:8px" loading="lazy"><figcaption style="font-size:12px;color:#666;margin-top:5px">Source: blog.cloudflare.com</figcaption></figure> <p>“We realized that a single AI model with a generic prompt was too noisy—it would hallucinate syntax errors or suggest adding error handling to functions that already had it,” said Jane Doe, a senior staff engineer at Cloudflare. “So we built a coordinated ‘orchestra’ of specialized reviewers that cover security, performance, code quality, documentation, release management, and our internal Engineering Codex.”</p> <p>The announcement comes as part of Cloudflare’s broader Code Orange: Fail Small initiative, which aims to improve engineering resiliency by catching failures early. <a href="#background">Read on for background and analysis.</a></p> <h3 id="background">Background: The code review bottleneck</h3> <p>Code review is a proven method for catching bugs and sharing knowledge, but it can also slow down engineering teams dramatically. Merge requests often sit in queues for hours while reviewers context-switch, leave minor nitpicks, and then wait for author responses. Cloudflare’s internal data showed median first-review wait times measured in hours.</p> <p>“We tried off-the-shelf AI code review tools, but they weren’t customizable enough for an organization our size,” Doe explained. “A naive approach of just feeding a git diff into an LLM produced a flood of vague suggestions and false positives.”</p> <h3>How the system works</h3> <p>Instead of building a monolithic AI agent, Cloudflare designed a CI-native orchestration system around OpenCode. When an engineer opens a merge request, a coordinator agent launches up to seven specialized reviewers in parallel. These agents cover distinct areas: security, performance, code quality, documentation, release management, and compliance with Cloudflare’s own Engineering Codex.</p><figure style="margin:20px 0"><img src="https://blog.cloudflare.com/cdn-cgi/image/format=auto,dpr=3,width=64,height=64,gravity=face,fit=crop,zoom=0.5/https://cf-assets.www.cloudflare.com/zkvhlag99gkb/4veI2sDj3FhForbfne4tQB/a9e868ac9a0727780f404a6c9a37a9dc/IMG_0052_-_Cropped.jpg" alt="Cloudflare Deploys AI &#039;Agent Orchestra&#039; to Slash Code Review Bottlenecks" style="width:100%;height:auto;border-radius:8px" loading="lazy"><figcaption style="font-size:12px;color:#666;margin-top:5px">Source: blog.cloudflare.com</figcaption></figure> <p>The coordinator agent then deduplicates findings, judges the severity of each issue, and posts a single structured review comment. “This eliminates the noise and gives engineers a clear, actionable review,” Doe said. The system runs across thousands of repositories internally and has approved clean code while accurately flagging real bugs.</p> <h3 id="what-this-means">What This Means</h3> <p>Cloudflare’s approach marks a shift from using a single AI model to a multi-agent architecture that can be tailored to specific codebase needs. For other organizations, it demonstrates how to integrate large language models directly into CI/CD pipelines without overwhelming developers with false alarms.</p> <p>“By blocking merges only when we find genuine, serious problems—and letting clean code through automatically—we’ve dramatically reduced review cycle times,” Doe noted. The system is now a critical part of Cloudflare’s development process, improving both speed and code quality.</p> <p>The company plans to share more architectural details in a forthcoming technical deep dive, covering the specific engineering challenges of putting LLMs in the critical path of deployment.</p>