← all repositories
langchain-ai/openwiki

A README writer that knows your code so your agent doesn't have to

OpenWiki auto-writes and maintains a codebase wiki so your coding agent can look things up instead of guessing.

1.2k stars TypeScript Coding AssistantsLLMOps · Eval
openwiki
Collecting fresh signals — velocity needs a few days of history.
collecting data…
star history

What it does

OpenWiki is a CLI that scans your repository and writes documentation into an openwiki/ directory. It refreshes those files as your code evolves, either on demand or through a daily GitHub Action that opens a pull request with updates. The docs are designed to be consumed by coding agents rather than humans.

The interesting bit

The tool quietly appends instructions to your AGENTS.md or CLAUDE.md, teaching your assistant to consult the generated wiki before improvising. It is essentially building a long-term memory layer between your codebase and your LLM.

Key highlights

  • Supports OpenAI, Anthropic, OpenRouter, Fireworks, and Baseten, with room for custom model IDs
  • Runs interactively by default, but can execute single commands with -p for CI pipelines
  • Optionally traces runs to LangSmith under a dedicated “openwiki” project
  • Ships with a GitHub Action template to automate daily documentation refresh PRs

Caveats

  • The README never specifies the output format inside openwiki/ or how the tool handles very large repositories
  • It is unclear whether the generated docs are plain Markdown, structured data, or something else

Verdict

Try it if you are already using agent-assisted coding and tired of pasting file trees into chat context. Skip it if you prefer hand-curated documentation or worry about API costs from daily automated runs.

Frequently asked

What is langchain-ai/openwiki?
OpenWiki auto-writes and maintains a codebase wiki so your coding agent can look things up instead of guessing.
Is openwiki open source?
Yes — langchain-ai/openwiki is open source, released under the MIT license.
What language is openwiki written in?
langchain-ai/openwiki is primarily written in TypeScript.
How popular is openwiki?
langchain-ai/openwiki has 1.2k stars on GitHub.
Where can I find openwiki?
langchain-ai/openwiki is on GitHub at https://github.com/langchain-ai/openwiki.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.