Skip to main content

LLM wiki starter kit (wiki)

Start and run an LLM-maintained wiki (a folder of Markdown notes that an agent keeps: an Obsidian vault, a research notebook, a wiki about a codebase) with any agent that can run shell commands: Claude Code, Codex, Cursor, Copilot, OpenCode and others.

  • wiki new sets up a wiki from a preset: folder layout, page templates, an AGENTS.md telling the agent how to be the librarian, and a config whose relation rules match the templates. Presets: research (sources in, pages out), code (a wiki in its own repo describing a code repo) and writing (stories you write in Obsidian, and a wiki of their characters, places and plotlines).
  • wiki guide prints the workflow an agent follows (ingest a source, answer a question, audit the wiki, sync after code changes), versioned with the command so the steps never go stale.
  • Search and navigation find the best starting page without reading an index, show where each page leads through typed relations with reasons, and read only the sections needed, within a page limit.

How it fits together: you ask your agent to add a source or answer a question; the agent follows the steps wiki guide prints, and uses wiki search, wiki nav and wiki check as it writes the pages. The wiki command never writes a page's content, calls no AI model, and needs no network after a one-time model download. What it builds for search lives in a disposable cache inside the wiki.

New here? Start with docs/getting-started.md, then docs/workflows.md for what you do with a wiki, step by step: asking questions, finding gaps, a code task from plan to commit, researching a topic, a writing session.

More (all the docs):

Install

Requires uv, which installs Python 3.13 for the tool if needed.

uv tool install llm-wiki-kit    # once per machine; the command is `wiki`
wiki models download            # once: about 0.2 GB

uv tool upgrade llm-wiki-kit updates it. The latest code, before a release: uv tool install git+https://github.com/GriffinHackley/LLM-WIKI.

An install from before 0.3.0 also provides wiki and has another name: wiki-cli, or llm-wiki-cli if it came from git or a clone. uv tool list shows it; remove it first with uv tool uninstall <name>. Wikis, their config and downloaded models are untouched.

Quick start

A new research wiki:

wiki new my-wiki --agent claude     # optional slash commands (also copilot, opencode); AGENTS.md works for any agent
cd my-wiki
# put a source in raw/, then ask your agent: "ingest raw/<file>"

A wiki about a codebase, in its own repo beside the code, or in a folder of the code's repo:

wiki new my-app-wiki --preset code --code ../my-app
# or, from the code repo: wiki new docs/wiki --preset code --code .
# then connect the code repo for its agents: wiki connect ../my-app --agent claude-code

A wiki for your writing: you write ideas, scenes and chapters in originals/ in Obsidian, the agent never touches them, and keeps a wiki of the stories:

wiki new my-stories --preset writing --agent claude
# open it in Obsidian (Templater, Linter, Obsidian Git), write, then ask: "ingest the storm scene"

An existing folder of notes (an Obsidian vault, a docs/ folder, a wiki an agent already keeps):

cd my-notes
wiki new . --agent claude           # drafts a .wiki-cli.toml from your pages, adds the agent files
wiki index refresh                  # index and embed (about 2 minutes per 500 pages on CPU)
wiki search "how do I configure the exporter?"

It also works with no configuration at all: every *.md file under the folder is a page, raw/**/*.txt is searchable source text, and every link is a links-to relation whose reason is the sentence around it.

Contributing

CONTRIBUTING.md covers development setup, the tests, the docs and releasing. PLAN.md is the current plan, and FUTURE_IDEAS.md the deferred ideas.

License

MIT; see LICENSE.

Metadata

Release files for llm-wiki-kit 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llm-wiki-kit 0.4.0
File Size Uploaded
llm_wiki_kit-0.4.0.tar.gz 697.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for llm-wiki-kit 0.4.0
File Interpreter ABI Platform
llm_wiki_kit-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 1.3 MB

Release files / llm_wiki_kit-0.4.0.tar.gz

Download URL llm_wiki_kit-0.4.0.tar.gz
Size 697.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f2f81022dcedfd6093169e1dfeb935baa31dbd06e85c7489e5126d19a5451fac
BLAKE2b-256 checksum
How to use checksums
7c04877fb36be6938437c58c2eddb1721ff45e7ab018d0f9dd98779b1803e61e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / llm_wiki_kit-0.4.0-py3-none-any.whl

Download URL llm_wiki_kit-0.4.0-py3-none-any.whl
Size 612.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5097c7e6fec6b91b49c6bc0a02cb33b19ee77f80218d3b22dbb791fe085e37ec
BLAKE2b-256 checksum
How to use checksums
aa76c52aacd9f4cef6631b840bb30bf86721602b9b03fbf63e07a2442276458a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release history Release notifications | RSS feed

0.5.0

2 release files

This release

0.4.0 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page