
How iFood Scales Coding Agents Across 15,000 Repositories

iFood has built an internal Remote Agents Platform to handle repetitive engineering work across its more than 15,000 repositories. The core design turns coding tasks into API calls: a team submits a prompt and environment requirements through a REST request, the platform runs the task on a dedicated remote runner inside an isolated sandbox, and the result comes back later as a merge request with generated artifacts. Before the platform, teams built fragmented solutions and consistently hit the same ceiling: they lacked a shared agentic runtime. The platform is meant to give teams execution infrastructure, not just model access.
The runner’s workflow deliberately mixes deterministic steps with agentic execution. Cloning the repository, importing the agent’s skills, and setting up the working branch happen at the start; publishing the merge request and exposing artifacts happen at the end. In between, GPT-5.6 Luna operates inside the sandbox. The sandbox runs Ubuntu and includes the toolchains iFood’s ecosystem requires: Python, Java, Kotlin, C#, TypeScript, Rust, JavaScript, and Go, plus access to Nexus, GitLab, Docker, Snyk, Kubernetes, and AWS. The model was chosen not on a single benchmark but on a combined balance of intelligence, efficiency, and execution speed. That tradeoff matters at scale: the platform has completed more than 25,000 tasks, consumed more than 27 billion tokens, and runs at an average cost of four U.S. cents per run, so per-run cost becomes an architectural consideration.
The first major internal user is security. The platform powers an internal iFood security product that scans all 15,000 repositories for vulnerable dependencies and attempts to fix them. After migrating to the platform, the accuracy of those fixes more than doubled, as did the number of vulnerabilities resolved. To know whether an agent succeeded without manual inspection, iFood processes each session result using OpenAI’s Structured Outputs, forcing the response to follow a predefined contract and reducing uncertainty around positive or negative outcomes. The platform also models itself on OpenAI’s Batch API and Agents API in interface design, resource organization, and asynchronous execution with results retrieved later.
A recurring theme is asynchronous execution as a developer productivity gain rather than replacement. Because tasks are delegated and run without supervision, developers can launch a routine code fix or analysis while in a meeting and do not need to monitor it. The article’s stated lessons are that the bottleneck is often the runtime rather than the use case; deterministic bookending around agentic work keeps execution predictable; cost per run determines what can be automated at scale; structured outputs are necessary to classify success and failure; and the real value of async work is not having to watch over it. The next step is to expand the platform to more internal products, with cost per task deciding whether that expansion is sustainable.


