iFood Scaling Coding Agents di 15.000 Repo: US$0,04 per Task
iFood bangun platform coding agents yang kelola 15.000 repo dengan biaya US$0,04 per task. Pakai GPT-5.6 Luna, platform ini berhasil ngedoubled fix vulnerability.
· 9 menit baca

Inti singkat
- iFood bangun Remote Agents Platform yang otomasi task di 15.000 repo dengan biaya rata-rata US$0,04 per run.
- Platform pakai GPT-5.6 Luna karena balance antara intelligence, efficiency, dan execution speed.
- Security platform berhasil ngedoubled jumlah vulnerability yang di-fix setelah migrasi ke platform ini.
- Structured Outputs dari OpenAI dipake buat mastiin setiap task return hasil yang sesuai contract.
- Platform udah jalanin 25.000+ task dengan konsumsi 27 miliar token.
Daftar isi9 bagian
- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
iFood, platform pesan antar makanan terbesar di Amerika Latin, berhasil bangun Remote Agents Platform yang otomasi coding task di 15.000 repository dengan biaya rata-rata cuma US$0,04 per run. Platform ini pakai GPT-5.6 Luna dari OpenAI dan berhasil ngedoubled jumlah vulnerability yang di-fix lewat internal security platform mereka.
Ini bukan cuma soal satu perusahaan bikin automation tool. Ini tentang gimana scaling coding agents di level enterprise — dengan ribuan repo, puluhan ribu task, dan puluhan miliar token — sambil tetep sustainable dari sisi cost. Menurut pengumuman resmi OpenAI, platform ini udah ngejalanin lebih dari 25.000 task dan konsumsi lebih dari 27 miliar token.
Buat kamu yang kerja sebagai developer, DevOps engineer, atau engineering lead di perusahaan dengan banyak repo, case study iFood ini ngasih blueprint konkret: gimana caranya delegate agentic execution lewat API, kenapa asynchronous matters, dan model mana yang worth it buat scale.
Panduan gratis · gratis
Panduan Cepat API AI untuk Developer
Dari request pertama sampai siap produksi: contoh kode, streaming, kontrol biaya, keamanan API key, dan penanganan error.
- Contoh request dengan cURL, Python, dan JavaScript
- Streaming dan format OpenAI vs Anthropic
- Cara mengontrol biaya token
- Checklist keamanan dan siap produksi
Masalahnya bukan task-nya — tapi scale-nya
iFood maintain lebih dari 15.000 code repository. Tiap repo butuh task berkala: validasi code biar sesuai internal standards, fix vulnerable dependencies, atau jalanin analysis.
Nggak ada yang sulit dari task-task itu kalau cuma dikerjain di satu repo. Masalahnya muncul pas task itu harus dikali ribuan kali.
"Solving this for one repository is easy. The challenge is solving it at scale." — Victor Coelho, Senior Software Engineer, iFood
Sebelum ada platform ini, tiap tim ngatasin masalah dengan cara mereka sendiri — dan semuanya ketemu bottleneck yang sama. Bukan soal intelligence atau use case. Yang hilang adalah execution infrastructure: dedicated runtime buat jalanin agents secara terisolasi, scalable, dan monitorable.
Fragmented solutions itu always ran into the same problem. What was missing wasn't intelligence atau use case yang jelas. It was execution infrastructure — a dedicated runtime.
Remote Agents Platform: coding agent lewat REST API
Platform yang dibangun iFood ini pada dasarnya adalah API yang ngelaunch remote agentic coding task. Siklus kerjanya ada tiga langkah: user submit prompt dan environment requirements lewat REST call; platform proses task di dedicated remote runner inside isolated sandbox; dan result bisa diambil nanti (asynchronous).
"The platform's entry point, its interface, is a simple REST API. Users can use this API to create the runs they need. Internally, we handle and manage the entire lifecycle and delegate execution to isolated sandboxes." — Victor Coelho
Task progress bisa dimonitor real time. Desain internal runner-nya kombinasi dua tipe steps — dan kombinasi ini bikin overall workflow predictable.
Deterministic steps nge-bookend workflow: clone repository, import skills yang bisa dipakai agent, dan setup working branch di awal; publish merge request dan bikin artifacts available di akhir.
Agentic execution di tengah: jalanin GPT-5.6 Luna inside sandbox.
"It's a combination of those two things: deterministic steps and agentic execution within the workflow." — Victor Coelho
Sandbox-nya jalanin Ubuntu dan include toolchains yang dibutuhin ekosistem iFood: Python, Java, Kotlin, C#, TypeScript, Rust, JavaScript, dan Go — plus general-purpose tools. Beyond sandbox, agent bisa akses Nexus, GitLab, Docker, Snyk, Kubernetes, dan AWS.
Kenapa pilih GPT-5.6 Luna?
Pilihan model bukan cuma berdasar satu benchmark. iFood pertimbangin tiga faktor sekaligus: intelligence (seberapa pinter model ngerjain task kompleks), efficiency (cost per token), dan execution speed (seberapa cepat task selesai).
"We chose GPT-5.6 Luna because, among models at the same checkpoint, the benchmarks showed it offered a great balance of intelligence, efficiency, and execution speed — how quickly it could complete tasks. Those three qualities together led us to choose GPT-5.6 Luna." — Victor Coelho
Balance ini penting banget buat platform yang didesain untuk scale. Dengan puluhan ribu token dikonsumsi, biaya rata-rata US$0,04 per run bukan detail kecil — ini jadi architectural consideration.
"Given our plans to scale the platform across many use cases at iFood, the balance of efficiency and intelligence that OpenAI's model provides ensures we can scale sustainably." — Victor Coelho
Buat context: dengan 25.000+ runs yang udah dijalanin, total cost inference cuma sekitar US$1.000. Itu sustainable buat perusahaan dengan 15.000 repo.
Gimana tau agent udah selesai ngerjain task dengan benar?
Delegasi execution at scale bikin challenge baru: gimana caranya otomatis nentuin apakah agent ngerjain apa yang seharusnya?
Jawaban iFood: pakai Structured Outputs dari OpenAI. Setelah execution selesai, result di-process pakai API yang require output conform to predefined contract.
"We process the result using Structured Outputs, which ensures the response follows a predefined contract. From the agent's session, we can identify the outputs within the response structure we expect. This helps reduce uncertainty and ensures we can always get a response from the agent's session, whether positive or negative." — Victor Coelho
Tanpa structured response, nggak mungkin tau at scale apakah agent achieve objective-nya atau nggak. Ini bukan nice-to-have — ini requirement buat automation yang reliable.
Structured Outputs ensures bahwa dari agent's session, platform bisa identify outputs dalam response structure yang diexpect — baik positive atau negative. This reduces uncertainty dan ensures consistent, parseable results.
Security platform: user pertama yang buktiin impact
Platform ini udah dipake internal iFood security product yang scan 15.000 repo buat cari vulnerable dependencies dan attempt to fix them. Hasil migrasinya direct impact:
"With our platform, the accuracy of those changes, those fixes, more than doubled." — Victor Coelho
Use case ini ilustrasiin ide di balik platform: security team nggak perlu bangun agentic runtime sendiri atau jadi expert di agent orchestration. Mereka cukup call API.
"Teams can focus on solving their business problems and delegate execution to our platform." — Victor Coelho
Fix vulnerability yang lebih akurat dan lebih banyak — tanpa nambah headcount atau effort manual. The number of vulnerabilities fixed more than doubled setelah migrasi ke Remote Agents Platform.
Asynchronous execution: developer dapet waktu mereka balik
Tim iFood emphasize apa yang di-free-kan asynchronous execution, bukan replacement. Karena task didelegasi dan jalan tanpa supervision, developer nggak harus stay focused monitoring it.
"While they're in a meeting, they can launch a code fix, a performance analysis, or another task that's a little more routine — something they can delegate without having to monitor it at that moment." — Victor Coelho
Routine work nggak lagi compete buat attention tim. Itu ninggalin waktu buat problems yang butuh judgment.
Ini beda dari "faster execution." Value-nya bukan task selesai dalam 5 menit vs 10 menit. Value-nya adalah kamu bisa launch task, attend meeting, review design doc, atau ngerjain feature lain — dan result-nya balik sebagai merge request yang tinggal di-review.
"You can unlock those productivity gains without necessarily having to monitor the work as it happens." — Victor Coelho
Design terinspirasi dari OpenAI APIs dan hasil konkret
Remote Agents Platform didesain sebagai internal layer dengan similarities ke cara OpenAI make this type of task available ke external customers.
"The Remote Agents Platform drew a lot of inspiration from OpenAI's APIs, both the Batch API and the Agents API, which is an even more recent OpenAI product. We built a platform that resembles those products, but is internal to iFood." — Victor Coelho
Inspirasi itu beyond concept. Extends ke design interfaces, organization of resources, dan approach to asynchronous execution dengan results retrieved later.
"These products directly inspired how we built our solution." — Victor Coelho
Angka-angka konkretnya:
| Metric | Value |
|---|---|
| Total runs completed | 25.000+ |
| Total tokens consumed | 27+ miliar |
| Average cost per run | US$0,04 |
| Repositories covered | 15.000+ |
| Vulnerabilities fixed (increase) | 2× lebih banyak |
| Model used | GPT-5.6 Luna |
Setelah migrasi ke Remote Agents Platform, internal security platform more than doubled both accuracy of fixes dan jumlah vulnerabilities resolved. Coverage extends across semua 15.000+ code repositories iFood.
Product teams have moved from building fragmented solutions to delegating agentic execution through a REST API.
Lessons buat engineering leaders dan cara coba GPT-5.6 Luna
Case study iFood ngasih beberapa takeaway penting buat teams yang mau adopt agentic workflows at scale:
The bottleneck is often the runtime, not the use case. Several teams already knew what they wanted to automate; they lacked an environment in which to run it.
Combine deterministic steps with agentic execution. Cloning, publishing, dan make artifacts available don't require a model; the complex task in between does.
Treat cost per run as an architectural decision. At scale, cost per task determines what is feasible to automate.
Require outputs to follow a contract. Without a structured response, there's no way to know at scale whether the agent achieved its objective.
Asynchronous execution is the real productivity gain. The value lies in not having to monitor the work, rather than completing it faster while watching over it.
Expose agentic capabilities through an internal API so other teams can use them without rebuilding the infrastructure.
Isolate each run in its own sandbox, with your ecosystem's toolchains already installed.
Choose a model by considering intelligence, cost, and speed together, rather than a single benchmark.
Start with an internal user with a clear pain point and high volume — at iFood, that was the security platform.
Kalau kamu developer atau engineering team yang mau explore GPT-5.6 Luna — model yang dipake iFood di case study ini — kamu bisa akses lewat Classai Router. GPT-5.6 Luna tersedia dengan harga Rp1.860 per 1 juta token input / Rp9.285 per 1 juta token output.
Classai Router kompatibel dengan OpenAI SDK, jadi kamu cuma perlu arahkan base URL ke router.classai.id/v1 — kode lain nggak perlu diubah. Classai Router ngasih satu API key buat banyak model (Claude, GPT, Gemini, DeepSeek, GLM, Kimi). Ganti model cukup ubah satu string. Harga dalam rupiah per token, bayar yang terpakai, atau ambil paket token bulanan yang lebih hemat. Top up mulai Rp10.000 lewat QRIS, virtual account, atau e-wallet — tanpa kartu kredit luar negeri.
Kalau kamu interested buat learn more tentang automasi development workflow pakai AI, cek kelas AI untuk Developer di Classai.



Next steps: expansion ke lebih banyak use cases
Tim iFood planning bawa platform ini ke many more use cases across company, expanding range of internal products yang delegate agentic execution to it. Yang nentuin apakah expansion bisa sustained? Cost per task.
Ini kenapa balance antara intelligence, efficiency, dan speed — yang jadi alasan mereka pilih GPT-5.6 Luna — becomes architectural constraint, bukan just nice-to-have feature.
Buat enterprise dengan ribuan repositories dan ratusan engineers, automation at scale bukan soal bikin satu script clever. Soal bangun platform yang sustainable, monitorable, dan extensible — yang bikin teams fokus ke business problems instead of execution infrastructure.
The team plans to bring the platform to many more use cases across iFood — with cost per task determining whether that expansion can be sustained.
Sumber & referensi
- 01
OpenAI · 24 November 2026
How iFood scales coding agents across 15,000 repositories - 02
OpenAI · 24 November 2026
How iFood scales coding agents across 15,000 repositories
Artikel ini ditulis ulang oleh Tim Classai dengan bantuan AI berdasarkan sumber di atas — bukan terjemahan. Ada yang keliru? Kabari kami di [email protected].
Pertanyaan yang sering ditanyakan
Apa itu Remote Agents Platform yang dibangun iFood?
Remote Agents Platform adalah API internal iFood yang ngelaunch remote agentic coding task. User submit prompt lewat REST call, platform proses task di isolated sandbox pakai GPT-5.6 Luna, dan result balik sebagai merge request. Platform ini otomasi task di 15.000+ repository dengan biaya rata-rata US$0,04 per run.
Kenapa iFood pilih GPT-5.6 Luna buat platform ini?
iFood pilih GPT-5.6 Luna karena balance antara intelligence, efficiency, dan execution speed. Dengan 25.000+ runs dan 27 miliar token dikonsumsi, cost per task jadi architectural decision — bukan cuma nice-to-have. Model ini ngasih performa yang cukup pinter sambil tetep sustainable buat scale enterprise.
Apa hasil konkret setelah iFood pakai platform ini?
Security platform iFood berhasil ngedoubled both accuracy of fixes dan jumlah vulnerabilities yang diresolve. Platform udah ngejalanin 25.000+ task dengan average cost US$0,04 per run, covering semua 15.000+ code repositories. Asynchronous execution ngasih developer waktu buat fokus ke problems yang butuh judgment.
Gimana cara platform ini mastiin agent ngerjain task dengan benar?
iFood pakai Structured Outputs dari OpenAI yang require output conform to predefined contract. Setelah execution selesai, result di-process buat identify outputs dalam response structure yang diexpect. Ini ensures platform selalu bisa dapet response dari agent's session, whether positive or negative, tanpa manual review.
Apakah GPT-5.6 Luna tersedia di Indonesia?
Ya, GPT-5.6 Luna bisa diakses di Indonesia lewat Classai Router dengan harga Rp1.860 per 1 juta token input dan Rp9.285 per 1 juta token output. Classai Router kompatibel dengan OpenAI SDK, cukup arahkan base URL ke router.classai.id/v1 dan kode lain nggak perlu diubah.

Classai Weekly
dari Luthfi · Setiap Senin, 06.30 WIB
Nggak sempat ngikutin berita AI? Biar aku yang rangkumin tiap Senin.
- 5 berita AI paling penting minggu ini — udah disaring, nggak perlu baca puluhan situs
- Kenapa itu penting buat kamu — plus opini jujur Luthfi soal arahnya
- 1 prompt siap pakai yang bisa langsung dicoba
- Pilihan kelas & model AI minggu ini — kadang ada promo khusus pelanggan
Langkah berikutnya
Sudah paham teorinya. Sekarang praktikkan.
Daftar, isi saldo mulai puluhan ribu rupiah, dan panggil model AI pilihanmu dari kode yang sudah ada.
Ditulis oleh
Pengembang Classai Router
Tim Engineering Classai membangun dan menjalankan Classai Router, gateway API AI yang kompatibel dengan format OpenAI dan Anthropic. Kami menulis panduan teknis dari pengalaman mengoperasikan API AI setiap hari.


