LLM WIKI
Karpathy's Knowledge Architecture
for AI Research
AI-maintained Human-curated Always current
Inspired by Andrej Karpathy · gist.github.com/karpathy/442a6bf…
Architecture
Raw Sources
Papers · HTML · PPTX · DOCX · XLSX
Wiki Layer
Entity pages · [[links]] · Citations
Schema / Config
CLAUDE.md · Conventions · Workflows
The Knowledge Management Crisis
The Problem
Knowledge Overload
Hundreds of papers, articles, and docs — impossible to track manually
Manual Maintenance
Wikis die because nobody updates cross-references or fixes stale links
Scattered Insights
Key ideas live in separate notebooks, tabs, and memory — never connected
Karpathy's Insight
"LLMs don't get bored. They don't forget to update a cross-reference."
Three-layer model:
Raw Sources
Immutable — curated by humans
Wiki Layer
LLM-owned — maintained automatically
Schema
Config — conventions & workflows
Inspired by Vannevar Bush's Memex (1945) — the original vision for associative knowledge
Three Layers. Three Workflows.
Ingest
Add a source → extract concepts → update pages → add cross-references
Query
Search relevant pages → synthesize answer → file new discoveries
Lint
Find orphan pages, gaps, contradictions, and stale information
Entity page format
Definition Summary Explanation Related Concepts Sources Contradictions
Source formats (full text extraction)
PDF ✓ TXT ✓ HTML ✓ PPTX ✓ DOCX ✓ XLSX ✓
Works Where You Work
Claude Code CLI
/orchestrate-wikiFull pipeline — parallel agents
/compile-papersExtract concepts from /raw
/sync-wikiIncremental update from /raw
/audit-wikiQuality check — parallel agents
/reset-wikiWipe wiki for a fresh start
/launch-wiki-uiStart Streamlit query interface
/stop-wiki-uiStop the running Streamlit app
/sync-docsSync README & GitHub Pages
/run-maintenanceTests, skill check, git health
/regenerate-presentationRebuild videos & deck
GitHub Copilot Chat
Orchestrate WikiFull pipeline — parallel agents
Compile Papers to WikiExtract from all /raw sources
Sync Wiki from RawIncremental update from /raw
Audit WikiQuality check — parallel agents
Reset WikiWipe wiki for a fresh start
Launch Wiki UIStart Streamlit query interface
Stop Wiki UIStop the running Streamlit app
Sync DocsSync README & documentation
Run MaintenanceTests, skill check, git health
Regenerate PresentationRebuild videos & deck
Streamlit
Query UI
Multi-provider Q&A
Anthropic · OpenAI · Google · Mistral
Wiki-grounded answers
No hallucination outside wiki content
API key validation
Session memory — never saved to disk
Explicit "not found"
Clear signal when topic is outside wiki
See It In Action
Terminal Skills Demo
orchestrate-wiki · compile-papers
sync-wiki · audit-wiki · Copilot Chat
click to play
Wiki Query UI Demo
settings · happy-path query
empty-wiki guard · not-found error
click to play