In brief
Akshat Bubna, CTO of Modal, argues that cloud infrastructure should be built for AI agents as well as human developers. Modal puts hardware settings in a few lines of code, not in YAML (configuration files) or Kubernetes files, so an agent can change its own environment and see the result at once. Modal now treats this 'agent experience' as a core goal.
The central tension is focus versus breadth. Modal began as a better runtime for bursty, compute-heavy jobs and grew into GPU inference, sandboxes, training and batch work. It does this without owning data centers, by pooling capacity from 17 cloud providers. Bubna says the edge is elastic scaling and software, and he avoids hobbyist model APIs and general web hosting.
Questions
What is Modal and what does it do?
Modal is a cloud platform built for AI workloads. Bubna says it covers inference (running trained models), training, batch jobs and sandboxes, which are isolated environments where agents run code.
What is 'agent experience' and how is it different from developer experience?
Modal's SDK team now designs for AI coding agents as well as people. Bubna says the same qualities help both: a few lines of code in place of hundreds of untyped YAML files, and results the agent can see right away.
What is speculative decoding and why does it matter?
A small draft model predicts several tokens ahead and the large model checks them all at once, which uses the hardware more efficiently. Bubna says output quality is unchanged and speed rises two to four times when more of the guesses are accepted.
How can Modal offer GPUs if it has no data centers?
Bubna says Modal pools capacity from 17 cloud providers, mostly newer GPU-focused clouds and bare-metal providers. It builds its own reliability layer so customers are not affected when one machine fails.
Will AI agent platforms from the big model labs replace companies like Modal?
Bubna calls managed agents from labs like Anthropic a good place to start. He says production teams such as Ramp need more control over storage, snapshots, networking and GPUs, and that is the role Modal wants to fill.
Facts
Stated by the speakers. Each quote matches the transcript, which shows what was said, not that it is true.
Modal co-founder Eric started from the question of why workflow orchestration products were hard to use, concluding that running them on Kubernetes was a main cause.
“thinking through why are workflow orchestration products so hard to use? it's because you have to run them on Kubernetes.”
0:00:39 · Akshat Bubna · Origin
Modal added GPU support to its product about a year before ChatGPT was released.
“we added GPUs to the product a year before ChatGPT came out”
0:02:05 · Akshat Bubna · GPU support · 2021
Modal built its sandboxes product in May 2023, before sandboxes became a widely recognized category.
“we built sandboxes in May of 2023 before anyone was even knew this was going to be a thing”
0:09:19 · Akshat Bubna · Sandboxes · 2023
Modal's first published sandbox example put the Small Developer agent in a loop so it could iterate on its own output.
“the first example we published was we took small developer and put in a loop so the agent can iterate on itself”
0:09:19 · Akshat Bubna · Sandboxes · 2023
Bubna describes Modal as a cloud platform covering inference, training, batch processing and sandbox workloads.
“it basically covers inference, training, batch crossing, and sandbox workloads”
0:06:45 · Akshat Bubna · Product scope
Modal first found product-market fit serving custom-model inference for customers such as Suno, Runway, robotics firms and computational biology companies.
“we were serving companies like Suno for audio, Runway for video, robotics, comp bio companies that train their own model elsewhere”
0:12:12 · Akshat Bubna · Customers
Modal added GPU snapshotting, which saves the GPU state of a model so later calls start much faster.
“we've incorporated GPU snapshotting into the product so we can actually take the GPU state, like your Torch compiler model, snapshot it, and the next call starts way faster”
0:13:36 · Akshat Bubna · GPU snapshotting
Bubna says reinforcement-learning rollouts can sometimes require 100,000 sandboxes at once.
“like when you're doing rollouts, you sometimes need 100 ,000 sandboxes”
0:14:07 · Akshat Bubna · Reinforcement learning
Modal released DFlash, a block-based speculator for speculative decoding, as open-source software.
“recently we shared our work on Dflash, which is a block-based speculator, and we've open-sourced all of it”
0:15:31 · Akshat Bubna · DFlash
In speculative decoding, a small draft model predicts tokens ahead and the larger model verifies them.
“The speculative decoding is you have a smaller model called a draft model, predict tokens ahead of the bigger model.”
0:16:52 · Akshat Bubna · Speculative decoding
Bubna says speculative decoding does not reduce output quality because only tokens the large model accepts are used.
“So there's no drop in quality performance because you're always, you're never accepting a token that's a big model.”
0:17:59 · Akshat Bubna · Speculative decoding
Modal runs its service on a capacity pool that spans 17 cloud providers.
“we've built this capacity pool that spans 17 cloud providers”
0:24:07 · Akshat Bubna · Capacity
Modal built its i6PN private overlay network because its distributed training product needed it as a building block.
“We actually built it because we needed it as primitive for our disputed training product.”
0:28:08 · Akshat Bubna · Networking
Modal's private IPv6 network uses eBPF programs to allow or reject TCP connections based on permission, and it is not encrypted.
“we have eBPF programs that will reject or allow the TCP connection based on whether you're allowed to do it”
0:31:10 · Akshat Bubna · Networking
Bubna says Modal's multi-node training offers roughly three terabits per second of internal networking.
“we have, I think, like three terabit per second internal networking, which is the standard that's needed”
0:32:13 · Akshat Bubna · Distributed training
Modal has an internal repository called auto inference that uses an agent harness to automate work its forward-deployed engineers used to do.
“we have this one internal repo called auto inference, which essentially we've automated our own FDE efforts using this harness”
0:34:09 · Akshat Bubna · Auto research
Bubna cites Ramp's Inspect background agent as a successful use of Modal's snapshotting and fast-scaling features.
“Ramp Inspect was a great example of a background agent that was really successful because they were able to use some of the primitives like snapshotting and fast scaling”
0:22:45 · Akshat Bubna · Customers
Modal built a benchmark called Modal bench to find where coding agents struggle with its platform and add product features to address those gaps.
“we built this benchmark, modal bench to see where agents are lacking and actually literally add surface areas to a product”
0:56:53 · Akshat Bubna · Agent experience
Modal chose Python as its first SDK language because data and machine-learning work was done in Python.
“we had Python as our first SDK language because that was the language that people did data and ML in”
0:54:43 · Akshat Bubna · SDKs
Modal is building a cheaper batch tier for customers who accept results within about 24 hours.
“One of the things we're building now is a way for customers to get, if they don't care about latency, like get much cheaper pricing and they'll get results back in like next 24 hours or something.”
0:39:17 · Akshat Bubna · Batch tier
Bubna says Modal avoids providing model APIs because that tends to serve a hobbyist market that is less sticky, a contrast he draws with Replicate.
“ends up serving like a really hobbyist market which is much less sticky”
0:48:33 · Akshat Bubna · Strategy
Swyx says Gitpod rebranded as Ona.
“for those who don't know Gitpod rebranded to Ona there was like there was this whole thing”
0:52:55 · Speaker 2 · Gitpod