{
  "version": "https://jsonfeed.org/version/1",
  "title": "Documentation on LLBBL Blog",
  "icon": "https://avatars.micro.blog/avatars/2023/40/125738.jpg",
  "home_page_url": "https://llbbl.blog/",
  "feed_url": "https://llbbl.blog/feed.json",
  "items": [
      {
        "id": "http://llbbl.micro.blog/2026/07/14/autopilot-for-your-docs-a.html",
        "title": "Autopilot for Your Docs: A Look at LangChain's OpenWiki",
        "content_html": "<p>Writing documentation for a repo is the chore nobody volunteers for. Keeping it current is somehow worse. You refactor one service or change a database schema, and the architecture overview you wrote three months ago is instantly a lie.</p>\n<p>So when the LangChain team dropped <strong>OpenWiki</strong>, I had to take a look. It&rsquo;s an open-source CLI tool and agent framework that writes and maintains documentation for your codebase automatically. I read through the source rather than running it, so here&rsquo;s an honest read on the idea, how it works under the hood, and what you&rsquo;ll run into if you point it at a real repo today.</p>\n<h2 id=\"what-is-openwiki\">What Is OpenWiki?</h2>\n<p>The premise is simple: AI coding assistants are only as good as the context they can reach. Instead of stuffing your prompts full of raw source files, OpenWiki generates a structured, interlinked Markdown wiki inside an <code>openwiki/</code> directory right in your repo. It&rsquo;s built to be read by coding assistants like Cursor, Claude Code, or Codex CLI.</p>\n<pre tabindex=\"0\"><code class=\"language-mermaid\" data-lang=\"mermaid\">graph TD\n    Diff[Git Workspace Diff] --&gt;|CLI/CI| CLI[OpenWiki CLI]\n    CLI --&gt;|LangGraph| Agent[Documentation Agent]\n    Agent --&gt; Analyzer{Code Analyzer}\n    Analyzer --&gt;|Incremental Update| Docs[openwiki/ Markdown]\n    Docs --&gt;|Appends Pointer| Config[CLAUDE.md / AGENTS.md]\n</code></pre><p>Three things it does that I like:</p>\n<ul>\n<li><strong>Autopilot docs.</strong> You don&rsquo;t hand-write or hand-format anything. The agent inspects your layout and produces overview, architecture, workflow, and API reference pages.</li>\n<li><strong>Incremental git-diff sync.</strong> It doesn&rsquo;t re-read your whole workspace on every commit. It looks at the diff since the last scan and only rewrites the pages those changes touched.</li>\n<li><strong>Prompt hooking.</strong> It appends a reference pointer to your <code>CLAUDE.md</code> and <code>AGENTS.md</code> so downstream assistants check the wiki first.</li>\n</ul>\n<p>That last one is interesting and is starting to show up in other harness adjacent tools. For this project, it turns the docs into a context layer your agents are told to read.</p>\n<h2 id=\"the-langchain-footprint\">The LangChain Footprint</h2>\n<p>This is built by the LangChain team, and it shows in the dependency list.</p>\n<ul>\n<li><strong>Orchestration</strong> runs on <code>@langchain/core</code> and <code>deepagents</code>, with a stateful LangGraph engine backed by <code>@langchain/langgraph-checkpoint-sqlite</code> that stores checkpoints and agent state locally.</li>\n<li><strong>The CLI</strong> uses <code>ink</code>, so it renders a clean React-based interface right in the terminal.</li>\n<li><strong>Tracing</strong> ships with LangSmith support out of the box, which is worth more than it sounds. When you want to know <em>why</em> a particular page got rewritten, or what a run cost you, that audit trail is right there.</li>\n</ul>\n<p>If you&rsquo;re already living in the LangChain ecosystem, none of this will surprise you. If you&rsquo;re not, it&rsquo;s a lot of framework to pull in for a docs tool. Fair tradeoff or not depends on how much you value the tracing.</p>\n<h2 id=\"the-catch-tokens-and-rate-limits\">The Catch: Tokens and Rate Limits</h2>\n<p>It&rsquo;s still early but here is what I would wathc out for. The first run is expensive.</p>\n<p>When you bootstrap OpenWiki on a medium-to-large repo, the agent has to read, analyze, and index <em>everything</em>. Two things happen:</p>\n<ul>\n<li><strong>You&rsquo;ll hit rate limits.</strong> That initial pass will saturate your provider&rsquo;s API limits fast. Expect a parade of <code>429 Too Many Requests</code> on any large source tree.</li>\n<li><strong>You&rsquo;ll spend real money.</strong> Bootstrapping a large repo can burn through a huge number of tokens in a single run.</li>\n</ul>\n<p>If you&rsquo;re going to try it, configure your <code>.openwiki</code> settings to exclude the folders that don&rsquo;t need documenting. <code>node_modules</code>, <code>dist</code>, generated assets, all of it. There&rsquo;s no reason to spend tokens teaching an agent about your vendored dependencies. If you have access to a high-throughput endpoint or a fast local model through Ollama or LiteLLM, the bootstrap is a lot less painful.</p>\n<p>The steady state is fine, since the git-diff sync keeps ongoing runs cheap. It&rsquo;s that first index that hurts.</p>\n<h2 id=\"should-you-use-it\">Should You Use It?</h2>\n<p>OpenWiki is new and moving fast, which means you should expect config keys and command arguments to shift under you for a while. This is not a set-and-forget tool yet.</p>\n<p>But the core idea is interesting. An agent running quietly in a pre-commit hook or CI, keeping your repo&rsquo;s context layer in sync so your other agents have something accurate to read, is a real quality-of-life upgrade. Docs that maintain themselves have been a fantasy for as long as I&rsquo;ve been writing code. On a read of the source, this is the most serious attempt I&rsquo;ve seen at pulling it off.</p>\n<p>I haven&rsquo;t run it yet, just read through the code, and I&rsquo;m not putting it anywhere just yet. But the idea is right, and I&rsquo;m watching where this one goes.</p>\n<hr>\n<h2 id=\"sources\">Sources</h2>\n<ul>\n<li><a href=\"https://github.com/langchain-ai/openwiki\">LangChain OpenWiki repository</a> for setup, commands, and configuration.</li>\n<li><a href=\"https://blog.langchain.dev\">LangChain blog</a> for the launch announcement and design philosophy.</li>\n<li><a href=\"https://langchain-ai.github.io/langgraphjs/\">LangGraph JS docs</a> for the local SQLite checkpointing and state details.</li>\n</ul>\n<blockquote>\n<p>I&rsquo;d appreciate a follow. You can subscribe with your email below. The emails go out once a week, or you can find me on Mastodon at <a href=\"https://micro.blog/llbbl?remote_follow=1\">@logan@llbbl.blog</a>.</p>\n</blockquote>\n",
        "date_published": "2026-07-14T10:00:00-05:00",
        "url": "https://llbbl.blog/2026/07/14/autopilot-for-your-docs-a.html",
        "tags": ["DevOps","AI","Langchain","Developer tools","Documentation"]
      }
  ]
}
