Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

BrigadeStack by Escoffier Labs

Run agents anywhere. Give them a shared memory.

Website · Docs · Quickstart · Compare · Changelog

CI status of the merge queue PyPI version of brigadestack Combined PyPI and npm downloads per month Python 3.11+ Rust: code graph engine Go: evidence log engine MIT license

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.

Where agents run and what they share through BrigadeStack. Claude Code, Codex, Cursor, OpenCode, OpenClaw, Hermes, ChatGPT dots, Claude Duet, and any MCP agent appear alongside the T3 Code and Orca orchestrators. Shared resources include memory, tasks and claims, check records, MCP servers, and skills.

The resources available depend on the integration. See More agent tools and Orchestrators and hosted agents.

What problem does BrigadeStack solve?

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.

Install with pipx (Python 3.11 or newer) or npm (Node.js 22 or newer). The command is brigadestack. brigadestack on PyPI is the Python package. The brigade-cli PyPI package (the same code under the old name) and the @escoffier-labs/brigade npm compatibility package install the same CLI as brigade, so existing users keep their command and pipx upgrade brigade-cli keeps working.

pipx install brigadestack
npm install -g brigadestack

Install only one npm package globally. brigadestack and @escoffier-labs/brigade both link brigade, so npm stops with EEXIST on the second one. If @escoffier-labs/brigade is installed and you want the new name, run npm uninstall --global @escoffier-labs/brigade first, then npm install --global brigadestack. Keeping @escoffier-labs/brigade and running npm update --global @escoffier-labs/brigade also works.

Quick start with a shared handoff

flowchart TD
  draft["Claude Code<br/>drafts handoff"] --> review["Memory owner<br/>reviews and files card"]
  review --> search["Codex finds<br/>the card"]

  accTitle: Shared handoff walkthrough
  accDescr: Claude Code drafts a handoff. The memory owner reviews and files the Markdown card. Codex searches memory and reads the filed card. Use the same checkout, or commit and share the card with another checkout.

See the detailed payments retry handoff.

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_card"

The memory owner reviews and files the draft. Run brigadestack handoff list and brigadestack handoff show <handoff-id> to inspect it. If the example card is approved as written, file it from the same shell. See handoff review and filing for other ways to file drafts.

mkdir -p memory/cards
cp "$draft_card" memory/cards/payments-retry-policy.md

Codex picks up the decision in its next session. Ask it to look up the payment retry policy. It can search the same checkout or any checkout that has the committed card.

brigadestack memory search "payments retry"

The search returns memory/cards/payments-retry-policy.md. Codex can read the card before changing the client.

Keep memory useful over time

Memory care scans cards for issues that need review. Reflection compares cards with newer evidence, finds exact duplicates, proposes adding supporting evidence, and flags conflicting claims for review. Preview the candidates with brigadestack memory reflect run --dry-run --target ..

When you install the daily reflection schedule, it runs those checks without a session prompting it. Local candidates stay as proposals. With a configured Hub and automatic application enabled, the Hub can add verified evidence to a card or merge exact duplicates after its policy checks pass. New workspaces start with that workspace policy enabled. Existing workspaces keep their policy. Use brigadestack memory reflect auto-apply off --target . to stop automatic application, or on to opt in. See Memory Care for scheduling, review, and rollback.

flowchart TD
  inputs["Cards and cited evidence"] --> reflect["Run reflection"]
  reflect --> proposal["Propose evidence or<br/>exact duplicate merge"]
  proposal -->|"Approved"| applied["Apply card update"]
  proposal -->|"Held"| unchanged["Card unchanged"]
  applied --> search["Find updated card<br/>in memory search"]

  accTitle: Memory reflection and review
  accDescr: Reflection compares cited evidence with existing cards and finds conflicts, evidence additions, or exact duplicates. Conflicts go to manual review. Evidence additions and exact duplicates stay local proposals for owner review, or follow configured Hub auto-apply policy gates. Held proposals leave cards unchanged. Approved changes can be found by search. Reflection does not promote handoffs or rewrite claims.

The memory owner can review a proposal. When Hub auto-apply is enabled, eligible evidence additions and exact duplicate merges can apply after policy checks pass. Conflicts go to review.

Tools that share memory

Tool What you get
Claude Code, Codex, Cursor, OpenCode Workspace instructions, handoff inboxes, and MCP and skill config.
ChatGPT Dot Memory, skills, and Hub messages through a connector you host.
Claude Duet Memory, skills, Hub messages, and read-only fleet views through a connector you host.

Share MCP server config through .brigade/mcp.json and preview changes with brigadestack mcp sync. With --write, sync preserves native auth for Codex and OpenCode. It preserves Claude Code's auth helper and refuses to prune an entry that uses it or point that entry at a different server. See MCP sync for tool-specific setup and the skill registry for ways to share skills.

Worker dispatch

Tool What you get
T3 Code Session presence and local child tasks launched by a T3 parent session. Brigade tracks task claims, status, results, and acknowledgements.
Orca A coordinator launches local Orca workers. Brigade tracks claims, worker receipts, and outcomes.

The Dot connector can also dispatch T3 fleet tasks.

Across machines

Agents on several machines share memory through a hub service you run on a network you control. A card pushed from a laptop turns up in a search on a desktop. Task ownership, messages and model policy live in the same place. The fleet docs cover setup.

Limits

A handoff is a draft until someone files it as a card. The packaged hub and the Dot listener are Linux only. Dot and Duet are not woken instantly: each checks for work when a session or scheduled run starts.

Optional verification

See verification modes and receipts for recording checks, choosing when to require them, and using the code graph.

MCP servers

  • brigadestack memory serve-mcp --stdio serves memory cards, the work brief and write_handoff, which drafts a handoff and never edits a card.
  • brigadestack skills serve-mcp --stdio serves the reviewed skill registry, read-only: search, read and lint skills.

Commands · Execution model · Contributing · Issues · MIT license

Questions and ideas: Discussions.

BrigadeStack is built by Escoffier Labs. Principal engineer: Solomon Neas.

The Python CLI may send a passive version request. Telemetry lists its fields and opt-outs.

About the downloads badge

The downloads badge sums brigadestack and brigade-cli on PyPI (excluding mirrors) and brigadestack and @escoffier-labs/brigade on npm over the same 30 completed UTC days. Downloads include automation and do not count unique people. The metric JSON records each source, the period, and the last successful refresh. npm platform companions are excluded. Daily refreshes retain the previous metric if a source fails validation or its latest day is more than three UTC days old.

Metadata

Release files for brigadestack 0.33.0.dev20261201

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for brigadestack 0.33.0.dev20261201
File Interpreter ABI Platform Actions
brigadestack-0.33.0.dev20261201-py3-none-any.whl Python 3 none any Details for brigadestack-0.33.0.dev20261201-py3-none-any.whl

Release files / brigadestack-0.33.0.dev20261201-py3-none-any.whl

Download URL brigadestack-0.33.0.dev20261201-py3-none-any.whl
Size 5.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
9bbea50cf471214d4a35f08762f3d5a81d358d053e87c750dc5a5868b796b190
BLAKE2b-256 checksum
How to use checksums
755418a4c5adfc57f2794591cbf3bb11c6c0c349fd430dddacf585c1b0746c36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Security for brigadestack 0.33.0.dev20261201

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

1 file in this release has been uploaded with provenance metadata.

Attestation for brigadestack-0.33.0.dev20261201-py3-none-any.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page