Configuration
The config file, roles, vendors and where Shepherd keeps its data.
Works inCLI
The orchestrator is on by default
There is nothing to enable. If you want Shepherd to behave like a plain terminal multiplexer, create ~/.config/shepherd/config.toml with:
[shepherd]
enabled = falseshepherd config enable writes enabled = true there explicitly (it needs a server restart to apply). Check the file:
$ shepherd config check
config: okWhere things live
| What | Where |
|---|---|
App configuration ([shepherd] section, keys, theme) | ~/.config/shepherd/config.toml, and <repo>/.shepherd/config.toml |
| Roles, vendors, skills, workflow | ~/.config/shepherd/config.yaml, and <repo>/.shepherd/config.yaml |
| Tasks | <repo>/.shepherd/tasks/ |
| Patterns | <repo>/.shepherd/patterns/ (project) or ~/.config/shepherd/patterns/ (user) |
| Project skills | <repo>/.shepherd/skills/<name>/SKILL.md |
| Agent state, event bus, registry | ~/.local/state/shepherd |
| Agent worktrees | ~/.shepherd/worktrees/<repo>/ |
| Snapshots | hidden git refs refs/shepherd/snapshots/... in your repo |
shepherd config path prints the exact locations on your machine. shepherd config validate checks your roles and vendors file.
Limits worth knowing
Add these to config.toml if the defaults do not suit you:
[shepherd.limits]
max_concurrent = 4 # agents working at once (default 4)
max_depth = 2 # how deep agents may start agents (default 2)
run_quiescence_secs = 30 # idle time before a run counts as done (default 30)
[shepherd.snapshots]
max_per_agent = 50
interval_secs = 300 # periodic snapshot while an agent works (0 disables)If a pattern run would exceed max_concurrent, shepherd pattern run asks for --confirm-over-limit.
Was this page useful?Suggest an edit on GitHub