Back to skills

agents-sdk

ai-tools

Build stateful AI agents on Cloudflare Workers with persistent SQLite-backed state, WebSocket connections, scheduled tasks, and durable workflows. The SDK provides an Agent class with RPC methods, MCP

Setup & Installation

npx skills add https://github.com/cloudflare/agents-sdk --skill agents-sdk
or paste the link and ask your coding assistant to install it
https://github.com/cloudflare/agents-sdk
View on GitHub

What This Skill Does

Build stateful AI agents on Cloudflare Workers with persistent SQLite-backed state, WebSocket connections, scheduled tasks, and durable workflows. The SDK provides an Agent class with RPC methods, MCP integration, email handling, and React hooks for client apps. It handles state persistence, WebSocket lifecycle, and durable execution directly on the Worker runtime, removing the need to wire up external databases, queues, or session storage separately.

When to use it

  • Working with agents sdk functionality
  • Implementing agents sdk features
  • Debugging agents sdk related issues