Skip to content

SAM Documentation

Everything you need to deploy and use SAM — the open-source platform for ephemeral AI coding agent environments.

Quickstart

Start chatting with an agent in minutes, on an instance you already have or one you install in your own Cloudflare account.

Core Concepts

Understand workspaces, nodes, providers, projects, ideas, agents, and how they fit together.

Self-Hosting Guide

Run SAM in your own Cloudflare account: requirements, integrations, updates, costs and troubleshooting. To install a new SAM, see Install SAM with the installer, below.

Architecture

Deep dive into the system design — Workers, Durable Objects, VM agents, hybrid storage, and security model.