iFood has more than 15,000 code repositories that periodically require validation, dependency fixes, or analysis. To handle this volume, the company built a Remote Agents Platform that accepts tasks through a REST API, runs them in isolated remote sandboxes, and returns results for later use, including merge requests.
Scaling execution across the repository estate
The individual tasks were manageable. The difficulty was performing them consistently across thousands of repositories. Before the platform was introduced, different teams created separate solutions for separate problems, but those systems repeatedly faced the same missing capability: shared execution infrastructure for agentic workflows.
The Remote Agents Platform provides that common runtime. Product and engineering teams can concentrate on the business problem while the platform manages task execution and its lifecycle.
How the Remote Agents Platform works
Teams submit a prompt and environment requirements in a REST request. The platform starts a coding task on a dedicated remote runner inside an isolated sandbox, manages its execution, and makes the result available afterward. Progress can also be monitored while the task is running.
The workflow combines predictable automation with agentic work. At the beginning, deterministic steps clone the repository, load the skills available to the agent, and prepare a working branch. The agent then performs the requested task inside the sandbox. At the end, deterministic steps publish the merge request and make generated artifacts available.
The sandbox runs Ubuntu and includes the toolchains used across iFood, including Python, Java, Kotlin, C#, TypeScript, Rust, JavaScript, and Go. The agent can also work with services and tools such as Nexus, GitLab, Docker, Snyk, Kubernetes, and AWS.
Why iFood selected GPT-5.6 Luna
iFood evaluated model intelligence, efficiency, and execution speed together. The company selected GPT-5.6 Luna because it offered a strong balance across those factors at the relevant checkpoint.
That balance affects the platform's ability to grow. Runs consume tens of thousands of tokens, making the average inference cost of US$0.04 per run an architectural consideration rather than a minor operational detail.
Structured results make completion measurable
At scale, launching a task is only part of the problem. The platform also needs a consistent way to determine whether the requested work succeeded.
After an agent session ends, iFood processes the response with OpenAI's Structured Outputs. The response must follow a predefined contract, allowing the platform to identify the expected outputs and classify the result as positive or negative without relying on an unstructured reply.
Security became the first major use case
An internal iFood security platform scans the company's 15,000 repositories for vulnerable dependencies and attempts to fix them. Moving this work to the Remote Agents Platform more than doubled the accuracy of the changes and the number of vulnerabilities resolved.
The security team could use a shared API instead of creating and maintaining its own agentic runtime. This made the use case a practical test of whether common execution infrastructure could support a high-volume internal product.
Asynchronous work reduces monitoring
Tasks run without requiring a developer to supervise the session continuously. A developer can start a routine code fix, performance analysis, or similar job and continue with other work while the platform executes it.
The resulting productivity benefit comes from removing the need to watch the task as it happens. Developers can reserve their attention for work that requires judgment while routine operations proceed asynchronously.
Results and operating principles
| Measure | Result |
|---|---|
| Repositories covered | More than 15,000 |
| Tasks completed | More than 25,000 |
| Tokens consumed | More than 27 billion |
| Average cost | US$0.04 per run |
| Security impact | More than twice as many vulnerabilities fixed, with more than twice the accuracy of the changes |
All runs use GPT-5.6 Luna. The platform's design combines deterministic setup and delivery steps with agentic execution, while Structured Outputs keeps returned results aligned with a predefined contract.
What the platform demonstrates
- A shared runtime can remove the main scaling barrier when several teams already have automation use cases.
- Deterministic operations such as cloning and publishing should remain separate from the model-driven part of the workflow.
- Cost per run must be considered when deciding which tasks can be automated at high volume.
- Structured responses are necessary for automatically assessing success and failure.
- Asynchronous execution creates value by reducing the need for active monitoring.
Next steps
iFood plans to extend the Remote Agents Platform to additional internal use cases. The cost of each task will remain an important factor in determining which expansions can be sustained.