🎯

agents-sdk

🎯Skill

from cloudflare/skills

VibeIndex|
What it does
|

Skill for building stateful AI agents on Cloudflare Workers using the Agents SDK, covering state management, durable workflows, real-time WebSocket apps, scheduled tasks, and MCP servers

Overview

Cloudflare Agents SDK skill provides comprehensive guidance for building AI agents on Cloudflare Workers using the Agents SDK. It covers the full spectrum of agent development including the Agent class, persistent state management, callable RPC methods, durable Workflows, scheduling, MCP server integration, and React client hooks for building real-time applications.

Key Features

  • Persistent State Management - SQLite-backed state that auto-syncs to clients with setState and validateStateChange hooks for data integrity
  • Callable RPC and WebSockets - Expose @callable() methods invoked over WebSocket connections for real-time client-agent communication
  • Durable Workflows - Build multi-step background processing pipelines via AgentWorkflow that survive restarts and failures
  • MCP Integration - Both connect to existing MCP servers and build your own with McpAgent for tool integration
  • React Client Hooks - Use useAgent and useAgentChat hooks for building interactive agent UIs with streaming chat and resumable streams

Who is this for?

This is for developers building stateful AI agents, real-time WebSocket applications, or chat experiences on Cloudflare's edge infrastructure. It is ideal for those who need persistent state, scheduled tasks, tool calling, or durable workflow capabilities in their agent applications.

πŸ“¦

Same repository

cloudflare/skills(9 items)

agents-sdk

Installation

Vibe Index InstallInstalls to .claude/skills/ - auto-recognized by Claude Code
npx vibeindex add cloudflare/skills --skill agents-sdk
skills.sh Install⚠ Installs to .agents/skills/ - may not be auto-recognized by Claude Code
npx skills add cloudflare/skills --skill agents-sdk
Manual InstallCopy SKILL.md content and save to the path below
~/.claude/skills/agents-sdk/SKILL.md

SKILL.md

1,498Installs
219
-
Last UpdatedJan 15, 2026

More from this repository8

🎯
wrangler🎯Skill

Skill for developing and deploying Cloudflare Workers, with wrangler CLI guidance, TypeScript support, and environment configuration.

🎯
cloudflare🎯Skill

Enables comprehensive Cloudflare platform development across serverless code, storage, AI, networking, and security with edge-native capabilities.

🎯
durable-objects🎯Skill

Guides AI agents through implementing Cloudflare Durable Objects for stateful, globally distributed applications on Cloudflare Workers.

🎯
web-perf🎯Skill

Official Cloudflare agent skills for building on Workers, the Agents SDK, and the wider Cloudflare Developer Platform, compatible with Claude Code, OpenCode, Codex, and Pi.

🎯
workers-best-practices🎯Skill

Reviews and authors Cloudflare Workers code against production best practices, covering streaming, floating promises, global state, secrets, bindings, and observability with retrieval-first approach from Cloudflare docs.

🎯
building-ai-agent-on-cloudflare🎯Skill

Guides building and deploying AI agents on Cloudflare Workers using the Agents SDK and Cloudflare Developer Platform

🎯
building-mcp-server-on-cloudflare🎯Skill

Skill for building production-ready remote MCP servers on Cloudflare Workers with tools, OAuth authentication, and deployment configuration

🎯
sandbox-sdk🎯Skill

Build sandboxed applications for secure code execution on Cloudflare Workers, covering Sandbox SDK lifecycle, commands, files, code interpreter, and preview URLs for AI code execution and CI/CD systems.