What problem does it solve? Building AI agents that maintain persistent state, handle real-time WebSocket connections, 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 Agent classes with SQLite-backed state, @callable RPC methods, scheduling, and automatic client 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: Coordinate durable Workflows, built-in FIFO queues, retries with backoff, and durable execution fibers that survive Durable Object eviction. - Use Case: Build a customer support chat agent that persists conversation history, schedules follow-up reminders, connects to MCP servers for external tools, and streams responses to a React frontend. ## Quick Start Ask the AI to create a Cloudflare Worker agent class with persistent state and a callable RPC method using the Agents SDK.