LLM Wiki: a second brain for AI agents
Turn PDFs, articles, transcripts, and notes into a shared wiki that your AI agents can search, cite, and keep up to date. Add a source once. Ask questions later. Keep the useful answers.
Works with Claude Code, Codex, Cursor, Gemini CLI, OpenCode, OpenClaw, Pi, OMP, and Hermes. Read the documentation.
What is LLM Wiki?
AI agents are good at the task in front of them, but a new session starts with limited context. LLM Wiki gives them a shared memory that can live in one personal wiki across all projects or inside a specific project.
When you add a source, the agent turns it into linked Markdown pages. Later, it can find the right section and answer with citations. Useful answers can be saved back into the wiki, so the knowledge grows instead of being rebuilt from scratch.
Everything canonical stays in readable Markdown. Default semantic search is local, with no hosted vector database or embedding service. An optional hosted wiki on your own Cloudflare account lets agents on many machines share one wiki.
What's new in v4
- Optional hosted wiki. Deploy one Cloudflare Worker to your own account with one click. Agents on any machine read and write the wiki over MCP or a JSON API. See Hosted wiki.
- Safe shared writes. Every change is an atomic commit with an author and a revision. Surgical
edit and append operations rarely conflict. A conflict tells the agent to read the page again and retry.
- Migration and mirror.
/wiki:migrate moves a local wiki, verifies every uploaded file by SHA-256, and reports the files that the import skipped. wiki_remote.py pull --git keeps a read-only local mirror for Git history and Obsidian.
- Optional decision models. Small models can gate search relevance, check graph evidence and flag untrusted text. Off by default. See Decision layer.
- Local mode is unchanged. Existing wikis, scripts and commands work as before.
v3.2.0 added learning from completed work: /wiki:learn captures verified experience, and /wiki:evolve proposes, tests, applies and rolls back skill changes. See Learning and skill evolution. The evolution workflow adapts WikiSkill: Compiling Agent Experience into Persistent Knowledge for Skill Evolution (Google Research and Virginia Tech, 2026). See what we adapted and changed and the measured results. Our study rejected both proposals; no quality improvement was demonstrated.
Why use it?
- Stop repeating project context. Your agent can read the knowledge you already collected.
- Use the same wiki across agents. The files are plain Markdown, not tied to one model or tool.
- Trace every answer. Citations point back to the wiki page and original source.
- Keep the wiki healthy. The agent updates links, summaries, and contradictions as new sources arrive.
- Stay in control. Your pages remain readable, editable, and versionable.
LLM Wiki works best for knowledge that grows over time: research, meeting notes, customer calls, papers, articles, and project decisions. Use a regular database when your main problem is structured records and transactions.
Installation
uv is the only prerequisite: it creates the pinned script environments on every supported platform. Install it using the official uv instructions before running /wiki:init or the natural-language equivalent.
Plugin/skill installation copies all agent-facing commands and bundled tools. Wiki initialization then performs mandatory runtime setup: FastEmbed 0.8.0, sqlite-vec 0.1.9, PyYAML 6.0.3, the local BAAI/bge-small-en-v1.5 model, the parse cache, and vectors for every existing section. Upgrade runs the same setup again, incrementally synchronizing changed and deleted sections.
Claude Code: full plugin
The native path: the skill, the ten /wiki:* slash commands, and the marketplace manifest all ship in one install.
/plugin marketplace add praneybehl/llm-wiki-plugin
/plugin install llm-wiki@llm-wiki
Once installed, the plugin works in any project. Installation does not decide where your wiki lives.
Other coding agents: skill only
The llm-wiki skill uses the standard agentskills.io format, so it installs cleanly into any agent supported by the skills CLI. Pick the --agent flag that matches your setup:
# Install globally so the skill is available across all projects
npx skills add praneybehl/llm-wiki-plugin -a <agent> -g
# Or install into the current project only
npx skills add praneybehl/llm-wiki-plugin -a <agent>