# pitcrew

> A package for the pi coding agent that adds roles, child agents, a command guard, a verify gate and an unattended runner.

- URL: https://vincenzo.imperati.dev/projects/pitcrew
- Published: 2026-11-13
- Category: Personal
- Role: Author
- Stack: TypeScript, Node.js, pi, Docker
- Repository: https://github.com/VincenzoImp/pitcrew

pitcrew is a package for the [pi coding agent](https://github.com/earendil-works/pi).
A session talks to a `lead` role; `worker`, `scout`, `reviewer` and `second`
do the rest. A profile maps each role to a model and a thinking level, so the
same setup works with a subscription, an API key or a local server.

The lead starts child agents in the background; a panel lists them, and the
user can steer, answer or stop each one. `stop` sets how far the agent goes
alone, from a plan to a merged pull request, and `rigor` sets which checks run.
A guard blocks catastrophic commands and asks before risky ones; the verify
gate accepts "done" only when the repository's own check passed on the current
tree.

`pitcrew run` works through the GitHub issues of a milestone one at a time:
worktree, fresh worker, checks, pull request, review, then merge or stop. It
can be resumed and uses a container for repositories that are not the user's.

Published on npm as `@vincenzoimp/pitcrew`.
