Cloudflare Agents — Summary
Cloudflare Agents (agents npm package, v0.13.3, 5k stars, MIT) is a TypeScript SDK for building persistent, stateful AI agents backed by Cloudflare Durable Objects — each agent is a DO instance with its own SQLite storage, WebSocket connections, and lifecycle. The SDK's core value proposition is infinite horizontal scalability: millions of agent instances can run simultaneously, each idle-cost-free, hibernating when inactive and waking on demand. The Agent class extends Durable Object's Server with typed state sync, @callable() RPC decorators for type-safe client calls, scheduling (one-time/recurring/cron), MCP server/client capabilities, durable multi-step workflows with human-in-the-loop approval, WebMCP (browser-side tool exposure), email send/receive, voice (STT/TTS/VAD), browser agent mode, code mode (LLMs generate executable TypeScript instead of tool calls), and sandboxed code execution via @cloudflare/shell. The React hooks (useAgent, useAgentChat, useVoiceAgent) integrate agent state directly into React components with real-time sync. The monorepo ships 30+ example applications and 8 core packages. Compared to seeds, Cloudflare Agents is closest to claude-flow in TypeScript/multi-agent scope, but uniquely targets the Cloudflare Workers runtime (Durable Objects) rather than Node.js — making it the only edge-native agent framework in the catalog.