検索に戻る

langchain-ai/openwiki

TypeScriptJavaScript

OpenWiki is a CLI that writes and maintains agent documentation for your codebase.

総合ランク
B
Star
4,150
Fork
316

最終コミットの鮮度

S

最終コミットから 0 日

直近のコミット頻度

S

週平均 13.3 コミット (直近4週)

Issue クローズ率

D

5% (2/39)

Issue 平均応答時間

D

応答データなし

ドキュメント充実度

S

README: あり / License: MIT License

リリース鮮度

D

リリースなし

README

OpenWiki

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

OpenWiki

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

Start the interactive CLI:

openwiki

Start OpenWiki with an initial request:

openwiki "Please generate documentation for this repository"

Run a single command and exit:

openwiki -p "Summarize what you can do"

Initialize OpenWiki:

openwiki --init

Update existing documentation:

openwiki --update

Show help:

openwiki --help

openwiki creates initial documentation in openwiki/ when no wiki exists. If openwiki/ already exists, it refreshes that documentation from repository changes. By default, the CLI stays open after each run so you can send follow-up messages. Use -p or --print for a one-shot non-interactive run that prints the final assistant output.

openwiki will automatically append prompting to your AGENTS.md and/or CLAUDE.md files to instruct your coding agent to reference it when searching for context. If the file does not already exist in your repository, OpenWiki will create it for you.

On the first interactive run, OpenWiki will have you configure your inference provider, API key, and LLM. You will also be able to set a LangSmith API key to trace your OpenWiki runs to a LangSmith tracing project named "openwiki" (optional).

These configuration options and secrets will be saved to ~/.openwiki/.env on your local machine.

Customizing

OpenWiki supports OpenRouter, Fireworks, Baseten, OpenAI and Anthropic out of the box. By default, there are a few models pre-defined (GLM 5.2, Kimi K2.6, Sonnet 5, etc) but for each inference provider, OpenWiki will allow you to specify your own custom model ID.

If there's an inference provider or model you'd like to see added, please open a PR!

この情報は最新ではございません。キャッシュを利用しており、数時間前の情報の可能性がございます。