On October 5, 2026, Superlogical, the company Ghostty creator Mitchell Hashimoto co-founded, began inviting people to test Rex, a terminal built around sessions that outlive the window. On October 30, herdr's new desktop app reached the Hacker News front page, seven weeks after herdr raised a $6M seed. In between, a new escape sequence called OSC 7501 went from a spec on Superlogical's docs site to shipping in Claude Code, Codex and opencode, and kitty added it on November 3.
If you run more than two or three coding agents at once, you already know the problem these tools solve. The agents are fine. Keeping track of them is not. One has been waiting ten minutes for a permission prompt you didn't see, another finished while you were reading a diff, and the tab bar is a row of identical shell titles from three different projects.
This guide covers the terminal side of that problem: multiplexers that run inside your terminal, the session managers people build on tmux and Zellij, and the native apps where the multiplexer and the terminal are the same program. It leaves out the desktop apps built around one git worktree per task, such as Orca and T3 Code. They solve a neighboring problem in a different shape.
The short version: what separates these tools is no longer whether agents keep running when you close the window. Nearly all of them do that now. The differences are how each one groups your work, where it learns an agent's status, what survives a reboot, and how it reaches other machines. Then there's who pays for it. On status, the field is converging quickly on OSC 7501, and tmux is the notable gap, though a patch is now in review.
Four things that actually differ
How it groups your work
Every tool here has panes and tabs. What matters is the layer above them.
tmux has always had it: a session holds windows, which hold panes. Make one session per project and the grouping exists. The catch is visibility. The status bar shows the windows of the session you're in and nothing else; the tree of every session and its windows lives behind prefix s or prefix w. If you keep two or three tabs per project, tmux shows you one project at a time and a flat list of windows within it.
herdr's sidebar made that layer visible: machine, then workspace, then tab, then pane, all on screen at once. That structure, more than the TUI itself, is what sets herdr apart from tmux. The table further down shows how each tool handles it.
Where agent status comes from
There are three ways a multiplexer can know that an agent is waiting on you.
- Reading the screen. Capture the pane and match text such as "esc to interrupt" or a known permission prompt. It needs no cooperation from the agent and breaks whenever an agent rewords its UI.
- Agent hooks. Install a hook into Claude Code, Codex and the rest, so the agent calls the multiplexer on each state change. Accurate, but someone has to write and maintain an integration for every agent.
- OSC 7501. The agent writes its state to the terminal as an escape sequence, and any terminal or multiplexer that understands it can display it. No integration per agent, no guessing.
Most actively maintained tools now lead with hooks or OSC 7501 and keep screen-reading as a fallback.
What survives
Closing the window is mostly solved: every multiplexer in this guide except cmux keeps agents running when the client goes away, and cmux can if you run tmux or Zellij underneath it. Updates are mostly solved by the daemon-based tools, which keep terminals alive while the client restarts. A reboot is where they all stop. None of them brings back the actual processes. The best case is the layout and working directories coming back, plus the agent's conversation resumed through its own session ID. herdr, tuios and cmux do versions of that.
Other machines
The newer tools treat remote machines as part of the same window rather than a separate SSH session with its own multiplexer. herdr connects to saved SSH machines and tuios's daemon reaches sessions on your other machines; Rex uses Tailscale or a forwarded socket; Zellij can attach to a remote session over HTTPS or in a browser.
OSC 7501, the part that just changed
Superlogical published the Program Status Protocol in Rex's documentation in early October. A program writes OSC 7501 ; state=... to report one of a handful of states: idle, working (optionally with a progress percentage), blocked with a reason (permission, a question, or authentication), done, or error. A terminal answers a query sequence so programs can check for support. The spec is written for terminals in general, not for Rex.
Adoption since then has been fast. Claude Code added it in v2.1.295 in early October ("terminals that implement it can show whether Claude Code is working, waiting on you, or done"), and Codex followed in rust-v0.163.0 on October 15. The community tracker Are we OSC 7501 yet?, last updated November 4, lists the state of the rest:
| Shipped | Merged or in progress | Not yet | |
|---|---|---|---|
| Coding agents | Claude Code, Codex, opencode, pi, Amp, Crush, goose, Factory Droid, Kiro | Gemini CLI, Qwen Code (PRs open) | Cursor CLI, Kilo Code |
| Multiplexers | Rex, cmux, herdr-core, tuios | Zellij (merged, unreleased), herdr TUI and tmux (PRs open) | screen |
| Terminals | kitty 0.50, iTerm2 | libghostty-vt (merged), Tern (announced) | Ghostty, WezTerm, Warp, VS Code |
Two entries need context. tmux's maintainer closed the original request in October as premature, then wrote on October 30 that the protocol seemed "far too complicated and heavyweight" for what it does, but invited a pull request implementing a minimal version with one status record per pane. A community contributor opened one on November 1, and as of November 9 the maintainer was reviewing it and asking for changes. And Ghostty itself doesn't report or display it yet, even though the library inside Ghostty has merged support and Hashimoto's company wrote the spec.
The effect on this category is larger than it looks. Status detection was the hardest part of a session manager to build and the easiest to break. With the two biggest agents speaking a common protocol, any multiplexer can show what an agent is doing without knowing which agent it is. herdr's new runtime takes that literally: it reads OSC 7501 and nothing else.
Multiplexers that run inside your terminal
These work in whatever terminal you already use, over SSH, on a server.
tmux, with a session manager on top
tmux itself has no idea what an agent is. Version 3.8, released September 9, 2026, did make it more scriptable for this kind of job: hooks are now events, and with OSC 133 shell integration tmux fires events when a command starts and finishes. Claude Code's own experimental agent teams can open each teammate in a tmux split; its docs list tmux and iTerm2 as the two ways to get split panes.
The agent awareness comes from tools layered on top, and there are a lot of them. Three are worth knowing:
- workmux (MIT) pairs every git worktree with a tmux window, shows each agent's state in the window name, and adds a dashboard across windows. It also runs on Zellij, kitty and WezTerm, and can put agents in containers or VMs. Its README quotes a user who doesn't "see the need for Herdr", which tells you who it sees as the competition.
- Agent Deck (MIT) is a session manager that lists every agent as running, waiting or done and switches between them with one key. It has a local web UI and an optional "conductor" session that watches the others and escalates to Telegram, Slack or Discord.
- Agent of Empires (MIT) gives each agent its own tmux session with an optional worktree and sandbox (Docker, Podman or Apple Containers), and serves a web dashboard you can use from a phone.
All three were released within a few days of November 9, 2026, and all three use agent hooks first. This path suits people who already live in tmux and want to keep their config, keybindings and remote habits.
Zellij
Zellij (MIT) groups work as sessions, tabs and panes, like tmux, with friendlier defaults and WebAssembly plugins. Its 2026 releases leaned toward remote and agent work: 0.44 in March added attaching to a remote session over HTTPS and a subscribe command that streams pane output as JSON; 0.45 in August added a mobile web client that installs as an app, OSC 133 shell integration, and a single desktop-notification path for the three competing notification sequences.
For agent status today, zj-radar (MIT) adds a sidebar fed by Claude Code and Codex hooks. The bigger change is still on the main branch: a merged pull request adds an Inbox, notifications and an improved session manager, and a second one handles panes that report OSC 7501. Neither is in a release as of November 9.
herdr
herdr is the tool that made this category visible. It runs in your existing terminal and keeps a background server, so closing the client or losing SSH doesn't stop anything. Its sidebar shows machine, workspace, tab and pane, and every pane is marked working, blocked or idle. Agents drive it through a CLI and socket API, so one agent can start another and wait until it's genuinely blocked. After a reboot it restores the saved layout and can resume supported agent sessions, though not the original processes. There's a plugin marketplace, and Can Celik, its creator, reported more than 500 community plugins in August.
It's written in Rust on libghostty-vt, so the terminal emulation inside each pane is Ghostty's rather than a reimplementation. The license is Apache-2.0; it was AGPL until shortly before Celik announced on August 6 that herdr was joining Y Combinator, explaining the switch with "I want everyone to use Herdr freely". A $6M seed led by Bessemer Venture Partners followed on September 8.
The TUI's latest release is v0.9.5, from October 14, and the attention has since shifted to the desktop app covered below. herdr's FAQ says the TUI keeps working, and the repository was still getting fixes in late October. Its OSC 7501 support is an open pull request. Because it's Apache-2.0, the worst case for TUI users is a fork, not a dead end.
tuios
tuios (MIT) is the closest thing to herdr's TUI that isn't herdr, and in places goes further. It's a Go multiplexer and window manager with a daemon, nine workspaces, tiling, and an aggregate view of every window across every workspace. Its Inbox lists everything waiting on you across sessions and machines, and for several agents it can answer a permission request from there with one key.
Status comes from three directions at once: tuios integration install wires hooks into 19 agent harnesses, it recognizes 24 agent CLIs by process and screen, and it reads OSC 7501 from any program, so a long build shows up in the Inbox like an agent. tuios fan sends one prompt to several agents, each in its own git worktree, and a tmux shim lets Claude Code's agent teams open their panes inside tuios. Sessions come back after a reboot with their structure and working directories. It even ships an agent skill that will move your tmux, Zellij or herdr settings over. It dates from September 2025 and is still pre-1.0, at v0.12.1 from October 31.
Native apps: the multiplexer is the terminal
These replace your terminal app rather than running inside it. You get native rendering and proper notifications, and you lose the ability to use them from any terminal over SSH.
Rex
Rex is Superlogical's answer to Hashimoto's complaint, in an August interview with DevClass, that tmux, Zellij and screen are "all too slow". The server keeps the session state and the client renders locally with libghostty. On macOS the app runs its own server, so it works as a normal terminal from the first launch; Linux and FreeBSD servers let you add other machines. Superlogical says servers for Windows and clients for iOS, Linux and Windows exist "at varying stages of readiness", but only the Mac app and the Linux and FreeBSD servers are in testing.
The grouping is session, tab and pane. With tabs set to the left or right side, the sidebar lists every session with its tabs nested under it, and individual sessions collapse. An Activity view regroups the same tabs by status: blocked, failed, done, working. Status comes from OSC 7501, which Superlogical wrote, so it doesn't depend on per-agent integrations. A rex CLI, a self-describing server API and Lua configuration cover automation, and rex skill setup installs a skill and a session hook into Claude Code, Codex, opencode and pi so they can open tabs, split panes and read other terminals' screens.
Two caveats. Remote servers listen only on local sockets by default, and Rex's own docs say it can't yet check who is connecting unless the network tells it, so it recommends Tailscale, which is built in, until a real authentication system ships. And access is still by waitlist, in "increasingly large waves".
On money and data, Rex makes the strongest promises in this guide. Superlogical says "Rex is and will always be free" and that the clients and servers won't be directly monetized. Rex requires no account, every server can be self-hosted, and the company says it will discuss its commercialization plan before the stable release. Its privacy page lists every connection Rex makes: no telemetry, and on the Mac the only automatic one is an update check at launch and once a day. It is also closed source, with open-source releases promised "along the way", and venture-backed by Notable Capital and Amplify Partners, with angels including Patrick Collison, Tobi Lütke and Guillermo Rauch. Free and closed is a different risk from free and Apache-licensed: if Superlogical changes course, there's no code to fork.
herdr's desktop app and herdr-core
The herdr app is not a new front end for the TUI. It runs on herdr-core, a separate headless runtime, and herdr's FAQ is explicit that "what runs in one doesn't show up in the other". Moving to the app means starting fresh.
The model carries over: machines, then spaces (what the TUI calls workspaces), then tabs and panes, with an agents sidebar that marks each agent working, blocked, done or idle. Closing the window leaves everything running, including on remote SSH machines when your laptop sleeps. The new idea is that the whole window is JavaScript "mods" and layouts in a config folder that you change by asking your agent, and herdr's gallery lists hundreds of each. Agents can start child agents, send them work and wait on them through the hc command.
herdr-core reads status from OSC 7501 only: it "does not guess from screen text or recognize agent brands". That's clean, but it means an agent that doesn't emit the sequence shows no status at all. It's Apache-2.0 like the TUI, runs on macOS (Apple silicon), Linux and Windows, and carries a beta label. A hands-on review on November 4 found gaps a TUI user will notice, including no command for resizing panes and a copy mode that had to be built as a mod and was slow to open. The app also sends anonymous usage telemetry by default; you can switch it off in Settings → Privacy.
cmux
cmux is a native macOS terminal built on libghostty by Manaflow. Its sidebar is a list of workspaces, one per project, each showing the git branch, linked PR, working directory, listening ports and the latest notification. When an agent needs you, its pane gets a ring and its workspace lights up. Status arrives through notification sequences, agent hooks wired to cmux notify, and OSC 7501. cmux claude-teams runs Claude Code's agent teams as native splits without tmux, and cmux ssh makes a workspace for a remote machine.
On quit, cmux saves the layout, working directories and best-effort scrollback, and resumes agent sessions whose hooks saved an ID. Live processes survive quitting only if you opt in to running them under tmux or Zellij underneath. The app is GPL-3.0-or-later and its FAQ says it's "open source and free forever"; the server code is under the Business Source License, and paid plans from $15 to $200 a month add Cloud VMs for agents.
Tern, briefly
Tern is a closed beta from Stencil Labs, the company behind the Oh My Pi coding agent (omp), and calls itself "a neoterminal for the Electron-weary". It's Rust-native with no bundled Chromium, and a tern daemon keeps sessions running when the window closes. Stencil says panes come back after a reboot in their directories with their scrollback, and that omp resumes mid-conversation. Remote servers are reached over QUIC or Tailscale, there are iPhone and browser clients, and programs can draw native UI in a pane through Stencil's own Tern Surface Protocol. It's built around omp, and its public page says nothing yet about status for other agents; the OSC 7501 tracker lists support as announced. Access is by waitlist with a Stencil account, with no public pricing or license.
kitty, briefly
kitty isn't a multiplexer and has no detach and reattach, but 0.50.0, released November 3, shows OSC 7501 status in its tab bar, joining iTerm2 among mainstream terminals that support it. If you run agents in plain kitty tabs, you now get working, finished, failed and blocked markers with no plugins.
If you only want persistence
Some people want the opposite of everything above: detach and reattach without a new window manager. zmx (MIT) does exactly that, keeping each session's screen in Ghostty's terminal library so reattaching restores what was on screen, and pointedly "does NOT provide windows, tabs, or splits". It reached 1.0 in November. shpool (Apache-2.0) is the same idea, describing itself as "think tmux, then aim... lower". Your terminal or window manager handles the layout; these keep the shells alive.
How each one groups your work
| Tool | Grouping | Always visible? |
|---|---|---|
| tmux | session → window → pane | No. The status bar shows the current session's windows; the tree is behind prefix s and prefix w. |
| Zellij | session → tab → pane | No. The tab bar shows the current session; the session manager is a popup. |
| herdr TUI | machine → workspace → tab → pane | Yes, in the sidebar |
| herdr app | machine → space → tab → pane | Yes, in the sidebar, plus an agents list |
| tuios | session → workspace → windows | Partly. Nine workspaces, plus an aggregate view of every window |
| Rex | session → tab → pane | Yes, with vertical tabs: sessions with their tabs nested |
| cmux | workspace → panes, with tabs inside panes | Yes. Each workspace shows branch, PR and ports |
Who pays for it
| Tool | License | Funding |
|---|---|---|
| tmux | ISC | Donations |
| Zellij | MIT | Donations |
| herdr TUI, app and core | Apache-2.0 | $6M seed led by Bessemer, Y Combinator |
| Rex | Closed source | Venture-backed (Notable Capital, Amplify Partners), amount undisclosed |
| Tern | Not published (closed beta) | Not disclosed by Stencil Labs |
| cmux | GPL-3.0-or-later (app), BUSL-1.1 (server) | Paid Cloud VM plans |
| tuios, workmux, Agent Deck, Agent of Empires | MIT | Independent maintainers |
Three things stand out. First, the newest and most polished tools are venture-funded, and neither herdr nor Superlogical has said how it will make money. herdr's posts don't mention a business model; Superlogical says it will discuss one before Rex's stable release, and that it won't come from charging for the clients or servers. Stencil Labs, which makes Tern, hasn't disclosed funding or pricing at all. The adjacent worktree-app category has already had an exit: Conductor announced on November 4 that it is "joining Meta" and closed sign-ups the same day.
Second, telemetry splits the two best-funded tools. Rex collects none. The herdr app sends anonymous usage data unless you turn it off.
Third, the stakes of picking wrong are lower here than in most categories this site covers. A multiplexer doesn't hold years of your data. If a tool changes direction, you lose your config, your keybindings and some muscle memory, and your agents' conversations live with the agents, not the multiplexer. That makes license matter more than funding: herdr's Apache-2.0 code can be forked if the company drifts, Rex's can't, and tmux and Zellij will be around regardless.
Stalled and gone
Claude Squad (AGPL-3.0) was an early tool to pair tmux sessions with git worktrees for agents, but there have been no commits since August 20, 2026, and it reads agent state from the screen rather than hooks or OSC 7501. uzi, from Trieve, hasn't been updated since June 2025.
What to pick
You live in tmux and like it. Keep tmux and add workmux if you work in worktrees, Agent Deck if you want one list of every agent with phone escalation, or Agent of Empires if you want sandboxes and a web dashboard. Watch tmux's OSC 7501 pull request; if it lands, tmux will show agent status on its own.
You want herdr's workspace layer in a terminal. The herdr TUI still works and is Apache-2.0. If its slower release cadence worries you, tuios is the nearest equivalent and the most ambitious terminal tool in this guide.
You prefer Zellij. Add zj-radar now. The next Zellij release should bring an Inbox and OSC 7501 handling of its own.
You want a native app on a Mac. Rex if you want no telemetry and a tool built by the protocol's authors, and can live with closed source and a waitlist. cmux if you want an open-source app and a sidebar that carries git and PR context. The herdr app if you want the same tool on macOS, Linux and Windows and don't mind a beta. Tern if omp is your agent and you can get into its beta.
You work across several machines. herdr and tuios bring SSH machines into one window today; Rex does it over Tailscale; Zellij can attach to a remote session over HTTPS or from a phone's browser.
Whichever you choose, check that your agents emit OSC 7501 (Claude Code and Codex already do) and that your tool reads it. That one escape sequence now does more for "which agent is waiting on you?" than any feature on these tools' landing pages.