agents-sdk
CommunityBuild stateful AI agents on Cloudflare Workers.
Authorelithrar
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Build stateful AI agents on Cloudflare Workers using the Cloudflare Agents SDK, enabling persistent state, scheduling, RPC, MCP, email handling, and streaming chat with Code Mode support.
Core Features & Use Cases
- Stateful agent lifecycle with automatic state persistence and client broadcasts.
- Scheduling, RPC, MCP integration, email handling, and streaming chat support for complex workflows.
- Real-world scenario: orchestrate multiple agents across MCP servers while persisting chat history and task state.
Quick Start
Install the Agents SDK and Wrangler, configure durable_objects in wrangler.jsonc, and implement an Agent class with a fetch handler. Then load and route messages to the agent instance to enable stateful interactions.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: agents-sdk Download link: https://github.com/elithrar/dotfiles/archive/main.zip#agents-sdk Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.