Cloudflare Agents SDK

•
2.1k
•

Builds and deploys stateful AI agents, durable workflows, and real-time WebSocket applications on Cloudflare Workers.

Empowers developers to build stateful AI agents on Cloudflare's serverless infrastructure using the Cloudflare Agents SDK. This skill provides comprehensive implementation patterns for persistent SQLite-backed state management, callable RPC methods, durable multi-step workflows, background tasks, real-time WebSocket communication, and Model Context Protocol (MCP) integrations, favoring direct documentation retrieval for up-to-date Cloudflare engineering best practices.

主な機能

01Real-time WebSocket communications and RPC methods with @callable decorators
02Persistent SQLite-backed state management auto-synced to clients via setState
03Native Model Context Protocol (MCP) server and client implementation utilities
04Built-in scheduling, FIFO task queues, and automated exponential retries
05Durable multi-step background processing with AgentWorkflow and runFiber
062,089 GitHub stars

ユースケース

01Creating real-time collaborative applications with synchronized state and WebSockets
02Implementing long-running background tasks and workflows with durable execution guarantees
03Building resilient, multi-step AI agents and conversational chatbots on Cloudflare Workers