Library
Github Repo·gist.github.com·May 1, 2026·20 min read

llm-wiki

The "LLM Wiki" proposes a pattern for building persistent knowledge bases where an LLM incrementally creates and maintains a structured, interlinked wiki of markdown files from raw sources. This approach differs from typical RAG by having the LLM perform all the "bookkeeping"—summarizing, cross-referencing, and updating—allowing knowledge to compound and stay current, rather than being re-derived on every query. The system consists of immutable raw sources, the LLM-maintained wiki, and a guiding

From the source

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

David's Archive

One person's reading, compressed into a queryable knowledge base. Built with retrieval, evals, and a learning loop — and instrumented end to end.

Explore

Project

© 2026 David's Archive · answers cite their sources · Admin sign-in