The Agent Cloud

The Agents SDK gives you the primitives to build proactive, stateful AI agents on Cloudflare. Built-in memory, scheduling, email handling, and real-time communication: agents that don't just respond, but take initiative.

Built-in memory

Every agent instance has its own SQLite database. Persist conversation history, user preferences, and state without managing infrastructure.

Proactive by design

Agents can schedule tasks, respond to emails, handle webhooks, and send messages — not just wait for user input.

Multiplayer by default

Built-in WebSocket support and state synchronization. Multiple users can interact with the same agent instance in real-time.

How Agents work

Stateful by default

Each agent instance is a Durable Object with its own SQLite database. State persists automatically across requests and hibernation cycles.

Real-time communication

WebSockets with automatic hibernation, resumable streams, and state sync. Build chat, collaboration, or multiplayer experiences.

Proactive scheduling

Schedule tasks with cron expressions, respond to incoming emails, or trigger actions from webhooks and queue messages.

MCP integration

Connect to any MCP server to give agents access to external tools, APIs, and data sources.