Skip to content

About

One command sets up herdr with one-key AI agent launchers and a fleet command to run several agents at once.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

herdr-setup: run a whole team of AI coding agents from one terminal. A herdr window with six agent panes, w1 to w6, above the one-line installer.

Open the interactive manual

mrx-arafat.github.io/herdr-setup  ·  Install  ·  First five minutes  ·  Full guide

CI macOS and Linux herdr 0.7+ MIT license

Why you will want this

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.

Arrow keys icon
Three keystrokes to an agent
Press ctrl+b, then ↓, type claude and hit Enter. A fresh Claude Code tab opens in the folder you are in. The same works for codex and agy.
Grid of panes icon
Six agents, one command
fleet up 6 2 lays out six Claude workers in two tidy tabs of three. It returns only when every one of them is ready for work.
Arrow to a target icon
Hand out the work
fleet send w2 "fix the flaky orders test" gives worker 2 its task. fleet wait all waits for the whole team, and fleet read w2 shows you what it did. Each worker names itself after its task, so w2 turns into something like fix-flaky-orders.
Shield with a check mark icon
Safe to run again
One command installs everything, and it asks before it touches anything important. It never overwrites a file you already have, so running it again is always safe.

A terminal running a fleet session. fleet up 6 2 claude,codex starts six workers, w1 to w6, in two tabs and reports each one ready. fleet send gives w1 and w2 a task each, fleet wait w1,w2 reports both done, and fleet close all --yes closes the workers.
A whole fleet session: start six workers, hand out two tasks, wait for both, then close everything.

See it before you install

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.

The Start here view of the interactive manual: the install command, the safety note, the requirements and what the installer does.
Start here
The install command, the requirements and the safety note on one page.
The Fleet planner view: six workers across two tabs, Claude and Codex taking turns, with a live preview of the grid.
Plan a fleet
Pick a count, the tabs and the agents, and see the exact grid fleet builds.
The Delegate view: one task per worker on the left, the matching fleet send, wait and read commands on the right.
Hand out work
Write one task per worker and copy the fleet commands, ready to paste.

Install in one line

curl -fsSL https://raw.githubusercontent.com/mrx-arafat/herdr-setup/main/install.sh | sh

That 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.sh

No questions at all, for scripts and fresh machines:

curl -fsSL https://raw.githubusercontent.com/mrx-arafat/herdr-setup/main/install.sh | sh -s -- --yes
What exactly does the installer do?
  1. Checks that herdr 0.7.0 or newer, jq and curl are installed.
  2. Installs the herdr-plus plugin, after asking you. It asks on your terminal even when piped from curl, and --yes skips the question.
  3. Downloads agent-tab.sh, fleet.sh, herdr-setup.sh and eight Quick Actions from files/ into ~/.config/herdr/plugins/config/cloudmanic.herdr-plus/.
  4. Links fleet and herdr-setup into ~/.local/bin when that folder is on your PATH, otherwise prints alias lines.
  5. Binds ctrl+b ↑ to Projects and ctrl+b ↓ to Quick Actions in ~/.config/herdr/config.toml.
  6. 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.

Before you run it

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)

Your first five minutes

  1. Open herdr in a project.

    cd ~/your-project
    herdr
  2. Start an agent. Press ctrl+b, let go, press ↓, type claude, press Enter. A new claude tab opens right where you are.

  3. Bring in a team. Press ctrl+b then ↓ again, type workers, pick 6 workers, two tabs. Six agents appear, labelled w1 to w6.

  4. 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
  5. 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.

Everything you get

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.

Read this once

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.

Learn more

  • 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-setup

Then 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

Credits

Built on herdr and the herdr-plus plugin by cloudmanic. Released under the MIT license.

Open the interactive manual  ·  Install in one line

About

One command sets up herdr with one-key AI agent launchers and a fleet command to run several agents at once.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages