Frontmatter
title: LLM Wiki Pattern
created: 2026-06-02
updated: 2026-06-02
type: concept
tags: [wiki, research-method, llm]
sources: [raw/articles/karpathy-llm-wiki.md]
confidence: high
contested: false

LLM Wiki Pattern

The LLM Wiki pattern is a way to build a persistent, compounding markdown knowledge base with an LLM as the maintainer. Instead of treating sources like a retrieval bucket, the agent reads sources once, preserves them in raw-source-ingestion, and integrates their important claims into durable wiki pages.

Core idea

Traditional RAG retrieves chunks at query time and reconstructs knowledge repeatedly. The LLM Wiki pattern compiles knowledge into an interlinked wiki so synthesis, contradictions, and relationships accumulate over time.

For Dagobert, this means Johannes can ask for research on any recurring topic and Hermes should add it to this wiki rather than letting the result disappear into chat history.

Roles

Practical rules for this wiki

Related pages

Rendered from concepts/llm-wiki-pattern.md.