What problem does it solve? Building AI agents that maintain persistent state, handle real-time WebSocket connections, run scheduled tasks, and survive infrastructure restarts requires complex distributed systems work. This Skill provides the patterns and APIs to implement these capabilities on Cloudflare Workers without managing servers or state infrastructure manually. ## Core Features & Use Cases - Stateful Agents with RPC: Create Agent classes with SQLite-backed persistent state, @callable RPC methods, and automatic state sync to React clients via useAgent hooks. - Chat, Workflows & Background Processing: Build streaming chat agents with AIChatAgent, durable multi-step workflows, scheduled tasks, queues with retries, and durable execution that survives Durable Object eviction. - Integrations: Connect to MCP servers or build your own with McpAgent, handle email routing, webhooks, push notifications, and experimental voice and browser automation. - Use Case: Imagine building a customer support chat agent that remembers conversation history, schedules follow-up checks every hour, calls external MCP tools, and streams responses to a React frontend — all deployed as a single Cloudflare Worker. ## Quick Start Use the agents-sdk skill to create a Cloudflare Worker agent class with persistent state and a callable RPC method, then connect it to a React client with useAgent.