More on the topic...
Generating detailed summary...
Failed to generate summary. Please try again.
Andrej Karpathy sketched out a new way to build personal knowledge bases he calls “LLM Wiki.” Instead of chopping documents into vectors every time you ask a question, this pattern has the LLM read raw sources once, extract key points into a structured markdown wiki, and keep that wiki up to date. No external vector database. You drop PDFs, articles or transcripts into a raw/ folder. The agent reads them, writes summary pages, updates concept and entity pages, and maintains a master index. Contradictions get flagged, cross-references get created automatically.
The system runs three operations. Ingest pulls in new material, updates all relevant wiki pages and the index. Query searches the wiki’s existing pages to answer your questions and then turns useful answers into fresh wiki entries—so every interaction enriches the knowledge base. Lint is a scheduled health check: the LLM scans for outdated info, broken links, orphaned pages and fills gaps. Over time, the wiki grows richer and more consistent without re-retrieving fragmented context.
Karpathy’s pitch tackles two chronic RAG problems: stateless retrieval that repeats the same embedding dance on every query, and chunking that destroys context by slicing up documents. LLM Wiki treats knowledge as a codebase—immutable sources feed into a live “program” of markdown code that accumulates understanding. The result is coherent articles, entity pages and indexes you can query instead of scattered text fragments.
He even ties it back to Vannevar Bush’s 1945 Memex vision—an associative, hyperlinked library of one’s own records. Markdown files and LLM agents aren’t new, but this framing flips RAG on its head: build once, update continuously, and let your queries compound learning rather than starting from scratch each time.
Questions about this article
No questions yet.