agentctl: BitchX for the Agent Era¶
November 13, 2026
I grew up on IRC. From about 1994 to 2000, roughly ages 12 to 18, I spent a lot of my time on EFnet, mostly on prison.net, hanging out in channels about programming, hacking and coding. It was where I kept in touch with people and found new ones (and new interests) once the AOL chat rooms started dying under the mainstream pile-on.
If you spent any time on IRC in the late '90s and early 2000s, you probably remember BitchX. It was loud, it was opinionated, and it made your terminal feel like a cockpit. The status bar told you everything at a glance, the keybindings lived in your fingers, and you basically never left the terminal.
And if you were on IRC, there were bots. Eggdrop bots sat in your channels around the clock, guarding ops, greeting people, running whatever Tcl scripts you'd bolted on, and linking up with each other into botnets. Ours did everything: held ops, handled kicks and bans, kept an eye out for language and banned phrases, and ran sillier stuff like polls, web searches and channel archives. They were little autonomous helpers that lived in the terminal and did your bidding while you slept. Kind of.
Earlier this year I had five or six Claude Code sessions going in tmux windows, each one off working on something, and I was flipping between them trying to figure out which ones needed me. And it hit me: this looks like IRC. Every window is a channel. Every agent is a bot. The Eggdrops came alive, and now they write code.
So I built the client I wanted for them.
It started as an homage¶
The first commit of agentctl landed on March 25, 2026, and the tagline in the brand guide was, and still is, "BitchX for the agent era."
A lot of the early work was pure nostalgia:
- A status bar that tells you everything. BitchX packed your whole IRC world into a status line. agentctl puts a two-row bar at the bottom of every window, with the agent's state right there (● Working, ⏸ Blocked or ○ Idle), and every tmux window gets renamed with a state glyph, so a glance across the tab bar tells you who's busy and who needs you.
- Layered keybindings. Everything hangs off
ctrl+b, with mnemonic keys (afor agent,tfor ticket,sfor settings) and a bottom bar that lights up the hints when you press the prefix. That's straight out of BitchX's key maps. - A
bitchxcolor theme. Black background, cyan accents, that classic 16-color green, yellow and red. Of course there's a theme. - Your terminal is your whole world. No web app, no Electron, no dashboard in a browser tab.
The bigger realization was that tmux already is an agent runtime. Each window is an isolated process. Sessions survive you closing your laptop. capture-pane lets you see what any agent is doing, send-keys lets you talk to it, and hooks give you events. I didn't need to build a platform, just a thin layer on top of the one I'd been using for twenty years.
How it works¶
Each agent runs in its own tmux window. Claude Code hooks write each window's state (working, blocked or idle), and a background monitor reads that every 500ms. It renames windows with little state glyphs, fires a desktop notification when an agent needs me, and feeds the status bar at the bottom of every window. A glance tells me who's busy, who's done, and who's sitting on a permission prompt waiting for me to say yes.

The bottom of every window. Top row: what ctrl+b will do. Bottom row: every agent, with a spinner while it works, ✓ when it's finished and you haven't looked yet, and ○ when it's idle.
That was the whole first version. Then the bots started picking up new tricks.
Taking it for a spin¶
Rather than describe it, here's a real run. I made a throwaway Go CLI called tidbit that prints a random terminal tip, filed three small GitHub issues against it (add a --json flag, add tests, document go install), and dispatched a Go engineer agent on each one:
for i in 1 2 3; do agentctl dispatch --issue $i; done
Each dispatch pulls the issue, cuts a git worktree and branch (agent/go-engineer/issue-1 and so on), and starts an agent in a new window with the issue as its spec. About two minutes later there were three open pull requests. Here's one of the agents when it finished:

The agent on issue #2 wrote table-driven tests for pick(), ran go build, go test and go vet, and opened PR #5. The status line along the bottom shows the model, context use, cost, worktree and branch.
The ticket browser (ctrl+b t) shows all of that from the issue side. Finished tickets get an agentctl:ready-for-review label, so I can tell at a glance what's waiting on me:

Then I sent a code reviewer at each PR. I like this one because it shows the guardrails doing their job. The reviewer's instructions say not to write to GitHub without a human's go-ahead, so it drafted its review and waited for me:

Seventeen seconds of review, one good question about whether the test is just restating the implementation, and no comment posted until I say so.
By now there were nine agents in the window bar, which is where the hub (ctrl+b g) comes in. It's one list of every agent in every agentctl session on the machine, with a live view of whichever one you select:

On my real machine that list covers client work, the homelab and side projects at once, and b jumps straight to whichever agent is blocked. If you'd rather script it, agentctl status gives you the same data as a table (or JSON):

And every tool call those agents made went into the audit trail: what ran, in which window, how long it took, under which permission mode, and whether it was allowed:

When an agent does something surprising, that's the first place I look.
From homage to Swiss Army knife¶
Over the past seven months agentctl has grown into the thing that runs my entire workday. A few of the pieces I lean on constantly:
- Dispatch.
agentctl dispatch --issue 42fetches the GitHub issue, creates an isolated git worktree and branch, launches the right agent in its own window, and lets it work all the way to a pull request. Agents never step on each other's checkouts. - A roster of specialists. I have agent definitions for an architect, Go, Python, Swift and Terraform engineers, a DevOps engineer, a code reviewer, a researcher, and more. Each gets its own model, permissions and instructions.
- A primary agent that delegates. My main agent drives the day and hands specialist work to the fleet, the same way you'd keep one bot in the channel that knows how to boss the others around.
- A shared context store and mailboxes.
agentctl context set,send,inboxandwakelet agents leave notes for each other, hand off work across sessions, and message each other directly. It's the botnet, basically. Agents linking up and passing things along. - A hub. One view across every tmux session, so I can see every agent in every project and jump to whichever one is blocked.
- Guardrails. Per-agent permission rules decide what each agent can run without asking, plus an audit log of every tool call, including the ones that got refused. That one deserves its own post.
- Session history. Search and browse every past agent session, which turns out to be a superpower after a laptop crash.
- Self-improvement sessions. agentctl can launch an agent whose job is to improve agentctl. Most of agentctl was built by agents running inside agentctl.
Here's part of the roster. Each one is a Claude Code agent definition with its own instructions, and agentctl layers model, permissions and working directory on top:

That last part still makes me grin. The repo's history, archived before I open-sourced it, has 640 issues and 445 pull requests in about seven months, the vast majority filed, worked and reviewed by agents I dispatched from agentctl itself. My job became triage, review and saying "no, try again."
Honest note: agents file tickets a lot faster than they close them. Keeping the backlog under control turned into a project of its own. But that's a post for another day.
What it actually drives¶
On a normal day agentctl is running my client infrastructure work, my homelab, and my side projects at the same time. A Terraform agent is planning a change in one window, a Go engineer is fixing a bug in another, a reviewer is reading a PR in a third, and my primary agent is keeping track of all of it and pinging me when someone needs a decision.
The Spacewalker app was built this way. So was the list of blog topics this post came from: I had my primary agent fan out a few readers to mine months of my own session history for ideas.
It's not magic, and it's not hands-off. Agents still get things confidently wrong, and a lot of what I've learned building this is about catching that. But it's the most fun I've had in a terminal since I was idling in IRC channels with a bot keeping my ops warm.
Try it¶
agentctl is open source (MIT) and lives at github.com/blsmth/agentctl. You need tmux 3.4+, Claude Code, git and gh.
go install github.com/blsmth/agentctl@latest
agentctl init
agentctl hooks-install --global
agentctl
Then hit ctrl+b a and launch your first bot. Er, agent.