An agentic development environment on Herdr. You ask for something. Shep, the orchestrator, writes it down as a job and gives it to a desk: a coding agent in its own git worktree, in plain view beside your work. A desk stages its change and leaves the commit to you or Shep. You read each change, answer the questions only you can answer, and Shep lands what you approve.
Bercail is French for the sheepfold, so of course there's a shepherd.
- Every agent in sight. One job, one worktree, one Herdr space, one desk. The sidebar shows which desks are working, which wait on you, and which are done. Shep writes no code itself: every coding job is a desk you can open.
- Review comes first. Desks stop at a staged change. When one is done, tuicr opens it in a Review tab the next time you look at its space. A change to a path the repo marks high-stakes waits for your LGTM before it lands.
- Questions come as cards. Shep puts what it needs from you in the Decisions panel: the question, the choices and, when there is one, Shep's recommendation and why. A plan Shep marks cheap to undo can take its recommendation if you don't pick in time (30 minutes by default), and you can reverse it after. An LGTM always waits for you.
- Proof with each change. A desk finishes with
/validate: the tests, the repo's verify skill, a description of the change checked against the staged tree, and a second opinion from the judge, on GPT by default. - Your own plans. Every agent runs on Pi, signed in to your Claude and ChatGPT subscriptions, not API keys. By default Claude Opus does the work and makes the calls, and GPT judges (bstack).
bercail is Simon's own setup, published as it runs: Omarchy and Hyprland, the Herdr app, Pi on Claude Max and ChatGPT Pro, Basecamp for todos, 1Password for desk secrets, and Entire on some repos. It expects the Herdr app and a Claude plan. ChatGPT, Basecamp, 1Password and Entire are optional, and bercail also runs on Ubuntu, Debian and macOS. What it assumes lists each piece, what works without it, and why each tool was picked. If it doesn't fit how you work, fork it and make it your own.
ask → job (a beads issue, or a trail on Entire) → desk → staged change → review → land. Meanwhile routines watch for work to clean up or start, and background Sheps wait on CI so Shep doesn't. How a job flows follows one job from start to end, with a chart.
What your agents care about: their desk, the guard that checks each command,
the repo's git policy, and /validate.
What you care about: cards to answer, changes to review and LGTM, todos only you can do, and the standing rules you give Shep.
The easy way: add Shep, our Grok Bot template, connect this computer to it, and ask it to set up bercail. It installs and configures everything, and asks before it runs anything.
Current release: v0.22.3.
mise use -g packslip:github.com/simoncrypta/bercail # mise 2026.9.2+
bercail installmise waits 24 hours before it takes a new release. Can't wait? Pin it: mise use -g packslip:github.com/simoncrypta/bercail@0.22.3. No mise? packslip install github.com/simoncrypta/bercail does the same job, or use curl:
curl -fsSL https://bercail.dev/install.sh | bashThen connect your plans with bercail bstack setup, and switch the Herdr app to the bercail layout once (Ctrl+Shift+L → bercail). In a repo:
dev # this directory's space, with its desk agentThe layout opens on Shep, with your spaces beside it: click one to work in it (or find it with Ctrl+Space), Ctrl+Shift+H to come back. Ctrl+Shift+A focuses the desk, Ctrl+Shift+R opens Review, and bercail doctor tells you if anything is missing. Something else? bercail help.
- How a job flows: from your ask to a landed change, cards, routines, and who cares about what.
- What bercail assumes: the setup it is built for, and why each tool.
- install: every install path, what it touches, upgrading.
- commands: the
bercailCLI, shell helpers, and skills. - keys: the layout at a glance and every key.
- config:
config.toml, each repo's git policy, and the files bercail manages. - Shep: the orchestrator, the Shep view, Decisions, and desk events.
- bstack: Pi on your own plans, the roles and models,
/validate. Then the bstack guide. - review, handoff, routines, Entire, development.
The index lives in docs/README.md.
bercail ships copies of pi-emphasis, pstack's statechart skill, herdr-focus-to-hover and Herdr's own mods, each under its license, and borrows from pstack and gstack. Credits has the list.
MIT: LICENSE.
