Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Configuration

Cerebro reads a config.toml file. The CLI and TUI use the XDG default ($XDG_CONFIG_HOME/cerebro/config.toml, or ~/.config/cerebro/config.toml if XDG_CONFIG_HOME is unset — same on every platform). The MCP server uses CORTEX_PATH to locate the cortex data directory (falls back to ~/Projects/cortex).

Where the config is loaded from

Priority:

  1. --config <path> CLI flag (explicit override)
  2. XDG config dir ($XDG_CONFIG_HOME/cerebro/config.toml, falling back to $HOME/.config/cerebro/config.toml) — the default
  3. CORTEX_PATH env var (legacy fallback for users who colocate config with their cortex data dir)
  4. ./config.toml in the current working directory (last-resort fallback)

Example Configuration

[settings]
opencode_db_path = "~/.local/share/opencode/opencode.db"
pi_sessions_path = "~/.pi/agent/sessions"
output_dir = "./content"

[[projects]]
name = "my-project"
repo_path = "~/Projects/my-project"
active = true

Settings

SettingRequiredDescriptionDefault
output_dirNoWhere to write the generated dashboard./content
opencode_db_pathNoPath to OpenCode’s session database. Only needed if you want OpenCode session history.None
pi_sessions_pathNoPath to Pi’s sessions directory. Only needed if you want Pi session history.None

Project Configuration

Define each project with:

SettingDescriptionRequired
nameProject nameYes
repo_pathPath to git repositoryYes
activeInclude in dashboard generationYes

Manual notes

Manual notes aren’t configured per-project. They live directly in your cortex:

PathPurposeEdited by
content/intent/Goals for daily, weekly, monthly, or yearly periodsHuman only
content/notes/Evergreen notes and documentationHuman only
content/SUMMARY.mdNavigation structureHuman only

An AGENTS.md file in your cortex defines the boundary between auto-generated and manual content. Cerebro only writes to content/index.md, content/projects/, content/journal/, content/today.md, and content/this-week.md.