building-ai-agent-on-cloudflare

Build scalable, stateful AI agents on Cloudflare with Durable Objects and WebSockets.

103|30|Updated Dec 24, 2025
One-click install
npx skills add https://github.com/LangbaseInc/agent-skills --skill building-ai-agent-on-cloudflare
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: building-ai-agent-on-cloudflare
Source: https://github.com/LangbaseInc/agent-skills/tree/main/skills/building-ai-agent-on-cloudflare
Command: npx skills add https://github.com/LangbaseInc/agent-skills --skill building-ai-agent-on-cloudflare

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Build scalable, stateful AI agents on Cloudflare with real-time communication, tool integration, and edge deployment.

Core Features & Use Cases

  • Agents SDK on Cloudflare: Persistent state via Durable Objects
  • Real-time communication: WebSockets and HTTP routing
  • Tool integration: Call tools and orchestrate actions
  • Scheduling & state management: Schedule tasks and persist state across sessions
  • Production-ready: See production-grade patterns and example code

Quick Start

"I want to build an AI chat agent on Cloudflare. Generate a starter agent project using the Agents Starter template and run wrangler."