Using conch
Sandboxes
A sandbox is a cloud machine conch makes and adds as a remote machine, so a task keeps running with your laptop closed.
Make one
Open a port
What it costs
Stop and start
In the tree they sit under Sandboxes, one group per provider:
▾ ● local
▾ ▤ Sandboxes 3
▾ Daytona 2
▸ ● sdx01
▸ ○ sdx02 stopped
▾ boat.dev 1
▸ ● sdx01
Providers
Each provider is a file from the registry; conch has none built in.
| Provider | What it is | How conch gets in |
|---|---|---|
| Daytona | sandboxes in a region, sized by their snapshot | a fresh ssh token per connection |
| boat.dev | whole Ubuntu machines in named sizes | your public key, authorized in the sandbox |
| Tensorlake | sandboxes with a disk of 10 to 100 GiB | the ssh keys registered with your account |
Sandboxes made before still work: the file is installed when first needed. Devin Cloud is gone; end its sessions in Devin.
Setting up
Create an API key in the provider's dashboard and put it in your environment, then restart conch:
export DAYTONA_API_KEY=dtn_… # Daytona
export BOAT_API_KEY=boat_… # boat.dev
export TENSORLAKE_API_KEY=tl_… # Tensorlake
How: the key, a region, a default image and a size, as each file offers, go in Settings → Sandboxes or [sandbox.<provider>].
In the TUI
How: M → New sandbox…, then a provider; Settings' choices can change for this one. A failed setup deletes it.
In Conch.app: the sheet shows each step; Run in Background hides it; the status bar's chip reopens it.
m on a sandbox's row adds:
| Item | What it does |
|---|---|
| Start sandbox | starts a stopped sandbox and connects |
| Stop sandbox… | ends its agents and terminals; its files stay |
| Delete sandbox… | deletes it, its files and host key, after listing unpushed work |
Looking at what runs inside
How: m → Open a port in the browser…, or conch sandbox -provider P url ID PORT -open. The link works for anyone until it expires. The server must listen on 0.0.0.0, not 127.0.0.1.
Keeping one to make others from
How: m → Keep a snapshot… or conch sandbox -provider P snapshot ID; start from it with New sandbox… or create -snapshot NAME. Snapshots are charged for storage.
What one has cost
The tree shows each sandbox's uptime and what was billed: 4h 12m · $0.03 (~ marks conch's estimate).
How: set Price an hour in Settings → Sandboxes → the provider. m → What it has cost… or conch sandbox -provider P usage ID shows each billed stretch.
Stopping one nobody is using
conch stops a sandbox when no agent is working or waiting and nothing has printed for 30 minutes; files are kept.
How: Settings → Sandboxes → the provider → Stop when idle (15, 30, 60, 120 or never), or idle_stop. conch never starts a stopped sandbox by itself.
Starting one again
When a stopped sandbox starts, conch offers to restart the agents and terminals it had.
How: say yes when asked. Bring back what was running (restore_running) turns it off per provider.
Commands
conch sandbox -provider daytona create -label fix-login # make one, install conch, add it as a machine
conch -m fix-login task -cwd /home/daytona/api "Fix the flaky tests"
conch sandbox -provider daytona ls # conch's sandboxes and their state
conch sandbox stats # every provider at once
conch sandbox -provider daytona ssh fix-login # a shell in it
conch sandbox -provider daytona stop fix-login
conch sandbox -provider daytona start fix-login
conch sandbox -provider daytona rm fix-login # ls says deleting until the provider is done
conch sandbox -provider P add ID # make one ls lists a machine
Flags are on Command line.
Getting the work out
How: T on a branch or agent, then New Daytona sandbox, moves the worktree there (Moving a worktree). Bring code back by pushing the branch, or with T again.
The provider registry
Every provider, from the registry. Install says where your key is sent, and asks; an update that changes that asks again.
How: M → New sandbox… → * Install a provider from the registry…, Integrations → Sandboxes in Conch.app, or:
conch sandbox provider search
conch sandbox provider install hetzner
conch sandbox provider update
conch sandbox provider publish NAME # a pull request through gh
For other tools
herdr and Orca use conch-sandbox.
A provider conch doesn't know
An agent writes a provider file from its API docs; conch shows each call and checks it before you save. It needs ssh.
How: M → New sandbox… → + Add a provider conch doesn't know…, or:
conch sandbox adapt https://api.example.dev/sandboxes
conch sandbox provider save NAME
The provider keeps the values of -env variables with the sandbox. Pass only what the task needs.