iFood's Coding-Agent Scale-Up Rewards Plumbing, Not Model Genius
iFood runs coding agents across 15,000 repositories and doubled vulnerability fixes, but the breakthrough wasn't a smarter model. It was an internal API that made delegation boring, measurable, and cheap enough to repeat.
Independent UpShaqo analysis built from fresh, attributed sources. We explain the impact instead of repeating the announcement.
Read for leverage: focus on the workflow change, the customer problem, and the next action—not only the product announcement.
Fifteen thousand repositories is not a number most engineering leaders ever have to reason about. It is the kind of scale where a task that takes five minutes per repo adds up to over 1,200 hours of work, and where "we'll just have a team do it" stops being a plan and becomes a joke. That was iFood's actual starting point: not a shortage of AI capability, but a shortage of infrastructure capable of running the same agentic task thousands of times without someone babysitting each one.
The headline result is tidy enough to misread in five seconds: a food-delivery giant used OpenAI's coding model to more than double the vulnerabilities it fixes across its codebase. It's tempting to file that under "AI got good at security patching." The more interesting — and more useful — story is about what iFood built around the model, not the model itself.
The Obvious Read: A Smarter Model Fixed More Bugs
The easy interpretation goes like this: iFood plugged GPT‑5.6 Luna into its security tooling, the model found and patched vulnerable dependencies better than whatever came before, and the fix rate more than doubled as a result. That reading isn't wrong, exactly — it's just incomplete in a way that matters if you're deciding what to build next.
It treats model intelligence as the bottleneck iFood was solving. Senior Software Engineer Victor Coelho says almost the opposite. "Solving this for one repository is easy," he told OpenAI's team. "The challenge is solving it at scale." Before the platform existed, multiple teams inside iFood were independently attempting to automate code tasks and running into the same wall — not a lack of smart models, but a lack of shared execution infrastructure.
What the Architecture Actually Rewarded
iFood's Remote Agents Platform is, structurally, unglamorous: a REST API that accepts a prompt and environment requirements, hands the work to an isolated sandbox running Ubuntu with Python, Java, Kotlin, C#, TypeScript, Rust, JavaScript, and Go toolchains, and returns a merge request. The workflow deliberately alternates between deterministic steps — cloning the repo, setting up a branch, publishing the result — and agentic steps in between, a combination Coelho calls intentional rather than incidental.
That split matters more than it looks. Deterministic bookends mean the parts of the job that don't need judgment never touch the model, which keeps cost and failure modes predictable. The platform has now completed more than 25,000 runs consuming over 27 billion tokens, at an average cost of four cents per run. Do the division on those two figures and the average run consumes roughly a million tokens — a scale of context that would be expensive and slow to manage without a sandboxed, repeatable execution path. Analysis: that per-run cost structure, not the model's raw benchmark score, is what determined whether automating a given task across 15,000 repos was financially sane. Coelho frames this explicitly as an architectural decision, not a footnote.
The API Nobody Is Talking About
iFood didn't invent this pattern from scratch. The team says the platform "drew a lot of inspiration from OpenAI's APIs, both the Batch API and the Agents API," and that the resemblance extends to interface design and resource organization, not just the general concept. That's a quietly important detail for anyone evaluating whether to build or buy agent infrastructure.
iFood essentially cloned the shape of a public cloud API and ran it internally — same asynchronous submit-and-retrieve pattern, same idea of abstracting execution away from the caller. The security team didn't need to learn agent orchestration. It needed to call an endpoint. That's the opposite of the common assumption that scaling AI agents requires every team to become fluent in prompt engineering and runtime management. iFood's answer was to centralize that fluency once, in a platform team, and let everyone else treat agentic execution as a utility — closer to object storage than to a research project.
Verification, Not Autonomy, Is the Real Unlock
There's a second misunderstanding worth naming directly: the assumption that unattended execution means unverified execution. iFood's platform runs tasks without a human watching in real time, but it doesn't treat the agent's self-report as the final word. Every session result is processed through OpenAI's Structured Outputs, which forces the response to conform to a predefined contract before anyone trusts it. Coelho is explicit that this exists to "reduce uncertainty" and guarantee the system can always tell whether a run succeeded or failed.
That's a very different claim than "the agent works autonomously." It's closer to: the agent works asynchronously, and the organization built a verification layer sturdy enough to make that safe. The merge request at the end of every run is itself a checkpoint — a human still approves the change before it ships. The autonomy is in the scheduling, not in the judgment.
Why This Changes the Build Order for Everyone Else
For founders and engineering leaders watching this from outside Latin America's largest food-delivery platform, the practical lesson isn't "adopt GPT‑5.6 Luna." It's a sequencing question: which comes first, the use case or the runtime?
iFood's experience argues for runtime first. Coelho notes that several teams already knew what they wanted to automate before the platform existed — the missing piece was never the idea, it was somewhere to run it safely and repeatably. A useful internal checklist drawn from their approach:
- Build one internal API for agentic execution before letting five teams build five bespoke integrations.
- Separate deterministic plumbing (checkout, branch setup, publishing results) from the agentic core, so cost and risk live in a contained, monitorable zone.
- Treat cost-per-run as a go/no-go gate for new use cases, not an afterthought discovered after rollout.
- Require a structured, contract-bound output before trusting any automated result at scale.
- Pick the first internal customer for high volume and high pain, the way iFood chose its security platform, rather than the flashiest demo.
The Honest Limit of the Comparison
None of this proves GPT‑5.6 Luna is uniquely capable, and iFood's own reasoning supports that caution — Coelho says the model was chosen for a balance of intelligence, efficiency, and speed among models at the same checkpoint, not because it won on any single benchmark. The real transferable asset here is the runtime pattern: sandbox isolation, deterministic bookends, structured verification, and a merge request as the final human checkpoint. Any team evaluating coding agents at scale should ask whether they're buying a model or building the infrastructure that makes any model safe to run 25,000 times.