BrainDB: Karpathy's 'LLM wiki' idea, but as a real DB with typed entities and a graph
r/LocalLLaMA
•
Generative AI
AI Research
Why BrainDB? Inspired by Karpathy's LLM wiki idea - give an LLM a persistent external memory it can read and write. BrainDB takes that further by adding structure, retrieval, and a graph on top of the "plain markdown files" baseline. vs. RAG. RAG is stateless: embed documents, retrieve similar chunks on every query, stuff them into context. There's no notion of an entity that persists, accrues connections, or ages.