tm

terminatr

One terminal for all your coding agents.
A coordinator you talk to, threads that do the work.

You talk to one coordinator. It splits the work into tasks and hands each to a thread: an agent in its own git worktree that pushes a branch and reports back. tm, a single binary, keeps every agent running in a background server when you close the terminal, and its dashboard shows what each one is doing and what waits for you. All progress lives in plain markdown under ~/.terminatr/projects/, so clearing an agent's context loses nothing.

macOS 13+ · Linux · Windows · one binary, tm · MIT · Claude Code and Codex

 PROJECTS                      1   │ tm dashboard                                                                                                        ● server ok · 1 session
 ■ demo             1              │ demo ───────────────────────────────────────────────────────── ● active — S to deactivate │ T1 Fix the login
 └─ coordinator         ·          │  coordinator                         —           not running; enter starts it  1 inbox    │ ○ idle
    └─ T1 Fix t…  50%   ○          │  T1 Fix the login                    ○ idle      report new  50% 1/2 ▸ Fix  4m  PR #7  t-…│ ──────────────────────────────────────────────
                                   │  tasks: 0 need you · 1 in motion · 0 on deck                                              │ project   demo
                                   │ OTHER SESSIONS ───────────────────────────────────────────────────────────────────────────│ thread    t-0001
                                   │  none outside the projects (1 in them)                                                    │ session   s-3
                                   │                                                                                           │ usage     22.6k tokens, no cost
                                   │                                                                                           │ progress  ▰▰▰▱▱ 50% 1/2
                                   │                                                                                           │ now       ▸ Fix
                                   │                                                                                           │ updated   4m ago
                                   │                                                                                           │ PR        https://github.com/o/r/pull/7
                                   │                                                                                           │ report    1, new · for the coordinator
                                   │                                                                                           │
                                   │                                                                                           │ steps 1/2
                                   │                                                                                           │   ✓ 1 Reproduce
                                   │                                                                                           │   ○ 2 Fix
                                   │                                                                                           │
                                   │                                                                                           │ enter attach
                                   │                                                                                           │
                                   │                                                                                           │
                                   │                                                                                           │
                                   │                                                                                           │
                                   │                                                                                           │
                                   │                                                                                           │
                                   │                                                                                           │
 ───────────────────────────────── │                                                                                           │
 demo · active                     │────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
 1 thread · coordinator not runni… │ ≡ menu · enter attach · S deactivate · A project · T tasks · I inbox · , settings · ? help · prefix+q quit
 tab sidebar · ? help              │
The dashboard: projects on the left, each with its coordinator and threads, the selected thread's task, steps and PR on the right. A real capture from tm's end-to-end tests.

01 What it does

02 Screens

Not mockups: these are tm's own screens, the golden captures its end-to-end tests compare against, with the colours put back.

 PROJECTS                      1   │ tm dashboard                            ● server ok · 1 session
 ■ demo             0           ⚑  │ NEEDS YOU 1 ───────────────────────────────────────────────────
 └─ coordinator         ·          │  T1 Write the README     ◆ review    ▱▱▱▱▱  0/2
                                   │ demo ────────────────────────────── ● active — S to deactivate
                                   │  coordinator             —           not running; enter starts…
                                   │  tasks: 1 needs you (T lists them) · 1 in motion · 0 on deck
                                   │ OTHER SESSIONS 1 ──────────────────────────────────────────────
                                   │  s-3                 /bin/sh               ▷ running   4m          /
                                   │
                                   │
                                   │
                                   │
                                   │
                                   │
                                   │
                                   │
                                   │
                                   │
                                   │
                                   │
 ───────────────────────────────── │
 demo · active                     │────────────────────────────────────────────────────────────────
 0 threads · coordinator not runn… │ ≡ menu · enter open · S deactivate · A project · T tasks · I i…
 tab sidebar · ? help              │
A task waits for your review, so it sits on top under NEEDS YOU, and the sidebar flags its project.
 PROJECTS                      2   │
 ■ beta             0              │
 └─ coordinator         ·          │
 ■ demo             1              │
 └─ coordinator         ·          │
    └─ t-0001 S…        ○          │
                                   │
                                   │
 ───────────────────────────────── │
 beta · active                     │
 0 threads · coordinator not runn… │
 tab sidebar · ? help              │
The projects sidebar, on every screen.
│ demo
│ 1 needs you · 1 thread
│
│ NEEDS YOU ───────────────────────────
│ T3 ▲ blocked Get the keys
│
│ THREADS ─────────────────────────────
│ t-0001 T1 ○ idle 1/2
│   ▸ Fix it
│
│ ON DECK ─────────────────────────────
│ T2 ○ ready Write the docs
│
│
│
│
│
│
│
│
│
│
│
│
│
│
│
│
────────────────────────────────────────
ix+? help · prefix+d dashboard · ≡ menu
Beside the coordinator: what needs you, the threads, what is on deck.
│ T1 Fix the login
│ ● started · click to open
│
│ STEPS ───────────────────────────────
│ ▰▰▱▱▱ 33% 1/3
│ ✓ Find the bug
│ ◐ Fix it
│ ○ Test it
│
│ THREAD ──────────────────────────────
│ thread    t-0001 ○ idle
│ usage     22.6k tokens, no cost
│ now       ▸ Fix it
│
│ branch    tm/demo/t-0001-fix-the-login
│ …/worktrees/demo/t-0001-fix-the-login
│ active    4m ago
│
│
│
│
│
│
│
│
│
│
│
────────────────────────────────────────
ix+? help · prefix+d dashboard · ≡ menu
Beside a thread: its task, steps, branch and worktree.

03 Mods

Make tm yours. A mod is a folder with a mod.toml and, for code, a TypeScript file. It can add a card to the dashboard, a column to the sidebar, a tab to the project popup, a full view or a key. tm draws what it asks for, runs it in a sandbox, and keeps the actions to itself: a mod can offer to clear a session or answer a question, and tm asks you before anything runs.

 PROJECTS                      1   │ tm dashboard                                                                                                           ● server ok · 2 sessions
 ■ demo        2                   │ demo ──────────────────────────────────────────────────────────── ● active — S to deactivate │ T1 Fix the login
 └─ coordi…             ·          │  coordinator                           —           not running; enter starts it  3 inbox     │ ○ idle
    ├─ T1    50% ☐ 2%   ○          │  T1 Fix the login                  ○ idle      2%     report new  50% 1/2 ▸ Fix it  4m  PR #…│ ───────────────────────────────────────────────
    └─ T2        ☐ 4%   ○          │  T2 Write the docs                 ○ idle      4%     4m  t-0002                             │ project   demo
                                   │  tasks: 0 need you · 2 in motion · 0 on deck                                                 │ thread    t-0001
                                   │ OTHER SESSIONS ──────────────────────────────────────────────────────────────────────────────│ session   s-3
                                   │  none outside the projects (2 in them)                                                       │ usage     22.6k tokens, no cost
                                   │ ▾ Context nearly full · Context gauge ────────────────────────────────────────────────────── │ progress  ▰▰▰▱▱ 50% 1/2
                                   │   No session is past 80% of its context.                                                     │ now       ▸ Fix it
                                   │   Clear starts a fresh conversation: the project's state is in its files, so nothing is lost.│ updated   4m ago
                                   │ ▾ Cost · Cost card ───────────────────────────────────────────────────────────────────────── │ PR        https://github.com/o/r/pull/7
                                   │   today   $0.00  25.0k tokens                                                                │ report    1, new · for the coordinator
                                   │   7 days  $0.00                                                                              │
                                   │   ▁▁▁▁▁▁▁                                                                                    │ steps 1/2
                                   │   Thread          Tokens     Cost                                                            │   ✓ 1 Reproduce the bug
                                   │   Write the docs   25.0k    $0.00                                                            │   ○ 2 Fix it
                                   │   Fix the login    22.6k  no cost                                                            │
                                   │                                                                                              │ enter attach
                                   │                                                                                              │
                                   │                                                                                              │ ▾ LAST REPORT ────────────────────────────────
                                   │                                                                                              │   report 1  Fixed the login redirect.
                                   │                                                                                              │   next  Merge the PR
                                   │                                                                                              │   no ## Check
 ───────────────────────────────── │                                                                                              │
 demo · active                     │────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
 2 threads · coordinator not runn… │ ≡ menu · enter attach · S deactivate · A project · T tasks · I inbox · , settings · ? help · prefix+q quit
 tab sidebar · ? help              │
Three example mods on the dashboard: Context gauge's Ctx column and card, Cost card's tokens per thread (this one runs Codex on a plan, so no dollar cost), and Report glance's section under the selected thread. The sidebar's PR/CI column (☐ checks running) is built in.

Where a mod shows up

Safe by design

Built in

Some of tm is mods already, drawn the same way yours are: the project popup's Tasks tab, the sidebar's PR/CI column, the Memory tab, the default task templates, and the default theme, icons, keymap, layout and guard policy. The Tasks tab, PR/CI column and Memory tab are in the examples too: to change one, copy it under another id, install the copy and turn the built-in one off.

Examples to start from

modwhat it does
standupA command: S, a ≡ menu entry and tm mod run, opening a full view of the project's tasks.
context-gaugeHow full each session's context is, as a column, and a card of the ones near the limit, where C clears one (tm asks first).
cost-card*A dashboard card: tokens and estimated cost per thread, today and over 7 days, with a sparkline.
notify-meAn OS notification when an agent asks you something or a task reaches review, with buttons that answer, accept, send back or show.
memory-searchAn agent tool that finds the matching lines in the project's memory.
report-glancePanel sections: the selected thread's latest report under its details and beside its pane, and who reported in the coordinator's panel.
thread-timelineA full view of each thread's state changes over the last hours.
vim-keysA keymap, no code: g and G for the ends of a list, Ctrl+U and Ctrl+D for pages.
nordA theme and an icon set for dark and light terminals.
gitlabA code host: GitLab merge requests and pipelines as tm's PRs, through glab.

* For a Claude Code thread the card shows its tokens with no cost: Claude's transcript, where tm reads them, has no cost.

Try one

git clone https://github.com/theclifmeister/terminatr
tm mod install https://github.com/theclifmeister/terminatr/tree/v0.46.0/examples/mods/standup

Then turn it on in the Mods tab (, then 3) or with tm mod enable standup. Or skip the shell: in the Mods tab, e lists the examples and i installs the selected one. tm mod install also takes a folder, a git URL or a repository's subfolder (<git-url>//<folder>@<tag>). The examples have one of each kind.

Write your own

tm mod new my-mod --kind column
tm mod dev my-mod
tm mod test my-mod
tm mod logs my-mod

new writes a scaffold with the types and a test fixture (--kind also takes hook, theme, icons, keymap and rules). dev runs it live and restarts it on each save, test replays its fixtures, logs shows what it printed.

04 Servers working together

Pair your tm server with a colleague's, or with your own on another machine. Both dial out to a relay you run, so neither machine needs an open port. A paired server sees the projects you choose to share, can watch or type into their agents' panes if you let it, and its coordinator can write to yours once you both link the projects.

Pair two servers

Once, each of you in your own terminal, or in the Network popup (N): P shows a code, J takes one.

On one server

tm peer pair --relay relay.example.net --as mini

Prints a code like relay.example.net/7Q4M-K2XD-9HVA-PT3C. It works once, for 10 minutes. Pass it on yourself, in a chat or a call; the relay never sees it.

On the other

tm peer join relay.example.net/7Q4M-K2XD-9HVA-PT3C --as studio

Both terminals show Check: 418 207. Answer y on both sides only when the digits match; different digits mean someone is in between.

Link two projects

tm project link acme mini/api --request

Sets your side and asks mini's user to link back. They accept or decline it there, in api's Messages tab; the answer comes back to your inbox. Or link from the project's Settings tab, under Linked projects.

Let it see your panes

tm peer panes studio write

view lets studio watch without typing, off shows nothing. There, tm attach mini/s-41 or the sidebar's mini group opens one.

Run your own relay

The relay is tm relay serve, from the same binary, on a host both servers reach: a small VPS, or a NAS at home. It stores nothing and only copies an encrypted stream between the two servers. It can see which servers connect and when, never names, projects, messages or panes. A bad relay can cut your link; it can't read it, change it or pair a stranger in.

A Linux VPS with a domain

sudo ~/.local/bin/tm relay install --domain relay.example.net

Point the name at the host and open port 443. It installs a sandboxed systemd service, gets its own Let's Encrypt certificate and renews it, updates itself daily, and ends with the tm peer pair line to use.

An IP address no domain

sudo ~/.local/bin/tm relay install --ip 203.0.113.5

For a public IP, a home server on your LAN or a tailnet address. The relay makes its own key and a self-signed certificate; servers check it by that key's pin, carried in its address (wss://203.0.113.5#sha256=…) and in the pairing code, so nobody types it.

Docker VPS or NAS

curl -fLO https://github.com/theclifmeister/terminatr/releases/latest/download/tm-relay-docker.tar.gz
tar xzf tm-relay-docker.tar.gz && cd tm-relay-docker

The image is ghcr.io/theclifmeister/tm-relay, for amd64 and arm64, running as a non-root user. The folder has three compose files: compose.selfsigned.yaml for an IP address, compose.acme.yaml with Caddy getting the certificate, and compose.yaml for certificate files you already have.

On a NAS port 8443

mkdir state && sudo chown 65532:65532 state
echo RELAY_IP=192.168.1.20 > .env
docker compose -f compose.selfsigned.yaml up -d

Runs on 8443, so the NAS keeps its own 443; docker compose -f compose.selfsigned.yaml logs relay shows the address to pair with, wss://192.168.1.20:8443#sha256=…. Back up state/: it holds the key. Where the folder is your own user's (Synology's File Station), skip the chown and add RELAY_USER=uid:gid to .env. Synology Container Manager, QNAP Container Station, Unraid and TrueNAS can run the same file as a project.

The operations guide has the rest: certbot or your own reverse proxy, limits, upgrades, and what each server's link status means.

05 Install

macOS 13+, Linux (glibc 2.28+) or Windows, with Claude Code or Codex. Pick your system.

Linux or macOS

curl -fsSL https://github.com/theclifmeister/terminatr/releases/latest/download/install.sh | sh

Installs tm into ~/.local/bin and checks the download's sha256.

Windows PowerShell

irm https://github.com/theclifmeister/terminatr/releases/latest/download/install.ps1 | iex

No admin rights needed. Windows support is early.

macOS or Linux, Homebrew

brew tap theclifmeister/terminatr https://github.com/theclifmeister/terminatr
brew trust theclifmeister/terminatr
brew install terminatr

Newer Homebrew wants you to trust a tap's formula once.

Then

tm

Then press n for a new project and enter to start its coordinator. Ctrl+B d brings you back to the dashboard, ? lists every key. The README has the same commands. Running Codex? Using Codex covers the setup.