OpenWiki iconOpenWiki

open-source Free Star0k

CLI that writes and maintains agent documentation for your codebase

600 GitHub Stars
MIT License
5+ LLM Providers

Overview

OpenWiki is a CLI built by LangChain that writes and maintains documentation for your codebase, built specifically for agents. It generates a openwiki/ wiki directory and automatically appends context prompts to your AGENTS.md and CLAUDE.md files so coding agents always have accurate codebase knowledge. A GitHub Actions workflow keeps docs fresh with daily automated PR updates.

The Verdict

Who Should Use OpenWiki?

Best For

  • Teams using Claude Code, Codex, or similar coding agents
  • Repos with poor or outdated documentation
  • Projects that want auto-maintained AGENTS.md / CLAUDE.md
  • Developers who want LLM-context-optimized docs

Not Ideal For

  • Teams needing hosted or GUI-based doc tools
  • Projects already with thorough human-written docs
  • Orgs that can't expose code to third-party LLM APIs

What's Great

  • Built specifically for agent consumption, not human readers
  • Auto-patches AGENTS.md and CLAUDE.md with repo context
  • GitHub Action for daily documentation drift PRs
  • Multi-provider: OpenRouter, Fireworks, Baseten, OpenAI, Anthropic
  • Interactive and one-shot CLI modes
  • Free and open-source (MIT)

Watch Out For

  • Very new project (launched June 2026) — early stage
  • Requires own LLM API key and incurs inference costs
  • No hosted version — CLI only
  • Config stored locally in ~/.openwiki/.env

Pricing

View all features & details

Key Features

  • Interactive CLI with follow-up message support
  • One-shot mode with -p / --print flag
  • Auto-creates openwiki/ wiki on first run
  • Incremental updates on re-runs (--update)
  • AGENTS.md / CLAUDE.md auto-patching
  • GitHub Action for daily automated doc PRs
  • Optional LangSmith tracing integration

Supported LLM Providers

  • Anthropic (Claude models)
  • OpenAI
  • OpenRouter
  • Fireworks
  • Baseten
  • Custom model ID support per provider

Platforms

  • macOS, Linux, Windows (npm global install)
  • GitHub Actions (CI workflow included)

Tech Stack

  • TypeScript / JavaScript
  • npm package (npm install -g openwiki)
  • MIT License
  • Built by LangChain

How It Compares

Feature OpenWiki Mintlify Swimm Manual AGENTS.md
Agent-optimized output Yes, built for it No No Depends
Auto-updates GitHub Action Yes Yes Manual
AGENTS.md / CLAUDE.md Auto-patches No No Manual
Hosted product No Yes Yes N/A
Price Free (MIT) Freemium Freemium Free
LLM provider choice 5+ providers Fixed Fixed N/A

User Reviews

Loading reviews...