Skip to content

Shape how your AI thinks

Composable layers for agent behavior and constraints. Define once, switch instantly.

Agent config files grow into unmanageable walls of text. One monolithic prompt for every task. Copy-paste between projects. No way to switch behavior without rewriting everything. See Why Composable Prompts for the full case.

Instead of one monolithic config file, brainjar separates agent behavior into composable layers. Each layer is a markdown document managed on the server. Mix and match them per project, per task, or per session.

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

That gives you a soul, a persona, and rules — all wired into your CLAUDE.md and ready to go. Already have a large config file? Migrate it.

brainjar is built with incur, a CLI framework designed for agent consumption. Every command auto-detects whether it’s talking to a human or an agent — structured output (TOON, JSON, YAML) when piped, formatted text with context when interactive. Agents discover the full CLI via --llms, MCP server, or skill files.

Terminal window
brainjar status # human: formatted with context
brainjar status --format toon # agent: structured data

These docs are agent-readable too. Point your agent at brainjar.sh/llms.txt for a doc index, or append .md to any page URL for raw markdown (e.g. /getting-started.md).