Set up once
npx @gitterm/cli setup adds Gitterm to your agents and asks where sandboxes run: your Gitterm plan, or your own provider key. Your agent, the conversation and your model keys stay on your laptop.
$ npx @gitterm/cli setupOr and let your agent set it up.
Extend your laptop
Sandboxes run on the provider you choose.
Sandboxes attach as the agent needs them.
Your Mac ran out of memory mid-run.
This code expired on 31 October.
Restored here. Tests pass and the checkout preview is up.
Opened PR #482 from checkout-coupons.
To avoid problems with your computer, quit any applications you are not using.
Tests, Postgres and the dev server are all running on this Mac.
Your teammate can’t reach “localhost:3000”. It only exists on your Mac.
OpenCode, Postgres and the dev server stop when your Mac sleeps. The session can’t come with you.
gitterm sandbox.npx @gitterm/cli setup adds Gitterm to your agents and asks where sandboxes run: your Gitterm plan, or your own provider key. Your agent, the conversation and your model keys stay on your laptop.
The agent starts a sandbox on the provider you set and syncs your working tree. Ignored files like .env stay home. Once it has saved a setup snapshot, the next sandbox starts with dependencies already installed.
sandbox_createsandbox_sync
Tests, builds and dev servers run in the sandbox. The agent gets the output when a job finishes, or checks back on a long one, while your laptop stays idle.
sandbox_execsandbox_job
A port becomes a preview URL you can open. Files changed in the sandbox only land in your checkout when the agent applies them.
sandbox_previewsandbox_apply
Run npx @gitterm/cli setup once, then type /cloud. The conversation, your unpublished commits and, if you choose, uncommitted changes move to a cloud workspace. OpenCode and Pi both support /cloud and /cloud-return. Your laptop copy stays as it was until you bring the session back.
No Gitterm account needed. It uses your provider's CLI login if it finds one, or takes the key, and the provider bills you directly.
$ gitterm sandbox setupNo provider account needed. Sandboxes count against your plan, and Gitterm stops anything that outlives its deadline.
$ gitterm loginReplace the example URL with your server's API URL, then pick from the providers it offers.
$ gitterm login -s https://acme.dev/api/cloud pairs to the app with a one-time link.Run agents in the cloud
OpenCode
Move existing sessions
Pi
Move existing sessions
T3 Code
RunsCodex and
Claude Code
Run npx @gitterm/cli setup, then use /cloud in OpenCode or Pi to move your conversation, commits, and uncommitted changes.
Use /cloud-return to pick up on your laptop without losing local edits. Save a snapshot to reuse the workspace setup next time.
Use T3 Code to start Codex or Claude Code in a new cloud workspace.
Scan a QR code to open the workspace in the OpenCode app on your phone, or open it in any browser. Pause it when you are done and pick up later.
ws-7k2.gitterm.dev/auth/connect/7QK4M25 minIdle workspaces pause on their own.
Mention @gitterm in a channel. It works in a cloud workspace for that repo and answers in the thread. Self-host the bot from one Docker image.
@gitterm the checkout test is flaky again, can you take a look?
On it. Working in acme/shop in a cloud workspace.
Fixed the clock dependency. 20 runs passed. @Ada
The SDK creates a workspace, starts a run and waits for the result. Use it from scripts, CI or your own tools.
const { workspace } = await client.workspaces.create({ repo: "https://github.com/acme/shop" }); const run = await client.runs.create({ workspace, prompt: "Fix the flaky checkout test." }); const { finalText } = await client.runs.result(run);
/cloud make one for you.Stop paying for compute, keep the workspace, pick up where you left off.
Expose any port as a private URL, or make it public for webhooks and demos.
Open OpenCode in your local TUI with one command, T3 Code in its desktop app, or Pi in a browser terminal.
Same workspace in your browser, your agent's desktop app or your phone.
Model keys are saved once and reused in every workspace, never pasted again.
Create workspaces with the SDK. Manage them with the CLI or the SDK.