building-ai-agent-on-cloudflare

Build AI agents on Cloudflare with the Agents SDK, Durable Objects, and WebSockets.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Creates scalable, edge-deployed AI agents on Cloudflare with persistent state, real-time messaging, and tool integration to automate complex workflows.

Core Features & Use Cases

  • Stateful agents on the Cloudflare edge enabling durable conversations and task automation.
  • Real-time WebSocket chat, scheduled tasks, and tool integration to call external APIs.
  • Use cases include customer support bots, edge decision agents, and workflow orchestrators at the edge.

Quick Start

Create a new Cloudflare Agents project using the starter template and deploy it to Cloudflare Workers.

Frequently Asked Questions about building-ai-agent-on-cloudflare

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

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

To build stateful AI agents on Cloudflare, use the Agents SDK with Durable Objects bindings to persist state across sessions. This enables durable conversations and task automation directly at the edge.

Can I use WebSocket connections for real-time AI agent chat on the edge?

Yes, you can use WebSocket-based sessions for real-time AI agent chat on the edge. The Cloudflare Agents SDK supports WebSocket messaging to enable interactive customer support bots and decision agents.

Do I need Wrangler and Node.js to deploy AI agents on Cloudflare?

Yes, you need Wrangler and Node.js 18+ to deploy AI agents on Cloudflare. A Cloudflare account with Workers enabled is also required to use the Agents SDK bindings for edge deployment.

What's the best way to integrate tool calling into edge-deployed AI agents?

The best way to integrate tool calling into edge-deployed AI agents is using the Cloudflare Agents SDK. It supports tool integration to call external APIs, enabling autonomous workflow orchestration at the edge.

Does Cloudflare Agents SDK support scheduled tasks for autonomous workflows?

Yes, the Cloudflare Agents SDK supports scheduled tasks for autonomous workflows. You can build edge decision agents that execute time-based automated tasks using Durable Objects and state persistence.