What is Brigade?
Brigade organises several agents into a crew rather than a single assistant. Each agent is isolated — its own persona, workspace, credentials and memory — and the crew is wired into an org chart that governs who can delegate to whom. It sits in the Multi-Agent Systems category of the Agents & Automation tools and is open-source, written in TypeScript and licensed MIT.
Overview
Brigade organises several agents into a crew rather than a single assistant. Each agent is isolated — its own persona, workspace, credentials and memory — and the crew is wired into an org chart that governs who can delegate to whom. What makes the arrangement useful is shared long-term memory: an engine the project calls Tideline persists facts across sessions with origin scoping, decay and hybrid keyword-plus-vector recall, so what one agent learns the rest can use. Agents can switch models mid-task without losing the thread, and privileged actions wait for your approval.
Architecturally it is one binary that runs either as a gateway — the long-lived process holding all state and running the agent loop — or as a thin client attached to it over WebSocket. The TUI, `brigade connect` and every channel adapter are clients; state lives only in the gateway, so you can disconnect, walk away and reconnect while agents keep running. Everything sits under a single `~/.brigade/` directory holding config, per-agent workspaces, JSONL sessions, memory and cron jobs, with keys stored locally at mode 0600. Storage defaults to the filesystem; an optional fully self-hosted Convex backend with at-rest encryption is available for larger installs. There is no account to create, no SaaS in the middle, and no telemetry.
The surface area is deliberately wide. Models can come from Anthropic, OpenAI, Gemini, OpenRouter, OrcaRouter, Token Market, Groq, Cerebras, xAI, DeepSeek, Mistral, local Ollama or any OpenAI-compatible endpoint — and if you have no API key, onboarding can sign in with a Claude, ChatGPT or Copilot subscription, or reuse an existing Claude Code or Codex CLI login. You reach the crew from a terminal TUI, WhatsApp, Telegram, Slack, Discord, iMessage and BlueBubbles. A built-in Composio tool opens 1,000+ app connectors, documents in PDF, Office, image, audio and video form can be both read and authored, and `brigade mcp` exposes the long-term memory to any MCP client while external MCP servers can be connected in. It is MIT-licensed and runs the same on a Raspberry Pi or a server.
What it does
- Isolated agents with their own personas, credentials and workspaces, wired into an org chart that governs delegation
- Tideline long-term memory — facts persist across sessions with origin scoping, decay and hybrid keyword + vector recall
- Gateway/client split over WebSocket: state lives in the gateway, so clients can disconnect while agents keep running
- Any model provider, switchable mid-conversation — or sign in with a Claude, ChatGPT or Copilot subscription instead of an API key
- Channels: terminal TUI, WhatsApp, Telegram, Slack, Discord, iMessage and BlueBubbles, on a documented adapter contract
- 1,000+ app connectors through the built-in Composio tool, plus reading and authoring Word, Excel, PowerPoint and PDF files
- `brigade mcp` exposes memory to any MCP client, and external MCP servers can be connected in
- Always-on operation: crash supervisor, cron jobs and OS service install (launchd / systemd / Task Scheduler)
- Everything under ~/.brigade/ with keys at mode 0600 and no telemetry; optional self-hosted Convex storage with at-rest encryption
Getting started
Brigade needs Node 22.12+. The shell installer will set Node up for you if it is missing; if you already have it, npm works directly.
Install
The installer sets up a private, user-owned runtime, so `sudo` is never needed. Hitting EACCES on the npm path means your global folder needs admin rights — point npm at a user-writable prefix instead of escalating.
# macOS / Linux — handles Node for you
curl -fsSL https://brigade.spinabot.com/install.sh | sh
# already on Node 22.12+
npm i -g @spinabot/brigadeInstall on Windows
irm https://brigade.spinabot.com/install.ps1 | iexRun onboarding, start the gateway, open the TUI
Onboarding walks five steps: storage mode (filesystem or self-hosted Convex), provider, how to connect it, default model, and a web-search backend. `brigade tui` auto-starts the gateway if it is not already running, so a quick local session can skip step 2.
brigade onboard # pick a provider, connect it, choose a model
brigade gateway run # the always-on process: crew, channels, cron
brigade tui # chat with your crewKeep it running across reboots
Installs a launchd, systemd or Task Scheduler service so the gateway — and with it the channels and cron jobs — survives a restart.
brigade gateway installOther entry points
brigade agent -m "summarize ~/today.md" # one-shot turn, no TUI
brigade connect # attach a client to a running gateway
brigade doctor # health-check your install
brigade mcp # expose memory as an MCP serverCommands and code are distilled from the project's own documentation — always check the official repo for the latest.
When to use it
- Run a standing crew of specialised agents that share what they learn, instead of re-briefing one assistant every session
- Reach your agents from WhatsApp or Telegram while the gateway keeps working on your own hardware
- Keep keys, sessions and memory entirely under ~/.brigade/ on a machine you control, with no account and no telemetry
- Schedule recurring agent work with built-in cron and let the crash supervisor keep it alive
How Brigade compares
Brigade alongside other open-source multi-agent systems tools AI/TLDR tracks, ranked by GitHub stars.
| Tool | Stars | What it does |
|---|---|---|
| Paperclip | ★ 118k | A self-hosted control plane that runs a team of AI agents like a company, with an org chart, tasks, budgets and approvals. |
| Ruflo | ★ 82.7k | Agent meta-harness that wraps Claude Code and Codex with 100+ specialized agents, swarm coordination, vector memory, background workers and cross-machine agent federation. |
| MetaGPT | ★ 71.5k | A multi-agent framework that models a software company, assigning roles like product manager, architect, and engineer to generate code from a single prompt. |
| AutoGen | ★ 62k | Microsoft Research's framework for building applications where multiple agents converse with each other and with tools to solve tasks. |
| CrewAI | ★ 61.4k | A framework for assembling teams ('crews') of role-playing agents that divide tasks and collaborate to complete a goal. |
| AgentScope | ★ 36.9k | A framework for building multi-agent applications with message passing, visual debugging tools, and distributed execution. |
| OpenAI Agents SDK | ★ 30.9k | OpenAI's lightweight Python SDK for building multi-agent workflows using explicit handoffs, tools, and guardrails. |
| Brigade | ★ 11.4k | A self-hosted crew of agents on an org chart sharing one long-term memory, reachable from a TUI or from WhatsApp, Telegram, Slack and Discord |
