aicoolies logo
Cloudflare Agents logo
Cloudflare Agents logo

Cloudflare Agents

Build and deploy AI agents on Cloudflare's edge network

freemiumopen sourceupdated Apr 21, 2026

Cloudflare Agents is an open-source SDK for building and deploying AI agents that run on Cloudflare's global edge network. It provides durable state, scheduled tasks, WebSocket communication, and browser rendering capabilities within Workers. Agents persist across requests using Durable Objects and can orchestrate multi-step workflows with built-in MCP server support. Over 7,000 GitHub stars.

Cloudflare Agents extends the Workers platform with primitives specifically designed for AI agent workloads. Traditional serverless functions are stateless and short-lived, making them unsuitable for agents that need to maintain conversation context, track multi-step task progress, and coordinate long-running workflows. Cloudflare Agents solves this by building on Durable Objects to give each agent instance persistent state that survives across HTTP requests and WebSocket connections, enabling agents that remember context, resume interrupted tasks, and maintain ongoing relationships with users.

The SDK provides a structured framework for defining agent capabilities including tool registration, message handling, scheduled task execution, and human-in-the-loop interaction patterns. Agents can render web pages using Cloudflare's Browser Rendering API for tasks that require visual web interaction, and communicate with clients through real-time WebSocket connections for streaming responses and progress updates. Built-in MCP server support means agents can expose their capabilities as Model Context Protocol tools, making them composable with other AI systems and IDE integrations like Claude Code and Cursor.

Deploying agents to Cloudflare's edge network provides sub-50ms cold start times and automatic geographic distribution across 300+ data centers worldwide, eliminating the latency penalties of centralized agent hosting. The pay-per-use pricing model means agents that sit idle between interactions cost nothing, making it economically viable to deploy specialized agents for niche use cases. With over 7,000 GitHub stars and Cloudflare's infrastructure backing, the Agents SDK represents a significant infrastructure play in the AI agent deployment landscape, particularly for teams already building on the Workers ecosystem.

Pricing

Free tier included; usage-based Workers pricing

Platforms

Cloudflare Workers — global edge deployment

Categories

Tags

Use Cases

Related Tools

computed discovery: shared active categories · kept separate from editor-verified Alternatives

Agent Skills logo

Agent Skills

Open standard for portable skills across AI agents

Agent Skills is the open SKILL.md folder specification for packaging reusable instructions, scripts, references, and assets that compatible AI agents load through progressive disclosure. Originally developed by Anthropic and released as an open standard, it defines the portable format itself—not an example library, marketplace, or hosted agent product.

Open Source
KTransformers parent kvcache-ai logo

KTransformers

Heterogeneous CPU-GPU inference and SFT for large MoE models

Open-source framework for running and fine-tuning large Mixture-of-Experts models with heterogeneous CPU-GPU execution, optimized kernels, limited VRAM and SGLang or LLaMA-Factory integrations.

Open Source
vLLM Production Stack parent vLLM logo

vLLM Production Stack

Official Kubernetes and Helm reference stack built on the vLLM inference engine

Official vLLM reference implementation for scaling the existing inference engine on Kubernetes with Helm, request routing, KV-cache offload, autoscaling and Prometheus/Grafana observability.

Open Source
Dynamo logo

NVIDIA Dynamo

Distributed inference orchestration above vLLM, SGLang and TensorRT-LLM

Open-source, datacenter-scale orchestration layer that coordinates vLLM, SGLang and TensorRT-LLM across nodes with disaggregated serving, KV-aware routing, multi-tier cache management and automatic scaling.

Open Source
GPUStack logo

GPUStack

Open-source GPU control plane for scalable AI model serving

Open-source GPU cluster manager that configures vLLM, SGLang, TensorRT-LLM or custom engines, serves models through compatible APIs, and provisions SSH-accessible GPU instances across on-premises, Kubernetes and cloud environments.

Open Source
Mooncake logo

Mooncake

Disaggregated KV cache storage and transfer for LLM serving

Open-source infrastructure for disaggregated LLM serving that pools KV caches across prefill and decode workers, with high-performance transfer, distributed storage and integrations for vLLM and SGLang.

Open Source

FAQ

What is Cloudflare Agents?

Cloudflare Agents is an open-source SDK for building and deploying AI agents that run on Cloudflare's global edge network. It provides durable state, scheduled tasks, WebSocket communication, and browser rendering capabilities within Workers. Agents persist across requests using Durable Objects and can orchestrate multi-step workflows with built-in MCP server support. Over 7,000 GitHub stars.

Is Cloudflare Agents free?

Cloudflare Agents offers a free tier alongside paid plans. Free tier included; usage-based Workers pricing

Is Cloudflare Agents open source?

Yes — Cloudflare Agents is open source.

What are the best Cloudflare Agents alternatives?

The top editor-verified Cloudflare Agents alternatives are Composio, Mastra, Restate.