Skip to content
Agents tracked: 157 Downloads (7d): 216M up 9.6% GitHub stars: 4.2M VS Code installs: 145M Releases (7d): 233 Agent pull requests (last week): 940K Updated Oct 6, 2026

Cloudflare Agents SDK by Cloudflare

Agent frameworks and SDKs #25 overall#8 in categoryOpen source · MIT
Pulse Score
56 / 100
Rank #25 of 157
Downloads, last 7 days
2.3M
up 11.0% vs previous week
Downloads, last 30 days
7.5M
up 23.9% vs previous 30 days
GitHub stars
5,778
about +18 a day
Latest release
0.26.0
4d ago · 4 in 30 days
Price
Free (OSS)
checked Oct 5, 2026

Overview

Cloudflare's SDK for building stateful agents that run on Workers and Durable Objects.

Cloudflare Agents SDK was downloaded 2.3M times from npm in the week ending Oct 4, 2026, up 11.0% on the week before and up 23.9% over the last 30 days compared with the 30 before. The GitHub repository has 5,778 stars, 274 of them added in the last 30 days. The latest stable release is 0.26.0, published Oct 2, 2026; there were 4 stable releases in the past 30 days.

Cloudflare Agents SDK usage and attention over time

Downloads per daynpm, 7-day average 331K/day
GitHub starsrunning total 5,778

Download the raw daily series: cloudflare-agents.csv

Install Cloudflare Agents SDK

npmnpm install agents

These commands use the packages tracked on this page. The vendor may recommend a different installer; see the official documentation.

Key facts

MakerCloudflare
TypeEdge agent SDK
LicenseMIT
InterfacesTypeScript library
Main languageTypeScript
Open issues and PRs136

Pricing

The SDK is open source and free; running agents is billed through Cloudflare Workers and Durable Objects usage.

, checked Oct 5, 2026. Prices change often; confirm before you buy.

Pulse Score breakdown

Adoption75
Community32
Attention—
Momentum62

Each component is scored 0 to 100 from public signals; a dash means no data for it. Methodology.

What changed: recent Cloudflare Agents SDK releases

11 stable releases in the last 90 days · Full changelog

0.26.0
  • #2451 df9c0ef Thanks @aron-cf! - Update pi-durable and pi-ai to ^1.0.0. See Pi harness docs for details.
0.25.0
  • #2005 c2f7672 Thanks @cjol! - Native RPC calls to async Agent and Think methods now start lifecycle initialization first; address Agents by name because raw IDs from newUniqueId() and…
  • #2390 c55ec80 Thanks @threepointone! - Report a failed agent-tool child as failed even when it was evicted before recording the failure. See Agent tools.
  • #2384 f904999 Thanks @threepointone! - Fix agent-tool chunks being duplicated or dropped on reconnect, child re-attach, and fiber recovery. See Agent tools.
  • #2364 5e0507e Thanks @threepointone! - Add eventDelivery: "terminal" to runAgentTool to forward only lifecycle, progress, and milestone events for a run. See Agent tools.
  • #2448 54f9ca7 Thanks @aron-cf! - Add experimental agents/models/ai-sdk, a provider for Workers AI and AI Gateway over the AI binding. See Models.
  • #2446 5cf86f8 Thanks @aron-cf! - Add experimental agents/models/pi-ai, a pi-ai provider for Workers AI and AI Gateway over the AI binding. See Models for pi-ai.
0.24.0
  • #2249 ebab868 Thanks @mattzcarey! - WebSockets speaks the Agent protocol for plain hosts, and gains a Cap'n Web transport.
  • A plain Durable Object composed with WebSockets now works with useAgent and AgentClient: the capability sends the identity frame on connect (protocol: false leaves the connect sequence to the…
  • useAgent({ transport }) and AgentClient({ transport }) pick the wire. "cf-websocket" (default) is the hibernating socket; call()/stub send JSON rpc frames. "capnweb" runs one Cap'n Web session…
  • @callable() decorators remain the JSON-wire interface of Agent; an Agent wanting native calls passes callables.
  • The experimental ?agentsrpc=capnweb endpoint from 0.23.0 is removed.
  • LifecycleServices exposes name and className.
0.23.0
  • #2193 87bd594 Thanks @mattzcarey! - Extract facet ("sub-agent") machinery into packages/agents/src/dynamic-agents/, add the this.dynamicAgents capability facade, and reposition facets as an…
  • #2175 8ffb3ad Thanks @mattzcarey! - Lifecycle owns a durable job queue, driven as an alarm event loop.
  • #2198 99e5e2e Thanks @mattzcarey! - Add RoutedAgents (agents/routing), a Lifecycle capability that codifies the "user hub with one Durable Object per chat" topology: an owning Agent keeps a…
  • #2196 ec93caf Thanks @mattzcarey! - Add the experimental agents/sessions Lifecycle capability and the agents/context module.
  • Session.create(this).withContext(...) → install new Sessions() on the Lifecycle and declare blocks with new ContextBlocks([...]) from agents/context.
  • createCompactFunction, truncateOlderMessages, and the token estimators → agents/sessions and agents/chat.
0.22.0
  • #2071 9620b58 Thanks @ben-reitz! - Make durable chat recovery unconditional for AIChatAgent and Think.
  • #2133 d536067 Thanks @mattzcarey! - Vendor the required PartyServer runtime into agents/lifecycle and add a reusable Durable Object lifecycle for startup, request interception, alarms, and…
  • #2058 381b9bb Thanks @ben-reitz! - Throttle chat UI updates by default in useAgentChat
  • #1897 29b0107 Thanks @mattzcarey! - Add Scheduler, a reusable Lifecycle capability for persistent delayed, dated, cron, and interval callbacks, under agents/schedules. Scheduled callbacks are…
  • #2161 ded09c6 Thanks @mattzcarey! - Remove the published agents command-line binary. Its advertised init, dev, deploy, and mcp commands were placeholders that printed "not implemented yet" and…
  • #1895 4ba9a37 Thanks @mattzcarey! - Make MCPClientManager a reusable Durable Object lifecycle capability. It now owns schema initialization, persisted HTTP and RPC connection restoration, and…
0.21.0
  • #2052 f9d71d6 Thanks @cjol! - Expose WebSocketChatTransport and its connection types from the framework-neutral agents/chat/transport entry point. React peers are now optional for…
  • #2091 4d2084c Thanks @cjol! - Accept AI SDK flexible schemas in agentTool, including Valibot adapters, while preserving schema-driven input inference and structured output validation. Zod is no…
  • #2098 fe82e05 Thanks @cjol! - Add connection-scoped Kitesurf support to Browser Tools through the browser: "kitesurf" session option. Unsupported durable session, Live View, recording,…
  • Large base64 values returned outside the canonical { type: "browserscreenshot", mediaType, data } shape are now redacted. Return screenshots in that shape or store binary output elsewhere.
  • TanStack browser tools have one output channel, so screenshot output is reduced to the compact model-facing summary rather than returning raw base64 data.
  • #1948 aed6d8f Thanks @ericclemmons! - Pass Workflow retention through Agent.runWorkflow().

Cloudflare Agents SDK alternatives

All agent frameworks and SDKs

# Agent Pulse Downloads 7d 7d 30d VS Code installs Stars Latest release Price Last 90 days
4
LangChainLangChain
77 44.3M up 1.9% down 22.0% — 147K+45/day 1.4.38d ago Free (OSS)
10
LangGraphLangChain
69 16.1M up 11.4% down 21.8% — 42.7K+48/day 1.2.13yesterday Free (OSS)
11
AI SDKVercel
67 34.5M up 13.5% up 20.9% — 27.1K+18/day 6.0.301yesterday Free (OSS)
13 63 8.7M up 0.6% up 2.0% — 8,679+23/day 1.58.0yesterday Free (OSS)
17 59 21.5M up 14.6% up 0.6% — 8,219+5/day 0.2.1636d ago Free (OSS)
21
MastraMastra
58 2.2M up 11.1% up 19.1% — 28.6K+27/day 1.74.0yesterday Free (OSS)

Cloudflare Agents SDK FAQ

How much does Cloudflare Agents SDK cost?

The SDK is open source and free; running agents is billed through Cloudflare Workers and Durable Objects usage.

Is Cloudflare Agents SDK open source?

Yes. Cloudflare Agents SDK is open source, released under the MIT license.

How popular is Cloudflare Agents SDK?

Cloudflare Agents SDK was downloaded 2.3M times from npm in the week ending Oct 4, 2026, up 11.0% on the week before and up 23.9% over the last 30 days compared with the 30 before. The GitHub repository has 5,778 stars, 274 of them added in the last 30 days. The latest stable release is 0.26.0, published Oct 2, 2026; there were 4 stable releases in the past 30 days.

What is the latest version of Cloudflare Agents SDK?

The latest stable release we track is 0.26.0, published on Oct 2, 2026.

What are the alternatives to Cloudflare Agents SDK?

The closest alternatives in the same category by Pulse Score are LangChain, LangGraph, AI SDK, Strands Agents.

Where these numbers come from

npm: agents. GitHub: cloudflare/agents. See data sources for how each one is collected.