Brain, Explained

TL;DR AI
2 min readKey summary
Brain is an open-source tool designed to help AI coding assistants work with project-specific context instead of starting from scratch.
It lives inside a codebase and uses memory, retrieval, and budgeted context packets to gather only the most relevant information for a task.
The system combines lexical and semantic search to surface project notes and code patterns, then passes a compact context bundle to the model.
The goal is to make tools like ChatGPT, Codex, and Claude more accurate and reliable for real coding work.

