iFood more than doubled its security fixes with one shared AI service

The Latin American tech company built one internal service that any team can use to hand routine coding jobs to AI. Its security tool now fixes more than twice as many flaws across 15,000 code projects.

An iFood courier in a red jacket stands beside his motorbike on a city street.
Photo: Giulia Lozano, Wikimedia Commons, CC BY-SA 4.0

The short version

  • iFood, a Latin American tech company, built an internal service that lets any team hand a routine coding job to an AI helper and collect the result later.
  • The service has completed more than 25,000 jobs at an average cost of about US$0.04 each.
  • After moving to it, iFood's security tool more than doubled both the number of flaws it fixed and how accurate those fixes were.
The OpenAI and iFood logos on either side of a red panel.
Image: OpenAI

What iFood built

iFood keeps more than 15,000 separate code projects. Each one needs regular upkeep. Code must meet internal standards, and risky outside software parts must be fixed.

None of these jobs is hard on its own. The problem is doing them 15,000 times. Before, different teams built their own AI tools for this, and each ran into the same wall. They had no shared, safe place to run the AI.

So iFood built one. Its engineers call it the Remote Agents Platform. A team sends a request describing the job. The service runs the AI in an isolated workspace with all the tools it needs. The result comes back later as a proposed code change for a person to review.

The details come from a customer story published by OpenAI, whose AI model iFood uses.

How it keeps AI work predictable

Two design choices stand out.

Fixed steps around the AI. The parts of each job that never change are done by plain software. That includes copying the project at the start and sending back the result at the end. The AI only handles the middle, where judgment is needed.

A fixed answer format. Each job must return its result in a set structure, even when it fails. That way iFood can tell automatically, across thousands of jobs, whether the AI did what it was asked.

The team also chose its AI model on 3 things together: quality, cost and speed. At this scale, cost per job decides what is worth automating. The story calls cost per run a design decision in its own right.

The results so far

The first big user was iFood's internal security tool. It scans all the code projects for risky software parts and tries to fix them. After moving to the new service, it fixed more than twice as many flaws, and the share of its fixes that were correct more than doubled.

Developers gain time too. They can start a code fix or a check before a meeting and pick up the result afterwards, without watching the AI work.

iFood plans to bring many more jobs onto the service. Cost per job will decide how far it goes.

What it means for companies in Indonesia

Many large Indonesian firms run a great many systems. They face the same pile of routine upkeep, and the same scattered AI experiments.

iFood's lesson is that teams often lack a shared, safe place to run AI, with clear rules for checking the output. Build that once, and every team can use it.

The low cost per job matters as well. At a few cents a job, work that was never worth a person's time becomes worth automating.

What to do

  • Count the routine technical jobs your teams repeat across many systems, like updates, checks and security fixes.
  • Build or buy one shared, isolated place to run AI on that work, instead of letting each team build its own.
  • Let plain software handle the fixed steps, and use AI only where judgment is needed.
  • Require every AI job to report success or failure in a fixed format you can check automatically.
  • Track the cost of each job from day one. It decides what you can afford to scale.
  • Start with one team that has a clear, high-volume pain point, as iFood did with security.

Sources

  1. 01 · OpenAI · 2026-11

Keep reading

  1. Report

    Developers' biggest malware risk is trusted code that attackers hijack

  2. Report

    AI-driven hackers are finding old security gaps in minutes, UK warns

  3. Research

    Most software flaws used in attacks have no public record of their fix