spinabot/brigade
Brigade — Your personal intelligence, built enterprise-grade
Brigade – a self‑hosted, multi‑agent AI assistant platform
What it is – Brigade is an open‑source ecosystem that lets you run a crew of AI agents on your own machine (or a server/Raspberry Pi). The agents share a long‑term memory store called Tideline, can be organized in a real‑world‑style org chart, and talk to you through many channels (terminal UI, WhatsApp, Telegram, Slack, Discord, iMessage, etc.). All data and API keys stay on your device; no SaaS account or telemetry is required.
Why it matters – It combines several enterprise‑grade ideas—persistent, provenance‑aware memory, fine‑grained access control, and a plug‑in‑style skill system—into a single, install‑once binary. Because the gateway process holds all state and runs continuously, agents can be scheduled, invoked from cron, or triggered by incoming messages, making the system useful for both personal assistants and small‑team automation.
Core features (as described in the README)
| Feature | What you get |
|---|---|
| Terminal‑first chat UI | A fast, flicker‑free TUI (brigade / brigade tui) that can also act as a thin client for the always‑on gateway. |
| Tideline long‑term memory | File‑backed facts with origin scoping, decay tiers, hybrid keyword + vector recall, and nightly consolidation. |
| Org‑chart crew | Define agents, departments, and reporting lines in cfg.org; policies automatically restrict which agents may talk to each other. |
| Sub‑agents & fan‑out | Spawn isolated child agents (spawn_agent, spawn_agents) with depth and count caps; parent is notified when children finish. |
| Model‑agnostic | Connect to Anthropic, OpenAI, Gemini, OpenRouter, Groq, local Ollama, Claude CLI, etc., and switch models mid‑conversation. |
| Channel adapters | Built‑in adapters for WhatsApp (Baileys), Telegram, Slack (Socket Mode), Discord, iMessage, BlueBubbles; contract ready for more. |
| 1 000+ app connectors | Via the Composio SDK you can ask agents to interact with Gmail, GitHub, Notion, Linear, Calendars, etc., using natural‑language commands. |
| Document & media handling | Agents can read PDFs, Office files, images, audio, video and can create/edit Word/Excel/PowerPoint/PDF files using pure‑JS libraries. |
| HyperFrames video rendering | Turn an HTML/GSAP composition into a deterministic MP4 (optional install). |
| MCP memory server | Expose Tideline to any MCP‑compatible client (Claude Desktop, editors, etc.) via brigade mcp. |
| Self‑hosted storage options | Default filesystem under ~/.brigade/ or an optional self‑hosted Convex database with at‑rest encryption. |
| Cron scheduler | Schedule recurring or one‑off jobs that can trigger agent turns, system events, or shell scripts. |
| Skill system | Drop a folder with a SKILL.md into an agent’s workspace; the skill is injected into prompts automatically (56 bundled skills). |
| Privacy‑first | API keys are stored locally with 0600 permissions; no telemetry, no middle‑man, and you can wipe everything with rm -rf ~/.brigade. |
Quick‑start flow (from the README)
- Install – one‑liner script installs Node (if needed) and the
brigadebinary, or usenpm i -g @spinabot/brigade. - Onboard –
brigade onboardwalks you through storage mode, provider selection, API‑key entry (or Claude/ChatGPT sign‑in), default model, and web‑search backend. - Run the gateway –
brigade gateway runstarts the always‑on process;brigade gateway installregisters it as a system service. - Chat –
brigade tui(or justbrigade) opens the terminal chat UI; you can also usebrigade connectfrom other clients or talk via supported messaging platforms. - Extend – add skills, define org hierarchy, schedule cron jobs, or connect Composio connectors.
Who might use it
- Power users who want a personal AI assistant but refuse cloud‑hosted SaaS and want full control over data.
- Small teams that need a shared “crew” of agents to automate workflows across many tools (e.g., triaging tickets, drafting reports, posting to Slack).
- Developers / hobbyists building custom agents, tools, or integrations and needing a plug‑in framework with persistent memory.
- Enterprises looking for an on‑premise alternative to proprietary AI assistants, because Brigade can run on a Raspberry Pi or a hardened server and integrates with existing identity and storage policies.
Privacy & security highlights
- Local‑only keys – API secrets never leave the host; they are stored with strict file permissions.
- No telemetry – The project explicitly states that no usage data is sent to a third‑party service.
- Access control – Org‑chart policies and origin‑scoped memory prevent agents from leaking information between users or channels.
- Self‑hosted storage – Choose plain‑filesystem or a self‑managed Convex backend; both keep data under your control.
Where to learn more
- Website: https://brigade.spinabot.com
- Docs: The repository contains
docs/(e.g.,tideline.md,composio.md). The README itself links to most major sections. - Installation script: https://brigade.spinabot.com/install.sh
- NPM package:
@spinabot/brigade(shows version, download stats, and node‑engine requirement).
Bottom line
Brigade is a genuine, fully‑featured open‑source platform for building, hosting, and interacting with multi‑agent AI crews. It emphasizes data sovereignty, extensibility, and a rich set of integrations while staying usable from a simple terminal UI.
Related
- Project
- Project
- Project
- Project
- Project