Architecture
Your browser connects.
Your computer runs the tools.
Shells, coding agents and dev servers run on the tlbx host. Your browser displays their output and sends your input. Closing the browser leaves those processes running.
Client
Displays terminals, files and app previews, and sends your input. Built with TypeScript and xterm.js.
Web server
Handles sign-in, sessions, uploads, Git status, app previews and APIs over HTTPS and WebSockets. Compiled with .NET Native AOT.
Process hosts
mthost runs terminals separately from the web server, so web-only updates keep their processes alive. mtagenthost runs Agent Controller sessions.
One workspace, shared project context
Agent sessions, terminals, files, Git and the Dev Browser work with the repositories and tools on your host. Follow an agent’s progress, inspect its changes and test the running app without leaving your ADE. Your existing editor can keep using the same files.
How the two session types work
mthost runs terminal sessions in native pseudoterminals (PTYs). mtagenthost connects to supported agents through their structured protocols. The browser shows either a terminal or a conversation with tools, code changes and approvals. Both share files, Git views, app previews and access controls.
Existing installs update in place
Older MidTerm installations update to tlbx while retaining their settings and data. Compatible executable and release-file names remain available. Updates are discovered through get.tlbx.ai.
Agents can use the workspace
The mt commands and APIs let agents read Git status, send prompts, inspect terminal output and test pages in the Dev Browser. Agents can publish progress and request input so other sessions can follow their work.
Remote access through tlbx Link
tlbx Link connects a browser to a registered host over an encrypted WebRTC DataChannel. It attempts a direct connection and uses an encrypted relay path when the network requires it. The host needs no inbound port forwarding. Signaling handles connection setup and presence; workspace traffic travels through the DataChannel.
Generate access files locally on the host after confirming the installation password. Link stores the public registration; private access keys stay in the connecting browser profile. Revoke or replace access at the host. Direct HTTPS over a trusted LAN or private VPN remains another way to connect.
Link currently requires the dev channel. The tunnel buffers HTTP request/response bodies up to 20 MiB and does not support streaming HTTP responses such as server-sent events. Use direct HTTPS for those workflows.