iFood maintains more than 15,000 code repositories. Upgrading one dependency or checking one project against internal standards can be straightforward. Repeating those jobs across many teams means preparing environments, collecting results, and checking whether each task succeeded. Senior software engineer Victor Coelho describes iFood’s approach in an OpenAI case study dated November 24.

Let the platform handle setup and delivery

Teams submit a task description and environment requirements through an internal API. The platform prepares the repository, working branch, and applicable skills, then hands the task to GPT-5.6 Luna in an isolated environment. Teams retrieve the merge request and artifacts asynchronously. Fixed steps handle setup and delivery, leaving the analysis and code changes to the agent.

Define what a useful result looks like

iFood processes the completed session with Structured Outputs so downstream code can read success and failure results in predefined fields. A structured response tells the next step what to handle. Tests and review still establish whether the change works. The case study reports more than 25,000 completed tasks and an average inference cost of about US$0.04 per run. The case gives no full cost per job.

Try the pattern in one Codex repository

Pick a recurring task with a clear test, such as adding missing tests to similar modules. Specify the input, which paths Codex may edit, and which tests must pass. Ask for the changes on a separate branch, with test results and open issues. Review the first batch before expanding the workflow to more repositories.

OpenAI’s customer case study