Stars
Forks
Watchers
Developer links
OpenWiki
With over 15,900 GitHub stars and 40,000 weekly npm downloads in its first two months, OpenWiki from LangChain has rapidly become the standard for AI-generated codebase documentation. Built on the Deep Agents framework, it deploys a documentation agent that reads your repository's source code, tests, and configuration, then synthesizes a complete linked Markdown wiki with architecture overviews, integration guides, data-flow diagrams, and validated Mermaid visualizations. Two operating modes cover distinct workflows: code mode generates repository documentation in an openwiki/ folder with automatic AGENTS.md and CLAUDE.md integration for Codex, Claude Code, OpenCode, and Cursor, while personal mode builds a local knowledge base from nine connectors including Notion, Slack, Gmail, X/Twitter, Hacker News, LangSmith, Custom MCP, Web Search, and local git repositories. Thirteen model providers are supported out of the box — OpenAI, Anthropic, Gemini, AWS Bedrock, GitHub Copilot, OpenRouter, Nebius, Fireworks, Baseten, NVIDIA NIM, and any OpenAI-compatible endpoint like Ollama or LM Studio. Grounded Claims track every material assertion back to versioned source evidence, flagging stale propositions before they propagate. The interactive visualizer renders wiki pages as an explorable node graph with a side-by-side Markdown reader, exportable as a static site for GitHub Pages or MkDocs. Self-updating CI workflows via GitHub Actions, GitLab CI, or Bitbucket Pipelines open documentation PRs automatically when code changes. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. MIT licensed.
Benefits
- Self-Maintaining Documentation for Agents
- Grounded Claims track every material assertion to versioned source evidence, automatically flagging stale or contradicted propositions when repository code changes so documentation never silently drifts from reality.
- Thirteen Providers, Zero Lock-In
- Switch freely between OpenAI, Anthropic, Gemini, AWS Bedrock, GitHub Copilot, OpenRouter, NVIDIA NIM, Ollama, and LM Studio with a single configuration change, no code rewrites required.
- Interactive Graph Visualizer
- An explorable node graph with side-by-side Markdown rendering serves locally on a configurable port or exports as a self-contained static site for GitHub Pages, MkDocs, or any web host.
- Automated CI Documentation Updates
- Pre-built workflows for GitHub Actions, GitLab CI, and Bitbucket Pipelines detect code changes via git diffs and automatically open documentation update PRs on a configurable schedule.
Features
- Dual Wiki Modes
- Code mode documents repositories into an openwiki/ folder with AGENTS.md and CLAUDE.md integration; personal mode builds knowledge bases from nine external connectors.
- Grounded Claims System
- Every material fact carries versioned evidence references like repo://src/server.ts#L40-L82, enabling automatic staleness detection and targeted page-level updates on each run.
- Nine Source Connectors
- Personal mode ingests from Notion, Slack, Gmail, X/Twitter, Hacker News, Custom MCP servers, Web Search via Tavily, LangSmith traces, and local git repositories.
- Coding-Agent Integrations
- Native MCP-based integration with Codex, Claude Code, OpenCode, and Cursor lets coding agents manage the documentation lifecycle using their own authenticated model session.
- OKF v0.2 Output
- Every wiki emits Google Open Knowledge Format bundles with deterministic generation provenance, validated Mermaid diagrams, and portable trust and lifecycle metadata.
- Resumable Page Jobs
- Durable page-job architecture with per-page checkpoints in .run.json enables interrupted runs to resume exactly where they stopped without regenerating completed pages.