A herdr plugin that visualizes your AI coding agents as pixel-art sheep living on a top-down farm.
Each agent gets its own sheep. While it works, the sheep grazes and glows. When the session ends, the sheep dies and is remembered in the Graveyard. The farm features procedurally generated terrain with rivers, trees, and rocks, unique each session. A day/night cycle shifts the palette from bright greens to moonlit blues, and weather rolls in with rain or snow that drifts across the landscape.
herdr plugin install ragamo/herdr-flockThe build step runs automatically during install. Make sure cargo is available in your PATH.
git clone https://github.com/ragamo/herdr-flock.git
cd herdr-flock
cargo build --release
herdr plugin link .Add to your herdr config (~/.config/herdr/config.toml) to open the farm with prefix+i:
[[keys.command]]
key = "prefix+i"
type = "plugin_action"
command = "flock.farm.open"
description = "Open Flock Farm"This opens the farm as a split pane to the right of your focused pane in the current workspace.
Once installed, open the farm from any workspace:
# Via keybinding (requires config above)
prefix+i
# Via CLI
herdr plugin pane open --plugin flock.farm --entrypoint farm --placement split --direction right --focusThe plugin auto-discovers the herdr socket and shows live agent state. If no socket is found, it falls back to demo mode with mock sheep.
cargo runLaunches with mock sheep so you can explore without herdr running.
| Key / Action | Effect |
|---|---|
Tab |
Switch between Flock and Graveyard |
q |
Quit |
↑↓ |
Scroll in Graveyard |
f |
Cycle filter (All / Alive / Dead) in Graveyard |
| Click on sheep | Show tooltip with name, project, agent |
| Click on tab | Switch screen |
| Click on row (Graveyard) | Show epitaph panel for dead sheep |
Sheep history is stored at:
- macOS:
~/Library/Application Support/herdr-flock/flock.db - Linux:
~/.local/share/herdr-flock/flock.db
| herdr state | Sheep behavior |
|---|---|
working |
Pulses yellow, wanders |
blocked |
Eating animation |
done |
Sleeping |
idle |
Walking around |
| pane closed | Sheep dies, enters Graveyard |
herdr plugin uninstall flock.farmTo also remove stored data:
# macOS
rm -rf ~/Library/Application\ Support/herdr-flock/
# Linux
rm -rf ~/.local/share/herdr-flock/- Rust — ratatui 0.29 + crossterm 0.28
- Storage — SQLite via rusqlite (bundled)
- Platforms — Linux, macOS
