OpenWiki: An Agent-Only Documentation and Maintenance CLI for Codebases
·2026.07.02 05:51
Key point
It's a CLI tool that automates and maintains documentation so AI agents can better understand code context.
Details
OpenWiki is a CLI tool that generates and manages documentation optimized so that AI Agents can more accurately understand a codebase.
Key features and characteristics are as follows:
- Automatic documentation and updates: It analyzes the codebase to generate documentation, and if you set up GitHub Actions, you can receive daily updated documentation proposed as a Pull Request (PR).
- Agent optimization: The generated documentation automatically adds prompts to the
AGENTS.mdorCLAUDE.mdfile, guiding coding agents to reference that documentation during search. - Support for various models: It supports various Inference Providers such as OpenAI, Anthropic, OpenRouter, Fireworks, and Baseten, and allows the use of custom model IDs.
- Interactive interface: You can generate documentation interactively via the CLI, or make specific requests (e.g.,