aicoolies logo
Cloudflare Agents logo

Cloudflare Agents

Build and deploy AI agents on Cloudflare's edge network

Share
freemiumOpen Source
Visit Website →

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

Alternatives

Related Tools

Hermes Agent logo

Hermes Agent

Top Pick

Open-source AI agent framework with persistent memory, reusable skills, tools, and messaging gateways

Hermes Agent is an open-source AI agent framework with persistent memory, reusable skills, 40+ tools, cron jobs, and messaging gateways.

open-sourceOpen Source

Accomplish Coworker

Open-source desktop AI coworker for browsing and code execution.

Accomplish Coworker is an MIT-licensed open-source AI coworker that runs on the desktop, combining computer-use style browsing with code execution so agents can research, implement, run, and debug workflows in one local environment.

open-sourceOpen SourceTelemetry

Headroom

Context compression for LLM apps and coding agents

Headroom is an Apache-2.0 context compression layer for LLM apps and coding agents. It compresses tool output, logs, files, RAG chunks, and agent history through a local library, proxy, wrapper, or MCP server, with retrieval hooks for bringing originals back when needed. Treat its savings numbers as Headroom-reported benchmarks, not independent aicoolies measurements.

open-sourceOpen SourceTelemetry

Codebase Memory MCP

Codebase knowledge graph MCP server for AI coding agents

Codebase Memory MCP is an MIT-licensed MCP server that turns a repository into a persistent code knowledge graph for AI coding agents. It gives Claude Code, Cursor, Codex-style agents, and other MCP clients structural queries for functions, classes, call chains, routes, and architecture, helping them explore large projects without repeatedly rereading files or relying only on broad search.

open-sourceOpen SourceTelemetry

KubeAI

Kubernetes operator for serving AI inference workloads

KubeAI is an Apache-2.0 Kubernetes operator for deploying and scaling AI inference workloads, including LLMs, embeddings, reranking, and speech-to-text. It gives platform teams OpenAI-compatible endpoints, model proxy/controller primitives, model caching, scale-from-zero behavior, and cluster-native resource management for self-hosted inference on Kubernetes.

open-sourceOpen Source
BeeAI Framework logo

BeeAI Framework

Python and TypeScript framework for production multi-agent systems

BeeAI Framework is an Apache-2.0 toolkit for building production-ready AI agents and multi-agent systems in Python and TypeScript. Its docs cover agents, tools, RAG, memory, workflows, backend providers, serving, and A2A/MCP integration surfaces, making it a vendor-neutral option for teams comparing LangGraph, CrewAI, Mastra, and related agent runtimes.

open-sourceOpen SourceTelemetry