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.
Setup takes four steps
Run one executable on macOS or Linux. After the first command, all configuration happens in the browser.
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.
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.
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.
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.

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.
VM Bridge saves each thread and pauses, stops, or checkpoints the VM. Threads stay readable in T3 Code.
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.
Config, the project list, and sleeping threads come from VM Bridge in about 1 ms.
Messages, file browsing, and Git status go to the thread's VM, about 160 to 320 ms away.
Ten supported sandbox providers
Use your own accounts and API keys, and add several providers at once.
Daytona
E2B
FreestyleA 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.








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.
Questions
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.
VM Bridge supports boxd, Instabox, Daytona, Boat, Railway, E2B, Freestyle, Superserve, Kubi and Vast.ai. You can add several at once, pick a default for new VMs, and send a repository to a given provider.
VM Bridge is free and open source under the MIT license. You pay your cloud provider for the VMs, and idle VMs go to sleep so they stop using compute.
A VM goes to sleep after it has been idle for a set time, 5 minutes by default, with no agent turn or OpenCode agent running. When you send a message in one of its threads, or a prompt from OpenCode, VM Bridge wakes the VM and then delivers it. Waking takes about 6 to 16 seconds on most providers and about 45 seconds on Railway.
On the machine that runs VM Bridge, in ~/.vmbridge, readable only by your user. Provider keys, the GitHub token and agent sign-ins stay there, and the dashboard never shows a saved secret again.
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