Reference
Technical reference for the-brain — CLI, configuration, API, and tools
Complete reference for every command, config option, API endpoint, and tool in the-brain.
CLI Reference
All CLI commands with every flag and option. 18 commands including init, daemon, consolidate, inspect, train, switch-context, health, wiki, dashboard, context, timeline, backend, docs, plugins, mcp, agent, user, and ext.
Configuration Schema
JSON schema reference for ~/.the-brain/config.json. Every field documented with types, defaults, and environment variable overrides.
HTTP API
Daemon REST API at localhost:9420. Health, stats, timeline, consolidate, train, file ingest, and team-mode user management endpoints.
MCP Tools
26 Model Context Protocol tools across 4 phases. Memory CRUD, graph operations, brain management, training, pipeline, and meta-harness integration.
Environment Variables
All environment variables: THE_BRAIN_HOME, THE_BRAIN_MLX_MODEL, THE_BRAIN_MLX_DEPS, remote mode vars, LibSQL config.
Content Cleaner
Signal extraction from memory content. Removes XML wrappers, normalizes whitespace, handles edge cases in stored memory data.
Benchmarks
SPM Curator evaluation results (WildChat), Graph Memory detection accuracy, LoRA training convergence metrics.