OpenWiki: An Open-Source Repository Documentation Tool for Coding Agents
Key point
OpenWiki is an open-source tool that automatically generates and maintains documentation so coding agents can better understand codebases.
Details
Coding agents can write better code when they accurately grasp the logic, cross-file connections, and design patterns within complex codebases. However, existing manual documentation methods have limitations in reflecting code changes in real time.
OpenWiki is an open-source CLI tool that solves this problem by automatically generating a wiki for a repository, keeping it up to date as the code changes, and connecting it with coding agents.
Key features are as follows:
- Agent-optimized: Instead of putting all documentation into a single file, it generates a structured wiki that agents can reference whenever needed.
- Automatic updates: It runs periodically via GitHub Action, analyzing
git diffto automatically update the wiki content to match changed code. - Flexible model support: It supports not only OpenAI and Anthropic but also various model providers such as OpenRouter, Fireworks, and Baseten.
- Tracing capability: Built on DeepAgents, it enables execution tracing through LangSmith.
OpenWiki automatically adds wiki references to agent instruction files such as AGENTS.md or CLAUDE.md, helping agents find and use up-to-date context on their own without disrupting the developer's workflow.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.