llmwiki-cli

A local knowledge base CLI lets AI agents read, write and search Markdown wikis without making LLM API calls; it's open source under MIT.

llmwiki-cli gives AI agents a local Markdown wiki for building and maintaining a personal knowledge base. It's for people who want an agent to organize their information while keeping the wiki files on their own machine.

  • Agent-managed pages: Agents can read, write and search wiki files, while the language model decides what to create, revise and connect.
  • Multiple wikis: A shared registry supports separate knowledge bases, so an agent can work with the appropriate wiki for a project.
  • Page connections: Markdown wiki links connect related pages, and the included agent guide covers page structure and maintenance workflows.
  • Optional graph view: Visualization scripts can turn wiki links into an interactive graph published through GitHub Actions and GitHub Pages. That published view lives outside your machine.

The CLI only reads and writes files on disk. It makes no LLM API calls and has no cloud storage backend; the AI agent you pair it with handles the model interaction separately. Git version control and synchronization are also separate from the CLI.

The project is open source under the MIT license and runs with Node.js or Bun.

Similar to llmwiki-cli