LLM Wiki
An industrial-grade LLM knowledge base system developed on the DeepSeek Harness framework. It supports a full-pipeline set of capabilities including document collection and compilation, knowledge graph construction, traceable question answering, and online evaluation and optimization.
Core Facts
Timeline (last 90 days)
In the case, 106 Claims and 122 evidence references were generated.
The prompt requires the model to "read the current values from the real source code, and not guess from old pages or textual descriptions."
Building a Wiki repository requires providing a data source (core code files of the business line), a whitelist configuration (only directories and files within the whitelist are read), and prompts.
LLM Wiki produces a set of interlinked Markdown knowledge pages with source code provenance, and they remain maintainable after the data source changes.
LLM Wiki lets the large model read business code directly, automatically generate a structured knowledge base, and then expose it to agents via MCP.
The generated artifacts include topic pages (index files, searchable by section), Claims evidence files, and evidence chain reference files; each Claim records one piece of business understanding and is annotated with the source file and line number range.
The model reads key points in the code such as constant definitions, conditional judgments, and state transitions, then translates them into natural-language business descriptions.
Enterprises can adopt a layered evidence-gathering, on-demand composition approach: build three repositories—a text repository (traditional RAG for locating original-text details), a Wiki repository (storing business processes, foundational concepts, and security boundary rules), and a graph database (storing entity relationships)—and the agent retrieves from each according to need.
Markdown directory-based retrieval is the key organizational difference between LLM Wiki and traditional vector retrieval: traditional RAG recalls by vector similarity without structure, whereas LLM Wiki first has a large model refine and rewrite materials into structured Markdown and build a directory hierarchy by business topic, and at query time first locates the directory and section before reading the content.
The LLM Wiki concept was proposed in April 2026, and vendors only began to fully implement it in June.
13 more timeline events
All Facts (20)
An LLM Wiki is a type of knowledge base whose core function is to collect and compile scattered materials into structured knowledge and then support question answering through retrieval augmentation.
75%UnverifiedThe generated artifacts include topic pages (index files, searchable by section), Claims evidence files, and evidence chain reference files; each Claim records one piece of business understanding and is annotated with the source file and line number range.
50%UnverifiedIn the case, 106 Claims and 122 evidence references were generated.
50%UnverifiedBuilding a Wiki repository requires providing a data source (core code files of the business line), a whitelist configuration (only directories and files within the whitelist are read), and prompts.
50%UnverifiedLLM Wiki produces a set of interlinked Markdown knowledge pages with source code provenance, and they remain maintainable after the data source changes.
50%UnverifiedLLM Wiki lets the large model read business code directly, automatically generate a structured knowledge base, and then expose it to agents via MCP.
50%UnverifiedThe model reads key points in the code such as constant definitions, conditional judgments, and state transitions, then translates them into natural-language business descriptions.
50%UnverifiedThe prompt requires the model to "read the current values from the real source code, and not guess from old pages or textual descriptions."
50%UnverifiedMarkdown directory-based retrieval is the key organizational difference between LLM Wiki and traditional vector retrieval: traditional RAG recalls by vector similarity without structure, whereas LLM Wiki first has a large model refine and rewrite materials into structured Markdown and build a directory hierarchy by business topic, and at query time first locates the directory and section before reading the content.
50%UnverifiedEnterprises can adopt a layered evidence-gathering, on-demand composition approach: build three repositories—a text repository (traditional RAG for locating original-text details), a Wiki repository (storing business processes, foundational concepts, and security boundary rules), and a graph database (storing entity relationships)—and the agent retrieves from each according to need.
50%UnverifiedCompared with a pure vector-retrieval knowledge base, the LLM Wiki retains readable, editable written entries rather than fragmented embedding vectors.
50%UnverifiedThe core design of LLM Wiki includes three components: preserved raw files, interlinked note pages, and a specification document that guides the AI agent in maintaining the wiki.
50%UnverifiedAndrej Karpathy proposed the LLM Wiki pattern, which uses Markdown pages plus YAML metadata to organize knowledge, allowing humans and AI agents to maintain it together and query it on demand.
50%UnverifiedThe core features of this LLM Wiki include a visual workbench, document compilation and incremental updates, a dual-form knowledge graph, traceable Q&A, online evaluation and optimization, and a system settings page
50%UnverifiedThe entire LLM Wiki is broken down into 11 development phases, proceeding in the order of environment setup, project foundation development, core functional module development, and feature acceptance
50%UnverifiedTraceable Q&A can link any response back to the original knowledge fragment
50%UnverifiedThis LLM Wiki supports incremental document compilation, allowing newly added materials to be ingested incrementally without requiring a full rebuild
50%UnverifiedThe features implemented in this LLM Wiki project include: a workbench Dashboard, document management compilation and upload, incremental document compilation, a dual-form knowledge graph, traceable knowledge base Q&A, and online evaluation and optimization.
50%UnverifiedThe LLM Wiki project was broken down into 11 development phases following the main thread of environment setup → project foundation development → core feature module development → feature acceptance.
50%UnverifiedThe design inspiration for claude-obsidian comes from the LLM Wiki pattern proposed by Andrej Karpathy
50%