Karpathy's llm-wiki: a pattern for building personal knowledge bases with LLM agents

stochasticchasm · x · 2026-11-12

Karpathy published "LLM Wiki" on GitHub Gist — a pattern for building personal knowledge bases using LLMs. It ships as an idea file meant to be pasted directly into your LLM agent (Codex, Claude Code, OpenCode, etc.), with the agent fleshing out specifics collaboratively.

Core idea: most people's LLM-plus-documents experience is RAG — upload files, retrieve relevant chunks at query time, generate answers. That works, but Karpathy proposes organizing knowledge as an actively maintained wiki that agents help build and curate over time, instead of only retrieving at query time. The gist already has 5,000+ stars.

Original post →

More from coding & agent

coding & agent channel →