Agent multiplexer

Polytrail

Three computer-agent terminals on one screen, in the smallest board that embeds one.

Loading Board demo

Agent Multiplexer

Three agent terminals on one screen, and the smallest working example of building a computer-agent terminal into a board.

Each pane is a live session with a CLI of its own: Claude Code, Codex CLI, Pi, OpenCode, whatever is installed on your computers. The sessions know nothing about each other.

Across machines

A pane works the same wherever its agent lives: one on a laptop, one on a build server, one on a machine you connected five minutes ago. The header lists every agent you have, labelled with the computer it runs on, and a pane switches between them without reloading the board. An agent that stops to ask you something stops in its own pane, with the other sessions untouched.

Inside your own board

A pane takes a region of the layout and binds a session to it, so the terminal sits inside the page instead of floating over it. The grid, the labels and the buttons are ordinary layout and yours to replace: a terminal beside an editor, under a dashboard, or in a sidebar next to the file it is working on.

Two things carry over when you take it:

  • A session belongs to a pane and an agent together. Switching a pane to another agent leaves the first conversation intact and switching back resumes it, so the same agent in two panes is two independent conversations.
  • A disconnected pane keeps its history. Put one away in the morning and pick it up next week.

The layout

Panes sit on a grid described in the board's layout file: columns, rows, the gap, and for each pane a label, a position and a starting agent. Two panes or six, one full-height terminal beside a stack of two, one large pane and a strip of small ones. Editing that file rearranges the board while it is open, so you can tune the grid in front of you or describe the arrangement you want to an agent.

What it needs

One computer agent per pane, chosen during install. Any pane can be switched to another agent afterwards, and with no computer agent connected the panes open empty and say so.