amq-squad
amq-squad 3.0 runs a squad of coding agents (Claude Code, Codex and the
built-in pi) on one repository, inside grants the owner sets, over durable
AMQ by
Aviv Sinai. It is a rebuild on AMQ's coop
primitives: the v2 launch and orchestration code is gone, and what remains is a
smaller, security-first core.
The model in five lines:
- AMQ is the rail. Seats start through AMQ's launch API; mail, wake and
cross-project routing are AMQ's.
- The squad is one file.
<repo root>/squad.yaml names the seats, the lead
and the narrowing of the owner's grant. It is written only through a digest
the owner (manual mode) or the grant (auto mode) approves.
- The owner's limits live outside the repository.
~/.amq-squad/grants.yaml
sets the mode, the seat and cost caps, the runtimes and the merge grants;
squad.yaml can only narrow it.
- Seats never commit, merge or release. A seat edits its worktree; the
harness commit step commits only the task's declared files, the merge train
lands PRs inside the merge grant, and tags and releases wait for the owner.
- Four typed gates stop for the owner: tag and release, external send,
credential change, and growth beyond the grant. The owner answers from Buzz on
the phone with a signature the Go core verifies.
Contents
What's new in 3.3.1
3.3.1 lets a gate raised into a new session be answered:
docs/v3.3.1-release-notes.md. In short:
gate raise, release prepare, the merge train and the growth gate give
a new session's gate an identity your answer matches; the mkdir -p step
before release prepare or gate raise is no longer needed.
- The merge train finds a gate approved in a session it joined before the
session existed.
- A growth gate raised while the transport was down can be answered.
- A gate 3.3.0 already wrote is not repaired; the notes say how to raise it
again.
- The notes list 3.3.1's known limits; what waits is in
docs/v3-followups.md.
Earlier releases are in their notes, listed under
Where the plan and evidence live.
Install
go install github.com/omriariav/amq-squad/v3/cmd/[email protected]
amq-squad version
The module path carries /v3. A go install build has no embedded pi
runtime: amq-squad lead, solo mode and pi seats refuse with "this amq-squad
build carries no pi runtime". The pi runtime is embedded only by a darwin arm64
build from a checkout, with scripts/build-pi-runtime.sh all (one networked
fetch of Node, fd and rg with checked SHA-256s, then an offline go build -tags amqpi to build/pi/amq-squad). Claude and Codex seats need no pi runtime.
The Claude Code plugin carries the skills and the seat hooks. Install it at
user scope (docs/claude-hooks.md):
claude plugin marketplace add omriariav/amq-squad --scope user
claude plugin install amq-squad@amq-squad --scope user
For Codex, add the same marketplace with codex plugin marketplace add omriariav/amq-squad. The skills (amq-squad:wizard, amq-squad:cli,
amq-squad:orchestrator) are described in docs/skills.md.
Requirements
amq-squad doctor probes all of these and names what is missing:
amq 0.140.0 or later on PATH (and amq-remote, amq-owner-sign, each
0.140.0 or later when installed); amq-squad doctor refuses an older one
- Claude Code (
claude) for Claude seats, with the owner's pin and token file
(below)
- Codex (
codex) for Codex seats, with each seat repository trusted in
~/.codex/config.toml
- the built-in pi (a pi-runtime build, above) for the pi lead and pi seats;
ollama for local pi models
tmux: AMQ creates each seat as a tmux pane
gh, pinned in the registry, for the harness's PRs and HTTPS pushes
- macOS on Apple silicon (see "Platforms" below); Go 1.26.11+ to build
pandoc 3.11 only to regenerate or check README.html and docs/skills.html