Run git worktrees in parallel, each with its own dev server

Each worktree gets its own cloud machine, so every branch runs its own dev server, tests, and database at the same time. You open any of them at localhost:3000.

curl -fsSL https://tesser.sh/install | sh

Or set it up with your agent:agent setup guide

Worktrees on one laptop

git worktree makes it easy to check out three branches at once. Running all three is the hard part. Every dev server wants port 3000, and three installs, three dev servers, and three test runs share one laptop's CPU and memory.

A machine per worktree

The first time you run a command in a worktree, Tesser makes that worktree's machines: a workbench for tests and builds, and a box for each service's dev server. A new one is ready in about 3 seconds at any size. It starts from a snapshot of your repo, so node_modules is already there and the first install only catches up.

A short TOML file in the repo lists each service's ports and the install and dev commands you already use. Commit it once and every worktree can use it.

cd ~/acme/feature-a && tesser dev web    # prints box_7f3a91
cd ~/acme/feature-b && tesser dev web    # prints box_2c81d4
tesser exec -- pnpm test                 # on feature-b's workbench
Boxes

Every branch at localhost

Each box has its own address, box-<id>.localhost:3000, and browsers send *.localhost to your own machine with no setup. Two tabs on two addresses show two branches side by side.

Bare localhost:3000 shows whichever box you focused last. Switch it from the panel in the corner of the page (⌘⇧U) or with tesser use. The address never changes, so an OAuth callback registered for localhost:3000 keeps working as you switch branches.

tesser use box_2c81d4         # localhost:3000 now shows feature-b
tesser use --off box_2c81d4   # back to the previous focus
tesser use                    # where every port goes right now
See any branch at localhost

A database per branch

Every box has Docker with Compose, so each branch can run its own Postgres and Redis, and one branch's migrations never touch another's data.

A frontend can also reach a backend on another box, or one shared instance of it that the whole team uses, on the same ports it uses today.

Connect a frontend to a backend

Show a branch to a teammate

tesser share prints a link to a running box. The teammate opens it with tesser review and sees the branch at box-<id>.localhost exactly as it is, uncommitted changes included. Links expire and can be revoked.

tesser share box_2c81d4    # prints a link
tesser review <link>       # the teammate opens it
Share a running branch

What it costs

A machine is billed by the second while it is awake, by size: small $0.045, standard $0.08, large $0.15, xlarge $0.29 an hour. Asleep it costs nothing.

The Free plan starts with $5 of credit and needs no card. Pro is $20 a month with $20 of usage included. Each plan caps how many machines can be awake at once (plan limits).

Pricing

Questions

  • As many as your plan has machines awake: 3 on Free, 10 on Pro, 50 on Max, and 250 on Ultra. Asleep machines don't count. A worktree uses a workbench for its tests plus one box per service it runs (plan limits).

  • No. The manifest lists your ports and the install and dev commands you already use, such as pnpm install and pnpm dev. There is no Dockerfile or devcontainer to write.

  • An idle workbench sleeps after 10 minutes and a dev server's box after 2 hours. A machine asleep for 16 hours is removed. Your code is on your laptop, so the next command makes a new one. tesser rm <box_id> removes one right away.

Get started

Install the CLI and follow the quickstart, or paste the prompt into Claude Code or Codex and let it set up your repo.

curl -fsSL https://tesser.sh/install | sh

Or set it up with your agent:agent setup guide