← all repositories
zosmaai/pi-llm-wiki

Your LLM's reading list, now with compound interest

Because LLMs shouldn't re-read the same PDF every time you ask a question.

521 stars TypeScript RAG · SearchAgentsData Tooling
pi-llm-wiki
Velocity · 7d
+2.6
★ / day
collecting data…
star history

What it does

pi-llm-wiki is an extension for the pi coding agent and oh-my-pi that ingests URLs, PDFs, and pasted text into a structured Markdown wiki. It follows Andrej Karpathy’s LLM Wiki pattern to summarize sources, interlink concepts, and maintain canonical pages that accrete meaning as you add material. The output is an Obsidian-compatible vault that compounds knowledge instead of treating every query as a fresh one-shot retrieval.

The interesting bit

The project treats knowledge as infrastructure with actual guardrails: it blocks direct edits to raw sources and generated metadata, runs deterministic linting for orphans and broken links, and layers a personal ~/.llm-wiki/ vault beneath any project wiki so your notes follow you across directories. It also natively writes Open Knowledge Format (OKF) v0.2 documents, betting that your second brain should outlive any single tool.

Key highlights

  • Four-layer pipeline: immutable raw packets → source pages → canonical wiki pages → deterministic indexes and activity logs.
  • Layered recall: searches personal and project vaults simultaneously, deduplicating and prioritizing personal results.
  • Mechanical maintenance: built-in linting for coverage gaps, contradictions, and stale captures, plus an optional auto-update watch.
  • OKF v0.2 native: portable documents with canonical frontmatter and stable source citations, readable by legacy tools.
  • MCP server: exposes the same wiki to Claude Code, Cursor, and Windsurf via stdio transport.

Caveats

  • Agent working-memory tools (trajectory capture and skill distillation) are disabled by default and require explicit opt-in.
  • The shared “company” vault layer is listed as future work.
  • The full slash-command experience is designed around pi and oh-my-pi; the MCP server offers access, but not the complete workflow.

Verdict

Best suited for developers already using pi or oh-my-pi who want their research to accumulate into a browsable, interlinked archive. If you are not in that ecosystem, the MCP server provides a narrower on-ramp, and the Obsidian compatibility may still be useful as a standalone knowledge formatter.

Frequently asked

What is zosmaai/pi-llm-wiki?
Because LLMs shouldn't re-read the same PDF every time you ask a question.
Is pi-llm-wiki open source?
Yes — zosmaai/pi-llm-wiki is open source, released under the MIT license.
What language is pi-llm-wiki written in?
zosmaai/pi-llm-wiki is primarily written in TypeScript.
How popular is pi-llm-wiki?
zosmaai/pi-llm-wiki has 521 stars on GitHub.
Where can I find pi-llm-wiki?
zosmaai/pi-llm-wiki is on GitHub at https://github.com/zosmaai/pi-llm-wiki.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.