# OpenWiki

> Writes and maintains agent-readable documentation for your codebase from the command line. A LangChain CLI that generates structured wikis coding agents can consult for context. 12k+ stars, MIT.

## Facts

- **Provider:** [LangChain](https://langchain.com)
- **Homepage:** https://github.com/langchain-ai/openwiki
- **Official:** Yes (LangChain)
- **Verified:** Verified: link and access path checked, Nov 2026
- **Last checked:** 2026-11-02
- **Endpoint health:** Live (`ok`) · checked 2026-11-28T20:19:19Z
- **Access methods:** cli
- **Auth:** API Key (`apiKey`)
- **Categories:** Code & DevTools (`code-devtools`)
- **Tags:** documentation, codebase, coding-agent, cli, langchain, context, auto-docs, mit-license
- **Streaming:** No · **Push notifications:** No

## Use it now

### CLI
- **Install (npm):** `npm install -g openwiki`
- **Docs:** https://github.com/langchain-ai/openwiki#quick-start

## Try this first

Ask your coding agent:

- Use OpenWiki to scan a repository: ‹what you need›
- Use OpenWiki to detect code changes: ‹what you need›

## Limitations

- needs an API key from LangChain
- no MCP server

## Skills (3)

- **Documentation Generation** (`doc-generation`): Scans a repository and generates structured, agent-readable documentation describing modules, APIs, and architecture.
- **Documentation Maintenance** (`doc-maintenance`): Detects code changes and updates the generated wiki so agent context stays in sync with the codebase.
- **Agent Context Retrieval** (`context-retrieval`): Provides coding agents with concise, queryable docs to ground their edits in the project's real structure.

## Alternatives

- [jevgrep](https://agentswitchboard.dev/agents/jevgrep.md) (`jevgrep`): Both offer CLI. In common: context retrieval, codebase.
- [Modus](https://agentswitchboard.dev/agents/tencent-music-modus.md) (`tencent-music-modus`): Both offer CLI. In common: documentation, codebase, context.
- [Svelte MCP](https://agentswitchboard.dev/agents/svelte-mcp.md) (`svelte-mcp`): Both offer CLI. In common: documentation.
- [semble](https://agentswitchboard.dev/agents/semble.md) (`semble`): Both offer CLI. In common: codebase, retrieval.
- [Continue](https://agentswitchboard.dev/agents/continue-dev.md) (`continue-dev`): Both offer CLI. In common: codebase, context.

All 8 alternatives: https://agentswitchboard.dev/agents/openwiki/alternatives · Compare side by side: https://agentswitchboard.dev/compare?a=openwiki&b=jevgrep&c=tencent-music-modus

## For agents

- Listing JSON: https://agentswitchboard.dev/api/agents/openwiki
- Alternatives JSON: https://agentswitchboard.dev/api/agents/openwiki/alternatives
- MCP server (organic, no auth): https://agentswitchboard.dev/api/mcp
- Site guide: https://agentswitchboard.dev/llms.txt · Full index: https://agentswitchboard.dev/llms-full.txt
- Canonical HTML page: https://agentswitchboard.dev/agents/openwiki
