samodra

3 min read

Herdr is more than a tmux replacement

By “agent orchestrator” I mean a tool that starts several coding agents at once, gives each one its own task and its own copy of the repo, and lets you watch all of them from one place. I have been trying two of them, Orca and Herdr.

Orca: parallel GitHub issues

I have been getting used to Orca. What I like is that it executes GitHub issues in parallel, so I don’t have to manage a pile of terminals and worktrees by hand. There is also a mobile app, which means I can check on an agent’s progress from my phone.

In one project I split an offline-first sync feature into milestones, and each milestone got its own session in its own worktree. I could see which ones had delivered and which were still running.

Orca on desktop: the sidebar lists the offline-first milestones as separate worktrees with an agent running in each, and a planning document is open on the right

Herdr: terminal-based, so it runs on a cloud machine

I had been using Herdr only to replace tmux. Several people suggested it as an orchestrator, and the reason I wanted to try it is that it is terminal based. That means I can install it on a cloud machine, which a desktop app does not give me.

So I gave it one prompt that asked for four tasks at once:

Use herdr skills, do the task #1, #4, #5, #6. Each task should be in a new tab and git worktree. Run the tasks using agy. Once you are done with the task, commit it and create a PR.

I did not expect it to work on the first try, but it did. It opened four tabs, created a git worktree for each task, started an agent in each one, and then committed and opened a pull request per task.

Herdr with four task tabs open (pre-commit, smoke-test, sentry, error-boundaries) and the agent’s pull request summary listing four branches and PRs #147 to #150

The same summary as a table:

Task Branch PR
#1 Git pre-commit hooks feat/husky-pre-commit-hooks #147
#5 Sentry error monitoring feat/sentry-nextjs-integration #148
#4 Preview deployment smoke test feat/vercel-preview-smoke-test #149
#6 App Router error boundaries feat/nextjs-error-boundaries #150

CI was green on three of them. The smoke test PR had been tested live, with CI still running when I took the screenshot.

As far as I can tell, the “herdr skills” part of the prompt is what lets the agent drive Herdr on its own: it opens the tabs itself instead of me doing it.

What I am taking from this

Here the prompt is the orchestration. I list the task numbers, say how each one should be isolated, and say what “done” means (commit and open a PR).

Isolation matters here. Each agent works in its own worktree, so four agents never write to the same checkout, and each PR comes from its own branch.

This was one run, with four tasks that did not overlap: hooks, monitoring, a smoke test, and error boundaries. I don’t know yet how it behaves when two tasks touch the same files, or when one task depends on another.

Next

I want to try a few Herdr plugins to make this workflow easier. If you have a plugin worth trying, or you use something else as your agent orchestrator, tell me.