How iFood scales coding agents across 15,000 repositories

OpenAI
iFood built a remote API-driven platform to run coding agents at scale, with its security use case more than doubling vulnerability fixes.

Summary

iFood maintains over 15,000 code repositories that periodically need repetitive tasks like validating code, fixing vulnerable dependencies, and running analyses. Solving these one at a time is easy; doing so at scale is the challenge. To address this, iFood built the Remote Agents Platform, whose entry point is a simple REST API that lets teams submit a prompt and environment requirements, runs the task in an isolated remote sandbox, and returns the result as a merge request. The workflow combines deterministic steps—cloning the repository, importing skills, setting up the working branch, publishing the merge request, and making artifacts available—with agentic execution powered by GPT-5.6 Luna inside an Ubuntu sandbox containing toolchains such as Python, Java, Kotlin, C#, TypeScript, Rust, JavaScript, and Go, as well as access to Nexus, GitLab, Docker, Snyk, Kubernetes, and AWS. The model was chosen for its combined balance of intelligence, efficiency, and execution speed, since at tens of thousands of tokens per task the average cost of four U.S. cents per run becomes an architectural consideration. To determine whether the agent completed its task, iFood processes results with OpenAI's Structured Outputs, which enforces a predefined contract and reduces uncertainty. The first major user, an internal security product, scans all 15,000 repositories for vulnerable dependencies and fixes them; after migrating, the accuracy of those fixes and the number of vulnerabilities resolved both more than doubled. Asynchronous execution frees developers to delegate routine work without monitoring it, leaving time for problems that require judgment. The platform was modeled on OpenAI's Batch and Agents APIs, has completed more than 25,000 tasks and consumed more than 27 billion tokens at an average cost of US$0.04 per run, and iFood plans to expand it to many more internal use cases.

(Source:OpenAI)