BackLLM Wiki
🐙

LLM Wiki

Open Source

Freellmknowledge baseragkarpathyagentsopen source

LLM Wiki is a design pattern (written up as a gist by Andrej Karpathy) for giving an LLM a persistent, self-maintained knowledge base instead of relying purely on retrieval-augmented generation. It describes a three-layer architecture: immutable raw source documents, an LLM-maintained wiki of interlinked markdown files that gets incrementally updated as new sources and questions come in, and a schema config file that governs how the wiki is structured. Rather than re-discovering the same facts on every query, the system builds a knowledge base that gets richer and more useful over time — applicable to personal learning, research, or team knowledge management.