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
Proactive by design
Multiplayer by default
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.
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.