Agents SDK
Stateful agents on Cloudflare Workers
Cloudflare · Apache-2.0
When
Build AI agents on Cloudflare Workers using the Agents SDK. Load when creating stateful agents, durable workflows, real-time WebSocket apps, scheduled tasks, MCP servers, chat applications, voice agents, or browser automation. Covers Agent class, state management, callable RPC, Workflows, durable execution, queues, retries, observability, and React hooks. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.
The Catch
Cloudflare Agents SDK on Workers (state, RPC, Workflows). “MCP/chat agent” triggers steal from the MCP cluster.
Embed
[](https://stackgems.com/skills/agents-sdk)