Skip to content

Getting Started

Terminal window
bun install -g @brainjar/cli

Or with npm:

Terminal window
npm install -g @brainjar/cli
Terminal window
brainjar init --default

This 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).

Terminal window
brainjar status
soul craftsman
persona engineer
rules boundaries, context-recovery, task-completion, git-discipline, security

Try changing the persona for a different workflow:

Terminal window
brainjar persona use reviewer
brainjar status --sync

Now your agent behaves as a code reviewer instead of an engineer — same soul, same rules, different workflow.

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.