Shepherd docs
Everything Shepherd does, how it works, and how to use it from the desktop app, the terminal or the CLI. Start with the first path, then dip into concepts and reference as you need them.
Start here, in order
Concepts
The ideas behind every screen and command. Each page works the same whether you use the desktop app, the terminal or the CLI.
The pieces of ShepherdWhat each piece is for: role, skill, pattern, topic, runWorkspaces, tabs and panesThe herdr layer: where terminals and agents liveAgents and rolesLifecycle, vendors, models, needs-you markersSkillsWrite, assign and turn skills on or off per agentTasks and gatesSpecs, plans, plan approval and publish approvalPatternsThe ten built-in patterns and when to use each, YAML, validation, run statesTopics and eventsThe bus: topics, partitions, consumer groups, replayWorktrees and gitOne branch per agent, publishing after approvalSnapshotsCapture, diff, restore and prune
Use it from
Desktop app
shepherdA native window with eleven views. Starts the server for you.Terminal UIshepherd --tuiherdr’s workspaces plus the Shepherd section, ctrl+b a.CLIshepherd <command> --jsonEvery function, scriptable, for you or for other agents.JSON APIunix socketThe API the other three use. Build your own client.Three safety rules
- Dangerous actions ask first, in every front end.
- Nothing starts agents by accident; runs say so before they start.
- Nothing is pushed without your approval.