# llmwiki

A tool that converts a developer's Claude Code, Codex CLI, Copilot, Cursor, and Gemini CLI session transcripts into a searchable, interlinked local knowledge base, following Andrej Karpathy's LLM Wiki pattern.

llmwiki turns the dormant session transcripts that coding agents write to disk into a searchable, interlinked knowledge base, built locally in two commands. It renders every session as clean, redacted Markdown, adds an activity heatmap, tool-usage charts, token usage, model information, project comparisons, and topic pages, and serves the result as a static site.

It can optionally enrich pages with LLM-generated semantic summaries, using a local Ollama backend or a stub mode, through a synthesis step that runs separately from the sync and build steps. It also produces AI-consumable exports, including a JSON-LD graph and per-page text and JSON files, so other AI agents can query the wiki directly.

It is written in Python and installs and runs through setup, build, and serve scripts; contributions must keep real session data out of version control.

Website: https://github.com/Pratiyush/llm-wiki
