Every question starts from fragments.
Retrieve chunks. Reconstruct context. Generate an answer. Discard the useful synthesis.
Interactive field guide Agent-native knowledge
Files can be retrieved. Knowledge should accumulate. Build a living wiki, watch OpenWiki maintain it, then move it anywhere with OKF.
From retrieval to accumulation
Retrieve chunks. Reconstruct context. Generate an answer. Discard the useful synthesis.
Sources become concepts, relationships, contradictions, guides, and logs that remain available tomorrow.
Guided simulation All sample inputs and outputs are precomputed. No files leave your browser.
Direct manipulation, not another explainer
Choose a world. Move its scattered context into a persistent artifact. Then inspect what changed.
The answer is scattered across routes, middleware, configuration, tests, and unwritten conventions.
router.post('/session', validateCredentials, createSession);const session = await sessions.verify(request.cookies.get('sid'));export const sessionTtl = 60 * 60 * 24 * 7;expect(response.headers.get('set-cookie')).toContain('HttpOnly');Rotate signing keys through SESSION_KEY_CURRENT and SESSION_KEY_PREVIOUS.0 of 5 sources compiled
A folder becomes a model
Each edge makes a claim visible: what implements, governs, qualifies, or supports the answer.
Retrieval versus accumulation
RAG retrieves fragments for this answer. An LLM Wiki leaves behind a maintained artifact for the next answer.
Choose a question. Watch two knowledge systems take different paths to an answer.
From pattern to workflow
It scans a repository or configured sources, synthesizes local wiki pages, connects coding agents, and records what changed.
Run a deterministic OpenWiki simulation. No repository or API key is used.
Format, not platform
Markdown stays readable. YAML makes concepts queryable. Reserved index and log files make the bundle navigable and auditable.
code agent can read the same bundle—without a proprietary SDK.
Progressive entry point for agents and humans.
Three layers, one durable loop
Compile source material into a living, interlinked knowledge artifact.
Generate, connect, and maintain agent-oriented wiki pages.
Exchange the resulting knowledge as portable Markdown and metadata.
Faster onboarding, cheaper agent searches, and documentation that changes with the code.
Keep the vocabulary precise
Before you try it
No. LLM Wiki is a pattern proposed by Andrej Karpathy: an LLM compiles sources into a persistent, interlinked wiki that can improve as it is used.
RAG usually retrieves source fragments again for each question. An LLM Wiki leaves behind maintained synthesis pages, links, questions, and logs so useful reasoning becomes reusable knowledge.
OpenWiki is LangChain’s open-source CLI for writing and maintaining local agent wikis from codebases or configured personal knowledge sources.
The Open Knowledge Format is a vendor-neutral specification for portable knowledge bundles made of Markdown files, YAML frontmatter, and simple index and log conventions.
No. This is a deterministic guided simulation using precomputed sample sources and outputs. Nothing is uploaded and no model API is called.
Read the originals