Durable Objects are Made for Agents
TLDR
Cloudflare Durable Objects combine serverless V8 isolates with paired SQLite storage and automatic request routing by ID, making them well-suited for building agents and stateful applications. The author has built multi-agent workloads for roughly $10 per month on Durable Objects compared to $100–500 monthly on AWS, and highlights benefits including native WebSocket support, single-threaded concurrency, minimal local development setup, and token efficiency for AI coding agents. However, Durable Objects present tradeoffs including complexity around blocking concurrent requests, limited language support beyond TypeScript, missing Node.js APIs like HTTP/2, schema migration challenges, and inability to run on customer clouds, pushing some developers toward alternatives like Restate or Rivet.
Why it matters
Cloudflare Durable Objects combine a serverless V8 isolate for running code with a paired SQLite instance and request routing, allowing developers to think about services as event-driven objects. They run in a single-threaded manner with native WebSocket support and are cheap and token-efficient.