iFood scales coding agents across 15,000 repos with GPT-5.6 Luna

iFood scales coding agents across 15,000 repos with GPT-5.6 Luna

OpenAI has published a customer story about the Remote Agents Platform, an internal iFood system that turns engineering tasks into API calls. iFood maintains more than 15,000 code repositories, and each periodically needs work such as checking code against internal standards, fixing vulnerable dependencies or running an analysis. “Solving this for one repository is easy. The challenge is solving it at scale,” says Victor Coelho, Senior Software Engineer at iFood. According to the story, teams had been building fragmented solutions, and what they lacked was neither intelligence nor use cases but a dedicated runtime to execute the work.

The cycle has three steps. A user sends a prompt and environment requirements through a REST call, the platform runs the task on a dedicated remote runner inside an isolated sandbox, and the result is retrieved later. Progress can be monitored in real time. Deterministic steps open and close each run: cloning the repository, importing the skills the agent can use and setting up the working branch at the start, then publishing the merge request and making generated artifacts available at the end. In between, GPT-5.6 Luna does the agentic work inside the sandbox.

The sandbox runs Ubuntu with toolchains for Python, Java, Kotlin, C#, TypeScript, Rust, JavaScript and Go, plus general-purpose tools. The agent can also access Nexus, GitLab, Docker, Snyk, Kubernetes and AWS. All runs use GPT-5.6 Luna. The team says benchmarks showed that, among models at the same checkpoint, it offered a good balance of intelligence, efficiency and execution speed.

To judge at scale whether an agent did its job, the platform processes each finished session with OpenAI's Structured Outputs, which forces the result to follow a predefined contract, whether the answer is positive or negative.

The platform already powers an internal security product that scans the 15,000 repositories for vulnerable dependencies and tries to fix them. After moving to the platform, that product more than doubled both the accuracy of its fixes and the number of vulnerabilities resolved. The security team did not have to build its own agentic runtime; it only had to call an API. Overall, the platform has completed more than 25,000 tasks and consumed more than 27 billion tokens, at an average cost of US$0.04 per run.

The design drew heavily on OpenAI's Batch API and Agents API, including the interfaces, the way resources are organized and asynchronous execution with results fetched later. iFood plans to extend the platform to many more internal use cases, with cost per task determining whether that expansion can be sustained.

Key facts

  • iFood's Remote Agents Platform takes tasks through a REST API, runs them in isolated remote sandboxes and returns results as merge requests.
  • It has completed more than 25,000 tasks using more than 27 billion tokens, at an average cost of US$0.04 per run.
  • All runs use GPT-5.6 Luna, with deterministic steps such as cloning and merge request publishing around the agentic work.
  • An internal security product scanning more than 15,000 repositories more than doubled both fix accuracy and vulnerabilities resolved after migrating.
  • OpenAI's Structured Outputs makes every session return a result that follows a predefined contract.

Why it matters

The story's argument is that running coding agents at scale is an infrastructure problem. iFood's teams, it says, already knew what they wanted to automate but had no shared place to run it. The answer was one internal API that handles the whole lifecycle of a task, so product teams can concentrate on their business problem and delegate execution.

The team also stresses asynchronous work. A developer can launch a code fix or a performance analysis during a meeting and does not have to watch it. In the story's view, the productivity gain comes from not having to monitor the work, more than from finishing it faster under supervision.

Who it affects

Inside iFood, it affects product teams that want to delegate agentic tasks, developers with routine work to hand off and the security team, whose scanning and fixing product already runs on the platform. Outside the company, the account is most relevant to platform and security engineers who face the same repetitive jobs across large numbers of repositories.

How to use it

The platform described here is internal to iFood, so what others can borrow is the design. The story's takeaways include:

Combine deterministic steps with agentic execution, since cloning, publishing and exposing artifacts do not need a model.

Isolate each run in its own sandbox with your ecosystem's toolchains preinstalled.

Require outputs to follow a contract so success and failure can be classified automatically.

Expose agent capabilities through an internal API so other teams do not rebuild the infrastructure.

Treat cost per run as an architectural decision, and weigh intelligence, cost and speed together when choosing a model.

Start with an internal user that has a clear pain point and high volume. At iFood, that was the security platform.

How solid is it

This is a customer story published by OpenAI, which supplies the model the platform runs on, and it mentions no independent verification of the figures. The doubling in fix accuracy and resolved vulnerabilities comes with no baseline or absolute values, and the story does not define accuracy or say how it was checked. It ties the gain to the migration to the platform, not specifically to GPT-5.6 Luna. The 25,000 tasks and 27 billion tokens have no stated time period. The benchmarks behind the model choice are not named and no scores are given.

Risks and caveats

The story gives no success or failure rate for runs and does not say whether the merge requests are reviewed by people or merged automatically. Both matter to anyone judging how far to trust agents that change code and can reach tools such as GitLab, Kubernetes and AWS. No total spend or savings are reported, so the US$0.04 average per run does not show the overall economics. Wider rollout is still a plan, and the story says cost per task will decide whether it can be sustained.

“Solving this for one repository is easy. The challenge is solving it at scale”

— Victor Coelho, Senior Software Engineer at iFood