Agent OrchestrationCloudflare

Cloudflare Agents SDK

Durable agent runtime on Workers / Durable Objects

Cloudflare’s durable agent runtime on Workers / Durable Objects: each agent session gets a durable identity, local SQL storage, real-time connections (WebSockets), scheduling, fibers, and recoverable execution. Operators compose communication channels (chat, voice, email, Slack, webhooks), an agent harness (Project Think or a custom loop), the Agents SDK runtime (`Agent` class, state, sessions, routing), and tools (Browser, Sandbox, AI Search, MCP, Payments). Starter via `npx create-cloudflare@latest --template cloudflare/agents-starter`; default Workers AI, swappable to OpenAI / Anthropic / Gemini. Stack slot: edge-hosted durable agent runtime — complementary to Anthropic Managed Agents, OpenAI Agents SDK, and LangChain Managed Deep Agents. Primary: https://developers.cloudflare.com/agents/.

Use Cases

  • Give each agent session a durable identity, local SQL storage, and recoverable execution
  • Compose communication channels (chat, voice, email, Slack, webhooks)
  • Run Project Think or a custom loop as the agent harness
  • Attach Browser, Sandbox, AI Search, MCP, and Payments tools
  • Start from npx create-cloudflare@latest --template cloudflare/agents-starter

Key Features

Durable identity and local SQL

Each agent session gets a durable identity and local SQL storage on Workers / Durable Objects.

Recoverable execution

Real-time connections (WebSockets), scheduling, fibers, and recoverable execution.

Agents SDK runtime

Agent class, state, sessions, and routing. Operators compose an agent harness (Project Think or a custom loop) with communication channels and tools.

Built-in tool attachments

Browser, Sandbox, AI Search, MCP, and Payments.

Starter and model swap

npx create-cloudflare@latest --template cloudflare/agents-starter. Default Workers AI, swappable to OpenAI / Anthropic / Gemini.

Integrations

Cloudflare WorkersDurable ObjectsWebSocketsMCPSlackWorkers AIOpenAIAnthropicGemini