agents-sdk - Build AI agents on Cloudflare Workers using Agents SDK
Provides documentation and guidelines for building stateful AI agents, workflows, and MCP servers on Cloudflare Workers.
Tags
Updated: 2026-09-16Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Manage persistent agent state
- Define callable RPC methods
- Schedule single and recurring tasks
- Execute durable multi-step workflows
- Build and connect MCP servers
- Process incoming and outgoing emails
- Implement resumable streaming chat
- Integrate React client hooks
Inputs
- Wrangler configuration file
- Agents SDK npm package
- Agent request routing parameters
Outputs
- Persisted SQLite state updates
- WebSocket RPC responses
- Resumable chat stream data
- Workflow execution results
Requirements
- Cloudflare Workers runtime
- Durable Objects with SQLite support
- Node.js npm package manager
