iFood Senior Engineer Victor Coelho: Combining Deterministic Steps and Agentic Execution to Scale Coding Agents Across 15,000 Repositories
Victor Coelho, a Senior Software Engineer at iFood, describes the architectural pattern behind the company's Remote Agents Platform: deterministic steps bookend an agentic core, Structured Outputs serve as a verification contract, and cost per run is treated as an architectural decision. The platform has completed more than 25,000 runs across 15,000 repositories at an average of US$0.04 per task, according to self-reported figures published in OpenAI's customer story.
Victor Coelho, a Senior Software Engineer at iFood, describes the company's Remote Agents Platform as a workflow that alternates between two fundamentally different types of steps. Deterministic operations bookend the process: cloning the repository, importing the skills the agent can use, setting up the working branch at the start; publishing the merge request and making generated artifacts available at the end. In between sits the agentic execution itself, running inside an isolated sandbox. "It's a combination of those two things: deterministic steps and agentic execution within the workflow," Coelho explains.
The pattern addresses a specific failure mode that emerges when coding agents operate at scale. iFood maintains more than 15,000 code repositories, each periodically needing tasks such as validating code against internal standards, fixing vulnerable dependencies, or running analyses. None of these tasks is difficult individually. The challenge multiplies when they must be solved across thousands of repositories simultaneously. Before the platform, each team built its own solution and all ran into the same obstacle: no shared execution infrastructure. "Solving this for one repository is easy. The challenge is solving it at scale," Coelho says.
The platform's entry point is a simple REST API. Users submit a prompt and environment requirements; the platform processes the task on a dedicated remote runner inside an isolated sandbox; the result is retrieved later as a merge request. Task progress can be monitored in real time. The sandbox runs Ubuntu with the toolchains iFood's ecosystem requires—Python, Java, Kotlin, C#, TypeScript, Rust, JavaScript, and Go—along with general-purpose tools. Beyond the sandbox, the agent can access Nexus, GitLab, Docker, Snyk, Kubernetes, and AWS.