Yagura runs coding agents on long engineering projects while you stay in charge. You give a project a goal. A daemon splits it into small units, runs an agent on each one in its own git worktree, and has a fresh agent judge the result against test runs the daemon recorded itself. Each unit ends as one pull request, and nothing merges until the judge approves it and, by default, you do too.
It runs as one daemon per developer, with no cloud service. You drive it from a web dashboard.
How it works
You set yagura up once, then each project runs the same loop:
You describe a goal and how anyone can tell it is done. The planner splits it into units, each a small change to one repo.
A worker builds each unit on its own branch, in its own checkout of the repo.
A judge checks it. A fresh agent reruns the tests and records what it saw. The daemon keeps its own record of every run, so a ✓ in the dashboard means yagura saw the command pass.
You decide. A unit that the judge approves shows up as a question on the Gates page. Merge it, hold it, or send it back. Merging is your call unless you set the project to merge by itself.
The dashboard has a page for each stage. The Projects page shows the loop for a project, Unit pages show what happened and why, and Gates is where your decisions wait.
Install
You need Node 26 (.nvmrc pins it), pnpm 11, git 2.38 or newer, a logged-in claude CLI, and gh or glab for pull or merge requests.
git clone https://github.com/ultish/yagura && cd yagura
scripts/setup.sh
yagura start
scripts/setup.sh checks Node, pnpm and git, runs pnpm install and the build, and links yagura into ~/.local/bin. It adds one marked block to your ~/.zshrc or ~/.bashrc that puts that directory on your PATH. It then reports whether claude, gh and glab are installed and logged in. You can run it again at any time. --no-rc leaves your rc files alone and prints the PATH line instead, --bin <dir> changes where the link goes, and --uninstall removes the link and the block.
yagura start runs the engine and the dashboard in the background on http://127.0.0.1:7300. yagura status shows whether it runs, yagura stop stops it, and yagura restart does both. The log is daemon.log in the state directory. yagura daemon runs it in your terminal instead, which is what a systemd unit wants. Add --debug (or set YAGURA_DEBUG=1) to log every git, gh and glab call, each agent start and exit, evidence runs, API changes, and the background polls. State lives in ~/.yagura, or in YAGURA_HOME if you set it. While you experiment, point YAGURA_HOME at a scratch directory so you don't mix test runs into your real home.
yagura --help lists the everyday commands, and yagura help all lists every one.
Configure
Plugins
Yagura's own skills need no install. The daemon passes plugins/yagura to every agent session, so keep the cloned folder where it is.
Agents use your whole claude setup, and the default method comes from the pstack plugins. Install them once, inside claude:
Any other plugin or skill your work needs goes into the same claude, and every agent gets it. To make yagura stop a unit whose worker skipped a skill, list that skill in the skills.work setting.
Your claude command
Yagura starts claude as a program, without a shell. If claude is a function or alias in your .bashrc, as it is when a proxy is wrapped around it, yagura can't see it. scripts/setup.sh detects this, writes ~/.local/bin/yagura-claude, and sets harness.claude.bin to it. You then edit the wrapper to do what your function does: export the variables it sets, then exec the real claude binary, or the launcher it runs, with "$@". The file shows your function's definition and refuses to run until you edit it. Running setup again keeps your edited wrapper.
An environment tells agents how things run: how tests run, where libraries are published, what must never happen. You describe it in plain words, and a doctor agent turns the description into commands and proves them.
You can fill one in on the Environments page, or let a Claude session do it. Install the yagura skills once, inside claude: