How iFood uses Remote Agents Platform with GPT‑5.6 Luna across 15,000 repos

iFood developed the Remote Agents Platform to execute coding tasks at scale across its more than 15,000 code repositories. The system exposes a REST API that launches isolated, asynchronous runs in remote sandboxes and returns results as merge requests or structured outputs.

How the platform works

Users submit a prompt and environment requirements via a REST call. The platform then manages the full lifecycle: deterministic steps such as cloning the repository, importing available skills, and creating a working branch; agentic execution in the middle; and final deterministic steps that publish a merge request and make generated artifacts available.

The agentic execution runs GPT‑5.6 Luna inside an Ubuntu sandbox preloaded with required toolchains (Python, Java, Kotlin, C#, TypeScript, Rust, JavaScript, and Go). Beyond the sandbox, the agents can interact with Nexus, GitLab, Docker, Snyk, Kubernetes, and AWS. Task progress can be monitored in real time.

To ensure reliable outcomes, results are processed with Structured Outputs so each session must conform to a predefined contract. “We process the result using Structured Outputs, which ensures the response follows a predefined contract,” said Victor Coelho, Senior Software Engineer at iFood.

Results, costs and lessons

The team reports the platform has completed more than 25,000 runs and consumed over 27 billion tokens, at an average inference cost of US$0.04 per run. iFood chose GPT‑5.6 Luna for a balance of intelligence, efficiency, and execution speed that the team said matters when thousands of runs are performed.

An early large-scale user was the internal security product. According to iFood, after migrating to the Remote Agents Platform the accuracy of dependency fixes more than doubled and the number of vulnerabilities resolved also increased more than twofold.

The team emphasized that the bottleneck for many automation efforts was execution infrastructure rather than use cases. They highlighted several lessons: combine deterministic workflow steps with agentic execution, treat cost per run as an architectural factor, require structured outputs to classify success or failure, and expose agentic capabilities via an internal API so teams need not rebuild runtime layers.

The team plans to expand the platform to more internal use cases across iFood, with the cost per task guiding which new workloads are adopted.


Original source: OpenAI News

Leave a Comment