Survives bad networks
The workspace runs in tmux on your server. Close the tab, lose signal or switch from Wi-Fi to cellular and it is still there; reconnecting re-attaches and repaints.
A self-hosted web terminal for AI coding agents
Workspaces live in tmux and survive dropped connections. No app required, no subscription.
Each workspace shows what its agent is doing: Needs you, Working, Error, Done or Idle.
01 / Why
The workspace runs in tmux on your server. Close the tab, lose signal or switch from Wi-Fi to cellular and it is still there; reconnecting re-attaches and repaints.
Tabs per workspace, a key row for Esc, Ctrl and arrows, and a banner when an agent is waiting for you.
The browser talks to your server over an encrypted WebRTC data channel on one UDP port. There is no relay of ours in the middle, and our free directory only maps your server's key to its address.
02 / How it works
You start a long agent task at your desk, leave, and finish it from the train.
Run one command on the Linux machine that will run your agents. When it finishes it prints a QR code and a link.
Chapter 1: InstallOpen the app, log in with GitHub, tap Add Server and scan the QR code, or paste the link. The first person to connect becomes the owner, and nobody else can.
Chapter 2: Connect your phoneTap + New, pick the folder, pick an agent and tap Create. When the agent needs you, a banner names the workspace and offers its choices.
Chapter 3: First workspace03 / Install
On the Linux machine that will run your agents: a VPS or a home server, x86_64 or aarch64, with systemd.
sudoRun on the machine that will run your agents
Workspaces run directly on the machine as your own user, so the app gets a shell with your repositories, keys and agent logins. Choose Docker if that is more access than you want.
Workspaces run inside a container that cannot see the rest of the machine. Docker is installed if missing.
host-user or host to the end of the command. It asks for sudo. Where your agents runnetworkingMode=mirrored, otherwise other devices cannot reach it. Detailscurl -fsSL https://github.com/termenbox/termenbox/releases/latest/download/uninstall-verified.sh | sudo sh
04 / Connections
The browser talks to your server over a WebRTC data channel on one UDP port.
The channel is encrypted (DTLS) and the browser pins the server's fingerprint. Your terminal traffic never touches our servers: the free directory only maps your server's public key to its address.
Yes. Install Termenbox on the machine where the agent runs, then use the app as the terminal: start the agent in a workspace, answer its questions from the banner, and come back later to the same workspace. Supported browsers: iOS Safari 16.4+, Chrome on Android 111+, current Chrome, Firefox, Edge and Safari on desktop.
The persistence is tmux's: the server keeps the workspace and each connection attaches to it. What Termenbox adds is a browser client made for touch, a connection that re-races its paths after a network change, and notifications. It is not an SSH client and does not need one.
No. It goes from your browser to your machine, encrypted, and the browser pins the server's fingerprint. Only a signed record (the server's public key and address) goes through the directory, and LAN addresses never do. If you connect a home server the assisted way, the relay is a Cloudflare TURN key in your own account, not ours. How it is kept safe
On the same network as your phone, no: scan the QR and it connects over the LAN. On iPhone this depends on Safari's Local Network permission, which we have not finished testing; the link and QR work wherever the phone can reach the machine. Away from home you need one reachable UDP port, or an overlay such as Tailscale. A server behind carrier-grade NAT or a router you cannot change can be reached from its own network, over an overlay, or the assisted way through a free Cloudflare account of your own. The app lists every path it tried and what to fix. How it connects
Only the GitHub account that claims the server first, from a browser you have enrolled. Everyone else is refused.
The default install runs workspaces directly on the machine as your own user, so the app gets a shell with your repositories, keys and agent logins. Choose the container path if that is more access than you want. Where your agents run
Yes. When a Claude Code workspace asks for you, finishes or fails, the app shows it in a banner and the Inbox. To get a notification on a phone that is not looking at the app, run termenbox-server --setup-push once and turn notifications on in the app; on iPhone the app must be added to the Home Screen first (iOS 16.4+). A notification only says that a workspace needs you and never carries what the agent wrote. Notifications
Nothing beyond the machine you run it on. There is no subscription, and using Termenbox never requires installing an app: the browser is the reference client. Optional Linux, Windows and Android apps add a tray count, reserved keys and closed-app wake-ups. The optional apps
Free to use under a short end-user licence, with no subscription. The hosted client and directory run on Cloudflare's free tier, and the server needs 512 MB of RAM and one vCPU.