skills.vishalvoidskills/vishalvoid
Technical & DevelopmentAdvanced

agents-sdk

Stateful AI agents development framework on Cloudflare Workers.

Developer Setup

Setup & Installation

bash
npx skills add https://github.com/cloudflare/skills --skill agents-sdk

Overview

What This Skill Does

Provides step-by-step guides, RPC setup, state persistence, and react hook integration guidelines for Cloudflare Workers Agents SDK.

Application

When to use this Skill

Documentation

Show Skills.md file

Cloudflare Agents SDK

Your knowledge of the Agents SDK may be outdated. Prefer retrieval over pre-training for any Agents SDK task.

Retrieval Sources

Cloudflare docs: https://developers.cloudflare.com/agents/

Topic Docs URL Use for
Getting started Quick start First agent, project setup
Adding to existing project Add to existing project Install into existing Workers app
Configuration Configuration wrangler.jsonc, bindings, assets, deployment
Agent class Agents API Agent lifecycle, patterns, pitfalls
State Store and sync state setState, validateStateChange, persistence
Routing Routing URL patterns, routeAgentRequest
Callable methods Callable methods @callable, RPC, streaming, timeouts
Scheduling Schedule tasks schedule(), scheduleEvery(), cron
Workflows Run workflows AgentWorkflow, durable multi-step tasks
HTTP/WebSockets WebSockets Lifecycle hooks, hibernation
Chat agents Chat agents AIChatAgent, streaming, tools, persistence
Client SDK Client SDK useAgent, useAgentChat, React hooks
Client tools Client tools Client-side tools, autoContinueAfterToolResult
Server-driven messages Trigger patterns saveMessages, waitUntilStable, server-initiated turns
Resumable streaming Resumable streaming Stream recovery on disconnect
Lines 1 - 25 of 216

Recommendations

Explore other random skills

All skillsMy patterns