Getting Started
Install
Section titled “Install”bun install -g @brainjar/cliOr with npm:
npm install -g @brainjar/cliInitialize
Section titled “Initialize”brainjar init --defaultThis creates your config, downloads the brainjar server, starts it, and seeds starter content:
- Soul:
craftsman— direct, rigorous, craft-oriented voice - Personas:
engineer(activated),planner,reviewer— three workflows out of the box - Rules:
boundaries,context-recovery,task-completion,git-discipline,security
It also syncs everything into your CLAUDE.md (or AGENTS.md for Codex).
Verify
Section titled “Verify”brainjar statussoul craftsmanpersona engineerrules boundaries, context-recovery, task-completion, git-discipline, securityYour first switch
Section titled “Your first switch”Try changing the persona for a different workflow:
brainjar persona use reviewerbrainjar status --syncNow your agent behaves as a code reviewer instead of an engineer — same soul, same rules, different workflow.
What happened
Section titled “What happened”brainjar fetched your active layers from the server, merged them, and inlined them into your agent’s config file between <!-- brainjar:start --> / <!-- brainjar:end --> markers. Everything outside the markers is yours.
Next steps
Section titled “Next steps”- Learn about the core concepts — soul, persona, rules, brain
- Register brainjar as an MCP server — give your agent native access to all brainjar tools
- Migrate an existing config into composable layers
- See the full CLI reference
- Browse recipes for common workflows