Guest on Latent Space.

⚡️ Why you should build Science Fiction — Sunil Pai, Cloudflare
May 24, 2026 · 14:47
Sunil Pai (Cloudflare) argues that Cloudflare's Durable Objects and Dynamic Workers offer a more efficient architecture for AI agents than Anthropic's cloud-managed agents by providing stateful serverless computing and safe execution of LLM-generated code. He explains that Durable Objects enable millions of stateful serverless actors, while Dynamic Workers allow running user- or LLM-generated code in a zero-startup-time sandbox with controlled API exposure. Pai notes that no one has yet built the 'React' for agent harnesses, and the industry needs a standardized cross-platform abstraction. He recounts a personal 'slop fork' incident where his fork of Vercel’s Just Bash was misinterpreted as a Cloudflare move, highlighting the importance of candor in a tight-knit industry. He observes that open source repos have become adversarial grounds, with fake security reports being a top attack vector. Pai concludes by encouraging developers to build original 'sci-fi' projects instead of incremental improvements or chasing enterprise deals.

npm install Agents — with Sunil Pai and Rita Kozlov (VP AI) of Cloudflare
Mar 19, 2025 · 35:36
Shawn Wang hosts Sunil Pai and Rita Kozlov to discuss Cloudflare's new Agents product, which uses Durable Objects to provide a scalable, stateful runtime for building AI agents. Sunil built an initial prototype in two weeks, which Rita helped polish into a full SDK and starter kit. They demo a chat agent with persistent state, human-in-the-loop confirmation, and built-in scheduling via cron, all running on Durable Objects without Kubernetes. The conversation covers local-first syncing (Durable Objects as always-on sync clients), the need for observability across millions of agents, and excitement about MCP for easy integrations. Rita teases upcoming "durable object enabled containers" to bridge long-running and CPU-heavy workloads, and a new browser rendering REST API launching the same day.
Powered by PodHood