Skip to content
Tech News
← Back to articles

OpenWiki: CLI that writes and maintains agent documentation for your codebase

read original more articles
Why This Matters

OpenWiki is a command-line tool designed to automate the creation and maintenance of documentation within codebases, specifically tailored for agents. It simplifies keeping documentation current by integrating with GitHub workflows and supports multiple language models and providers, making it a valuable asset for developers seeking to streamline documentation processes and improve code transparency.

Key Takeaways

OpenWiki

OpenWiki is a CLI that writes and maintains documentation for your codebase, built specifically for agents.

Install

npm install -g openwiki

Quick Start

Initialize OpenWiki, configure your model and API key, then generate documentation

openwiki --init

Then to ensure your documentation stays up-to-date, add the GitHub action to your repository to automatically open a PR once a day with documentation updates: openwiki-update.yml

Copy the contents of that file into .github/workflows/openwiki-update.yml in your repository.

Usage

... continue reading