VM Bridge

T3 Code and OpenCode agents on cloud VMs

Pair T3 Code once, or run vb opencode in a repository. The agents work on VMs from your provider, which sleep when idle and wake on your next message.

Deploy to Cloudflare
T3 CodeMacBook
T3 CodeiPhone
:3774
Click a VM to sleep or wake it

Setup takes four steps

Run one executable on macOS or Linux. After the first command, all configuration happens in the browser.

01
Run VM Bridge

Run vmbridge and open the setup link it prints to choose a dashboard password. It keeps its data in ~/.vmbridge and serves /dashboard on port 3774.

02
Choose a provider

Add a key for boxd, Instabox, Daytona or six more. Then connect GitHub, sign in your agents, and set the VM size and idle timeout.

03
Pair T3 Code or OpenCode

Paste a pairing link from Settings, Devices into T3 Code as a remote environment, or run vb opencode in a repository. Each device gets its own token.

04
Open a repository

VM Bridge clones it onto a VM with room, or makes a new VM with T3, Codex, Claude Code and OpenCode when none has room.

OpenCode here, the agent on a VM

Run vb opencode in a repository. OpenCode opens in your terminal, and the agent works in its own worktree on a VM.

  • The sidebar shows the branch, its pull request with checks and review, and the VM it runs on.
  • Dev servers the agent starts on the VM open on localhost.
  • An idle VM sleeps, and your next prompt wakes it.
  • Close OpenCode and the worktree goes, unless it holds unpushed work. vb opencode resume opens it again.
OpenCode in a terminal, with the VM Bridge sidebar showing the repository, branch, VM and its state

Awake only when in use

VM Bridge tracks open clients, running turns, pending approvals and OpenCode agents. When a VM sits idle, it saves the threads and puts the VM to sleep.

Online
Idle
Asleep
Waking

VM Bridge saves each thread and pauses, stops, or checkpoints the VM. Threads stay readable in T3 Code.

t3 code / Hello-WorldAsleep
Add rate limiting to the login route
Limited POST /login to 10 requests a minute per IP in src/routes/login.ts. Added 3 tests, and the auth suite passes.
Split the invoice parser out of billing.ts
Moved parseInvoice and its helpers to src/invoice-parser.ts and updated 6 imports. Typecheck and all 24 billing tests pass.
The VM is asleep. Showing the saved copy.

One connection, routed per project

To T3 Code, VM Bridge looks like a single T3 server. It keeps one connection to each awake VM, routes calls by project or thread, and answers local reads itself.

1 ms

Config, the project list, and sleeping threads come from VM Bridge in about 1 ms.

server.getConfig
orchestration.getThreadProjection
156 to 320 ms

Messages, file browsing, and Git status go to the thread's VM, about 160 to 320 ms away.

filesystem.browse
orchestration.dispatchCommand

Ten supported sandbox providers

Use your own accounts and API keys, and add several providers at once.

boxd
Instabox
Daytona
Boat
Railway
E2B
Freestyle
Superserve
Kubi
Vast.ai

A web dashboard behind one password

Inspect VMs, request logs, and spending at /dashboard. The API never returns saved secrets, and logs never store message text or tokens.

Your devices, VM Bridge, and each VM with the repositories on it and its state.
Your devices, VM Bridge, and each VM with the repositories on it and its state.

Nine commands

Run VM Bridge in a terminal or as a login service. It answers on this machine and Tailscale, and on your local network once you turn it on.

zshtry: help
$

VM Bridge is a free, open source server that runs T3 Code and OpenCode agents on cloud VMs from your own provider. Repositories share VMs that have room, and VM Bridge makes a new VM only when none does. Idle VMs sleep and wake when you send a message.

One executable for macOS and Linux

One command puts the server, dashboard, and CLI in ~/.local/bin. vmbridge update installs new releases.

$ curl -fsSL https://raw.githubusercontent.com/vkpdeveloper/vmbridge/main/install.sh | sh
Read the docsGitHub
awake