Core Concepts

Syncing & tracking

Once a folder is linked, sync reconciles it with the cloud — pulling down skills and instructions a teammate updated, while preserving your local edits. Tracking is the optional flip side: routing your harness's LLM traffic through Brainbase so every session shows up under the agent.

Syncing

sync computes drift between your checkout and the cloud using the per-component hashes recorded in .brainbase/sync-state.json (gitignored), then applies changes. Force a harness or scope when the folder supports more than one.

bash
brainbase sync                          # reconcile with the cloud
brainbase sync --harness claude-code    # force a harness
brainbase sync --scope project          # force install scope

Tracking conversations

Tracking is opt-in. When enabled, the CLI routes a harness's traffic — claude-code, codex, or kafka — through Brainbase so sessions are searchable and attributed to the agent. You can opt in at either agent create time (with --track) or link time (where it's on by default; skip it with --no-tracking).

bash
brainbase agent create --track   # opt in when creating the agent
brainbase link --no-tracking     # link without routing LLM traffic
Drift is computed, not guessed
Sync state is per-checkout and never committed, so two clones of the same repo each track their own drift independently. See Files & state for what's written where.