How iFood scales coding agents across 15,000 repositories
Summary
iFood created the Remote Agents Platform to solve the problem of scale: while individual engineering tasks like validating code or fixing vulnerable dependencies are simple, performing them across more than 15,000 repositories is not. The platform turns these tasks into API calls: a user submits a prompt and environment requirements via a REST call, the platform executes the task on a dedicated remote runner inside an isolated Ubuntu sandbox with all needed toolchains installed, and the result is returned as a merge request. The workflow combines deterministic steps (cloning the repository, importing agent skills, setting up the working branch, publishing the merge request) with agentic execution using GPT-5.6 Luna, chosen for its balance of intelligence, efficiency, and execution speed. OpenAI's Structured Outputs ensures each session returns a response conforming to a predefined contract, allowing automatic classification of success or failure at scale. The first major user was an internal security product that scans repositories for vulnerable dependencies and attempts fixes; after migration, both the accuracy of fixes and the number of vulnerabilities resolved more than doubled. The platform has completed over 25,000 tasks, consuming more than 27 billion tokens at an average cost of US$0.04 per run. Asynchronous execution frees developers from monitoring tasks in real time, letting routine work proceed in the background while teams focus on problems requiring judgment. The team's key lessons include treating cost per run as an architectural decision, exposing agentic capabilities through an internal API, isolating each run in its own sandbox, and starting with an internal user that has a clear pain point and high volume. iFood plans to expand the platform to many more use cases.
(Source:OpenAI)