What problem does it solve? Building stateful, real-time AI agents requires managing WebSocket connections, persistent state, scheduling, and durable execution, which is complex to implement from scratch on serverless platforms. ## Core Features & Use Cases - Stateful Agents with RPC: Create Agent classes with SQLite-backed state, @callable RPC methods, and automatic client state sync via React hooks like useAgent and useAgentChat. - Durable Background Work: Run scheduled tasks, cron jobs, FIFO queues with retries, durable fibers, and multi-step Workflows with human-in-the-loop approvals. - Chat, MCP, and Integrations: Build streaming chat agents with AIChatAgent, connect to or host MCP servers, handle email, webhooks, push notifications, voice, and browser automation. - Use Case: Build a customer support chat agent that persists conversation history, schedules follow-up checks, calls MCP tools, and resumes streams automatically when users reconnect. ## Quick Start Ask the agent to create a Cloudflare Workers agent using the Agents SDK with a Counter class, state management, and a callable increment method.