my-llm-wiki
Drop any files into a folder. Get a living, queryable knowledge graph.
The idea
In April 2026, Andrej Karpathy shared a concept he called LLM Wiki — a personal knowledge system with three layers:
- Raw — your files, never modified
- Compile — structured knowledge with cross-references
- Query — ask questions without re-reading source files
The key insight: compile once, query forever. The wiki is a persistent, compounding artifact — it grows with every session.
my-llm-wiki implements all three layers. One command builds the graph. The living wiki cycle keeps it growing.
pip install my-llm-wiki
cd your-project && llm-wiki .
The living wiki cycle
Monitor → Rebuild → Lint → Write-back → Report
↑ │
└───────────────────────────────────────┘
Each session adds knowledge. Insights get filed back. The graph compounds over time — exactly what Karpathy envisioned.
What you get
wiki-out/
graph.html ← interactive graph (vis.js)
graph.json ← persistent graph data
WIKI_REPORT.md ← god nodes, surprising connections
wiki/ ← Wikipedia-style articles
vault/ ← markdown vault with [[wikilinks]]
cache/ ← SHA256 cache (skip unchanged files)
See How It Works for the full pipeline architecture.