StealIt

Agents SDK

agents-sdk

Build, debug, or review Cloudflare Agents SDK applications using the agents package.

Install

Run this in your project folder. It works with Claude Code, Cursor, Codex and dozens of other agents.

$ npx skills add cloudflare/skills --skill agents-sdk

Needs Node.js. Add -g to install for every project, or -a claude-code to skip the agent picker.

How to use Agents SDK

Once it's installed, Claude reads this skill on its own whenever a request matches what it's for, so you don't have to mention it by name. In Claude Code you can also run it directly by typing /agents-sdk.

It contains no scripts, only instructions and reference files, so it can't run code on its own.

What the instructions cover

  1. 1Retrieval Sources
  2. 2Capabilities
  3. 3FIRST: Verify Installation
  4. 4Wrangler Configuration
  5. 5Agent Class
  6. 6Routing
  7. 7Core APIs
  8. 8React Client
  9. 9References
  10. 10Skill feedback

Section headings from the skill's SKILL.md file.

What's inside · 21 files

  • SKILL.md
  • references/browse-the-web.md
  • references/callable.md
  • references/client-sdk.md
  • references/codemode.md
  • references/configuration.md
  • references/durable-execution.md
  • references/email.md
  • references/human-in-the-loop.md
  • references/mcp.md
  • references/observability.md
  • references/queue-retries.md
  • references/routing.md
  • references/server-driven-messages.md
  • references/skill-feedback.md
  • references/state-scheduling.md
  • references/streaming-chat.md
  • references/think.md
  • references/voice.md
  • references/webhooks-push.md
  • references/workflows.md

More from Cloudflare

See all →

Basin

Build and troubleshoot Cloudflare Basin analytics workflows with Basin Pipelines, Basin Catalog, and Basin SQL. Use for streaming data into R2 Iceberg tables, managing catalogs…

Cloud & DevOpsCloudflare3.3k

Cf CLI

Cloudflare's official cf CLI (beta) for the public Cloudflare API and Workers projects. Use for finding and running Cloudflare commands from the terminal — sign-in and profiles…

Cloud & DevOpsCloudflare3.3k

Cloudflare

Discover and choose Cloudflare products for apps, APIs, AI agents, storage, networking, and security. Use for architecture and product selection, including when the user describes…

Cloud & DevOpsCloudflare3.3k

Cloudflare Email Service

Implement or troubleshoot Cloudflare Email Sending and Email Routing integrations and their delivery configuration.

Cloud & DevOpsCloudflare3.3k
See all →

Find SkillsTop pick

Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending…

AI & AgentsVercel38k

Skill CreatorTop pick

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run…

AI & AgentsAnthropic187k

MCP BuilderTop pick

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers…

AI & AgentsAnthropic187k

Dispatching Parallel Agents

Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies

AI & AgentsJesse Vincent312k