







A visual breakdown of Andrej Karpathy's approach to building personal knowledge bases powered by LLMs. Learn the 4-phase pipeline: ingest, compile, query, and maintain - with an interactive architecture diagram.
How to Build an LLM Knowledge Base
A hands-on guide to building a simple LLM knowledge base with raw markdown sources, a compiled wiki, reusable prompts, and an agent that keeps improving the knowledge base over time.

Andrej Karpathy on Twitter / X
LLM Knowledge BasesSomething I'm finding very useful recently: using LLMs to build personal knowledge bases for various topics of research interest. In this way, a large fraction of my recent token throughput is going less into manipulating code, and more into manipulating…— Andrej Karpathy (@karpathy) April 2, 2026
himanshu on Twitter / X
and here is the full architecture of the LLM Knowledge Base system covering every stage from ingest to future explorations. https://t.co/Wmn48gB0g0 pic.twitter.com/ObJet8Esfu— himanshu (@himanshustwts) April 2, 2026

elvis on Twitter / X
Diagram of the LLM Knowledge Base system.Feed this to your favorite agent and get your own LLM knowledge base going. https://t.co/4AQSFOv4PV pic.twitter.com/nPSNi4Ayqv— elvis (@omarsar0) April 3, 2026

Yuchen Jin on Twitter / X
Karpathy’s “LLM Wiki” pattern: stop using LLMs as search engines over your docs. Use them as tireless knowledge engineers who compile, cross-reference, and maintain a living wiki. Humans curate and think.Diagram generated by my Claude agent knowledge worker. https://t.co/5u5i1GeFK8 pic.twitter.com/NIaq3KlAok— Yuchen Jin (@Yuchenj_UW) April 4, 2026

Why LLM Wiki? 🧠 Future Of Knowledge For Agentic AI & Humans
How To Build LLM Wiki In Obsidian? 🧠 A Memory Layer For Any Agentic AI
10 Easy Ways to Enhance Your LLM Wiki or Knowledge Base
LLM Wiki v2 — extending Karpathy's LLM Wiki pattern with lessons from building agentmemory
LLM Wiki v2 — extending Karpathy's LLM Wiki pattern with lessons from building agentmemory · GitHub

I Built a Knowledge Base That Writes Itself. Here Is What Andrej Karpathy Got Right.
Andrej Karpathy posted about using LLMs to build personal knowledge bases. I took his workflow, wired it into my Obsidian vault with Claude Code, and within an hour had 21 cross-linked wiki articles compiled from YouTube transcripts. Here is how it works and why it matters.

Build an LLM Wiki for Your AI Agents
Build an LLM Wiki for Your AI Agents with myKG and Obsidian How to turn a folder of mixed format documents into a typed, interlinked knowledge graph your agents can actually read — using myKG and …

Karpathy shares 'LLM Knowledge Base' architecture that bypasses RAG with an evolving markdown library maintained by AI
Karpathy proposes something simpler and more loosely, messily elegant than the typical enterprise solution of a vector database and RAG pipeline.

Karpathy's LLM Wiki: The Complete Guide to His Idea File
Karpathy's follow-up gist went viral. Complete breakdown with implementation examples.

Karpathy's LLM Wiki: What It Means & How to Build One

Jared Goering on Twitter / X

OpenWiki: Open Source Repo Documentation for Coding Agents

Wiki Memory

The Obsidian heads were right.

The Definitive Guide to Understand Anything: Turning Code and Knowledge Into Graphs That Teach

Karpathy's LLM Wiki as Agent Memory - Agentic AI Foundation (AAIF)