🛠️

Keep coding agents oriented with an auto-updating OpenWiki

OpenWiki is LangChain's MIT-licensed CLI for generating and refreshing agent-friendly codebase documentation, with an optional GitHub Action that can open daily update PRs.

Jul 6, 2026
Status & Access
Current access and latest update details.
Access
Free
Updated
Jul 6, 2026, 07:32 PM

OpenWiki is a CLI from LangChain that generates a repository wiki for coding agents and keeps that documentation close to the code. It is useful when AGENTS.md, CLAUDE.md, or similar instruction files are getting too crowded, but agents still need durable repo context before they edit files.

What it gives you

  • A CLI install path via npm install -g openwiki
  • An openwiki --init flow for model/provider setup and first documentation generation
  • An openwiki --update mode for refreshing existing docs from repository changes
  • Automatic references in AGENTS.md and/or CLAUDE.md so coding agents know where to look
  • An example GitHub Actions workflow that can run daily and open a documentation update PR

Best fit

Use this for active repos where agents repeatedly need architecture, file-map, or implementation context. It is especially relevant for teams moving between Codex, Claude Code, Cursor, or other coding agents and wanting repo knowledge that is not locked inside one chat thread.

Caveats

OpenWiki runs an LLM-backed documentation agent, so treat the first generated wiki as a draft until a maintainer reviews it. The GitHub Action example needs repository write permissions and model-provider secrets, so do not enable scheduled updates before checking your branch protection, secret scope, and review requirements.

Sources checked

The official LangChain launch explains the agent-documentation goal and daily update workflow. The GitHub repository confirms the CLI usage, MIT license, provider support, and example workflow. The HN thread is only used as public launch/discussion context, not as the factual source of record.

Discussion

Sign in to join the discussion and vote on comments.

No comments yet. Start the discussion.
Keep exploring

More from this topic

More in Tools & Apps