One Screen for Every Agent: the agentctl Hub¶
August 15, 2026
agentctl is the tmux tool I've been building to run a pile of Claude Code agents at once. Each agent gets its own tmux window, hooks report whether it's working, blocked or idle, and a status bar along the bottom of every window shows it all at a glance.
That works great for one project. It falls apart at three.
The problem: one session per project¶
agentctl runs one tmux session per project directory. My client infrastructure work is one session, agentctl itself is another, Spacewalker is another, the homelab is another. Each session's status bar only knows about its own agents.
So on a normal day I'd have six or seven sessions going, a dozen-plus agents across them, and no single place to see them all. Somewhere, an agent would be sitting on a permission prompt waiting for me, and the only way to find it was to flip through sessions one by one.
Borrowing an idea¶
Around then I came across herdr, which goes after almost exactly the same problem. Its headline idea is one view where every agent shows its state, and you jump straight to the one that needs you. The pitch is "you never hunt for the stuck one."
That was exactly my problem. herdr does it with a sidebar in every window, and the first draft of the design copied that. But agentctl's sessions are per-project, so every window in every session would have needed its own copy of a view of every other session. That's a lot of duplication for something I only need to look at now and then.
So we flipped it: one central hub. A dedicated tmux session that reads every agentctl session on the machine and shows them in one live list. You switch into it, glance, and jump out.
What it looks like¶
ctrl+b g from anywhere takes you to the hub. On the left is every session and every agent in it. On the right is whatever you've selected: its state, model, context use, token counts, what it's doing, and a mirror of its terminal.
agentctl hub
7 sessions · 13 agents
⏸ agentctl-agentctl agentctl (4 agents) ╭──────────────────────────────────────────
▸ ⏸ brandon:2 Done — posted and verified… │ brandon:2
⏸ brandon:3 cat > /tmp/dispatch-prompt… │
● brandon Partially valid — but the val… │ State: blocked
○ go-engineer │ Model: claude-opus-5
────────────────────────────────────────────────│ Context: 7%
⏸ agentctl-spacewalker spacewalker (3 … │ Tokens: 2,044,504 in / 27,224 out
⏸ brandon:8 │
○ brandon:4 │ Terminal
○ brandon:5 │
────────────────────────────────────────────────│ ⏺ All the safety behaviors I specced
○ agentctl-local-infra local-infra (1 a… │ are present — corrupt-file skip…
○ brandon │
An early render of the hub, trimmed to fit. ⏸ is blocked, ● is working, ○ is idle.
A few details make it work at a glance:
- Rollups on every group. Each session's header takes the "worst" state of its agents: blocked if anything is blocked, then working, then done, then idle. With a dozen agents I scan the headers first and only look closer at the session that's blocked.
- A one-line activity summary on every row: the tool the agent last ran, or the last thing it said.
- Stable ordering. Sessions sort alphabetically and agents by window number. Rows never jump around because an agent changed state, so my eyes know where to look.
The key that matters most¶
The single most useful thing in the hub isn't the hub. It's ctrl+b b: jump to the next blocked agent, across every session, from anywhere. It doesn't even open the hub. It just puts me in front of the agent that needs me. If nothing is blocked, it says so and stays put.
That one key is the literal answer to "never hunt for the stuck one."
Inside the hub:
| Key | Does |
|-----|------|
| j / k | Move up and down |
| Enter | Open the agent right here in the hub, fully interactive |
| J | Jump to the agent in its own session |
| u | Unlink an agent you opened in the hub |
| q | Back to wherever you were |
Enter uses tmux's link-window to pull the agent's real window into the hub session, so I can answer a prompt without leaving. Closing it only unlinks it. The agent keeps running in its own session.
Built by agents, caught by me¶
Like most of agentctl, the hub was designed and built by agents running inside agentctl, over about a week: a design doc on August 7, the core hub on August 13, and the sidebar and detail panel on the 14th. And like last time, the most interesting part is a thing the agent got confidently wrong.
To find sessions, the original design had every agentctl session register itself in a small registry the hub reads. The design doc explained why: listing tmux sessions "can't recover each session's project directory" without one.
That's just not true. tmux will happily tell you each session's working directory (#{session_path}). But the claim was written down with total confidence, the design was built on it, and the result was that any session whose background monitor started before the registry existed, or crashed after registering, was invisible to the hub. Its agents simply weren't there.
It showed up as whole sessions missing from the hub, and was fixed the next day. The fix flipped it around: tmux is the source of truth for what sessions exist, and the registry only adds extra detail. The design doc now has the original claim struck out in bold, with a note telling future agents not to rebuild the design from it.
Two smaller lessons came out of it too:
- Don't make things vanish. The first version dropped a whole session's agents from the list if its state file was a few seconds old. One briefly stuck monitor made an entire project disappear. Now a stale group keeps its last-known rows, dimmed with a "stale" label, and you can still jump to them.
- Don't move the agent's pane. The first idea for the detail panel was
tmux join-pane, which physically moves the agent's pane into the hub. An agent tried it in a throwaway tmux server and found that if the hub dies, the moved pane dies with it, and that pane is the agent. Rejected and documented, so nobody tries again.link-windowshares the window instead, and killing the hub leaves every agent untouched.
What's next¶
The hub is read-only plus jump for now. The obvious next steps are agents on other machines showing up as more rows in the same list, and some way to deal with a blocked agent when I'm not at my laptop at all.
Update, November 2026: The terminal mirror on the right is now a live, fully interactive view of whichever agent is selected, built on a hidden tmux session that shares the agent's window. It replaced both the read-only mirror and the Enter-to-link flow. That same trick is what powers the live terminal in agentctl's phone app. agentctl is also open source now, at github.com/blsmth/agentctl.