Research: agents-sdk

Cached research evidence for agents-sdk (not authority).

Back to catalog page

agents-sdk teaches building stateful AI agents on Cloudflare Workers with the Agents SDK. It covers Agent class, persistent SQLite-backed state with client sync, @callable RPC, scheduling (one-time, recurring, cron), Workflows for durable multi-step execution, queues, retries, hibernation WebSockets, MCP client/server, email handling, React hooks (useAgent, useAgentChat), observability, and experimental voice/browser tools. Strongly biases toward live retrieval from developers.cloudflare.com/agents.

Target agents: antigravity, claude-code, codex, crush, cursor, gemini-cli, github-copilot, grok, opencode. Provides code patterns, wrangler config snippets, routing conventions, and reference links for stateful agent development on the Cloudflare platform.

install-now-after-trust-gate / curated-trust-gated. Official Cloudflare skills repo (Apache-2.0). The skill is retrieval-heavy documentation; no privileged execution. Risks are standard for Workers (bindings, secrets, egress) plus Durable Object / Workflow state costs. Prefer official docs over the skill snapshot for limits and new APIs.

npx skills add cloudflare/skills --skill agents-sdk -y -g -a antigravity claude-code codex crush cursor gemini-cli github-copilot grok opencode

Requires a Workers project with agents package, Durable Objects bindings/migrations, and usually nodejs_compat.

Cloudflare (https://github.com/cloudflare/skills). Docs hub: https://developers.cloudflare.com/agents/

Other agent frameworks (LangGraph, CrewAI, AutoGen) with their hosting patterns; plain Workers + DO for lighter state; Vercel or other edge runtimes when not tied to Cloudflare.

> Evidence gathered from public GitHub (raw SKILL.md and repo README). Not an endorsement or authority; cross-check current Cloudflare docs for pricing, limits, and APIs.