What problem does it solve? Building AI agents that maintain persistent state, handle real-time WebSocket connections, run scheduled tasks, and survive restarts requires complex infrastructure. This Skill provides up-to-date guidance for the Cloudflare Agents SDK, prioritizing retrieval from official docs over potentially outdated training knowledge. ## Core Features & Use Cases - Stateful Agents: Create Durable Object-backed agents with SQLite-persisted state, @callable RPC methods, and automatic client state sync via React hooks like useAgent. - Chat & Streaming: Build streaming chat agents with AIChatAgent, resumable streams, tool calling, and human-in-the-loop approval flows. - Background Processing: Run durable Workflows, FIFO queues with retries, cron scheduling, and fibers that survive Durable Object eviction. - Integrations: Connect to or build MCP servers, handle email routing, webhooks, push notifications, voice (STT/TTS), and browser automation. - Use Case: Build a customer support chat agent that persists conversation history, schedules follow-up reminders, calls MCP tools, and streams responses to a React frontend. ## 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.