Run agents anywhere. Give them a shared memory. BrigadeStack helps coding agents pick up each other’s work and keep that memory useful over time.
Website · Docs · Quickstart · Compare · Contributing · Changelog
BrigadeStack helps coding agents pick up each other's work and keep that memory useful over time. Review a handoff, file what should stick as a Markdown card, and the next agent can find it by searching the repository's memory.
The resources available depend on the integration. See More agent tools, Orchestrators and hosted agents, and Rex terminal.
| Challenge | How BrigadeStack helps |
|---|---|
| A new session starts without the last decision. | The next agent can search the project’s memory cards by topic. |
| You switch agents halfway through a task. | A handoff tells the next agent where work stopped and what to pick up. |
| Saved lessons go stale or pile up. | Reflection checks memory cards for duplicates, newer evidence, and conflicting claims. |
memory/cards/ as payments-retry-policy.md. Commit the card to share it with another checkout."payments retry" and reads the filed card before working on the client.| If you use | Requires |
|---|---|
| pipx | Python 3.11+ |
| npm | Node.js 22+ |
pipx install brigadestack
# or
npm install -g brigadestack
After installing, run brigadestack.
The primary package is brigadestack on PyPI and npm. The brigade-cli PyPI package and the @escoffier-labs/brigade npm package install the same CLI as brigade. To upgrade either compatibility package in place, use pipx upgrade brigade-cli or npm update --global @escoffier-labs/brigade.
Install only one npm package globally. Both packages link brigade, so installing the second returns EEXIST. To move from @escoffier-labs/brigade to brigadestack, run these commands in order.
npm uninstall --global @escoffier-labs/brigade
npm install --global brigadestack
Start in a scratch Git repository and set up the agent tools you use. Add --dry-run to preview the setup. This walkthrough skips installing the care schedule.
brigadestack operator quickstart --target . --harnesses claude,codex --no-care
Claude Code leaves a decision for the next agent. After working on the payments client, it drafts a handoff with the retry policy it learned.
draft_card="$(mktemp)"
cat > "$draft_card" <<'CARD'
---
title: Payments retry policy
category: foundation
tags: [payments, retries]
---
Retry transient failures up to three times. Skip retries on 4xx responses.
CARD
brigadestack handoff draft --type decision --inbox claude \
--title "Payments retry policy" \
--summary "Retry transient failures up to three times. Skip retries on 4xx responses." \
--action create-card --target-card payments-retry-policy.md \
--content-file "$draft_c
Reject negative limits in center readiness listings
https://github.com/escoffier-labs/brigadestack/issues/3314
Labels: good first issue, reserved-for-humans
Reject negative limits in daily history
https://github.com/escoffier-labs/brigadestack/issues/3313
Labels: good first issue, reserved-for-humans
Cover invalid numeric options in friction scan tests
https://github.com/escoffier-labs/brigadestack/issues/3278
Labels: good first issue, reserved-for-humans
memory: handoffs that restate a card's fact must update that card, and freshness must cover last_verified cards
https://github.com/escoffier-labs/brigadestack/issues/3276
Labels: bug, size:M
feat(evidence): add Antigravity session parser and refresh Codex/Claude/Hermes transcript coverage
https://github.com/escoffier-labs/brigadestack/issues/3266
Labels: enhancement
perf(orchestration): parallel/lazy batch worktrees, native Rust hub cutover for hot /policy and /work routes, and fair admission
https://github.com/escoffier-labs/brigadestack/issues/3265
Labels: enhancement
perf(memory): identifier-aware BM25F, thresholded adaptive hybrid RRF, Rust hub fast paths, and concurrent memory verify
https://github.com/escoffier-labs/brigadestack/issues/3264
Labels: enhancement
Brigade coordinates autonomous coding agents across machines and cloud seats under operator-defined policy. Agents leave receipts and run journals, then pass evidence packages and handoffs to the next agent. Memory, MCP servers, and skill sync share that record of work. Brigade grew out of Solomon's Cookbook, and patches are welcome. Before you start, please skim this file so we both spend our time on the right things.
External contributions are welcome. This section is the short path. Pull requests below lists the full merge gates.
good first issue or help wanted. If nothing fits, comment on an existing issue or open one before you spend time on a surprise scope.ci-gate on the exact head commit supplies suite and coverage evidence. After pushing, wait for that check on the head SHA. A local receipt is not evidence that the suite passed.This example uses GitHub CLI and a POSIX shell. Install Python 3.11 or newer and sign in with gh auth login first. Claim the issue before editing.
gh repo fork escoffier-labs/brigadestack --clone
cd brigadestack
git switch -c docs/quickstart-scheduler
python3 -m venv .venv
source .venv/bin/activate
python -m pip install -e ".[dev]"
For the scheduler wording issue, edit docs/first-10-minutes.md. Then run the issue's focused check and scan the changed file.
brigade work verify run --target . --command "python -m pytest -q tests/test_init_care.py::test_quickstart_no_care_skips_both_steps_and_names_the_commands" --capture brigade-work
brigade guard scan docs/first-10-minutes.md --policy src/brigade/guard/policies/public-repo.json
git diff --check
After all three checks pass, commit and open the PR. This example uses a human-written description. If an agent writes your description, include the attribution block before submitting.
git add docs/first-10-minutes.md
git commit -m "docs: clarify quickstart scheduler behavior"
git push -u origin docs/quickstart-scheduler
fork_owner="$(gh api user --jq .login)"
pr_url="$(gh pr create --repo escoffier-labs/brigadestack --base main \
--head "$fork_owner:docs/quickstart-scheduler" \
--title "docs: clarify quickstart scheduler behavior" \
--body "Refs #3169. The focused quickstart test, content guard, and git diff check passed.")"
gh pr checks "$pr_url" --required
In the PR description, link the issue and list the exact local checks and their results. Check the PR again after GitHub finishes running workflow-guard and ci-gate on the latest commit.
CI changes must preserve these behaviors:
ci-gate rejects failed checks, missing dependencies, and unclassified skips. It accepts only the documented, positively classified skips.Exercise the event and gate behavior when changing selection. Matching YAML text alone does not establish which jobs GitHub will schedule.
The workflow guard checks changes to CI machinery from the pull request's base branch.
main is branch-protected. A dispatched session cannot supply the review artifact required by its own pull request. GitHub enforces the configured required checks, conversation resolution, and review requirements. Follow the current branch protection and any explicit maintainer review requirements. This document does not authorize bypassing them.
GitHub-enforced gates on main: