thurbox README

The project's README from github.com/Thurbeen/thurbox. As one markdown file: README.md.

Thurbox

thurbox

CI License: MIT Website Discord Quality Gate Status

Thurbox Demo

Thurbox runs coding agents side by side in one terminal. Each agent is a session that keeps working when you quit thurbox, and every pane of the interface is a Lua file you can change.

thurbox lists the sessions of every Fleet; each Fleet's runtime runs a session at a place

How Fleet works

Fleet is the engine under thurbox, and it orchestrates like Kubernetes. You declare what you want as resources; controllers make it so and write back what is.

You declare resources; the store keeps them; controllers run by fleet up observe the runtime and the forge, compare with the spec, act, and write the status back

thurbox is one client of this model. It keeps no database: every session in its list is a Task, and the agents it offers are the Fleet's harness profiles. Scripts drive the same Tasks with fleet apply, fleet send and fleet delete. Fleet's documentation covers every kind, every controller and one reconcile step by step.

Install

Linux / macOS:

curl -fsSL https://raw.githubusercontent.com/Thurbeen/thurbox/main/scripts/install.sh | sh

Windows (PowerShell):

irm https://raw.githubusercontent.com/Thurbeen/thurbox/main/scripts/install.ps1 | iex

The installer puts thurbox (the interface), thurbox-cli, fleet, runtime-mux, runtime-herdr and workspace-git on your PATH. You also need:

Fleet on its own needs no thurbox. The installer's fleet-only mode installs fleet, runtime-mux, runtime-herdr and workspace-git, and nothing else:

curl -fsSL https://raw.githubusercontent.com/Thurbeen/thurbox/main/scripts/install.sh | sh -s -- --fleet-only

On Windows:

& ([scriptblock]::Create((irm https://raw.githubusercontent.com/Thurbeen/thurbox/main/scripts/install.ps1))) -FleetOnly

Then run fleet init, fleet doctor and fleet up (Fleet's install).

cargo build --release in a clone builds every program from source. Homebrew, the AUR, Nix, winget, Chocolatey and uninstalling are on the Installation page. Homebrew, the AUR, winget and Chocolatey ship an older thurbox, without Fleet, and Nix gives thurbox and thurbox-cli only: install with the script.

First steps

fleet init                    # writes Fleet's config
fleet service install --now   # Fleet's manager, `fleet up`, as a user service
thurbox-cli doctor            # checks each Fleet, its runtime and its agents
thurbox

On Linux the install script runs the first two. thurbox never starts, restarts or sets up Fleet's manager: a user service runs fleet up (the unit). While none runs, the status line says which command starts it. thurbox draws the session list on the left and an agent terminal on the right.

  1. Ctrl+N opens the new-session flow: a place, a repository (with Alt+W for a worktree of its own), a name and a branch, then an agent.
  2. Talk to it. The right pane is the live agent CLI; every key goes to it.
  3. Ctrl+N again for a second agent. Ctrl+J / Ctrl+K move between sessions; the one you are not looking at keeps working.
  4. Ctrl+Q leaves the interface and stops nothing. Run thurbox again and both agents are still mid-task. fleet list task lists them from any shell.

F1 lists every key, and Ctrl+P is a command palette over the same actions. The tutorial walks through it with screenshots.

To follow a Fleet on another machine, run fleet service install --now there and list it in ~/.config/thurbox/settings.toml:

[fleets.laptop]
transport = "local"

[fleets.box]
transport = { ssh = "me@box" }
program = "/home/me/.local/bin/fleet"   # ssh does not read your login PATH

Where sessions run explains Fleets and places and shows how to set up the user service. [fleets] lists every key, the WSL form included.

Make it yours

Panes live in ui/mods/*.lua, the arrangement in ui/layout.lua, and F10 reloads both from disk. The interface directory ships an AGENTS.md, so from a session opened there you can just ask your agent:

Add a pane on the left with CPU and RAM usage. Move the search strip to the bottom and make the session column 30% wide.

The interface · Writing a pane · Mods

Documentation

thurbox.thurbeen.eu/docs is the manual: Fleet and its features, installation, tutorial, thurbox's features, keybindings, configuration, agents, the interface and architecture.

In this repository, docs/ covers the whole system: thurbox (docs/thurbox/), Fleet (docs/fleet/), the runtimes (docs/runtime/), where sessions run and the constitution.

Contributing

CONTRIBUTING.md is the full guide — the Nix dev shell, the just tasks, the test discipline, and the conventional-commit rules that decide what gets released.

git clone https://github.com/Thurbeen/thurbox.git
cd thurbox
nix develop          # or ./scripts/install-dev-tools.sh
just build && just test && just lint

Community

License

MIT — see LICENSE. Built on ratatui, tui-term, vt100 and tmux.

thurbox (Thurbeen/thurbox)

Searching Database…

What is this?Thurbox is a terminal UI that runs several coding agents side by side — Claude Code, Codex, Antigravity, opencode, aider, or any CLI you describe yourself — each in its own persistent session that keeps running after you quit the TUI.
Does this replace tmux, or sit on top of it?It sits on top of a terminal multiplexer: thurbox orchestrates sessions but needs tmux (or psmux/RMUX as alternatives) running underneath to keep agents alive between restarts.
How do I get it running?Run the install script on Linux/macOS or the PowerShell command on Windows, which installs both the thurbox TUI and the thurbox-cli headless binary with checksum verification. It's also packaged for Nix/NixOS, Homebrew, the AUR, winget and Chocolatey.
What do I need installed before running it?tmux 3.2+ (or psmux 3.3.7+ on native Windows, or RMUX 0.10.0+ as an opt-in alternative), git, and at least one coding-agent CLI like Claude Code or Codex.
Is uninstalling it as simple as deleting the binary?No — just removing the binaries leaves sessions running in the multiplexer and leftover hooks/skills wired into your coding agents' own config directories, so the dedicated uninstall steps need to be followed.
Does it work on Windows too, or just Linux/macOS?It supports Linux, macOS, Windows (via PowerShell install and psmux as the multiplexer), and Nix/NixOS with a flake module; it can also drive agents running remotely over SSH or inside WSL.
Does work keep running if I close thurbox or restart my laptop?Yes — every agent runs inside a persistent multiplexer session that survives crashes, TUI restarts and reboots; closing thurbox with Ctrl+Q doesn't kill anything.
Can I run agents on another machine from the same session list?Yes, hosts are declared in hosts.toml and remote SSH or WSL sessions show up in the same list under their own host while the TUI stays local.
How do I customize the interface?Every pane and the session list are plain Lua files under ~/.config/thurbox/, editable, removable or replaceable; F10 reloads them live, and a built-in ui-skill extension even lets you ask the running agent itself to rearrange the UI for you.
What is thurbox-cli for?It's a headless companion binary that creates, drives, captures and tears down sessions from a script, reading/writing the same database the TUI uses.
Can multiple repos share one agent session?Yes — one session can span several repos, each placed on its own git worktree of a shared branch, so agents never collide over the same checkout, and Ctrl+S syncs them with their base.
Creator
Thurbeen
Size
507.4 MB
Stars
120
Age
9mo
Commits · 90 Days