By playing, you agree to uListen's Terms and Privacy Policy and YouTube's Terms of Service.
Latent SpaceThe Future of AI Infra: from Kubernetes to Agent Sandboxes — Akshat Bubna, Modal CTO
Summaries, chapters, transcripts, and FAQs on this page are made by uListen, not YouTube.
Great conversations run long. Their best ideas don't have to.
uListen is free on iPhone, iPad, Android, Chrome, and Claude.
See howAt a glance
WHAT IT’S REALLY ABOUT
Modal’s AI infra thesis: elastic inference, sandboxes, and supercloud primitives
- Akshat Bubna explains that Modal began as a better runtime to avoid Kubernetes complexity and YAML-heavy workflows, optimized for bursty, specialized compute workloads.
- He describes Modal’s current focus as cloud primitives built from scratch for AI applications spanning inference, training, batch processing, and sandbox-based agent workloads.
- He says Modal’s largest present-day use case is elastic inference for custom models, where regional traffic variability and rapid scaling requirements are more important than raw GPU provisioning alone.
- He outlines performance work for LLM inference—including DeFlash speculative decoding and Auto Endpoints—to deliver strong performance with transparent, user-modifiable code and easier onboarding.
- He positions Modal as a multi-cloud “supercloud” with reliability and networking layers (including private IPv6 overlay networking and RDMA clusters) to support emerging agent and training workloads.
IDEAS WORTH REMEMBERING
5 ideasModal is shifting from developer experience to “agent experience” by collapsing infra configuration into code-adjacent primitives.
He argues that agents shouldn’t be forced to read and edit large collections of Kubernetes manifests, especially untyped YAML, when infrastructure intent can be expressed directly next to code via small decorator changes that provision the right runtime.
Modal’s origin story is a reaction to Kubernetes being mismatched for bursty, specialized compute-heavy workloads.
He says Kubernetes is “hard to manage,” not built for burstiness, and poorly suited to specialized environments (different images, accelerators), while Modal’s runtime was designed around these workload shapes.
Elastic inference—especially regional autoscaling for custom models—became Modal’s core product-market fit.
He describes Modal’s biggest current use case as elastic inference for companies deploying many custom models across regions, where traffic is unpredictable (diurnal patterns, launches) and scaling needs to happen quickly within specific regions.
Snapshotting and rapid provisioning are central to handling bursty inference and RL/eval sandbox spikes.
He says GPU snapshotting lets Modal capture GPU state (including compiled model state) so cold starts become much faster, enabling deeper autoscaling and “true scaling to zero.” He also mentions extreme bursts such as needing “100,000 sandboxes in seconds” for RL rollouts.
Modal is investing in inference algorithmics (e.g., DeFlash speculative decoding) where accept-length drives multiplicative gains.
He explains speculative decoding as using a smaller draft model to propose tokens and a larger model to verify them, emphasizing that increasing the “accept length” yields multiplicative speedups, while kernel improvements tend to be incremental; he notes no quality drop because the larger model verifies tokens.
WORDS WORTH SAVING
5 quotesWe've actually changed our SDK team to think about agent experience instead of, uh, developer experience.
— Akshat Bubna
Like uh, when, when you're doing, uh, rollouts, uh, you, you sometimes need 100,000 sandboxes in seconds.
— Akshat Bubna
We've incorporated GPU snapshotting into the product so we can actually, uh, take the GPU state, uh, like your Torch compiler model, snapshot it, and the next cold start's way faster.
— Akshat Bubna
I think it's, it's that running production-grade inference is a hard infer problem.
— Akshat Bubna
We've built this capacity pool that spans, uh, 17 cloud providers, so we're, we're very good at running on various kinds of cloud capacity across the world.
— Akshat Bubna
Ask ChatGPT about this episode
Get its key ideas, plus a summary of each chapter linked to that point in the video, right in your chat.
Add uListen AI to ChatGPT.
Install uListen AI in ChatGPT (opens in a new tab)Needs a ChatGPT account.Paste this prompt into a new chat.
Use uListen AI to give me this episode's key ideas and a chapter-by-chapter summary, with timestamps: https://www.youtube.com/watch?v=UwxxlTNPjWo
SPEAKERS
Akshat Bubna
guestCTO of Modal, working on AI/cloud infrastructure for serverless GPU and sandboxed compute.
swyx
hostCo-host of Latent Space; software/AI infrastructure commentator formerly at Temporal.
Alessio Fanelli
hostCo-host of Latent Space, focusing on AI systems and infrastructure.
High quality AI-generated summary created from speaker-labeled transcript.