Close the window. Your agents keep working.

Ghostherdr is a terminal for macOS and Linux that keeps every tab running in the background. Quit, reopen, and Claude Code, Codex or whatever else you had going is where you left it, or further along. You can connect to the same tabs from another computer, or from your phone.

Version 0.1.0. For Apple silicon Macs on macOS 13 or later, and Ubuntu 24 on ARM64. All downloads and install notes

The Ghostherdr window. A sidebar lists three workspaces: portfolio-viewer, remux and ghostherdr. The ghostherdr workspace has three tabs, and the open one shows Codex finishing a commit and push.
Three projects in the sidebar, three tabs in this one, an agent in each.

What it does

Quit, and nothing stops

Each tab is held by a background session, not by the window. Close Ghostherdr in the middle of a long agent run and the run carries on. Open the app again and you get the same workspaces, the same tabs, and everything the agent printed while you were away.

Pick it up from somewhere else

Because the tabs live in that background session, you can connect to them from a different machine. Start a job at your desk, check on it from a laptop, answer an agent's question from your phone.

For a phone, there's an icon in the window that shows a QR code. Scan it with the phone app and your tabs are there.

One workspace per project

Projects sit in a sidebar and each has its own row of tabs, so six agents across three repositories stay easy to find. On a Mac, ⌘N opens a workspace and ⌘T opens a tab. ⌘ with a number jumps to a workspace, ⌃ with a number jumps to a tab.

macOS and Linux

The same app on both. Each terminal is drawn by Ghostty's engine, the one behind the Ghostty terminal.

What's underneath

The background session is herdr, a server that keeps terminals alive for coding agents. On its own, herdr is a text interface that you run inside another terminal. Ghostherdr puts a window around it, with Ghostty drawing each tab. herdr is a separate install, so set it up first.

herdr running as a text interface inside a terminal: a text sidebar lists the same three spaces and four agents, next to a shell prompt.
herdr in a terminal
The same three projects in the Ghostherdr window, with a workspace sidebar and a tab bar.
The same sessions in Ghostherdr

If you already use

tmux or zellij

Same idea: a server holds your shells so they outlive the terminal. Here you drive it with tabs and a sidebar instead of a prefix key and a status line.

herdr

Ghostherdr is a graphical front end for it. Your spaces become the sidebar and your tabs become tabs.

cmux

Ghostherdr follows cmux's design. Unlike cmux it wraps herdr, so you can connect to your sessions remotely, and it runs on Linux as well as macOS.

Download Ghostherdr

For macOS and Linux.

All downloads and install notes