• OpenCode
  • Pi
  • T3 Code
  • Codex
  • Claude Code
$ npx @gitterm/cli setup

Or and let your agent set it up.

Extend your laptop

Sandboxes run on the provider you choose.

Sandboxes attach as the agent needs them.

opencode · ~/code/shop
OpenCode died

Your Mac ran out of memory mid-run.

Build · Claude Opus 5.5 Anthropic
Activity Monitor
CPU6%
Memory4.8 of 16 GB
Battery92%, 7h left
  • opencodeidle
Waiting for a request.
E2B sandboxsbx_7f3a2c
No sandbox yet
Gitterm plan, 60 minute lifetime
3000-7f3a2c9e41d8b0a5c3f2.gitterm.dev
No preview yet

Checkout

Linen overshirt, M€89.00
Canvas tote€24.00
AUTUMN10Apply

This code expired on 31 October.

Total€113.00
9:415G
18:42
Tuesday, 3 November
Gitterm
Run tests and preview checkoutE2Bworkspace
I have to leave for a train. Keep going and I’ll check from my phone.
Cloud handoff41 messages

Restored here. Tests pass and the checkout preview is up.

Looks good. Open the PR.

Opened PR #482 from checkout-coupons.

Ask anything…
Force Quit Applications
Your system has run out of application memory.

To avoid problems with your computer, quit any applications you are not using.

  • DDocker Desktop(paused)9.8 GB
  • Bbun test3.1 GB
  • OOpenCode(3 sessions)2.6 GB
  • CChrome(not responding)2.4 GB
There is nowhere else to run this

Tests, Postgres and the dev server are all running on this Mac.

localhost:3000/checkout
Safari can’t open the page

Your teammate can’t reach “localhost:3000”. It only exists on your Mac.

Close the lid?

OpenCode, Postgres and the dev server stop when your Mac sleeps. The session can’t come with you.

How Gitterm works

The same session as above, one step at a time. Codex and Claude Code take the same steps with gitterm sandbox.
Step 1 of 5

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.

Step 2 of 5

It borrows a machine when it needs one

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

Step 3 of 5

The heavy work runs there

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

Step 4 of 5

Results come back to you

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

Step 5 of 5

Or take the whole session with you

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.

Your key, our plan, or your server

Bring your own provider key

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 setup

Use your Gitterm plan

No provider account needed. Sandboxes count against your plan, and Gitterm stops anything that outlives its deadline.

$ gitterm login

Use your own Gitterm

Replace the example URL with your server's API URL, then pick from the providers it offers.

$ gitterm login -s https://acme.dev/api

Also in OpenCode desktop

Same plugin, same tools. Every sandbox call shows up as a row you can open, and a session you moved with /cloud pairs to the app with a one-time link.
Run tests and preview checkout
E2B workspace · checkout-couponsRun tests and preview checkoutSession changes 2 files
Ask anything, / for commands, @ for context…
Build Anthropic / Claude Opus 5.5

Run agents in the cloud

Send sessions to the cloud. Bring them back.

Keep working from your phone, a browser, or another computer while your agent runs in the cloud.
Works with

OpenCode

Move existing sessions

Pi

Move existing sessions

T3 Code

RunsCodex andClaude Code

Your laptopCPU 92%
    Cloud workspaces

    Move a session

    Run npx @gitterm/cli setup, then use /cloud in OpenCode or Pi to move your conversation, commits, and uncommitted changes.

    Bring it back

    Use /cloud-return to pick up on your laptop without losing local edits. Save a snapshot to reuse the workspace setup next time.

    Start fresh

    Use T3 Code to start Codex or Claude Code in a new cloud workspace.

    Drive it from anywhere

    A workspace keeps running while you are away. Check in from your phone, hand work over in Slack, or start runs from your own code.

    Your phone or browser

    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.

    Pairing linkws-7k2.gitterm.dev/auth/connect/7QK4M25 min
    • acme/shopT3 Code on E2BiPhone appRunning
    • acme/adminCodex in T3 Code on VercelAndroid appRunning
    • acme/apiPi on BoatWeb appRunning
    • acme/docsOpenCode on DaytonaDesktop appRunning

    Idle workspaces pause on their own.

    Slack and Discord

    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.

    Thread# shop-dev
    A
    Ada

    @gitterm the checkout test is flaky again, can you take a look?

    👀 1
    2 replies
    gittermAPP

    On it. Working in acme/shop in a cloud workspace.

    gittermAPP

    Fixed the clock dependency. 20 runs passed. @Ada

    GitHub
    Fix flaky checkout test #482acme/shop, 1 commit, +12 −3
    ✅ 2🙌 1
    Reply…

    Your own code

    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);

    Everything a workspace can do

    Start one from the dashboard, the CLI or the SDK, or let /cloud make one for you.

    Pause and resume

    Stop paying for compute, keep the workspace, pick up where you left off.

    Share a live preview

    Expose any port as a private URL, or make it public for webhooks and demos.

    Attach your terminal

    Open OpenCode in your local TUI with one command, T3 Code in its desktop app, or Pi in a browser terminal.

    Connect from any device

    Same workspace in your browser, your agent's desktop app or your phone.

    Set keys once

    Model keys are saved once and reused in every workspace, never pasted again.

    Script it

    Create workspaces with the SDK. Manage them with the CLI or the SDK.

    Give your agents more computers.

    $ npx @gitterm/cli setup