← Blog

What iFood's 15,000-Repo AI Setup Tells You About Building Your Own

iFood built an internal platform that sends AI coding agents across all 15,000 of its repositories, hands-free. The lessons for designers who are just starting to build with AI are more practical than you'd expect.

By ProbG · December 1, 2026

iFood, Brazil's dominant food delivery platform, just published how it runs AI coding agents across more than 15,000 code repositories at roughly four cents a task. The number that should catch your attention is not the size of their codebase. It is the cost and the principle behind it.

The idea that actually matters here

iFood did not buy a smarter AI. It built the right conditions for AI to do repetitive work reliably at scale. That distinction is worth sitting with, because it is the same tension every designer hits the first time they try to build something with AI: the model is capable enough, but the workflow around it keeps falling apart.

Their solution is called the Remote Agents Platform. It is an internal tool that turns a coding task into an API call. A team submits a prompt and some environment settings, the platform runs the task inside an isolated sandbox, and the result comes back as a merge request ready for review. No one has to babysit it. The team can be in a meeting while a code fix runs in the background.

The thing that makes this work is a deliberate mix of two types of steps. Predictable, rule-based steps handle the setup and the cleanup: clone the repository, load the tools, open a branch, then publish the result. The AI model, GPT-5.6 Luna, only handles the messy middle part, the judgment call that actually requires intelligence. Everything else is locked down and deterministic.

For a designer building their own vibe-coded projects, that framing is immediately useful. AI does not have to run everything. It just has to run the parts where rigid logic would fail.

Why the "boring infrastructure" part is the real story

Before iFood built this platform, different teams were each cobbling together their own solutions. Each one hit the same wall. Senior Software Engineer Victor Coelho put it plainly: "Those solutions always ran into the same problem." What was missing was not a smarter prompt or a better model. It was a shared runtime, a consistent place for agents to execute work.

This is the part that scales. The security team at iFood did not need to understand agent orchestration to use the platform. They called an API. After migrating to the platform, the accuracy of their automated vulnerability fixes more than doubled, and the number of vulnerabilities resolved went up by the same margin.

The bottleneck was never the idea. It was the infrastructure around the idea.

What a designer can take from this, practically

You are probably not managing 15,000 repositories. But the structural lesson applies at any scale.

Separate your deterministic steps from your AI steps. When you are building a workflow with an AI tool, write out every step first. Mark the ones where the answer is always the same regardless of context: load this file, name it this way, save it here. Keep AI out of those. Only bring AI in where you genuinely need judgment or generation. This makes your workflows faster, cheaper, and much easier to debug when something goes wrong.

Check your outputs with a contract. iFood uses a feature called Structured Outputs, which forces the AI's response to match a predefined format every single time, whether the task succeeded or failed. In plain terms: they told the AI exactly what shape its answer had to be in, and the system held it to that. If you are using tools like ChatGPT, Claude, or any AI with structured or JSON output modes, this is worth turning on. It means you always get something you can actually use, rather than a wall of text you have to parse by hand.

Think about cost per run before you need to. iFood's four-cent average sounds trivial until you multiply it by 25,000 completed tasks, which is where they are now. They chose GPT-5.6 Luna specifically because it balanced intelligence, speed, and efficiency well enough to scale sustainably. If you are building something that will run repeatedly, an automated report, a nightly review, a workflow that fires on user action, model choice is not just a quality decision. It is a budget decision.

Async is your friend. iFood highlights that developers can kick off a task and come back to the result later, without monitoring it in real time. Many AI tools now support this kind of background execution. If yours does, use it. Fire off a generation task before a break, check the output when you are back, iterate from there. It is a small habit shift with a surprisingly large effect on how much you can get done.

The limits worth naming

iFood has a full engineering team, cloud infrastructure, and an ongoing relationship with OpenAI. Their platform took real work to build. The architectural lessons are transferable, but the platform itself is not something you can download.

What you can transfer is the mindset: be deliberate about where AI sits in your process, hold its outputs to a consistent standard, and treat the scaffolding around the AI as seriously as the AI itself.

The model is rarely the bottleneck. Usually, it is everything else.

ai toolscoding agentsopenaiworkflow designvibe coding

Sources

About VibeLab

VibeLab is a community for vibe coders. Discover vibe coded projects from around the globe, and post and host your own.