How iFood scales coding agents across 15,000 repositories
Summary
iFood maintains more than 15,000 code repositories, each periodically requiring tasks like validating code, fixing vulnerable dependencies, or running analysis. Individual tasks are easy, but scaling them is not, and teams previously built fragmented solutions that hit the same execution-infrastructure obstacle. To solve this, iFood created the Remote Agents Platform, an internal API that turns engineering tasks into API calls: a user submits a prompt and environment requirements via a REST call, the platform runs the task on a dedicated remote runner inside an isolated Ubuntu sandbox with the required toolchains, and the result returns as a merge request. Deterministic steps bookend the workflow (cloning the repo, importing skills, setting up the branch, publishing the merge request), while agentic execution with GPT-5.6 Luna handles the complex middle. The model was chosen for its balance of intelligence, efficiency, and speed, with an average cost of four U.S. cents per run. OpenAI's Structured Outputs enforce a predefined contract so success or failure can be classified automatically. The first major user, an internal security product scanning all 15,000 repositories for vulnerable dependencies, more than doubled both the accuracy of its fixes and the number of vulnerabilities resolved. To date the platform has completed over 25,000 tasks and consumed more than 27 billion tokens. Key lessons include treating cost per run as an architectural decision, combining deterministic and agentic steps, and recognizing that asynchronous execution's real gain is freeing developers from monitoring work.
(Source:OpenAI)