CLOUDFLARE SOLUTIONS BUILD

DEVELOPER PLATFORM

Build AI agents on Cloudflare

Move from prototype to production on a composable, globally distributed developer platform.

Compute State Models Tools Control
LIVE EXAMPLE
Cloudflare OS

A working agent application assembled from Developer Platform services.

CLOUDFLARE OS AGENT STACK GLOBAL BY DEFAULT
COMPUTE Workers
DATA + CONTENT KV + R2
MODELS AI Gateway
ACTIONS Tools + Workflows
AGENT RUNTIME Reason. Remember. Act.
SECURITY OBSERVABILITY

CLOUDFLARE OS

How the agent application works

Cloudflare OS turns intent into a complete, governed application on Cloudflare's developer platform.

01

One deployment coordinates compute, state, intelligence, and access.

HOW THE SYSTEM WORKS

Each service is independent. Cloudflare OS makes them operate as one.
INTENT User Describe the outcome
ENTRY Router Direct every request
RUNTIME Workshop Build and execute
CONTROL Gatekeepers
Context Scheduler
KV + R2
Workers AI
Your systems
PLAN DEPLOY GOVERN RUN

LIVE DEPLOYMENT

Watch the system appear

Deploy on the left. As resources become observable, the architecture comes online here.

DEPLOYMENT STATUS Waiting to observe resources
0 / 10 resources observed
0 of 10
PERIMETER Access Protected route
Waiting
WORKER App router instance
Waiting
WORKER Workshop API instance-backend
Waiting
GATEKEEPER Context instance-gk-context
Waiting
GATEKEEPER Scheduler instance-gk-scheduler
Waiting
INTELLIGENCE AI Gateway instance-ai
Waiting
STATE KV namespaces 0 of 3 observed
Waiting
CONTENT R2 bucket instance-blueprint-content
Waiting
INTEGRATION Your systems APIs and data
Conceptual
Waiting Partially observed Live

DEPLOYED ARCHITECTURE

What each resource does

Ten Cloudflare resources, organized around four operating responsibilities.

DEPLOYED STACK 10 components
4 responsibilities
01
PROTECT

Access perimeter

ZERO TRUST

Access application

instance

Authenticates operators and applies policy before traffic reaches the application.

02
EXECUTE

Worker runtime

ENTRY WORKER

App router

instance

Receives application traffic and directs every request to the correct runtime path.

CORE WORKER

Workshop API

instance-backend

Runs the core API and coordinates context, scheduling, state, content, and AI.

GATEKEEPER

Context

instance-gk-context

Selects and governs the context made available to each operation.

GATEKEEPER

Scheduler

instance-gk-scheduler

Coordinates deferred, recurring, and time-based work across the system.

03
REMEMBER

State + content

WORKERS KV

Blueprints

instance-blueprints

Stores blueprint metadata and lookup records used to assemble experiences.

WORKERS KV

Avatars

instance-avatars

Stores avatar definitions and lightweight identity-oriented configuration.

WORKERS KV

Context collections

instance-context-collections

Organizes reusable context through collection metadata and references.

R2 OBJECT STORAGE

Blueprint content

instance-blueprint-content

Holds larger blueprint documents and content objects outside Workers KV.

04
UNDERSTAND

Intelligence

AI GATEWAY

Model control plane

instance-ai

Routes model calls while adding policy, visibility, and operational control.

CLOUDFLARE DEVELOPER PLATFORM

Build with Cloudflare Developer Services

Code, compose, deploy, and operate AI applications on one global platform.

  1. 01 CREATE

    Code

    Build interfaces, APIs, agent logic, and background services with familiar tools.

    Workers Workers Static Assets Pages Agents SDK
  2. 02 CONNECT

    Compose

    Connect storage, models, coordination, and tools through native service bindings.

    KV + R2 D1 Durable Objects Workers AI Queues Workflows
  3. 03 SHIP

    Deploy

    Release globally from local development or CI/CD without provisioning servers.

    Wrangler Git integration Versions Terraform
  4. 04 CONTROL

    Operate

    Secure, observe, and improve applications with integrated platform controls.

    Workers Logs Analytics Engine AI Gateway Access
One platform One codebase Services connected by bindings Global deployment Built-in security + observability

REFERENCE ARCHITECTURE

Full-stack applications on Cloudflare

A complete view of how Cloudflare services compose around the application lifecycle.

Cloudflare full-stack application reference architecture. Open full-size diagram
The diagram contains twelve numbered areas: client; security with SSL and TLS, DDoS protection, WAF, Bot Management, and API Shield; performance with CDN and Argo Smart Routing; compute with Workers, Workers for Platforms, Durable Objects, and Containers; data and storage with D1, Durable Objects, KV, and R2; Realtime, Images, and Stream; AI with Workers AI, Vectorize, and AI Agents; orchestration with Queues, Workflows, and Pipelines; Cloudflare observability with Logpush, Workers Logs, Analytics Engine, and AI Gateway; external logs and analytics; tooling and provisioning; and external service integrations.