Cloudflare Orchestrates Multi-Agent AI System for Code Review at Scale
Key Takeaways
- ▸Cloudflare built a custom multi-agent orchestration system around OpenCode rather than adopting existing AI code review tools, due to the need for customization at organizational scale.
- ▸Specialized agents outperform a single generic LLM: the system reduces noise, improves accuracy in bug detection, and blocks genuine security vulnerabilities before merge.
- ▸The system uses a plugin architecture to support different VCS providers (GitLab, future platforms) and AI providers without rewriting core components.
Summary
Cloudflare has built a sophisticated AI code review orchestration system to address bottlenecks in their engineering workflow. Rather than using off-the-shelf tools or a single monolithic LLM, they deployed up to seven specialized AI agents that handle security, performance, code quality, documentation, release management, and compliance reviews. A coordinator agent deduplicates findings, judges severity, and posts a single structured review comment. The system has been running internally across tens of thousands of merge requests, effectively approving clean code and catching real bugs while avoiding the noise of generic AI review suggestions.
- Putting LLMs in the CI/CD pipeline requires careful engineering: the system uses lifecycle phases (bootstrap, configure, postConfigure) to handle failures gracefully while maintaining reliability.
Editorial Opinion
Cloudflare's multi-agent orchestration approach demonstrates a more mature model for integrating AI into production systems than the naive single-model approaches many organizations attempt first. By building specialized agents coordinated through a management layer, they've solved both the accuracy and organizational customization problems that off-the-shelf AI code review tools struggle with. This architecture—composable, extensible, and designed to run in the critical path of CI/CD—represents the kind of thoughtful engineering that will characterize production AI systems going forward.



