cloudflare-agents - Build AI agents on Cloudflare Workers with WebSockets and state persistence
SDK for building stateful AI agents with WebSockets, SQLite storage, scheduling, and multi-agent coordination on Cloudflare Workers
Tags
Updated: 2026-02-09Capabilities
Typical Inputs
Typical Outputs
What this skill does
- create WebSocket connections
- persist state in SQLite
- schedule tasks with cron
- coordinate multiple agents
- run asynchronous workflows
- browse the web with Puppeteer
- implement RAG with Vectorize
- build MCP servers
Inputs
- Cloudflare Workers
- Durable Objects binding
- AI model provider
- WebSocket client
- SQLite database
- Vectorize database
- Browser Rendering API
Outputs
- WebSocket messages
- SSE streaming responses
- scheduled task executions
- persistent agent state
- agent coordination events
- workflow triggers
Requirements
- Cloudflare Workers deployment
- Durable Objects setup
- [email protected]+ for resumable streaming
- wrangler.jsonc configuration
- compatibility flags: nodejs_compat
