Skip to main content
  1. Posts/

LLM Wiki: Karpathy's Idea for Building a Personal Knowledge Base

··250 words·2 mins·

🧠 What if instead of searching your notes, you compiled them intelligently?

Andrej Karpathy (ex-Tesla AI Director, OpenAI co-founder) proposed in April 2026 using an LLM to build a personal wiki in real time. The idea went viral.

📚 The problem with traditional RAG:

  • Processes documents at query time → starts from scratch every time
  • Doesn’t accumulate knowledge between queries
  • Fails to automatically connect ideas from different moments in time

🔄 The LLM Wiki solution:

  • Processes documents at ingestion time, not at query time
  • The LLM reads, understands and updates related pages
  • Detects contradictions between sources
  • Generates a navigable index of your knowledge

🛠️ 6-step workflow:

  1. Gather articles, books, transcripts
  2. Classify by type before ingesting
  3. AI writes structured wiki pages
  4. Create a central index as table of contents
  5. Save your questions as query-result pages
  6. Run “lint” passes to detect contradictions and orphan pages

💡 Suggested tools: Obsidian as the wiki IDE, the Dataview plugin for SQL-like queries, and the Web Clipper to capture articles.

💡 Explanation in a nutshell
#

Karpathy’s LLM Wiki is a system where an LLM doesn’t answer questions with raw documents — instead it digests, integrates and converts them into permanent, interlinked wiki pages, creating a personal knowledge base that grows and improves over time.

More information at the link 👇

Also published on LinkedIn.
Juan Pedro Bretti Mandarano
Author
Juan Pedro Bretti Mandarano