What problem does it solve? Building AI agents that persist 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 live documentation retrieval over potentially outdated pre-trained knowledge. ## Core Features & Use Cases - Stateful Agents & RPC: Create Agent classes with SQLite-backed state, @callable RPC methods, and automatic client synchronization via React hooks like useAgent. - Durable Background Work: Use Workflows, runFiber durable execution, built-in FIFO queues, and retries with exponential backoff for long-running tasks. - Chat, MCP & Integrations: Build streaming chat agents with AIChatAgent, connect to or build MCP servers with McpAgent, and handle email, webhooks, push notifications, voice, and browser automation. - Use Case: You need a chat application where each user session is a persistent agent that remembers conversation history, schedules follow-up reminders, and calls external MCP tools — all deployed on Cloudflare Workers. ## Quick Start Ask the AI to create a Cloudflare Workers agent using the Agents SDK with a Counter class that has persistent state and a callable increment method.