Beyond The Pilot: Enterprise AI in Action podcast

Instacart Cut AI Coding Cost per Merge 75% with CTO Anirban Kundu

0:00
40:20
Rewind 15 seconds
Fast Forward 15 seconds
Instacart's CTO stopped his engineers from reading code. 97% of their codebase is now AI-generated β€” and they've cut the cost of serving Clementine, their AI shopping agent, to one-eighth of what it was eight months ago. Anirban Kundu (AK), CTO of Instacart, breaks down the internal architecture behind that number. The core insight: the harness matters more than the model. Instacart built a proprietary system called Maverick that routes planning tasks to frontier models and code generation to faster, cheaper open-source models like Luna and DeepSeek β€” cutting development AI costs by 75% while hitting their highest-ever weekly code merge count. Engineers are now migrating a 13-year-old Ruby codebase to Go and Rust without knowing either language. On the product side, AK unpacks Clementine's technical stack: a multi-layer query understanding system that replaced a frontier model with a fine-tuned SLM, semantic IDs built from full catalog embeddings to surface substitute products in real time, and an intent-based architecture that β€” by the third session β€” shifts users from ingredient-level searches to natural-language cart building. The result: measurable basket size growth in a grocery e-commerce category he calls "massively under-penetrated." AK also covers Instacart's MCP strategy for navigating the personal agent ecosystem (Meta Muse, Claude Duet, OpenAI Dots), why they've actively steered partners away from browser-based integrations, and what comes next: synthetic users, per-user experimentation at scale, and fully segregated enterprise code instances generated on demand. πŸŽ™οΈ GUEST: Anirban Kundu (AK) | CTO, Instacart πŸŽ™οΈ HOSTS: Sam Witteveen | VentureBeat --- 00:00 Intro β€” Why the harness beats the model 00:40 Episode intro & guest background 01:20 97% of Instacart's code is no longer read by humans 02:20 The journey to 100%: legacy pruning and engineer buy-in 03:00 Migrating Ruby to Go and Rust β€” without knowing the language 03:40 From code generation to full codebase regeneration 04:00 Prompt-and-loop architecture: the "why" behind the code 05:00 Multi-model planning: frontier for strategy, open source for execution 06:20 Building the eval and verification layer 07:00 Instacart's internal harness: "Maverick" explained 08:00 Why the harness is more valuable IP than the model itself 09:20 59% of companies struggle to swap models β€” Instacart's approach 10:00 75% cost reduction and record weekly merge count 10:40 Luna and DeepSeek vs. frontier: speed and cost trade-offs 11:40 AI acceleration on the ML side, not just code generation 12:00 AutoML with Bayesian optimization: shipping models overnight 12:40 Combining GBM/neural nets with SLMs for long-tail model coverage 13:40 Semantic IDs: embedding-based product catalog relationships 14:20 Clementine: intent-based cart building explained 15:40 How Clementine uses purchase history and real-time fulfillment data 16:40 Multi-layer semantic search: inverted index + LLM-cached results 17:20 How the search architecture was rebuilt over the past year 19:20 Business results: search conversion growth and basket size lift 20:20 How users shift behavior by their third Clementine session 21:40 Navigating the personal agent ecosystem: Muse, Claude Duet, OpenAI Dots 22:20 MCP over browser-based integrations: why and how 24:40 Clementine's frenemy strategy: connectors as acquisition funnels 25:20 Personalization moat: purchase history as a competitive advantage 26:00 Blending organic and ad results inside Clementine 27:20 Instacart's enterprise offering: Storefront Pro and Cart Assistant 28:40 Per-brand customization: persona control and product highlighting 30:20 Code regeneration enabling segregated enterprise instances 31:40 Open vs. proprietary model routing inside Clementine 32:40 Fine-tuning SLMs for search long-tail and Clementine query understanding 33:20 How Instacart reduced reliance on frontier model providers 34:00 Automatic model escalation inside the developer harness 35:20 What's next: synthetic users, hyper-personalization, and beyond AB testing 37:00 The verification problem: managing non-deterministic output at scale 39:00 Closing thoughts and what AK will return to discuss --- Subscribe to VentureBeat: https://www.youtube.com/@VentureBeat Apple Podcasts: https://podcasts.apple.com/us/podcast/venturebeat/id1839285239 Spotify: https://open.spotify.com/show/4Zti73yb4hmiTNa7pEYls4 Website: https://venturebeat.com LinkedIn: https://www.linkedin.com/company/venturebeat Newsletter: https://venturebeat.com/newsletters #EnterpriseAI #AIAgents #LLMInfrastructure #AIDeployment #MLOps Learn more about your ad choices. Visit megaphone.fm/adchoices

More episodes from "Beyond The Pilot: Enterprise AI in Action"