Skip to content
ActiveDeveloperOpen Source, MIT

Cloudflare Agents SDK

Agent SDK on Cloudflare Workers and Durable Objects

The Cloudflare Agents SDK is a TypeScript library for building and running stateful AI agents on Cloudflare Workers. Each agent is a Durable Object with its own SQLite database, WebSocket connections, scheduled tasks and resumption after interruptions. With sub-agents, a parent agent spawns child agents as their own Durable Objects with isolated storage and calls them through typed RPC stubs, which enables parallel or nested agents and agents as tools. The SDK is MIT licensed, and running it is billed according to Workers and Durable Objects pricing.

Position on the system map88 systems
Scalability, upwardsusable without developers, to the right

Good fit if

Focus: Developers who want to run stateful agents globally on the Cloudflare platform

  • your project is about Chat agents with durable state, Parallel orchestration of subtasks or Voice and email agents
  • someone on your team writes code

Probably not if

  • nobody on your team writes code (1/5 for use without developers)
  • there is little time for training (learning curve: steep)

Key figures

Usable without developers
1/5
Scalability
5/5
Integrations
4/5
Versioning
2/5
Observability
3/5

Editorial rating on a scale from 1 to 5. Methodology

Fact sheet

Category
Developer
Type
Agent SDK on Cloudflare Workers and Durable Objects
Licence
Open Source (MIT)
Pricing
Open Source / CloudSDK free under the MIT license. Runs on Cloudflare Workers: Workers Free with daily limits (Durable Objects only with the SQLite backend), Workers Paid from $5/month; Durable Objects beyond included amounts billed by usage, e.g. $0.15 per million requests and $12.50 per million GB-s. Model costs via Workers AI or external providers.
Deployment
Cloud
Models
Workers AI, OpenAI, Anthropic, Google Gemini
RAG
Yes
Multi-Agent
Yes
SSO, roles (RBAC)
SSO no, RBAC no
Latest version
agents 0.28.0 (npm, 2026-10-09)
GitHub stars
5,500

Key features

  • Sub-agents as Durable Objects (subAgent())
  • State and SQLite per agent
  • WebSockets and scheduling
  • MCP tools and browser tool
  • Channels for chat, voice, email and webhooks

Typical use cases

  • Chat agents with durable state
  • Parallel orchestration of subtasks
  • Voice and email agents
  • Scheduled background tasks

Market notes

Changes to Cloudflare Agents SDK by email

We let you know when the status, pricing or license of Cloudflare Agents SDK changes, together with the weekly market notes.

Implementation

Get Cloudflare Agents SDK implemented

Free for you. Partners only pay for requests they accept.

Request a project

Alternatives

Similar systems

Similar in category, features or use cases.

Compare Cloudflare Agents SDK