How iFood scales coding agents across 15,000 repositories

2026-11-29 · OpenAI

How iFood scales coding agents across 15,000 repositories

OpenAI published this customer story on November 24, 2026. iFood, a Latin America technology enterprise, maintains more than 15,000 code repositories. Each repository periodically needs specific work: validating code against internal standards, fixing vulnerable dependencies, or running an analysis. None of these tasks is difficult by itself. The challenge emerges when they multiply. “Solving this for one repository is easy. The challenge is solving it at scale,” says Victor Coelho, Senior Software Engineer at iFood. The Remote Agents Platform is designed to make that scale possible across all 15,000 repositories.

From fragmented solutions to a dedicated runtime

Before the platform, each team addressed the problem in its own way, and all ran into the same obstacle. Coelho describes fragmented solutions across teams that lacked an agentic runtime layer. What was missing was not intelligence or a use case but execution infrastructure—a dedicated runtime. The platform turns engineering tasks into API calls: teams delegate the work, execution takes place in a remote sandbox, and the result comes back as a merge request. Teams can focus on business problems and delegate execution to the platform.

An API-driven, three-step workflow

iFood describes the Remote Agents Platform as an API that launches a remote agentic coding task. The cycle has three steps:

  • The user submits a prompt and environment requirements through a REST call.
  • The platform processes the task on a dedicated remote runner inside an isolated sandbox.
  • The result is retrieved later.

Task progress can be monitored in real time. The platform has completed more than 25,000 runs, with an average inference cost of US$0.04 per run. The runner alternates between two kinds of steps. Deterministic steps bookend the workflow: at the start, cloning the repository, importing the skills the agent can use, and setting up the working branch; at the end, publishing the merge request and making generated artifacts available. In between, agentic execution runs GPT‑5.6 Luna inside the sandbox. The sandbox runs Ubuntu and includes the toolchains iFood’s ecosystem requires—Python, Java, Kotlin, C#, TypeScript, Rust, JavaScript, and Go—plus general-purpose tools. Beyond the sandbox, the agent can access Nexus, GitLab, Docker, Snyk, Kubernetes, and AWS.

Why GPT‑5.6 Luna

The model choice considered three factors together. Coelho says that among models at the same checkpoint, benchmarks showed GPT‑5.6 Luna offered a strong balance of intelligence, efficiency, and execution speed—how quickly it could complete tasks. That balance matters more for a platform built to scale than for a one-off use case. With tens of thousands of tokens consumed, an average cost of four U.S. cents per run becomes an architectural consideration. iFood plans to scale the platform across many use cases, and the balance of efficiency and intelligence supports sustainable scaling.

Checking whether the agent completed the task

Delegating execution at scale creates a new challenge: automatically determining whether the agent did what it was supposed to do. iFood processes the result after the session using OpenAI’s Structured Outputs, which requires the output to conform to a predefined contract. From the agent’s session, iFood can identify the outputs within the expected response structure. This reduces uncertainty and ensures the platform can always get a response from the agent’s session, whether positive or negative.

First major user: security

The platform already powers an internal iFood security product that scans the 15,000 repositories for vulnerable dependencies and attempts to fix them. The migration had a direct impact: the number of vulnerabilities fixed more than doubled, and the accuracy of those changes and fixes more than doubled. The use case illustrates the platform’s idea: the security team did not need to build its own agentic runtime or become experts in agent orchestration. It needed to call an API.

Asynchronous execution gives developers time back

The team emphasizes what asynchronous execution frees developers to do, rather than replacement. Because the task is delegated and runs without supervision, the developer does not have to stay focused on monitoring it. While in a meeting, they can launch a code fix, a performance analysis, or another more routine task that can be delegated without monitoring at that moment. Routine work no longer competes for the team’s attention, leaving time for problems that require more attention.

Source