Who it is forA user who wants to keep documents local and avoid paying for an API key.
The problemCloud LLM providers need an account and key, and some documents should not leave your computer.
The outcomeA local wiki that answers questions using a model that runs on your computer.
What you need first
- Python 3.11 or later, or uv to install it
- An API key for OpenRouter, OpenAI, Gemini or another OpenAI-compatible server, or Ollama installed for free local use
- Documents as text, Markdown, PDF, Word, PowerPoint, Excel or OpenDocument files
Steps
- Download Ollama from https://ollama.com/download and install it.
- Run
ollama pull gemma4. - Install the library with
pip install llmwiki2. - Run
llmwiki2, pick Ollama on the page, press Test connection, then Save and start. - Drop your documents on the page and ask a question to check the cited answer.
Prompt for your agent
Set up the llm-wiki-v2 repo with Ollama as the provider and gemma4 as the model, then file <document> and ask <question>. Expected output: a cited answer. Verify that the model call went to the local Ollama server, not a remote provider.
Caveat. The README says CROW's classifier is remote by default, so a fully local setup needs extra configuration or runs in classic mode without a classifier.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for crow-hq/llm-wiki-v2 and "Build a wiki that runs on your own computer with Ollama"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer