skillfed

agents-sdk

Agents SDK enables you to construct AI agents on Cloudflare Workers with SQLite-backed persistent state, callable RPC methods, and durable workflows. It supports scheduling, MCP server integration, email handling, and React client hooks for real-time synchronization.

Agents SDK lets you build stateful AI agents on Cloudflare Workers with persistent SQLite-backed state, callable RPC methods, and workflow automation.

AI-generated summary based on this skill's SKILL.md

580 0 MIT updated by shobcoder

Install

shobcoder/shob/agents-sdk · repository language: TypeScript

CLI (skillfed)coming soon
git clone https://github.com/shobcoder/shob
cp -r shob/packages/shob/test/fixture/skills/agents-sdk ~/.claude/skills/agents-sdk

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

What is agents-sdk and what can I build with it?

Agents SDK enables you to construct AI agents on Cloudflare Workers with SQLite-backed persistent state, callable RPC methods, and durable workflows. It supports scheduling, MCP server integration, email handling, and React client hooks for real-time synchronization.

How do I build stateful AI agents on Cloudflare Workers?

Agents SDK provides a framework for building stateful AI agents directly on Cloudflare Workers. You can use SQLite-backed persistent state to maintain agent memory and context across invocations, enabling long-lived agents that remember interactions and maintain internal state throughout their lifecycle.

Does agents-sdk support durable workflows and multi-step tasks?

Yes, Agents SDK implements durable workflows and multi-step background tasks, allowing you to define complex, long-running processes that can survive failures and resume from checkpoints. This enables reliable automation and orchestration of AI-driven workflows on Cloudflare's infrastructure.

Can I create real-time WebSocket apps with callable RPC methods?

Agents SDK supports creating real-time WebSocket applications with callable RPC methods. You can build interactive agents that respond to client calls in real time, with React hooks like useAgent available for seamless client-side integration and state synchronization.

How does agents-sdk integrate with MCP servers?

Agents SDK allows you to integrate MCP servers or build MCP-compatible agents, enabling standardized tool use and interoperability. This lets your agents leverage existing MCP ecosystems and expose their capabilities through the MCP protocol.

What scheduling and event-driven capabilities does agents-sdk offer?

Agents SDK supports scheduled tasks, cron jobs, and event-driven workflows. You can set up agents to run on a schedule, respond to events like email routing, or trigger background processing, making it suitable for both real-time and asynchronous use cases.

SKILL.md

rendered from the published skill — quoted content, verbatim

Cloudflare Agents SDK

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

Documentation

Fetch current docs from https://github.com/cloudflare/agents/tree/main/docs before implementing.

Topic Doc Use for
Getting started docs/getting-started.md First agent, project setup
State docs/state.md setState, validateStateChange, persistence
Routing docs/routing.md URL patterns, routeAgentRequest, basePath
Callable methods docs/callable-methods.md @callable, RPC, streaming,

(truncated - see the full file via the links below)

Read as markdown · JSON record · Browse the source repository

File tree — 2 files
packages/shob/test/fixture/skills/agents-sdk/SKILL.md
packages/shob/test/fixture/skills/agents-sdk/references/callable.md

Related skills

Tags

serverless-agents edge-computing workflow-automation real-time-communication state-persistence rpc-framework ai-orchestration message-protocol-client task-scheduling