Multi-Cloud LLM Routing and Context-Aware Coding Agents
· Summarized
Key takeaways
- An AI gateway is increasingly a policy and routing layer that combines data residency, provider capacity, cloud, region, model, and cost decisions rather than simply forwarding prompts.
- Coding agents become substantially more useful when they receive explicit company context—such as an internal engineering codex—and are evaluated on real tasks, documentation, APIs, and deployment workflows.
- Miro’s review system treats human approval and rejection as training signals, because the most valuable measure is not how many pull requests an agent opens but which ones people consider worth merging.
- Open-source projects need filters, contribution rules, and clear maintenance or deprecation policies because AI makes producing pull requests far cheaper than reviewing and supporting them.
- As agents write and review more code, the speakers expect engineers to spend more time understanding domains, concepts, and problems rather than manually reading or producing every line.
Summary
Miro’s AI gateway turns model access into a routing problem
Scott defines Miro’s AI gateway as both a model-calling backend and a layer of business logic. It routes between self-hosted and external LLMs, enforces rules such as allowing German customers to use only European-based models, and aggregates provider limits. What began with region-specific AWS deployments now spans multiple regions, AWS, Azure, GCP, and direct Anthropic access, creating a multi-dimensional routing problem involving model, cloud, region, requests per minute, and tokens per minute. Miro’s Sidekicks can also choose models based on task complexity and cost preferences.
Cloudflare’s agent stack includes an open-source office suite
Matt describes Cloudflare’s stack as an AI gateway connected to external providers and Workers AI, an Agents SDK for developers, Flu—a JavaScript framework from the makers of Astro—and Cloudflare OS. Cloudflare OS is an open-source, deployable agent office suite: Matt runs a personal version with his girlfriend for tasks such as food shopping, while companies can use it for slides, internal apps, finance dashboards, reusable blueprints, and role-specific skills. Its agents are restricted to the applications and data they are authorized to access inside the Cloudflare network.
Flu powers Cloudflare’s internal code reviewer
Matt calls Cloudflare’s internal AI code reviewer the best he has used, though he does not know whether it will ever be released publicly. Built on Flu, it reads commits, files, and custom tools through an agent harness whose prompts, tools, and control flow can be specified in JavaScript; Flu can deploy anywhere JavaScript runs, including browsers, Node.js, Vercel, and Cloudflare Workers. Matt says its main advantage is control flow, including lazy tool loading and other harness-engineering techniques. The reviewer relies on Cloudflare’s internal engineering codex, written for agents rather than humans, to encode company practices across roughly 4,500 employees.
Agent experience requires benchmarks, not just better documentation
The speakers distinguish agent experience from human-oriented developer experience. Matt says Cloudflare has an agent-experience team maintaining interfaces such as the dashboard agent and MCP servers, plus evaluations that test whether frontier coding agents can use Cloudflare’s APIs, understand its OpenAPI specifications, and deploy a Worker from nothing but internet access. Scott says Miro’s analogous work must evaluate whether documentation is understandable to agents, not merely well written for people. Both treat company context and explicit best practices as essential to useful coding agents.
Miro combines three review layers and learns from rejected PRs
Scott explains Miro’s three-part review system. Easelbot uses company context and application logs to identify recurring production problems and suggest fixes, sometimes surfacing issues that appeared repeatedly overnight; a developer can also ask Claude for an ordinary review. Miro’s automated AI review bot then incorporates Easelbot’s potential fixes and observes whether engineers approve or reject them. Scott says roughly half of generated pull requests are merged and half are closed, so on-duty engineers label what is relevant and feed those decisions back into the system. Miro also uses Oplane for broad security and compliance checks, including unpinned GitHub Actions and secret-redaction guidance.
Cheap AI pull requests change open source—and may make engineers more scholarly
The speakers say AI-generated pull requests are cheap but often low quality, creating a maintenance burden for open-source projects. Astro reportedly reached zero open issues after having thousands, while Jesse of Superpowers built strict filters to push worthwhile contributions above the noise; some MCP repositories now accept issues rather than unsolicited external PRs. They argue companies should decide what they can maintain, mark projects as snapshots, or provide graceful deprecation paths. In the closing discussion, they imagine a “scholarly engineer” or “gentlemanly scientist” who reads fewer lines of generated code but learns broader concepts, combines physical-world problems with software, and performs small experiments with larger effects.
Show notes
In this episode, we sit down with Matt Carey and Scott Crooks, engineers at Cloudflare and Miro, to look at how two very different companies are building their own AI software factories, and what happens to engineering when the code mostly writes and reviews itself.
We start with the AI gateway: why a model call is no longer simple when the same model is served across multiple regions, multiple clouds, and direct from the provider, and how Miro pools rate limits and data residency rules (like EU-only models for German customers) into a single routing layer that also powers Miro’s Sidekicks. Matt walks through Cloudflare’s agent stack, from the AI gateway and Agents SDK to Flue, a JavaScript agent framework from the makers of Astro, and Cloudflare OS, an open source agent office suite he even runs at home for grocery shopping.
The heart of the conversation is code review. Matt describes what he calls the best AI code reviewer he’s ever used, built on Flue and powered by an internal engineering codex written only for agents. Scott breaks down Miro’s three-layer setup, including Easel, a bot that reads production logs overnight and opens fix PRs before anyone wakes up, and explains why only about half of those PRs get merged, and how that signal is fed back to teach the system what people care about.
Along the way, we cover agent experience as a new discipline, how open source maintainers are handling a flood of cheap AI pull requests, Astro reaching zero open issues, when companies should open source internal tools and how to retire them gracefully, plus a few hot takes on chocolate and nuts. We close on the rise of the “scholarly engineer,” and why understanding ideas may matter more than reading every line of code.
Demetrios Brinkmann: https://www.linkedin.com/in/dpbrinkmMatt Carey: https://www.linkedin.com/in/mattzcareyScott Crooks: https://www.linkedin.com/in/jshcrooks
Timestamps:[00:00] Cold open[01:03] Meet Matt and Scott[01:20] What an AI gateway really is[02:28] Multi-region, multi-cloud model routing[05:00] Cloudflare’s agent stack and Cloudflare OS[06:43] The Flue framework from the Astro team[07:32] The best AI code reviewer[09:29] An engineering codex written for agents[11:48] Agent experience and evals[12:44] Miro’s Easel bot and three layers of review[15:55] Software factories and Astro hitting zero issues[18:58] Companies open sourcing internal tools[22:59] Hot takes[25:03] The scholarly engineer[28:50] Wrap up
Follow this show on AudioBrevity and new episodes get summarized for you. Create a free account