LLM-wiki pattern
A design pattern for building personal knowledge bases where an LLM agent incrementally maintains a persistent, interlinked wiki of markdown files derived from raw sources.
Defining moves
- Don’t re-derive on every query (the RAG default) — compile once, then keep current.
- Three layers: see three-layer-architecture.
- Three operations: see ingest-query-lint.
- Human role: curate sources, ask good questions, decide what matters.
- LLM role: read, summarize, cross-reference, file, maintain consistency, suggest the next question.
Why this beats raw RAG
compounding-knowledge — every ingest improves the substrate the next query reads from. Cross-references already exist. Contradictions already flagged. Synthesis already reflects everything read.
Lineage
Conceptual ancestor: memex (Vannevar Bush, 1945). The missing piece in Bush’s vision — who maintains the trails between documents — is what the LLM now provides.
Instantiated in this vault as
- Schema:
CLAUDE.md - Index:
index.md - Log:
log.md - Wiki:
wiki/{entities,concepts,sources,calendar,synthesis}/ - Raw:
raw/