123456brain init /srv/brain/master --company "Acme Co" # edit /srv/brain/master/_meta/org.yaml — add people, roles, teams # edit /srv/brain/master/_meta/spaces.yaml — adjust visibility if needed brain compile --master /srv/brain/master --out /srv/brain/compiled brain doctor --master /srv/brain/master --out /srv/brain/compiled # run after setup and from cron; nonzero exit = integrity error
brain compile on every master change, from cron (flock /var/lock/brain-cycle.lock brain cycle … does it as part of the cycle). The full walkthrough is in Getting started./srv/brain/compiled/<person-id> only
(e.g., a per-person deploy key or per-person remote). Never to the master.1git clone <their-vault-remote> ~/brain
12hermes profile install github.com/<your-org>/company-brain --alias # set terminal.cwd to ~/brain in the profile config before first run
CLAUDE.md carries the same protocol.hermes cron --no-agent job so your agent tells you when a decision is waiting on you, instead of you remembering to check Shares.md. It prints nothing when nothing is pending, so nothing is delivered.12brain index --vault ~/brain claude mcp add brain -- brain mcp --vault ~/brain
brain index is keyword-only until an embedding provider is configured (see
Configuration — BRAIN_EMBED_BASE_URL etc.); set
one to add semantic search. The .brain/ index is machine-local and
gitignored, so it never syncs — each device builds its own.People/<you>/Inbox/; the agent ingests and routes
them. Articles, links, PDFs, and screenshots you send get distilled into the
shared Company/Intel/ wiki
rather than archived whole. Drop a file directly, or feed a channel (email/chat/voice/upload)
that wraps the intake primitive:1echo "decided X" | brain ingest --master /srv/brain/master --person <you> --source voice
_meta/webhook.yaml and run the signed receiver on the
server, behind a TLS reverse proxy:1brain webhook --master /srv/brain/master
flock /var/lock/brain-cycle.lock:1brain cycle --master /srv/brain/master --out /srv/brain/compiled --json
brain promotions approve <id> --master ... --approver admin (the approver is
an admin-role identity from org.yaml — a dedicated operator account, not an
employee; anything else is refused). A separate, owner-initiated flow runs
alongside it: whoever owns a space (an advisor granted, or self-service-created,
a client) can share or revoke a colleague's access to it themselves via
brain shares — share still queues for
approval by its decider (the recipient for a person-share, a team lead for a
team-share, an admin for company-wide), but revoke auto-applies the same
cycle.brain index --vault ~/brain — cheap, only changed files re-embed) and queries via the brain MCP
tools. For server-hosted agents, add --index to the cycle so indexes refresh
centrally:1brain cycle --master /srv/brain/master --out /srv/brain/compiled --index --json