Terminal workspace for coding agents
Run every coding agent side by side. See which one needs you.
shefrd is a terminal workspace and runtime for Claude Code, Codex, Gemini CLI, Cursor, OpenCode and 17 more agent CLIs. Each agent runs in its own pane, shows whether it is working, blocked or done, and keeps running when you close the terminal. You answer the one that is waiting instead of checking every window.
A superset of herdr: every herdr plugin runs on shefrd unmodified.
See every agent at once
Six agents, one look
In shefrd every agent gets a row: what it is working on, where, and whether it is working, blocked, done or idle. A blocked one says what it is waiting for, and its pane is one click away. The board below shows the idea with made-up agents; pick a task to open its pane.
Departures
| Elapsed | Agent | Task | Destination | Pane | State |
|---|---|---|---|---|---|
| 02:41 | claude | api-gateway ⇢ feat/rate-limit | p3 | WORKING | |
| 00:12 | codex | shefrd ⇢ main | p1 | BLOCKED awaiting approval | |
| 17:03 | claude | shefrd ⇢ hint-mode | p7 | DONE | |
| 00:00 | gemini | aylith-com ⇢ main | p4 | IDLE | |
| 04:55 | codex | shefrd ⇢ main | p2 | WORKING awaiting approval | |
| 01:28 | claude | shefrd ⇢ site | p5 | BLOCKED needs your call |
What it does
See, steer and stop every agent
A terminal multiplexer shows you panes. shefrd knows which of them are agents and what each one is doing, so the question of what needs you has an answer.
-
See
Spot the agent that is stuck
Every pane is marked working, blocked, done or idle, read from what the agent puts on screen. When one stops to ask you something, shefrd says so, and the agents panel lists every agent in one place.
-
Keep
Close the terminal, keep the work
shefrd runs as a background server and your agents run inside it. Close the window or lose the SSH connection, then reattach from any terminal and find them where they were.
-
Steer
Answer from one place
Click an agent to go to its pane. Rename, move or close it from its row, and pick out several to move or close together.
-
Stop
Put idle agents to sleep
Hibernation stops an idle agent’s process and brings the same conversation back when you return to its pane. Name the agents that should never sleep.
-
Script
Let agents drive their neighbours
Agents and scripts use the shefrd CLI and socket API to open panes, prompt another agent, and wait until it actually needs input.
-
Extend
Every herdr plugin runs here
shefrd is a superset of herdr. A plugin written for herdr installs and runs unchanged, and what shefrd adds on top is built in rather than another plugin to install.
What shefrd covers today
- Agent CLIs
- 22
- recognised in a pane, each with its state read from the screen
- API methods
- 186
- what a plugin, a script or an agent can call to drive shefrd
- Built-in features
- 52
- each one switched on or off from settings
Try it in the browser
Watch it work
This is shefrd’s own interface, drawn in your browser from the same layout rules the terminal uses. Pick a scenario to play it. There are eight here and a hundred on the demo page, each from a real request in the herdr community.
The player needs JavaScript. The demo page shows a first frame without it.
Three agents on one checkout, and the one that stopped is the one the rail shows first.
Install
Get shefrd
Download the build for Linux on x86-64, unpack it, and run it in the terminal you already use. Then start your agents in its panes the way you start them now.
- Needs glibc 2.39 or newer.
- Your agents keep their own installs and accounts. shefrd needs no API key.
Linux x86-64 · version 0.9.3
tar -xzf shefrd-0.9.3-linux-x64.tar.gz
cd shefrd-0.9.3
./bin/shefrd
Unpack the whole archive into a folder you own. To run shefrd from
anywhere, copy bin/shefrd into a folder on your PATH such as
~/.local/bin. Plugins that call herdr by name also need a
herdr link to it there.