Cloudflare Agents SDK
by Cloudflare
Official listing: built and published by Cloudflare. More from Cloudflare
TypeScript SDK for building stateful AI agents on Cloudflare Durable Objects. Built-in SQL state, WebSocket, task scheduling, MCP client/server, and browser tools.
Use it now
Keep it with up to 9 other tools you're setting up, then share them all as one link.
Try this first
Ask your assistant, with Cloudflare Agents SDK connected:
- Stateful Agents
Use Cloudflare Agents SDK to build agents: ‹what you need›
- Task Scheduling
Use Cloudflare Agents SDK to schedule tasks: ‹what you need›
- Deploy via CLI
Use Cloudflare Agents SDK to deploy agents: ‹what you need›
Connect it over MCP
Connect Cloudflare Agents SDK as an MCP server, following its setup instructions at https://developers.cloudflare.com/agents/getting-started/quick-start/
Setup guide: developers.cloudflare.com/agents/getting-started/quick-start
Install the CLI
Install it as its own instructions say.
Setup guide: developers.cloudflare.com/agents/getting-started/quick-start
Call the API
Auth An API key from Cloudflare
Setup guide: developers.cloudflare.com/agents/getting-started/quick-start
Compare
Press Compare to add it to the tray at the bottom of the window, then pick up to 2 others anywhere on the site.
- Access
- APIMCPCLI
- Auth
- API Key
- Skills
- 5
Skills
Stateful Agents
Build agents with persistent SQL state in Durable Objects that survives restarts and scales globally
MCP Client & Server
Ship MCP servers and connect to MCP tools from inside your agent with built-in protocol support
Task Scheduling
Schedule tasks and crons natively inside your Durable Object agent with zero external dependencies
Browser Tools
Give your agent browser access for web scraping using Cloudflare Browser Rendering integration
Deploy via CLI
Deploy agents globally with npx create-cloudflare and wrangler deploy — no server configuration needed