Cloudflare Agents logo

Cloudflare Agents

Freemium
Visit

A platform and SDK for developers building AI agents with persistent state and tools.

What is Cloudflare Agents?

Cloudflare Agents is Cloudflare’s platform for building AI agents that receive input, reason with language models, retain state, and act through tools. It brings together the Agents SDK and Cloudflare services for inference, execution, storage, and communication.

Developers can run models with Workers AI or connect to external providers through AI Gateway. Durable Objects and Workflows support stateful, multistep execution, including returning to a model to revise a plan. The platform is suited to applications that coordinate ongoing tasks across APIs, user interactions, and scheduled actions.

What can Cloudflare Agents do?

Email, chat, and voice input

Receive input through Email Workers, WebSockets and Workers, or Cloudflare Calls, allowing agents to participate in different communication channels.

Model hosting and provider connections

Use Workers AI for inference on Cloudflare or AI Gateway to connect to external model providers for planning, reasoning, and content generation.

Persistent state and workflow execution

Combine Durable Objects for state with Workflows for compute to carry out multiple steps and revisit decisions as new variables emerge.

Tools for external actions and data access

Connect agents to APIs through MCP servers and use Browser Rendering, Vectorize, and D1 to interact with web content, vector data, and databases.

Scheduled actions and shared state

The SDK example demonstrates scheduled methods, callable agent methods, and state updates sent to connected users, supporting recurring tasks and collaborative interactions.

WebSocket hibernation

Durable Objects can shut down during inactivity while maintaining WebSocket connections, reducing the cost of agents with long-lived connections.

Use Cases

“Collaborative lunch selection”

An office lunch agent can research nominated restaurants, store menus in Vectorize, collect coworkers’ votes, and generate an announcement explaining the selected option.

“Remote MCP servers”

Developers can use the Agents SDK to build remote MCP servers. The homepage cites Knock’s use of the SDK to ship a server for its customers.

“Tasks that wait on external responses”

Build agents whose work includes LLM calls, API requests, or human input. Persistent state and execution services support tasks that span these waiting periods.

Frequently Asked Questions

How does Cloudflare describe agentic AI?

It describes agents as systems that plan, iterate, and interact with their environment to achieve objectives, extending beyond generating responses to individual prompts.

How does usage-based billing apply to agents?

The homepage describes Workers AI as charging for usage and Workers execution billing in terms of CPU time rather than time spent waiting on I/O. It also highlights Durable Objects WebSocket hibernation as a way to reduce idle connection costs.

What does the SDK code example show?

The TypeScript example extends Agent, marks methods with @callable(), schedules recurring actions, starts a restaurant research workflow, updates voting state, and calls a Workers AI model to compose the lunch result.

Quick Facts

Product category
AI agent development platform and SDK
Provider
Cloudflare
Primary users
Developers building agent applications and remote MCP servers
Example language
TypeScript
Official website
https://agents.cloudflare.com/

Cloudflare Agents Traffic Analysis

Traffic data is for reference only.

Monthly Visits
18.8K
Global Rank
-
User Bounce Rate
81.7%
Avg. Visit Duration
00:22
Pages per Visit
1.10
Domain Rating
94

Traffic Trends

Traffic Sources

Traffic analytics are not available yet.

Top Regions

Cloudflare Agents Alternatives

OpenAI Agents SDK TypeScript logo

OpenAI Agents SDK TypeScript

openai.github.io

A TypeScript SDK for developers building text, sandbox, and realtime voice agents.

Agent Development Kit (ADK) logo

Agent Development Kit (ADK)

adk.dev

Agent Development Kit (ADK) is an open-source framework for building, evaluating, and deploying conversational and non-conversational AI agents. It supports multi-agent systems, tools, structured workflows, and production runtimes across Python, TypeScript, Go, Java, and Kotlin.

Microsoft Agent Framework logo

Microsoft Agent Framework

learn.microsoft.com

Microsoft Agent Framework is a developer framework for building, orchestrating, and deploying AI agents and multi-agent workflows. It supports implementations in Python and .NET.

Vapi logo

Vapi

vapi.ai

A developer platform for building, testing, and operating conversational voice AI agents.

Lyzr logo

Lyzr

lyzr.ai

An enterprise platform for building, deploying, and governing AI agents across workflows.

Context logo

Context

context.ai

Context is an enterprise AI agents platform for building, deploying, and improving agents on customer infrastructure, with workspace, runtime, context, evaluation, connectors, and IdP access controls.