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:

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 agentctl key hints and window tab bar, with state glyphs on every agent window

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:

A finished agent window showing the PR it opened and a summary of the work

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:

The agentctl ticket browser listing three issues labeled ready-for-review

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:

A code-reviewer agent with a drafted PR comment, asking for a go-ahead before posting

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:

The agentctl hub listing nine agents in a tree, with a live pane showing a reviewer's draft

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):

agentctl status output listing agents, their state, mode and latest activity

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:

agentctl audit output listing Bash, Read and Edit calls from three go-engineer agents

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:

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:

agentctl agents listing architect, code-reviewer, devops, Go, Python, Swift and Terraform engineers, researcher and tmux-man

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.

← All posts