What is this?
OpenWiki is a CLI that uses an AI agent to write and continuously maintain a linked Markdown wiki for your codebase (or your personal knowledge), plus an interactive visualizer to explore it.
Is this a standalone app or does it plug into my existing coding agent?
It's a Node.js CLI that can either run its own documentation agent against 13 model providers, or run inside Codex, Claude Code, OpenCode, or Cursor using that agent's own model and repo tools.
How do I install it and generate my first wiki?
Install globally with npm (Node.js 22+), then run openwiki --init in your repo; it walks you through picking a provider, key, and model, and writes docs to the openwiki/ folder.
Do I need my own model API key?
Yes, unless you run it through a coding-agent integration: OpenWiki ships support for thirteen providers including OpenAI, Anthropic, Bedrock, Gemini, and any OpenAI-compatible gateway.
Any install pitfalls on Windows?
Installing with bun can trigger a native build of better-sqlite3 that requires Visual Studio Build Tools with the C++ workload, so npm or pnpm are the recommended installers on Windows.
Does it run on macOS, Linux, and Windows alike?
Yes, it's a cross-platform Node.js 22+ CLI with explicit Windows install notes alongside standard npm installs on macOS and Linux.
Does the visualizer expose my wiki over the network?
No, the visualizer only serves the wiki on a local loopback address and is never exposed on the network unless you explicitly export and host it yourself.
What are Grounded Claims?
OpenWiki tracks the material facts behind a wiki page back to versioned source evidence (like repo://src/server.ts#L40-L82); when that evidence changes, it knows exactly which claims need to be reconfirmed, rewritten, or retired.
Can OpenWiki keep the wiki updated automatically?
Yes, you can add a scheduled CI job in GitHub Actions, GitLab CI, or Bitbucket Pipelines that reruns OpenWiki and opens a docs PR whenever the wiki goes stale, optionally with auto-merge.
What does the interactive visualizer actually show?
It renders the generated wiki as a live, explorable node graph with a side-by-side Markdown reader, and can be exported as a static site for GitHub Pages or MkDocs.
What's the difference between code mode and personal mode?
Code mode documents the current repository into an openwiki/ folder inside the repo, while personal mode builds a wiki from your connected sources (Notion, Slack, Gmail, etc.) under ~/.openwiki/wiki.
What are similar projects?
quarkdown, ai-guide, oxynote, context7, wikiskill, copperhead, headroom, ordewell
Which topics is it in?
documentation-tool, wiki, static-site-generator, langchain, knowledge-management, github-actions, ci, knowledge-base, cursor, documentation, gemini, anthropic