langchain-ai/openwiki
OpenWiki is a CLI that writes and maintains agent documentation for your codebase.
What it solves
OpenWiki is a CLI tool that automates the creation and maintenance of a wiki for a codebase or personal knowledge base. It solves the problem of documentation becoming stale by using AI agents to synthesize linked Markdown files that automatically update whenever the source code or connected data sources change.
How it works
An AI agent reads source materials—such as a Git repository or connected apps—and generates a structured Markdown wiki. The system uses a "Grounded Claims" architecture where material facts are tracked back to specific versioned source evidence (e.g., specific lines of code). When the source evidence changes, OpenWiki identifies exactly which propositions need to be rewritten or retired.
It supports two primary modes:
- Code Mode: Analyzes a repository and creates documentation in an
openwiki/folder. It can be integrated directly into coding agents like Cursor or Claude Code. - Personal Mode: Ingests data from connectors (Notion, Slack, Gmail, X, etc.) to build a personal knowledge brain.
Who it’s for
- Developers who want self-maintaining documentation for their repositories.
- Knowledge workers looking to synthesize fragmented information from multiple digital sources into a single, linked wiki.
- AI Agent users who want a structured, grounded memory for their coding agents to reference.
Highlights
- Grounded Claims: Tracks facts to versioned source evidence to ensure documentation stays accurate.
- Coding-Agent Integrations: Works inside Codex, Claude Code, OpenCode, and Cursor.
- Interactive Visualizer: Converts the wiki into an explorable node graph.
- Broad Connectivity: Includes nine built-in connectors for tools like Notion, Slack, and Gmail, plus LangSmith for runtime behavior documentation.
- Open Knowledge Format: Outputs portable OKF v0.2 bundles with validated Mermaid diagrams.
Related
- Project
- Project
- Project
- Project
- Project