Skip to main content

Platform Guide

Everything you can build with today, on one map. Four layers, one Worker.

This is reference: the guided path teaches the parts you need inside each step, so nothing here is required.

LayerWhat it gives youPrimitives
1. SDKsHow you write the agent: the loop, the state, the tools.Agents SDK, Think, Flue, AI SDK (Vercel)
2. Agent primitivesWhat makes it an agent and not a completion call: memory, models, search, a browser, a computer.Durable Objects, Workers AI, AI Search, Browser Run, Sandbox SDK, Containers
3. Full-stack primitivesThe app around the agent: compute, data, files, durable pipelines, schedules.Workers, D1, R2, KV, Workflows, Queues (plus Cron)
4. Governance & securityThe same platform secures what you built: the model path, the user path, the tool path.AI Gateway, AI Security for Apps + WAF, Secure MCP

How the layers compose into an agent​

  1. An SDK (layer 1) gives you the loop: model, tools, memory.
  2. Agent primitives (layer 2) give it state, models, search, a browser and a computer.
  3. Full-stack primitives (layer 3) give it an app: compute, data, files, durable pipelines, schedules.
  4. Governance & security (layer 4) wraps all three paths: user to app, agent to model, agent to tools.
  5. Bindings compose them in one Worker, so the whole agent ships with one wrangler deploy.

Using it with your coding agent​

Ask the event MCP server: get_platform_guide with a layer (sdks, agent-primitives, full-stack, governance) or a primitive id (e.g. workflows) returns the same content as these pages.

Select the Cloudflare account shown on your team card. Everyone follows the same examples in their own account.