llm-wiki · GitHub

Web Article2625882138434767,813 words
View original

Content Summary

llm-wiki · GitHub262588213843476

10 concepts12 actions20 keywords

TL;DR

Andrej Karpathy proposes the "LLM Wiki" pattern — instead of using RAG to re-derive knowledge from raw documents on every query, have an LLM incrementally build and maintain a persistent, interlinked markdown wiki that compounds knowledge over time. The key insight is that LLMs eliminate the maintenance burden that causes humans to abandon wikis, handling all cross-referencing, summarizing, contradiction-flagging, and bookkeeping while the human curates sources and asks good questions. The pattern uses a three-layer architecture (raw sources, LLM-generated wiki, schema/config) with three core operations (ingest, query, lint) and is intentionally abstract so it can be adapted to any domain or tooling preference.

ELI5

Imagine you have a big notebook where you keep notes about everything you learn. Usually when you want to find something, you have to dig through ALL your messy papers every single time. That's slow and hard! Instead, imagine you have a really helpful robot friend who reads every new thing you bring home, writes neat notes in your notebook, and connects related ideas with lines — like a treasure map of everything you know. The notebook keeps getting better and better, and your robot friend never gets tired of organizing it!

Top Concepts

Keywords

Quick Actions

  • !Set up a three-layer wiki architecture: immutable raw sources directory, LLM-written wiki markdown directory, and a schema configuration document (CLAUDE.md or AGENTS.md)
  • !Implement the Ingest workflow: drop a new source, have the LLM read it, create a summary page, update index.md, and update all relevant entity/concept pages across the wiki
  • !File valuable query answers back into the wiki as new pages so explorations compound in the knowledge base
1m 36s49,598 tokens
Claude Opus 4.5prompts v1.2v1.0?

Want to analyze your own content?

Extract insights from YouTube videos, PDFs, and web articles. Free to start.

Try Knowmler Free