iFood hands coding tasks to agents across 15,000 repositories
OpenAI shared how iFood turned engineering tasks into API calls: sandboxed agents, an average of US$0.04 per run, and more than twice as many security fixes.

What happened
On November 24, OpenAI published a customer story about iFood, the Latin American delivery platform that maintains more than 15,000 code repositories. Each of them periodically needs similar tasks: checking that code meets internal standards, fixing vulnerable dependencies, or running an analysis. None of those tasks is hard on its own. The trouble starts when they multiply.
iFood’s answer was the Remote Agents Platform, an internal REST API. A team submits a prompt and the environment requirements, the platform runs the task in an isolated Ubuntu sandbox with the ecosystem’s toolchains, and the result comes back later as a merge request. According to the story, the platform has completed more than 25,000 runs, consumed more than 27 billion tokens, and averaged US$0.04 per run. Every run uses GPT-5.6 Luna.
The first major user was the security team. Its internal product scans the repositories for vulnerable dependencies and tries to fix them. After moving to the platform, both the accuracy of those fixes and the number of vulnerabilities resolved more than doubled.
Why it matters
The story shows that the bottleneck was neither model intelligence nor a lack of ideas. Several teams already knew what they wanted to automate, but each built its own solution and they all hit the same wall: there was no place to run agents safely and repeatably.
Two design decisions stand out to me. The first is wrapping the agentic part in deterministic steps: cloning the repository, preparing the branch, and publishing the merge request do not need a model. The second is requiring every session to return a result that follows a fixed contract, using Structured Outputs. That way you can tell at scale whether the agent reached its goal without reading every response.
What changes in practice
A small business does not have 15,000 repositories, but the pattern scales down. If you run repetitive tasks across several projects, such as updating dependencies or checking a convention, you can start with a single flow: a script that prepares the environment, an agent that makes the change inside an isolated container, and a human review of the merge request before merging.
Cost per run changes the conversation too. At scale, that number decides what is worth automating. It pays to measure it from the first test, along with how many changes needed manual fixes.
My take
What stays with me is that the real gain is not having to watch. A developer launches the task before a meeting and comes back to a merge request ready for review. I work with the same principle in Flow Engineering, where automated verification flows decide whether a task finished well. Without a clear output contract, delegating to agents is just another way to pile up work to review.