# Rex+Dot: A Meta-Meta-Harness

> Source: <https://fugue-labs.ai/blog/the-terminal-pane-was-the-handoff/>
> Published: 2026-12-04 06:05:10+00:00

**Recommendation:** Keep each coding harness in its own persistent terminal pane and have a coordinator relay messages between panes instead of restarting agents, so a reviewer or verifier can be added mid-task without losing the editing agent's state.
More in the playbook "Designing agent systems": <https://wpnews.pro/playbooks/agent-architecture>

# Rex + Dot: A Meta-Meta-Harness

A coworker and I built a terminal multiplexer from scratch at the hedge fund where I work. From chat, I could direct the agents already on my workstation. I could leave a build running, ask another agent for a review, and come back to the original session. The public demo below uses Rex and Dot on my Mac. Neither was part of the system we built at work.

[Terminus](https://www.tbench.ai/news/terminus) gives a model a terminal to solve a [Terminal-Bench task](https://arxiv.org/abs/2601.11868). I wanted to give a coordinator the same view I get at my desk: several live sessions, each with its own tools and state.

## The same sessions, two ways to steer

If you use tmux, you already know how to leave a process running and come back to it. This adds a second operator. Dot decides which pane to read or prompt. Rex carries the input and output. The coding harness keeps its own state. Dot can bring in a reviewer without restarting the agent making the edit, and I can sit down and take over at the keyboard. That’s the meta-meta-harness: a coordinator over live harnesses, not a new runtime for them.

## One run, three harnesses

I tried it on a small Rust ledger. An agent built with [Gollem](https://gollem.fugue-labs.ai/), my Go agent framework, suggested an overflow case. Claude Code added a repeat of the same invalid event. Codex wrote the regression. Dot relayed the messages through Rex, including Codex’s answer back to the Gollem agent. The test failed on the broken ledger: it called the second attempt a duplicate even though the first failed. The fix passed all eight tests in debug and release. [See excerpts from the exchange.](three-harness-relay.png)

## What this looks like at work

The ledger proves the wiring. It undersells the setup. The system my coworker and I built is how I do roughly 100% of my job now. It’s much more effective when the work is already spread across terminals. I can ask for triage, leave healthy processes alone, and start a separate investigation without taking over the terminal that found the problem.

Here’s the kind of request I mean: “Triage what’s running. Leave the healthy panes alone. Open Claude in a new pane and have it use Rex to investigate the blocker.” I ran that on my Mac in a disposable session. The build was green, docs were waiting for review, and the queue had a retry bug. Dot opened Claude in Rex. Claude read the same panes and opened a second Claude as a reviewer. The reviewer used Rex to open a verifier. It reproduced two completions for one job and verified that counting unique job IDs gave one. [See the run.](nested-rex-trace.txt)

The useful part is that the agent I delegate to can delegate the same way. Nothing had to go back through me to open the next pane. This run stopped at two agent handoffs. Each agent could use only the demo panes and the tools it needed.

Disclosure: I made this entire post the same way. I gave direction and corrections from chat. The agents wrote, reviewed, and revised it, and Dot published it through Rex.
