- 8 min read
- 1 source cited
- For Developers, Businesses, AI enthusiasts
Overview
An OpenAI News case study describes how iFood, the food-delivery company, built an internal Remote Agents Platform to run coding-agent work across more than 15,000 code repositories. The platform accepts a prompt and environment requirements through a REST call, runs the task on a dedicated remote runner inside an isolated sandbox, and returns the result later, with progress viewable in real time. iFood built the platform because the individual tasks were not difficult; the difficulty was running them repeatedly at repository scale, and because teams had previously built fragmented solutions without a shared agentic runtime. The agentic work is bracketed by deterministic steps: cloning the repository, importing skills and setting up a working branch at the start, then publishing a merge request and making artifacts available at the end. Agentic execution in the middle uses GPT-5.6 Luna. After a run finishes, the result is processed with OpenAI’s Structured Outputs, which requires the output to conform to a predefined contract. The platform’s first major user is an internal iFood security product that scans the 15,000 repositories for vulnerable dependencies and attempts to fix them; iFood reports that the number of vulnerabilities fixed more than doubled after the migration. The platform was designed as an internal layer inspired by OpenAI’s Batch API and Agents API.
Why it matters
For developers: Work such as dependency remediation, standards validation and routine analysis can be launched as an asynchronous job and collected later, so a developer does not need to watch each step or supervise a running agent. The output arrives in a form that can feed existing engineering processes: a merge request and generated artifacts. The practical shift is from interactive assistance to delegated tasks that run inside a controlled runtime. A contract check after execution provides a separate gate on whether a result matches a predefined shape.
For engineering and platform teams: The case offers a pattern for serving many repositories from one service rather than asking each team to maintain its own agent orchestration layer. iFood’s stated reason for building the platform was execution infrastructure, and the security team was able to use the platform without building its own runtime or becoming expert in agent orchestration.
For businesses: The design question is whether a task can be specified, executed in isolation, checked and returned in a form that existing review and release processes accept. iFood’s platform was built for exactly that shape of work, and its first major application was security remediation rather than new feature development.
Context
iFood maintains more than 15,000 code repositories, each of which periodically needs work such as validating code against internal standards, fixing vulnerable dependencies, or running an analysis. Senior Software Engineer Victor Coelho described the original constraint as scale rather than task difficulty: solving the problem for one repository was easy, but replicating it across the estate required execution infrastructure, and different teams had already built separate solutions that hit the same obstacle. The Remote Agents Platform was created to provide that shared runtime and a single entry point. It was designed as an internal layer with similarities to how OpenAI exposes similar task execution to external customers, drawing inspiration from the Batch API and the Agents API. The sandbox runs Ubuntu and carries the toolchains iFood’s engineering ecosystem requires, including Python, Java, Kotlin, C#, TypeScript, Rust, JavaScript and Go, alongside general-purpose tools; beyond the sandbox, the agent can reach Nexus, GitLab, Docker, Snyk, Kubernetes and AWS. The model selection was attributed to three factors considered together: intelligence, efficiency and execution speed, based on internal benchmark comparisons among models at the same checkpoint.
Known, claimed, inferred
The architecture separates two kinds of work: repeatable setup and teardown operations that the platform performs deterministically, and model-driven reasoning in between. That split is what makes a run reproducible enough to schedule and to audit, rather than a free-form chat session that happens to touch a repository.
The platform also moves verification out of the agent’s own judgment. A separate post-execution step checks the result against a predefined contract using Structured Outputs. The account does not describe what the contract contains or what happens when validation fails, but it establishes a check that is distinct from the agent deciding for itself whether it succeeded.
Two reported performance figures deserve different treatment. The average cost of four U.S. cents per run is a vendor-reported figure from the OpenAI News case study, not an independently measured benchmark. The reasoning behind the model choice — a balance of intelligence, efficiency and execution speed — comes from iFood’s own engineer describing internal benchmarks; no benchmark table or third-party evaluation is published. The statement that the number of vulnerabilities fixed more than doubled after the migration is likewise reported by iFood, and the same passage uses the word “accuracy” without defining the metric or giving a before-and-after baseline.
One reasonable inference is that iFood’s main constraint was runtime infrastructure rather than demand for a more capable coding interface. The platform’s features map directly onto repeated execution: asynchronous retrieval, isolated runners, standardized outputs and a shared entry point, with the stated purpose of replacing fragmented team solutions. The account does not establish how much of the reported improvement came from the model, the orchestration design, better prompts, more frequent scans or changes in iFood’s security tooling.
What to watch next: whether OpenAI or iFood publishes the missing measurement details — baseline and post-migration fix counts, the time period measured, total run volume, scan frequency and merge-request acceptance rates — and whether the contract check and review gates are extended to workloads beyond dependency remediation.
Opportunities
-
Expose recurring engineering work as a job API. iFood’s interface is a REST call carrying a prompt and environment requirements, with the platform managing the run lifecycle and returning results later. Organizations with large repository estates could schedule dependency updates, conformance checks and analyses through the same entry point.
-
Standardize multi-language execution environments. The sandbox bundles the toolchains needed for Python, Java, Kotlin, C#, TypeScript, Rust, JavaScript and Go. A smaller team could adopt a narrower equivalent rather than reproduce the full environment.
-
Attach a policy layer to agent output. Structured Outputs is applied after execution to check the result against a predefined contract. Tool builders could extend this into a policy layer that records run metadata and rejects malformed results before they enter a review queue.
-
Apply the runtime to security tooling first. The internal security product shows one concrete workload: scanning repositories for vulnerable dependencies and attempting repairs. Starting with a narrow, measurable maintenance task can produce clearer acceptance criteria than beginning with open-ended feature work.
-
Model asynchronous work around developer attention. The workflow is designed so routine jobs run without supervision and later attention goes to problems that require judgment.
Risks
-
Automated fixes can be wrong in ways a contract does not catch. A patch may conform to the expected output shape while introducing a behavioral regression. iFood’s account does not report false-positive rates, revert rates, the share of fixes that pass review, or the number of accepted merge requests.
-
System access needs explicit boundaries. The agent can reach Nexus, GitLab, Docker, Snyk, Kubernetes and AWS, but OpenAI and iFood do not specify which of these systems it writes to or modifies. Read access, write access and approval gates would need to be set deliberately rather than inherited from a general-purpose sandbox.
-
The reported cost figure is incomplete for planning. The OpenAI News case study reports an average of four U.S. cents per run, with tens of thousands of tokens consumed. That figure does not separate model usage from infrastructure and labor, and OpenAI and iFood do not publish a breakdown by task type, retries or model usage.
-
Dependence on a specific model and API layer. The workflow runs on GPT-5.6 Luna, and the platform design mirrors OpenAI’s Batch API and Agents API. A similar implementation inherits exposure to model changes, API revisions and pricing shifts, and the structured verification step depends on model output remaining compatible with the predefined contract.
-
Merge requests remain a control point. The workflow ends by publishing a merge request. OpenAI and iFood do not state whether human approval is required before publication, who is accountable for a defective automated patch, or how access to the sandbox and connected systems is controlled.
Limitations & uncertainties
OpenAI and iFood do not publish the following about the platform and its results:
- A benchmark table, methodology or third-party evaluation for the comparison of GPT-5.6 Luna with other models. The model-selection rationale rests on iFood’s internal benchmarks.
- A definition of “accuracy” in the claim that fix accuracy more than doubled, together with before-and-after vulnerability counts, the measurement period and the total number of runs.
- Scan frequency across the 15,000 repositories, the number of repositories covered per cycle, accepted merge-request rates, and false or reverted fix rates.
- A cost breakdown for the reported four-cent average per run, including task types, model usage, retries, infrastructure and labor.
- Error-handling behavior, sandbox isolation guarantees, access controls, and whether human review is required before merge requests are published.
- Which connected systems — Nexus, GitLab, Docker, Snyk, Kubernetes, AWS — the agent writes to or modifies, rather than only accesses.
- Release dates for the Remote Agents Platform, GPT-5.6 Luna, the Agents API and the underlying OpenAI API product versions referenced.
- The contents of the predefined contract used for post-execution verification, and what happens when a result fails it.
- A comparison with iFood’s prior tooling or with other coding-agent platforms.
Evidence & sources
- 1How iFood scales coding agents across 15,000 repositories●openai.comretrieved Nov 24, 2026
Updates & corrections
- First published
Found an error? Report it.