mrx-arafat.github.io/herdr-setup · Install · First five minutes · Full guide
You already use an AI coding agent. Then you open a second one for a review, a third to chase a flaky test, and soon you are juggling terminal windows, losing track of who is doing what, and copy-pasting prompts around.
This repo turns that mess into a control room. Claude Code, Codex and Agy run side by side, started in three keystrokes and set up with one command.
A whole fleet session: start six workers, hand out two tasks, wait for both, then close everything.
Tip
See it before you install anything. Open the interactive manual. Drag the worker count, pick your agents, and watch the exact layout appear. It hands you the command to copy. No install, no sign-up, it all runs in your browser.
curl -fsSL https://raw.githubusercontent.com/mrx-arafat/herdr-setup/main/install.sh | shThat is it. The installer checks your tools, asks once before adding the plugin, and tells you exactly what it did.
Prefer to read the script first? (recommended for anything you pipe into a shell)
curl -fsSL https://raw.githubusercontent.com/mrx-arafat/herdr-setup/main/install.sh -o install.sh
less install.sh
sh install.shNo questions at all, for scripts and fresh machines:
curl -fsSL https://raw.githubusercontent.com/mrx-arafat/herdr-setup/main/install.sh | sh -s -- --yesWhat exactly does the installer do?
- Checks that herdr 0.7.0 or newer,
jqandcurlare installed. - Installs the herdr-plus plugin, after asking you.
It asks on your terminal even when piped from
curl, and--yesskips the question. - Downloads
agent-tab.sh,fleet.sh,herdr-setup.shand eight Quick Actions fromfiles/into~/.config/herdr/plugins/config/cloudmanic.herdr-plus/. - Links
fleetandherdr-setupinto~/.local/binwhen that folder is on yourPATH, otherwise prints alias lines. - Binds
ctrl+b↑to Projects andctrl+b↓to Quick Actions in~/.config/herdr/config.toml. - Reloads herdr and runs
herdr config check.
It never overwrites a file that exists, never replaces an existing fleet or herdr-setup command, skips keys you already use, and backs up config.toml before it edits it.
To install from another branch or tag, set HERDR_SETUP_REF.
You need macOS or Linux, herdr 0.7.0 or newer, jq, curl, and at least one agent CLI you are signed in to (claude, codex or agy).
Missing something?
curl -fsSL https://herdr.dev/install.sh | sh # herdr (or: brew install herdr)
brew install jq # jq (Debian or Ubuntu: sudo apt install jq)-
Open herdr in a project.
cd ~/your-project herdr
-
Start an agent. Press
ctrl+b, let go, press↓, typeclaude, pressEnter. A newclaudetab opens right where you are. -
Bring in a team. Press
ctrl+bthen↓again, typeworkers, pick 6 workers, two tabs. Six agents appear, labelledw1tow6. -
Give them work. In any other pane of the same workspace:
fleet send w1 "Add input validation to the signup form and a test for it" fleet send w2 "Find out why the orders test is flaky and fix it" fleet send w3 "Review the current diff and list real bugs only" fleet wait all fleet read w2
-
Clean up when you are done.
fleet close all
Lost?
Press ctrl+b then ? for every key, or keep the interactive manual open beside you.
| You do | You get |
|---|---|
ctrl+b ↓, type claude |
A new tab running Claude Code in your current folder. |
ctrl+b ↓, type codex |
A new tab running Codex in your current folder. |
ctrl+b ↓, type agy |
A new tab running Agy in your current folder. |
ctrl+b ↓, type grid |
One tab, four equal panes: Claude, Codex, Agy and a shell. |
ctrl+b ↓, type workers |
Nine ready-made layouts from 2 to 8 agents, or type your own. |
ctrl+b ↓, type name |
Every worker renames itself after its task, like w1 -> pr6969-cool-fix. |
herdr-setup update |
The newest herdr, herdr-plus and setup files. Running agents keep going. |
ctrl+b ↑ |
Your projects: describe one once, then open its whole workspace in one keypress. |
fleet up 6 2 claude,codex |
Six workers in two tabs, Claude and Codex taking turns. |
fleet send, wait, read |
Hand out tasks, wait for the team, read each answer. Each worker names itself after its task. |
fleet clear all |
A fresh chat in every Claude and Codex worker. |
fleet close all |
Every worker closed, nothing left behind. |
The full fleet cheat sheet
| Command | Does |
|---|---|
fleet up 6 2 claude |
Six Claude workers in two tabs of three. |
fleet up 4 |
Four Claude workers in a 2x2 grid. |
fleet up 6 2 claude,codex,agy |
Six workers that cycle claude, codex, agy. |
fleet ls |
Every worker with its number, name, agent, status, tab and pane. |
fleet send w2 "task" |
Type a task into worker 2. It also asks the worker to name itself after the task. |
fleet send --wait all "task" |
Send to every worker and wait until all finish. |
fleet wait all |
Wait until busy workers settle. |
fleet read w2 120 |
The last 120 lines from worker 2. |
fleet clear all |
Fresh chat in every Claude and Codex worker. |
fleet focus w3 |
Jump to worker 3. |
fleet close all |
Close every worker (asks first in a terminal). |
fleet rename |
Every worker renames itself after its current task: pane, agent and session. |
fleet rename w2 pr6969-cool-fix |
Give worker 2 that name yourself. |
fleet rename me pr6969-cool-fix |
What an agent runs to name its own pane. |
Targets are w3 or 3, a worker's name, a list like w1,w4, all, or idle.
A renamed worker keeps its number, so w2 and pr6969-cool-fix both reach it.
Up to 12 workers per fleet up, and a second fleet up keeps counting from where you left off.
The full story is in Run many workers.
Warning
To feel instant, the launchers start agents with their permission prompts or sandbox off.
That means an agent can edit files and run commands without asking.
Use them in git repositories, so you can review and undo every change.
Want the prompts back for a run?
Start it with FLEET_CLAUDE_ARGS="" fleet up 4.
The safety notes explain the details.
- Interactive manual: plan a fleet, build a delegation script, browse every key, all in the browser.
- The full guide: from "what is a pane" to worktrees, shell suggestions and keeping one rules file for every agent.
Update or uninstall
herdr-setup update updates herdr, the herdr-plus plugin, herdr's agent integrations and this setup's files.
herdr-setup check only reports what is out of date.
Files it replaces are backed up first, and it never restarts herdr, so running agents keep going.
Run it in a plain terminal to include herdr itself, which refuses to update from inside a herdr pane.
In Quick Actions, type update for everything else.
On an install from before herdr-setup existed, run the installer once with --update: curl -fsSL https://raw.githubusercontent.com/mrx-arafat/herdr-setup/main/install.sh | sh -s -- --update.
The details are in Update and uninstall.
To remove everything:
herdr plugin uninstall cloudmanic.herdr-plus
rm ~/.local/bin/fleet ~/.local/bin/herdr-setupThen delete the two [[keys.command]] blocks that mention cloudmanic.herdr-plus from ~/.config/herdr/config.toml, and run herdr server reload-config.
Skip the rm for a command the installer printed an alias line for instead of linking it.
Troubleshooting
| Problem | Fix |
|---|---|
ctrl+b then an arrow does nothing |
Run herdr config check. If herdr plugin action invoke quick-actions --plugin cloudmanic.herdr-plus opens the picker, only the key is blocked, so bind another key. |
I changed config.toml and nothing changed |
Run herdr server reload-config. |
fleet: run this inside a herdr pane |
Run fleet in a pane inside herdr, not in another terminal. |
fleet: command not found |
~/.local/bin is not on your PATH. Use the alias line the installer printed. |
A worker says not ready after fleet up |
The agent stopped at a startup question, such as "trust this folder". Click it and answer. |
More fixes are in the guide's Troubleshooting section.
What is in this repo
install.sh: the one-line installer.files/scripts/:agent-tab.sh(one tab, one command) andfleet.sh(builds and drives workers).files/quick-actions/: the eight Quick Actions.files/worktrees/default.toml: optional auto-layout for git worktrees.files/extras/sync-agent-rules: optional, keeps one rules file for every agent.docs/index.html: the interactive manual, served by GitHub Pages.docs/GUIDE.md: the full written guide.docs/assets/: the banner, icons, terminal illustration and screenshots in this README.tests/sandbox.shand.github/workflows/check.yml: 31 installer checks and shellcheck, run on Linux and macOS for every push.
Built on herdr and the herdr-plus plugin by cloudmanic. Released under the MIT license.


