What problem does it solve? Building AI agents that maintain persistent state, handle real-time WebSocket connections, and run scheduled background tasks requires complex infrastructure. This Skill generates complete agent implementations on Cloudflare Workers using the Agents SDK, handling state persistence, client synchronization, and deployment configuration. ## Core Features & Use Cases - Stateful Agent Generation: Creates Agent classes with automatic state persistence via setState(), embedded SQLite storage, and real-time sync to connected clients. - Real-Time Chat & Streaming: Implements WebSocket-based chat agents with AIChatAgent, resumable streaming, and React hooks via useAgent. - Advanced Patterns: Provides reference implementations for tool calling, RAG with Vectorize, multi-agent orchestration, human-in-the-loop approvals, and scheduled cron tasks. - Use Case: A developer wants a customer support chatbot that remembers conversation history per user, streams LLM responses, and schedules follow-up reminders. This Skill produces the agent code, wrangler.toml configuration, and client integration. ## Quick Start Ask the AI to build a Cloudflare AI chat agent with persistent message history and WebSocket streaming using the Agents SDK.