LLM Wiki
Andrej Karpathy's pattern for personal knowledge: an LLM agent reads each source once and works it into a growing set of interlinked notes.
Reviewed by adrian
on
An LLM wiki, a pattern by Andrej Karpathy, is a personal knowledge base that a language model agent maintains together with its owner. Instead of searching raw documents again for every question, the agent reads each source once and works it into a growing set of interlinked notes. The owner curates the sources and asks the questions; the agent summarizes, cross-references and keeps a log. Its usual workflows are ingest, query and lint.
Based on
-
Building the knowledge graph site with Claude Code
(
raw/2026/2026-11-11/building-the-knowledge-graph-site-with-claude-code.md) [chat]
Covered in
- How an LLM Wiki Works How an LLM wiki works, shown on this knowledge base: Markdown in its own Git repository, a Python tool with MCP for agents, and a website that only displays it.
Part of
- Knowledge Management How I collect and link notes: Zettelkasten, knowledge graph and an LLM wiki that an agent helps maintain.
See also
- AI / Language Models What I use language models for: agents, local models, RAG and small programs in which a model handles one task.
- AI Agents AI apps whose language model calls tools to get work done, such as Claude Code and Claude Desktop, and how to run them safely.
- Knowledge Graph Knowledge as a network of nodes and named relationships rather than a chronological list. The structure shows what connects to what.