OpenWiki
WorkflowLangChain's CLI that writes and maintains a linked Markdown wiki of your codebase for coding agents.
Install
$ npm install -g openwiki && openwiki integrations install claude
Update
$ npm install -g openwiki@latest
To refresh a repository's wiki after code changes, ask your agent to update its OpenWiki, or run openwiki --update.
When to use it
- A large or unfamiliar repository where the agent keeps re-reading files to rebuild context.
- You want durable agent-readable docs that track their source evidence and update as code changes.
- Several related repositories should share searchable context through MCP.
Commands & flags
- openwiki integrations install claude
- Connect OpenWiki to Claude Code (user level by default).
- openwiki integrations list
- Show which agent integrations are installed.
- Initialize this repository's OpenWiki from the current source and tests.
- Prompt to create the wiki in openwiki/ from inside your agent.
- Update this repository's OpenWiki for changes since its last successful run.
- Prompt to refresh only what changed.
- openwiki --update
- Standalone CLI update of the repository wiki.
- openwiki link
- Group related repositories so their wikis can be searched together.
How to use it
Install the CLI, then connect it to Claude Code:
npm install -g openwiki
openwiki integrations install claude
Restart Claude Code, open a repository and ask: Initialize this repository's OpenWiki from the current source and tests. The agent writes a linked wiki in openwiki/. Later, ask it to update the wiki for changes since the last run. The README also describes scheduled updates in CI and a standalone CLI mode with its own model provider.
Why it earns its place
It turns a codebase into a Markdown wiki the agent can search and read on demand, with facts tied back to source evidence so updates focus on what changed. Inside Claude Code it uses the agent's own session, so no separate model provider is needed.
It maintains an AGENTS.md block in your repo and writes an openwiki/ folder, so expect repository changes to review. Skip it for small repos where the code is easy to read directly. On Windows the README recommends installing with npm or pnpm, not bun.
Try it
> Initialize this repository's OpenWiki from the current source and tests.