langchain-ai /openwiki

OpenWiki is a CLI that writes and maintains agent documentation for your codebase.

★ 17,965⑂ 1,325👁 53⑃ 788● 306▤ 32
TypeScriptMITCreated 2026-06-22
Download: v0.9.0v0.9.0 ↓0.9.02026-11-05
+13
Daily
17,965
stars
1,325
forks
53
watchers
788
prs
306
issues
32
releases

README

A living wiki for your code, your agents, and you.











OpenWiki turns your codebase and knowledge sources into a linked Markdown wiki that you own. Your coding agent can use it to understand a repository, answer questions, and find context across related projects. You can read the same pages or explore them as an interactive graph.

For repository wikis, OpenWiki tracks facts back to source evidence so updates can focus on what changed. Start inside your coding agent, or use the standalone CLI for repository docs, personal knowledge, and scheduled updates.

Get started · Search and link wikis · Explore · Standalone CLI · Command reference

 🎉 What's new

- Linked wiki workspaces: group related repositories with openwiki link, search across their wikis, and read relevant sections through MCP. See how it works →
- More coding-agent integrations: Oh My Pi, Antigravity, IBM Bob / Bob Shell, and Kiro join Codex, Claude Code, OpenCode, GitHub Copilot and Cursor. Connect your agent →
- Parallel page workers: native CLI runs can now document multiple pages concurrently while saving progress page by page and adapting to provider rate limits. Configure concurrency →
- Resumable updates and grounded Claims: completed pages survive interruptions, and versioned source evidence identifies facts that need attention. Explore the architecture →

Portable OKF v0.2 output and publishable visualizers are also available.

 Quick start

The easiest way to get started is inside the coding agent you already use. OpenWiki uses that agent's authenticated model session and repository tools, so there is no separate model provider to configure.

 1. Install OpenWiki

You'll need Node.js 22.22.0 or newer.

sh
npm install -g openwiki


If you use Pi, install the package through Pi in step 2 instead; a separate
global OpenWiki installation is not required.



 2. Connect your coding agent

Choose the integration for your agent:

| Coding agent        | Install                                     |
| ------------------- | ------------------------------------------- |
| Codex               | openwiki integrations install codex       |
| Claude Code         | openwiki integrations install claude      |
| OpenCode            | openwiki integrations install opencode    |
| Cursor              | openwiki integrations install cursor      |
| IBM Bob / Bob Shell | openwiki integrations install bob         |
| Kiro                | openwiki integrations install kiro        |
| Oh My Pi            | openwiki integrations install omp         |
| Antigravity         | openwiki integrations install antigravity |
| GitHub Copilot CLI  | openwiki integrations install copilot     |
| Pi                  | pi install npm:openwiki                   |

 3. Create your wiki

Restart your coding agent, open a repository, and ask:

text
Initialize this repository's OpenWiki from the current source and tests.


Your agent researches the repository and writes a linked wiki in openwiki/. OpenWik

Top issues

Latest release

v0.9.0 v0.9.0 2026-11-05
Minor Changes

- 1081 686fee5 Thanks @rstuhlmuller! - Allow MCP hosts to defer unrelated stale Claim pages during focused updates while preserving their evidence debt. Stop asserting that every repository has a scheduled update workflow.

- 1069 7bff3c6 Thanks @p4norman! - openwiki visualize can open on a specific page: a page= URL fragment (for example http://localhost:4300/page=architecture/overview) selects that page on first load. An unknown id opens the default entry page as before.

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON