Quickstart
Your first the-brain session in 5 minutes
1. Start the Daemon
the-brain daemon startRuns in the background, polling IDE logs every 30s.
2. Work Normally
Use Cursor, Claude Code, or Windsurf. the-brain harvests interactions automatically.
3. Check Your Brain
the-brain inspect --stats # Memory counts, graph nodes
the-brain inspect --recent # Latest interactions
the-brain inspect --graph # High-weight graph nodes
the-brain inspect --search "React hooks" # Search memory4. Force Consolidation
the-brain consolidate --now # Promote to DEEP layer
the-brain train # Run LoRA training5. Context Injection
the-brain context --prompt "fix the auth bug" --format markdownReturns relevant memories and corrections to inject into your next LLM prompt.
6. Dashboard
the-brain dashboardLive TUI showing memory layers, graph weights, recent interactions.
7. Project Contexts
the-brain init --project e-commerce
the-brain switch-context --project e-commerce
the-brain inspect --stats --global