Plugins
Extend the-brain with custom plugins
the-brain's entire functionality is built on plugins. The core is an empty data bus — everything else is swappable.
Starter Pack
| Plugin | Layer | Description |
|---|---|---|
plugin-graph-memory | ⚡ Instant | Graph-based memory layer |
plugin-spm-curator | ⚖️ Selection | Surprise-gated filtering |
plugin-data-curator | ⚖️ Selection | Quality gate (heuristics + LLM Judge) |
plugin-identity-anchor | 🌌 Deep | Stable self-vector |
plugin-auto-wiki | Output | Weekly Markdown wiki |
plugin-harvester-cursor | Input | Cursor interactions |
plugin-harvester-claude | Input | Claude Code interactions |
plugin-harvester-gemini | Input | Gemini CLI interactions |
plugin-harvester-hermes | Input | Hermes Agent interactions |
plugin-harvester-lm-eval | Input | Benchmark result harvesting |
trainer-local-mlx | Training | Apple Silicon LoRA |
mcp-server | Integration | MCP protocol server |
storage-libsql | Storage | Turso/LibSQL remote |
Plugin Interface
interface PluginDefinition {
name: string;
version?: string;
description?: string;
setup(hooks: PluginHooks): void | Promise<void>;
teardown?(): void | Promise<void>;
}See Also
- Writing Plugins — Step-by-step guide
- Harvesters — Adding tool support
- Storage Backends — SQLite vs LibSQL