# LLM-Maintained Wiki

A persistent, interlinked knowledge base that a language model builds and maintains — integrating each source once, rather than re-deriving answers from raw documents on every query.

An **LLM-maintained wiki** is a persistent, interlinked Markdown knowledge base that a language model writes and keeps current. Each new source is read once and *integrated* — entity and concept pages updated, summaries revised, contradictions flagged — so the knowledge compounds instead of being rediscovered on every query. The canonical statement of the pattern is Karpathy's [LLM Wiki](/docs/llm-wiki.md) essay.

## Against RAG

Retrieval-augmented generation retrieves raw chunks at query time and generates an answer; nothing accumulates, and subtle cross-document synthesis is re-derived every time. The LLM-maintained wiki inverts this: queries hit the *wiki*, where the cross-references already exist and the synthesis already reflects everything ingested. The maintenance burden that defeats human-kept wikis is near-zero for a model that doesn't get bored.

## Three layers, three operations

The architecture is immutable *raw sources*, the LLM-owned *wiki*, and a *schema* config that turns the model into a disciplined maintainer. The operations are **ingest** (integrate a new source), **query** (answer from the wiki, optionally filing the answer back), and **lint** (health-check for contradictions, stale claims, orphans, and gaps).

## Lineage and kin

The pattern is the realization of [Vannevar Bush](/wiki/vannevar-bush.md)'s 1945 Memex — associative trails between documents — with the maintenance problem finally solved. It is a sibling of [Interpretable Context Methodology](/wiki/interpretable-context-methodology.md) (the workspace shape of agentic work) and the [agent-readable web standards](/wiki/agent-readable-web-standards.md) (how the web exposes itself to agents): all are file-native, plain-text, and Markdown-first. It also extends the [Semantic Web](/wiki/semantic-web.md)'s machine-readable ambition to a personal knowledge store. This site's own wiki is an instance of the pattern.

> 🔍 **Gap:** The pattern is young — there is no published, longitudinal account of how an LLM-maintained wiki holds up over months of ingests without accumulating contradictions or drift. The [lint](/docs/llm-wiki.md) operation is the proposed safeguard, but its effectiveness at scale is unproven.

---

## Backlinks

Pages that link here:

- [As We May Think](/docs/as-we-may-think.md) — Vannevar Bush's wartime essay imagining the Memex — a personal device for storing and associatively linking all of one's books, records, and communications.
- [Compounding Knowledge vs. Retrieval](/wiki/compounding-knowledge-vs-rag.md) — Why an LLM-maintained wiki accumulates understanding where retrieval-augmented generation re-derives it on every query.
- [Glossary](/wiki/glossary.md) — Formal definitions of the key terms behind the Independent Internet and Web 4.0, as used across this wiki, with links to source material.
- [Information Management: A Proposal](/wiki/information-management-proposal.md) — Berners-Lee's CERN memo proposing a decentralized web of typed nodes and links — the document the World Wide Web grew from.
- [LLM Wiki: A Pattern for Building Personal Knowledge Bases Using LLMs](/wiki/llm-wiki.md) — Karpathy's pattern for an LLM-maintained wiki: instead of re-deriving answers from raw documents on every query (RAG), the model integrates each source into a persistent, compounding knowledge base.
- [Vannevar Bush](/wiki/vannevar-bush.md) — Engineer and wartime science administrator whose 1945 essay imagined the Memex, the conceptual seed of hypertext and the personal knowledge base.
