Getting started
Start building agents that can remember context, communicate with users, and act on their own. Pick the path that matches what you want to build first.
Quick start Build a small stateful counter agent and learn the core Agent, state, and client SDK model.
Build a chat agent Build a streaming AI chat agent with Workers AI, server tools, client tools, and approvals.
Add Agents to an existing project Install the Agents SDK into an existing Workers application and wire up routing.
Testing your Agents Write tests with Vitest and the Workers test pool.