<rss version="2.0">
  <channel>
    <title>Documentation on LLBBL Blog</title>
    <link>https://llbbl.blog/categories/documentation/</link>
    <description></description>
    
    <language>en</language>
    
    <lastBuildDate>Tue, 14 Jul 2026 10:00:00 -0500</lastBuildDate>
    
    <item>
      <title>Autopilot for Your Docs: A Look at LangChain&#39;s OpenWiki</title>
      <link>https://llbbl.blog/2026/07/14/autopilot-for-your-docs-a.html</link>
      <pubDate>Tue, 14 Jul 2026 10:00:00 -0500</pubDate>
      
      <guid>http://llbbl.micro.blog/2026/07/14/autopilot-for-your-docs-a.html</guid>
      <description>&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;So when the LangChain team dropped &lt;strong&gt;OpenWiki&lt;/strong&gt;, I had to take a look. It&amp;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&amp;rsquo;s an honest read on the idea, how it works under the hood, and what you&amp;rsquo;ll run into if you point it at a real repo today.&lt;/p&gt;
&lt;h2 id=&#34;what-is-openwiki&#34;&gt;What Is OpenWiki?&lt;/h2&gt;
&lt;p&gt;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 &lt;code&gt;openwiki/&lt;/code&gt; directory right in your repo. It&amp;rsquo;s built to be read by coding assistants like Cursor, Claude Code, or Codex CLI.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code class=&#34;language-mermaid&#34; data-lang=&#34;mermaid&#34;&gt;graph TD
    Diff[Git Workspace Diff] --&amp;gt;|CLI/CI| CLI[OpenWiki CLI]
    CLI --&amp;gt;|LangGraph| Agent[Documentation Agent]
    Agent --&amp;gt; Analyzer{Code Analyzer}
    Analyzer --&amp;gt;|Incremental Update| Docs[openwiki/ Markdown]
    Docs --&amp;gt;|Appends Pointer| Config[CLAUDE.md / AGENTS.md]
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Three things it does that I like:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Autopilot docs.&lt;/strong&gt; You don&amp;rsquo;t hand-write or hand-format anything. The agent inspects your layout and produces overview, architecture, workflow, and API reference pages.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Incremental git-diff sync.&lt;/strong&gt; It doesn&amp;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.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Prompt hooking.&lt;/strong&gt; It appends a reference pointer to your &lt;code&gt;CLAUDE.md&lt;/code&gt; and &lt;code&gt;AGENTS.md&lt;/code&gt; so downstream assistants check the wiki first.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;h2 id=&#34;the-langchain-footprint&#34;&gt;The LangChain Footprint&lt;/h2&gt;
&lt;p&gt;This is built by the LangChain team, and it shows in the dependency list.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Orchestration&lt;/strong&gt; runs on &lt;code&gt;@langchain/core&lt;/code&gt; and &lt;code&gt;deepagents&lt;/code&gt;, with a stateful LangGraph engine backed by &lt;code&gt;@langchain/langgraph-checkpoint-sqlite&lt;/code&gt; that stores checkpoints and agent state locally.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The CLI&lt;/strong&gt; uses &lt;code&gt;ink&lt;/code&gt;, so it renders a clean React-based interface right in the terminal.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Tracing&lt;/strong&gt; ships with LangSmith support out of the box, which is worth more than it sounds. When you want to know &lt;em&gt;why&lt;/em&gt; a particular page got rewritten, or what a run cost you, that audit trail is right there.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you&amp;rsquo;re already living in the LangChain ecosystem, none of this will surprise you. If you&amp;rsquo;re not, it&amp;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.&lt;/p&gt;
&lt;h2 id=&#34;the-catch-tokens-and-rate-limits&#34;&gt;The Catch: Tokens and Rate Limits&lt;/h2&gt;
&lt;p&gt;It&amp;rsquo;s still early but here is what I would wathc out for. The first run is expensive.&lt;/p&gt;
&lt;p&gt;When you bootstrap OpenWiki on a medium-to-large repo, the agent has to read, analyze, and index &lt;em&gt;everything&lt;/em&gt;. Two things happen:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;You&amp;rsquo;ll hit rate limits.&lt;/strong&gt; That initial pass will saturate your provider&amp;rsquo;s API limits fast. Expect a parade of &lt;code&gt;429 Too Many Requests&lt;/code&gt; on any large source tree.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;You&amp;rsquo;ll spend real money.&lt;/strong&gt; Bootstrapping a large repo can burn through a huge number of tokens in a single run.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you&amp;rsquo;re going to try it, configure your &lt;code&gt;.openwiki&lt;/code&gt; settings to exclude the folders that don&amp;rsquo;t need documenting. &lt;code&gt;node_modules&lt;/code&gt;, &lt;code&gt;dist&lt;/code&gt;, generated assets, all of it. There&amp;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.&lt;/p&gt;
&lt;p&gt;The steady state is fine, since the git-diff sync keeps ongoing runs cheap. It&amp;rsquo;s that first index that hurts.&lt;/p&gt;
&lt;h2 id=&#34;should-you-use-it&#34;&gt;Should You Use It?&lt;/h2&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;But the core idea is interesting. An agent running quietly in a pre-commit hook or CI, keeping your repo&amp;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&amp;rsquo;ve been writing code. On a read of the source, this is the most serious attempt I&amp;rsquo;ve seen at pulling it off.&lt;/p&gt;
&lt;p&gt;I haven&amp;rsquo;t run it yet, just read through the code, and I&amp;rsquo;m not putting it anywhere just yet. But the idea is right, and I&amp;rsquo;m watching where this one goes.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;sources&#34;&gt;Sources&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/langchain-ai/openwiki&#34;&gt;LangChain OpenWiki repository&lt;/a&gt; for setup, commands, and configuration.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://blog.langchain.dev&#34;&gt;LangChain blog&lt;/a&gt; for the launch announcement and design philosophy.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://langchain-ai.github.io/langgraphjs/&#34;&gt;LangGraph JS docs&lt;/a&gt; for the local SQLite checkpointing and state details.&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;p&gt;I&amp;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 &lt;a href=&#34;https://micro.blog/llbbl?remote_follow=1&#34;&gt;@logan@llbbl.blog&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;
</description>
    </item>
    
  </channel>
</rss>