my-llm-wiki

Drop any files into a folder. Get a living, queryable knowledge graph.

Get Started Why LLM Wiki


The idea

In April 2026, Andrej Karpathy shared a concept he called LLM Wiki — a personal knowledge system with three layers:

  1. Raw — your files, never modified
  2. Compile — structured knowledge with cross-references
  3. 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.


Copyright © 2026 phuc-nt · GitHub · MIT License

This site uses Just the Docs, a documentation theme for Jekyll.