Build AI agents on Cloudflare
Four interactive, teaching-centric demos — each a real agent on a Durable Object. Pick a concept in the sidebar, try it live, and read the actual code.
Project Think
PreviewThe agent framework
A streaming chat agent with reasoning, tools, memory, workspace files — built on a Durable Object.
ChatToolsMemoryFilesEdge
6 sections · liveOpen demo
Agent Memory
SessionsRemember what matters
Teach an agent durable facts and watch it write to memory, recall later, and persist across restarts.
TeachRecallPersistNo vector DB
5 sections · liveOpen demo
Voice
BetaReal-time voice agents
Speak to an agent: continuous speech-to-text, a streaming model turn, text-to-speech, and natural barge-in.
TalkBarge-inPersistProviders
5 sections · liveOpen demo
Super Agent
CapstoneA coding agent that ships
Give an agent its own Linux Sandbox — run shell commands and write files in a real container.
SandboxRunFilesBuild
5 sections · liveOpen demo
Global by default
runs in 330+ cities
Stateful compute
state next to compute
Batteries included
one platform, one bill
Scales to millions
pay-per-use isolates
Inference via AI Gateway agent-demos · built on Workers, Durable Objects, Workers AI