agents-sdk

Build stateful AI agents on Cloudflare Workers with Agents SDK.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/ecomm360-sl/isaacbosch-emdash-web --skill agents-sdk-ecomm360-sl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agents-sdk
Source: https://github.com/ecomm360-sl/isaacbosch-emdash-web/tree/main/.agents/skills/agents-sdk
Command: npx skills add https://github.com/ecomm360-sl/isaacbosch-emdash-web --skill agents-sdk-ecomm360-sl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Build stateful AI agents that run securely on Cloudflare Workers with built-in state management, scheduling, and workflows.

Core Features & Use Cases

  • Persistent state with SQLite and automatic broadcasts to connected clients.
  • Callable RPC via @callable() methods for client and cross-service communication.
  • Scheduling, durable workflows, and MCP integration for complex orchestration.
  • React hooks to support client apps and real-time chat workflows.

Quick Start

Create a minimal agent by extending Agent, wire fetch handling, and expose a simple @callable RPC for demonstration.

Frequently Asked Questions about agents-sdk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build stateful AI agents on Cloudflare Workers?

Build stateful AI agents on Cloudflare Workers by extending the Agent class to utilize built-in SQLite state management, automatic client broadcasts, and scheduling for secure real-time applications.

How does state management work for AI agents in WebWorkers?

State management for AI agents uses SQLite for persistent storage and automatically broadcasts state changes to connected clients, ensuring real-time synchronization across WebWorkers.

Can I use callable RPC methods for cross-service communication with AI agents?

Callable RPC methods enable cross-service communication by exposing @callable() functions on your AI agents, allowing clients and other services to directly invoke specific agent operations.

Does the Agents SDK support React hooks for real-time chat workflows?

The Agents SDK supports React hooks for real-time chat workflows, providing client-side integration to connect applications directly with stateful AI agents running on Cloudflare.

What is the best way to orchestrate complex workflows with MCP integration on Cloudflare?

The best way to orchestrate complex workflows with MCP integration is using the Agents SDK's durable workflows and scheduling features, enabling multi-step AI agent orchestration on Cloudflare Workers.

Do I need Cloudflare Workflows integration for durable AI agents?

Cloudflare Workflows integration is needed for durable AI agents when executing complex orchestration, providing reliable scheduling and persistent state management across multi-step processes.