iFood has centralized agentic execution with a Remote Agents Platform that runs model-driven coding tasks across the company’s more than 15,000 code repositories. The platform presents a simple REST API to product teams, executes jobs inside isolated sandboxes, and returns results as merge requests — effectively turning routine engineering work into an API call so teams can focus on domain problems rather than building runtime infrastructure.
The platform implements a three-step cycle. A team calls the REST API to submit a prompt and environment requirements; a dedicated remote runner executes the task inside an isolated Ubuntu sandbox; and the platform delivers the result, typically as a published merge request. Runs execute asynchronously, and progress can be monitored in real time, allowing engineers to launch tasks and continue with higher-value work while the system completes repeatable jobs.
Execution inside the sandbox alternates between deterministic operations and agentic model work. Deterministic steps — cloning the repository, loading the agent’s skills, creating a working branch — frame the workflow and provide predictable checkpoints. Between those steps the agentic phase runs GPT-5.6 Luna inside the sandbox to perform complex, model-driven tasks. At the end of each run the platform publishes a merge request and makes the generated artifacts available for human review.
The sandboxes run Ubuntu and include the build and runtime toolchains used across iFood. Languages supported inside the environment include Python, Java, Kotlin, C#, TypeScript, Rust, JavaScript, and Go. From within the sandbox an agent can interact with iFood’s ecosystem tools such as Nexus, GitLab, Docker, Snyk, Kubernetes, and AWS. This integration ensures agents operate in realistic environments and can produce actionable changes that fit the company’s existing workflows.
iFood selected GPT-5.6 Luna after benchmarking models at the same checkpoint and prioritizing a balance of intelligence, efficiency, and execution speed. Victor Coelho, Senior Software Engineer at iFood, said the combination of those three factors mattered because the platform is expected to run many tasks: “the balance of efficiency and intelligence that OpenAI’s model provides ensures we can scale sustainably.” Cost per run also factored into design decisions: the platform has consumed more than 27 billion tokens across over 25,000 completed tasks at an average cost of roughly US$0.04 per run, metrics the engineering team uses to guide how widely the platform can be applied internally.
To reduce uncertainty in agent outputs, iFood processes responses using Structured Outputs. Requiring agents to emit responses that conform to a predefined contract makes it possible to parse expected fields in every session and automatically classify outcomes as successful or not. As Coelho explained, Structured Outputs “ensures the response follows a predefined contract” and lets the platform identify the outputs it expects from each agent session, enabling reliable automation at scale.
The platform’s first major internal adopter was iFood’s security product. The security workflow scans repositories for vulnerable dependencies and attempts automated fixes through the platform. After migrating that workflow, iFood reported that the accuracy of fixes more than doubled and the number of vulnerabilities resolved increased — concrete evidence that delegating execution to a central runtime can improve outcomes for high-volume internal problems. The security example also demonstrates how product teams can use the Remote Agents Platform without building their own agentic runtimes or becoming orchestration experts: they simply call the API and receive a merge request when work is complete.
Asynchronous execution is a key productivity lever. Because runs occur without requiring continuous human supervision, developers can reclaim attention that would otherwise be spent monitoring long-running tasks. iFood frames the gain not as faster oversight but as recovered developer focus: engineers launch tasks and redirect their time to decisions that require human judgment, while the platform handles predictable, repeatable work.
iFood’s engineering team highlighted several design lessons from building the platform. Many teams’ primary bottleneck is the runtime rather than the use case; combining deterministic orchestration with agentic model execution produces a repeatable and auditable workflow; treating cost-per-run as an architectural constraint helps guide adoption; and enforcing structured outputs enables automated success/failure classification at scale. The platform has completed more than 25,000 tasks, consumed over 27 billion tokens, operates across 15,000+ repositories, and currently runs all jobs with GPT-5.6 Luna. The team plans to expand the Remote Agents Platform to additional internal use cases, using cost measurements to determine where further deployment is feasible.
By centralizing execution and exposing agentic capabilities via an internal API, iFood removed a common obstacle teams face when attempting to automate routine engineering tasks at scale. The result is a reusable execution layer that has already improved security workflows and that the company expects to apply to other high-volume internal problems, allowing engineers to focus on the uniquely human aspects of software development.
Source: Read the original source

Leave a Reply