{"enrichment":{"faq":[{"a":"Agents SDK enables you to build AI agents on Cloudflare Workers by providing a complete framework for agent lifecycle management, state persistence, and durable execution. Start by defining your agent's behavior, configure state storage using Cloudflare's durable storage options, and deploy callable RPC methods that your agent can invoke. The SDK handles scheduling, retries, and observability out of the box, letting you focus on agent logic rather than infrastructure.","q":"How do I build AI agents on Cloudflare Workers?"},{"a":"Agents SDK offers comprehensive state management through built-in persistence layers, including SQLite support for agent state storage on Cloudflare Workers. You can maintain stateful agents across multiple invocations, implement durable workflows that survive failures, and configure automatic retries. The framework tracks agent execution history and enables you to query and restore agent state at any point in its lifecycle.","q":"What state management capabilities does Agents SDK provide?"},{"a":"Yes, Agents SDK supports real-time WebSocket communication for building interactive agents on Cloudflare Workers. You can integrate WebSocket connections directly into your agent workflows, enabling live chat interactions, streaming responses, and real-time tool execution. The SDK manages connection lifecycle, message routing, and state synchronization across WebSocket sessions.","q":"Can Agents SDK handle real-time WebSocket communication?"},{"a":"Agents SDK provides native integration with MCP (Model Context Protocol) servers, allowing your agents to connect to external tools and data sources. Configure MCP server endpoints in your agent configuration, and the SDK handles protocol negotiation, request routing, and response processing. This enables your agents to access specialized capabilities beyond their core logic.","q":"How do I integrate MCP servers with Agents SDK?"},{"a":"Agents SDK includes built-in observability features for monitoring agent execution, tracking state changes, and diagnosing issues. You get comprehensive logging, execution traces, and diagnostic data that integrate with Cloudflare's monitoring tools. Set up alerts for agent failures, track performance metrics, and analyze agent behavior through detailed execution history.","q":"What observability and diagnostics does Agents SDK offer?"},{"a":"Agents SDK supports scheduled task execution through cron-like scheduling and durable workflows that persist across worker restarts. Define scheduled tasks within your agent configuration, and the SDK ensures reliable execution with automatic retries and failure recovery. Durable execution guarantees that long-running workflows complete even if individual worker instances fail.","q":"How do I schedule tasks and set up durable execution?"}],"shadow_tags":["serverless-agents","durable-workflows","state-persistence","rpc-streaming","ai-orchestration","background-jobs","mcp-integration","chat-interfaces","voice-automation"],"summary_rewrite":"Agents SDK equips you to create intelligent agents on Cloudflare Workers with built-in state persistence, callable RPC methods, task scheduling, and durable workflows. It covers agent lifecycle management, WebSocket communication, chat integration, MCP server connectivity, and observability\u2014all with comprehensive Cloudflare documentation as your primary reference."},"files":[{"bytes":12195,"path":"skills/agents-sdk/SKILL.md","sha256":"a05244d3cfb23330daff956ec28a990241f5dbbe489cd7fd6489c8f76bb60877","url":"https://skillfed.io/files/cloudflare/skills/agents-sdk/fe12b38b/SKILL.md"}],"id":"cloudflare/skills/agents-sdk","links":{"html":"https://skillfed.io/cloudflare/skills/agents-sdk","md":"https://skillfed.io/cloudflare/skills/agents-sdk.md","repo":"https://github.com/cloudflare/skills"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":235,"language":"Shell","last_updated":"2026-07-24","license":"Apache-2.0","name":"agents-sdk","publisher":"cloudflare","stars":2499},"relations":{"similar":[{"id":"deepagent-ltd/deepagent-code/agents-sdk"},{"id":"FrancescoStabile/numasec/agents-sdk"},{"id":"shobcoder/shob/agents-sdk"},{"id":"null-shot/cloudflare-skills/agents-sdk"},{"id":"null-shot/cloudflare-skills/building-ai-agent-on-cloudflare"},{"id":"cloudflare/skills/durable-objects"},{"id":"secondsky/claude-skills/cloudflare-sandbox"},{"id":"secondsky/claude-skills/cloudflare-durable-objects"},{"id":"Aradotso/ai-agent-skills/cloudflare-agentic-inbox"},{"id":"secondsky/claude-skills/cloudflare-workers-runtime-apis"}]},"slug":{"owner":"cloudflare","repo":"skills","skill":"agents-sdk"},"version":"fe12b38b"}
