cloudflare-agents

Develop and deploy AI agents on Cloudflare Workers using the Agents SDK.

Updated Jan 21, 2026
One-click install
npx skills add https://github.com/HsnSaboor/open-engineer --skill cloudflare-agents-hsnsaboor
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: cloudflare-agents
Source: https://github.com/HsnSaboor/open-engineer/tree/main/src/skills/bundled/cloudflare-agents
Command: npx skills add https://github.com/HsnSaboor/open-engineer --skill cloudflare-agents-hsnsaboor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the creation and deployment of sophisticated AI agents on Cloudflare Workers, enabling real-time, stateful, and scalable AI applications.

Core Features & Use Cases

  • Agent Development: Build AI agents with state management, real-time WebSockets, and scheduled tasks.
  • Production Deployment: Generates production-ready agent code deployed directly to Cloudflare Workers.
  • Use Case: Develop a customer support chatbot that remembers conversation history, responds in real-time via WebSockets, and can schedule follow-up actions.

Quick Start

Use the cloudflare-agents skill to create a new agent project by running npm create cloudflare@latest -- my-agent --template=cloudflare/agents-starter.

Frequently Asked Questions about cloudflare-agents

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

FAQPage Schema
How do I build AI agents on Cloudflare Workers with state management?▼

You can build AI agents on Cloudflare Workers using the Agents SDK, which facilitates state management, real-time WebSocket communication, and scheduled tasks for scalable edge-deployed services. It generates production-ready agent code directly deployable to the Workers runtime.

What is the best way to deploy stateful AI applications at the edge?▼

Deploying stateful AI applications at the edge is best achieved using Cloudflare Workers and the Agents SDK, which simplifies building scalable real-time services with integrated state management, WebSockets, and scheduled task capabilities.

Can I use WebSockets for real-time communication in Cloudflare AI agents?▼

Yes, real-time WebSocket communication is natively supported when building AI agents on Cloudflare Workers. The Agents SDK facilitates WebSocket connections, enabling interactive chat capabilities and real-time responses.

How do I add chat capabilities and conversation history to an AI agent?▼

You can add chat capabilities and conversation history to an AI agent by utilizing the Agents SDK on Cloudflare Workers, which provides built-in state management to remember conversation context and schedule follow-up actions.

Does the Cloudflare Agents SDK support tool integration and MCP servers?▼

Yes, the Cloudflare Agents SDK supports tool integration, MCP servers, and workflows. This allows developers to connect external tools and orchestrate complex tasks within edge-deployed AI agents.

How do I get started creating a new AI agent project on Cloudflare?▼

To get started creating an AI agent project on Cloudflare, run `npm create cloudflare@latest -- my-agent --template=cloudflare/agents-starter` to generate a production-ready codebase using the Agents SDK.