iFood turned agentic coding into an internal platform API and OpenAI published the numbers on November 24, 2026. The customer story — also listed at openai.com/index/ifood — is one of the most concrete enterprise Codex write-ups of the year: 15,000 repositories, 25,000+ completed runs, about US$0.04 average cost per run, and more than double the vulnerability fixes from the security scanner after migration.
| Metric (OpenAI / iFood) | Value |
|---|---|
| Repositories | 15,000+ |
| Completed runs | 25,000+ |
| Tokens consumed | 27B+ |
| Average inference cost | ~$0.04 / run |
| Model | GPT-5.6 Luna |
| Security fixes | 2x+ accuracy and volume |
What is the Remote Agents Platform?
Victor Coelho, senior software engineer at iFood, frames the problem as scale, not difficulty: validating a dependency, running analysis, or patching a CVE is easy once, impossible when fifteen thousand Git repos need the same treatment on different stacks.
The Remote Agents Platform (RAP) exposes one REST entry point. Callers send a prompt plus environment requirements; the control plane schedules an ephemeral runner; results arrive later as artifacts and merge requests. Progress is observable in real time, but developers are not required to babysit the session — a deliberate productivity bet.
Deterministic steps bookend each job: clone, import skills, branch setup, then after the model runs, publish the MR and expose artifacts. The middle is agentic: GPT-5.6 Luna edits, compiles, and tests inside the sandbox. Coelho calls it deterministic steps plus agentic execution in one workflow — the same pattern OpenAI described for Codex sandbox permissions, but lifted to datacenter runners instead of a laptop.
Why a dedicated runtime beat fragmented tools
Before RAP, iFood teams built one-off automations that all hit the same wall: no shared agentic runtime with corporate network access, private package feeds, and multi-language compilers. Coelho''s quote in the OpenAI story is blunt: teams lacked execution infrastructure, not ideas.
That mirrors what ShellBench measured last week — frontier models still miss rubric lines — and what OpenAI''s performance factory engineers optimize for at ChatGPT scale. iFood''s answer is platform, not per-repo scripts.
Sandboxes run Ubuntu with iFood''s language matrix and reach Nexus, GitLab, Docker, Snyk, Kubernetes, and AWS. This is the missing layer between “we bought Codex seats” and “we patched six hundred repos last quarter.”
Model choice: GPT-5.6 Luna and four-cent runs
Coelho told OpenAI they picked GPT-5.6 Luna for intelligence, efficiency, and speed together, not a single leaderboard column. At 27 billion tokens across 25,000 runs, four cents per task is not marketing fluff — it is the envelope for which automations stay on.
Compare that economics mindset to Anthropic Ship''s PR steward story: both labs are selling governed automation, but iFood publishes unit cost where many vendors still hide it behind enterprise quotes.
Structured Outputs as the completion detector
Delegating thousands of jobs fails without machine-checkable success. iFood runs each finished session through OpenAI Structured Outputs with a fixed schema so downstream orchestration knows pass, fail, or partial states without reading raw logs.
That design choice pairs with explainx.ai''s broader warning in agent evals on real repos: harness contract matters as much as model IQ. If your platform cannot classify outcomes, you cannot safely parallelize across fifteen thousand repositories.
Security platform: the first killer app
The security team scans all 15,000 repos for vulnerable dependencies and attempts fixes. OpenAI reports more than double the accuracy of changes and more than double vulnerabilities resolved after the migration — without that team becoming agent orchestration experts.
They only had to call an API. That is the product lesson for CISOs comparing Daybreak red programs with batch patch factories.
Builders wiring GitHub Actions parallel QA should note the asymmetry: iFood optimizes for breadth (every repo) while mobile testers optimize for depth (one app''s CI). Both need green CI as the trust signal.
Async execution and developer attention
Coelho emphasizes meetings while agents run: launch a routine fix, walk away, retrieve the MR later. The productivity gain is attention, not raw tokens per second — the opposite of watching a terminal spinner.
OpenAI says RAP modeled interfaces on Batch API and Agents API internally. If you are evaluating OpenAI''s external Agents API for your company, iFood is effectively a reference architecture for private-network sandboxes wrapped in the same async metaphor.
Lessons for platform teams
- Expose agents as REST, not only IDE plugins — other product teams become customers.
- Ephemeral sandboxes per run — do not share mutable VMs across untrusted repos.
- Preinstall corporate toolchains — agents fail when
go privateor Nexus auth is missing. - Structured completion contracts — without them, fleet scale is blind.
- Publish cost per run — iFood proves four cents can justify security automation; your finance team will ask anyway.
How iFood compares to other OpenAI coding case studies
OpenAI''s business site already hosts Cisco Codex, Rakuten, and Endava stories. iFood is the largest repo count named in the November 24 wave and the clearest internal platform API narrative. It sits between single-product Codex wins and OpenAI scaling Git monorepo hygiene inside OpenAI itself.
For readers choosing Claude Code versus Codex at org scale, pair this post with Satya Nadella''s pragmatic engineer interview — market narrative is noisy, but platform runtimes are where spend consolidates.
Architecture diagram in prose
Think of three layers:
| Layer | Responsibility |
|---|---|
| Client teams | Security, platform, product squads — each submits REST jobs with repo coordinates and skills |
| Control plane | Schedules runs, tracks state, applies org policies, routes to runner pool |
| Ephemeral runner | Ubuntu sandbox with toolchain matrix, agent harness, outbound access to GitLab/Nexus/AWS |
Deterministic pre steps guarantee every run starts from a known commit and branch. Deterministic post steps guarantee every successful run ends in an auditable MR URL — critical when compliance asks what changed across thousands of repos.
The agentic middle is where GPT-5.6 Luna spends tokens. iFood does not describe a human review inside the sandbox loop; human review happens at merge time in GitLab, which is the same gate most enterprises already trust.
Governance questions platform teams should copy
OpenAI''s story is light on RBAC details, but any internal clone needs explicit answers:
- Who may dispatch a run against a production microservice repo?
- Which MCP skills are mounted per job type?
- What outbound network paths does each sandbox get — full AWS API or read-only artifact buckets?
- How long are runner logs retained for forensic review?
- What happens when Structured Outputs return negative — auto-close MR or queue for human triage?
These mirror questions we raised in OpenAI''s shared responsibility gap coverage: models improve, but platform policy decides blast radius.
Cost math at fleet scale
$0.04 times 25,000 runs is about $1,000 in inference spend for the published sample — trivial next to engineer salaries, enormous if you fire millions of jobs without caps. iFood''s choice of Luna is explicitly about sustainable scale, not peak benchmark prestige.
Finance teams should model:
- Tokens per repo class (Java monoliths vs tiny Node utilities).
- Retry rate when Structured Outputs flag failure — retries double spend silently.
- Runner compute billed separately from tokens (the story focuses on inference, not VM hours).
Where this does not apply
iFood''s pattern is wrong for creative writing, one-off prototypes, or founder laptops. It shines when:
- You have hundreds or thousands of similar repos.
- Tasks are repeatable (standards checks, dependency bumps, static analysis fixes).
- Green CI is the acceptance test.
It is a poor fit for novel feature work requiring product judgment every hour — exactly the work ShellBench shows agents still fail often on messy folders.
OpenAI DevDays context
iFood engineers previewed RAP at OpenAI DevDays São Paulo before the November 24 customer story dropped. Event reporting described RFC rollouts across hundreds of repos and AutoBuild exercises — useful color, but OpenAI''s customer story remains the canonical source for 25,000+ runs and four-cent averages.
If your organization attended DevDays and wants to replicate the pattern, start with one internal customer (security scanning, as iFood did), prove structured completion metrics, then open the API to other departments. Document merge acceptance rate weekly so leadership sees when automation is ready to widen.
Search and operator FAQ table
| Query | Answer from OpenAI / iFood |
|---|---|
| Remote Agent Platform iFood | Internal REST API for async coding agents across 15k repos. |
| iFood GPT model | GPT-5.6 Luna in sandboxes. |
| iFood coding agent cost | ~$0.04 average inference per run in the published totals. |
| iFood vulnerabilities fixed | Security product more than doubled fix accuracy post-migration. |
Teams measuring merge rate should align with how GitHub and Microsoft OSS AI findings separate suggested from verified patches — iFood''s Structured Outputs step is the enterprise version of that gate.
