Claude Code
API key, Claude subscription, or the installation AI proxy
Anthropic's terminal coding agent. SAM starts it in your workspace, streams its work into project chat, and can run many sessions side by side, each in its own workspace.
- Claude Fable 5.2
- Claude Opus 5.5
- Claude Sonnet 5.5
- Claude Haiku 5.5
What you get
Three ways to pay
Your Anthropic API key, your Claude Pro or Max subscription (guided sign-in, no terminal), or the installation's AI proxy if your SAM administrator turns it on.
Anthropic-compatible endpoints
Point Claude Code at another Anthropic-compatible API, for example a gateway your company already runs.
Several accounts
Connect a work subscription and a client's API key side by side, then pin each to the projects or profiles that should use it.
Pull requests when you ask
The agent works on its own branch and pushes it when the task is done. Ask, and it opens a pull request.


Set it up in 4 steps
-
Connect an account
In Settings → Agents, sign in with your Claude subscription or paste an API key.
-
Pick a profile
Choose Claude Code and a model in an agent profile, or use the project default.
-
Start a chat or task
SAM places the work on a machine, builds your devcontainer and starts Claude Code.
-
Review the result
Follow along in project chat, steer it while it works, and review the branch or pull request.
Good for
Parallel feature work
Split a project into tasks and run one agent per task, each in its own workspace and branch.
Large refactors
Describe the pattern once and let several sessions work through different parts of the codebase.
Scheduled and event-driven work
Run Claude Code from a schedule, a GitHub event or a webhook using a saved profile.
Questions
Which models can I choose?
The Claude 5 models, including Claude Fable 5.2, Opus 5.5, Sonnet 5.5 and Haiku 5.5, plus the Claude 4 models. Choose one in an agent profile.
Do I need an Anthropic API key?
No. You can sign in with a Claude Pro or Max subscription instead, or use the installation AI proxy if your administrator has enabled it.
Where does Claude Code run?
On a cloud VM, inside your repository's devcontainer, using a cloud account connected to your SAM installation. A profile can choose an Instant session on Cloudflare Containers instead, which needs no cloud account but does not use your devcontainer.
Related integrations
Get your coding agents off your laptop
SAM is open source. Deploy it to your Cloudflare account and connect your agent. Add a cloud provider when you want full environments on your own servers.