LLM Knowledge Bases

Andrej Karpathy ยท tweet ยท 2026-04-10 Reader ๐Ÿ–ฅ๏ธ

Knowledge BaseRetrieval & RAGToken Throughput
LLMs can serve as compilers and operators of personal knowledge bases โ€” ingesting raw sources into structured markdown wikis, then answering queries, generating outputs, and self-improving the wiki โ€” shifting the human role from writer to curator and questioner.

practical ยท informal essay / social media post โ€” A practitioner's workflow description with implicit theoretical claims about knowledge management and LLM capabilities. Structured as a how-to with commentary on why it works.

Structure

PartRole
Data ingestDescribes the input pipeline: raw sources are indexed, then an LLM 'compiles' them into a structured markdown wiki with summaries, backlinks, and concept articles.
IDE (Obsidian as frontend)Establishes that the human interacts with the wiki through a viewer, not as a writer. The LLM writes and maintains all wiki data.
Q&AShows the wiki as a queryable knowledge base. Claims that at moderate scale (~400K words), simple index-based retrieval works without fancy RAG.
Output and filing backDescribes a feedback loop where query outputs are filed back into the wiki, making exploration cumulative.
Linting / health checksIntroduces LLM-driven quality assurance: consistency checks, imputation, and connection discovery.
Extra tools and further explorationsPoints toward scaling: custom search engines, CLI tools for LLM agents, and eventually fine-tuning to internalize the data in model weights.
TLDR / product visionSummarizes the pipeline and asserts this workflow deserves to be a product, not a collection of scripts.

Key terms

Propositions

Arguments

LLM-compiled personal wikis are a superior way to manage research knowledge compared to manual note-taking or traditional tools. strength: medium
Explicit premises:
Implicit premises:
Inferences:
RAG is unnecessary at moderate knowledge base scale if the LLM maintains good indexes. strength: low
Explicit premises:
Implicit premises:
Inferences:

Narratives

Questions addressed

Gaps

Related documents