agents-sdk

Automates building, deploying, and orchestrating AI agents on Cloudflare Workers with the Agents SDK.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/9miya20/zatommy --skill agents-sdk-9miya20
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agents-sdk
Source: https://github.com/9miya20/zatommy/tree/main/apps/auth/.agents/skills/agents-sdk
Command: npx skills add https://github.com/9miya20/zatommy --skill agents-sdk-9miya20

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

The Agents SDK enables developers to build, deploy, and orchestrate AI agents on Cloudflare Workers with built-in state persistence, real-time communication, durable workflows, scheduling, MCP integration, email handling, and React hooks for client apps.

Core Features & Use Cases

  • Stateful agents with SQLite-backed persistence and real-time client updates.
  • Callable RPC via WebSocket, streaming options, and durable multi-step workflows.
  • Scheduling and cron tasks for recurring or delayed jobs, plus MCP integration for external tools.
  • Email handling, streaming chat capabilities, and React hooks for client apps.
  • Use Case: Create chatbots, automation agents, or MCP-powered services that persist state across disconnections.

Quick Start

Install the Agents SDK and scaffold a minimal agent example to verify the end-to-end workflow.

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?

The Agents SDK enables real-time communication in Cloudflare Workers apps via callable RPC over WebSocket, supporting streaming options for continuous data flow between clients and agents.

How do I persist state for a chatbot built on Cloudflare Workers?

You can integrate MCP servers with Cloudflare Workers by using the Agents SDK's built-in MCP integration, allowing your agents to connect with and invoke external tools seamlessly.

What do I need to set up before deploying an agent with the Agents SDK?

The Agents SDK supports durable multi-step workflows on Cloudflare Workers, allowing you to orchestrate complex, long-running processes that persist state reliably between execution steps.

Can I schedule recurring tasks for my Cloudflare Workers agent?

The Agents SDK includes React hooks for client apps, allowing you to directly connect your frontend interfaces to Cloudflare Workers agents for streaming chat and real-time state updates.

What is the best way to handle real-time WebSocket communication in a Cloudflare agent?

The best way to handle real-time WebSocket communication in a Cloudflare agent is using the Agents SDK, which provides callable RPC over WebSocket with built-in streaming options for continuous data flow.