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.
Detected risks:
The Agents SDK is a powerful toolkit designed for building AI agents on Cloudflare Workers, addressing the need for scalable and efficient stateful applications. By leveraging the SDK, developers can create a variety of applications, including durable workflows, real-time WebSocket applications, chat applications, and voice agents. This skill simplifies the development process by providing a structured approach to managing state, executing workflows, and handling real-time interactions, thereby reducing the complexity associated with building AI-driven solutions in the cloud environment.
You can build stateful agents, durable workflows, real-time WebSocket apps, chat applications, voice agents, and browser automation.
Yes, the SDK can be added to existing Workers applications.
You need to have a Cloudflare Workers environment set up and familiarity with JavaScript or TypeScript.
Yes, the SDK provides features for state management, including methods for setting and validating state changes.
The SDK is designed to work within the Cloudflare Workers environment, and its features are tailored for that platform.
Quick Setup:
.claude/skills/Repository
cloudflare/skills