Comparison

Cloudflare Agents SDK vs PocketFlow

A like-for-like, spec-level comparison. Both entries are verified against their docs and repo.

Cloudflare Agents SDK

Stateful agents on Cloudflare Workers.

  • + Stateful agents on serverless edge
  • + Durable Objects give durable execution and alarms
  • − Cloudflare-locked runtime
  • − Newer mental model to learn

PocketFlow

A 100-line minimalist LLM framework, agentic-coding friendly.

  • + Tiny, zero-dependency core that fits in your head
  • + Intuitive enough for AI agents to help build apps with it
  • − You build the higher-level patterns yourself
  • − Small ecosystem of prebuilt integrations
Spec Cloudflare Agents SDK PocketFlow
Role Agent framework Agent framework
Tags agent-framework, hosted, orchestration agent-framework, library, orchestration
License Apache-2.0 MIT
Open source Yes Yes
Self-hostable No Yes
MCP support Yes No
Pricing usage free
Starting price Cloudflare Workers free tier BYOK usage cost
Models claude, gpt, gemini, byok claude, gpt, gemini, byok
Languages typescript python
GitHub stars 5.2k 10.9k
Last activity 2026-06-26 2026-03-27