# Cloudflare Agents SDK — card for AI agents

Cloudflare's SDK for building stateful agents that run on Workers and Durable Objects. Its optional Pi harness support (Pi Durable) is experimental, and each agents release supports one Pi minor version.

Maker: Cloudflare · category: Agent frameworks and SDKs · open source (MIT)

## Price
- The SDK is open source and free; running agents is billed through Cloudflare Workers and Durable Objects usage.
- Free tier: yes
- Checked: 2026-11-04

## Install
- npm: `npm install agents`

## Facts
- Interfaces: TypeScript library
- Repository: https://github.com/cloudflare/agents

## Numbers (AgentGid data)
- Gid Score: 54 (rank #49) (public popularity and activity, not quality)
- Downloads last 7 days: 3,465,384
- GitHub stars: 6,004

## Details (plan limits, live status, safety; from AgentGid's data)
Cloudflare Agents SDK by Cloudflare. Category: Agent frameworks and SDKs. Type: edge agent SDK. Cloudflare's SDK for building stateful agents that run on Workers and Durable Objects. Its optional Pi harness support (Pi Durable) is experimental, and each agents release supports one Pi minor version. Open source (MIT) Pricing (checked 2026-11-04): The SDK is open source and free; running agents is billed through Cloudflare Workers and Durable Objects usage. Free tier: yes. Interfaces: TypeScript library Supports: mcp, multi_agent Data: Gid Score 54/100, #49 overall; #13 in its category; 6,004.0 GitHub stars; usage +52% over 30 days; latest release 0.33.0 (2026-11-03).

## Alternatives in the same category
- LangChain: https://agentgid.com/agents/langchain/agent.md
- LangGraph: https://agentgid.com/agents/langgraph/agent.md
- AI SDK: https://agentgid.com/agents/vercel-ai-sdk/agent.md
- Claude Agent SDK: https://agentgid.com/agents/claude-agent-sdk/agent.md
- Mastra: https://agentgid.com/agents/mastra/agent.md
- OpenAI Agents SDK: https://agentgid.com/agents/openai-agents-sdk/agent.md

## Links
- AgentGid page: https://agentgid.com/agents/cloudflare-agents/

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
