DEPRECATED โ€” PROJECT ARCHIVEDthe-brain is no longer maintained. Source and documentation are preserved for reference only.
๐Ÿง the-brain

Start Here (Archived)

Historical the-brain onboarding documentation

DEPRECATED โ€” PROJECT ARCHIVED. This onboarding section is retained for historical reference. the-brain is no longer maintained and has no supported installation path.

the-brain was an extensible background daemon that observed interactions with AI tools and built a persistent memory tailored to you.

What the-brain Was

AI tools forget between sessions. the-brain was designed to remember patterns, preferences, corrections, and evolving style. It ran locally and required no manual input.

Historical Onboarding

The installation and quickstart material in this section describes the former project workflow only. Do not use it to start a new installation.

โ†’ Historical Tutorial โ€” end-to-end walkthrough with a real project

Architecture at a Glance

What the-brain Was Designed to Learn

  • Corrections: "No, actually use useCallback here" โ†’ remembered for later
  • Preferences: "I prefer arrow functions" โ†’ injected into later contexts
  • Patterns: Repeated choices โ†’ suggested related concepts
  • Projects: Per-project memory isolation with cross-project promotion
  • Identity: A stable self-vector tracked across retrains

Sections

  • Start Here โ€” Archived installation, quickstart, configuration
  • Core Concepts โ€” Architecture, hook system, memory layers
  • Customization โ€” Plugins, harvesters, training, storage
  • Reference โ€” CLI, config schema, MCP tools, env vars
  • Integrations โ€” MCP server, remote mode, AI tools, team mode, menu bar
  • Development โ€” Contributing, project structure, testing

Tech Stack

ComponentTechnology
RuntimeBun + TypeScript
Databasebun:sqlite + Drizzle ORM
Pluginshookable event system
TrainingApple MLX (Python sidecar)
DocsNext.js + Fumadocs

License

MIT ยฉ 2026 Oskar Schachta

On this page