<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Harry Smart</title>
    <description>The latest articles on DEV Community by Harry Smart (@songofhawk).</description>
    <link>https://dev.to/songofhawk</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4082466%2F62ecba2f-ba30-47dc-805a-0df64a5c3585.png</url>
      <title>DEV Community: Harry Smart</title>
      <link>https://dev.to/songofhawk</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/songofhawk"/>
    <language>en</language>
    <item>
      <title>Why Knowledge Bases Are Better Hosted Online Rather Than as Local Markdown</title>
      <dc:creator>Harry Smart</dc:creator>
      <pubDate>Fri, 21 Aug 2026 02:16:12 +0000</pubDate>
      <link>https://dev.to/songofhawk/why-knowledge-bases-are-better-hosted-online-rather-than-as-local-markdown-37e3</link>
      <guid>https://dev.to/songofhawk/why-knowledge-bases-are-better-hosted-online-rather-than-as-local-markdown-37e3</guid>
      <description>&lt;h1&gt;
  
  
  Why Knowledge Bases Are Better Hosted Online Rather Than as Local Markdown
&lt;/h1&gt;

&lt;blockquote&gt;
&lt;p&gt;Doco series · Article 6&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Local Markdown is an excellent medium for personal notes. It is portable, inspectable, offline-friendly, and supported by a deep ecosystem. Obsidian is very good at that job.&lt;/p&gt;

&lt;p&gt;But a personal note vault and a shared knowledge base have different users. The moment an AI agent must search, cite, and maintain the same material as you, the limitations of a folder full of files become architectural rather than cosmetic.&lt;/p&gt;

&lt;h2&gt;
  
  
  Notes are for the future you; a knowledge base serves others
&lt;/h2&gt;

&lt;p&gt;A personal note can be messy as long as its author can find it. A knowledge base creates value when another actor can use it reliably. Today, that actor may be a teammate—or an agent that must answer from it, follow changes, and update it.&lt;/p&gt;

&lt;p&gt;The question is no longer “Can a model read Markdown?” Of course it can. The question is whether the storage model gives the agent stable identity, current state, safe writes, and an efficient way to navigate.&lt;/p&gt;

&lt;h2&gt;
  
  
  A local vault belongs to a device
&lt;/h2&gt;

&lt;p&gt;Move to another computer and the vault must be transported or synchronized. Git works well for engineers but remains a workflow. Cloud drives create their own conflict semantics. Sending a file produces a copy that begins aging immediately.&lt;/p&gt;

&lt;p&gt;Mobile access is often access to a synchronized file rather than a shared live workspace. An online knowledge base reverses the relationship: the knowledge has one managed home, and each device is a window onto it.&lt;/p&gt;

&lt;p&gt;That convenience has a cost. Online systems depend on network availability and an operator. A responsible system needs exports and self-hosting so access does not become lock-in.&lt;/p&gt;

&lt;h2&gt;
  
  
  Files are not the same unit as knowledge
&lt;/h2&gt;

&lt;p&gt;The conclusion you need is usually one paragraph inside a file. The value that goes stale may be one number. The sentence an agent should change is one block.&lt;/p&gt;

&lt;p&gt;In a plain file system, paragraph-level work falls back to file-level work:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;read the whole file to change one sentence;&lt;/li&gt;
&lt;li&gt;cite “somewhere in this file” instead of a durable block;&lt;/li&gt;
&lt;li&gt;rewrite the file after a path- and line-based edit;&lt;/li&gt;
&lt;li&gt;lose the old address when content moves.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Doco gives blocks stable IDs independent of position. An agent can cite and patch the same unit a person sees in the editor.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;code&gt;grep&lt;/code&gt; and &lt;code&gt;head&lt;/code&gt; are tools, not a knowledge interface
&lt;/h2&gt;

&lt;p&gt;An agent can search local files quickly:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-rn&lt;/span&gt; &lt;span class="s2"&gt;"release window"&lt;/span&gt; ./notes
&lt;span class="nb"&gt;head&lt;/span&gt; &lt;span class="nt"&gt;-n&lt;/span&gt; 50 ./notes/operations/release.md
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Those commands answer where characters occur and what appears near the beginning of a file. They do not answer whether the search covered the current corpus, which heading contains the match, what the surrounding block means, or whether the index and source agree.&lt;/p&gt;

&lt;p&gt;A knowledge interface should let an agent browse structure, inspect an outline, search to a block, read around it under a token budget, and return a citation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Concurrent edits need more than conflict copies
&lt;/h2&gt;

&lt;p&gt;The file model assumes one writer at a time. Once you and an always-on agent maintain the same vault, that assumption fails.&lt;/p&gt;

&lt;p&gt;An agent can read a file, you can save a change, and the agent can write its older copy back. A synchronization tool may create two conflict files, but it cannot explain which paragraph each actor changed or which version the agent used.&lt;/p&gt;

&lt;p&gt;Doco uses a shared collaborative document for browser and API writes. Reads return version fingerprints. Stale writes fail explicitly. Stable blocks limit the edit, transactions prevent partial batches, and snapshots support rollback.&lt;/p&gt;

&lt;h2&gt;
  
  
  Markdown still matters—its role changes
&lt;/h2&gt;

&lt;p&gt;Moving knowledge online does not require abandoning Markdown. Doco imports it and exports individual documents or complete knowledge bases. Word and PDF exports are available as well. Browser-local persistence also lets editing continue through temporary disconnection and merge after reconnecting.&lt;/p&gt;

&lt;p&gt;Markdown becomes an exchange format rather than the only authoritative storage shape:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;flowchart LR
    MD[Markdown files] -- import --&amp;gt; KB[Structured online knowledge base]
    KB -- export --&amp;gt; OUT[Markdown, Word, PDF]
    HUMAN[Human] &amp;lt;--&amp;gt; KB
    AGENT[Agent] &amp;lt;--&amp;gt; KB
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  A practical decision rule
&lt;/h2&gt;

&lt;p&gt;Choose local Markdown when the material is primarily for you, offline control dominates, and agents do not need to maintain it. Choose a structured online workspace when humans and agents must search, cite, edit, and observe the same evolving knowledge.&lt;/p&gt;

&lt;p&gt;This is not an anti-Obsidian argument. It is a scope boundary. The strongest personal notebook and the strongest collaborative agent workspace do not need to be the same product.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The important difference is not the file extension. It is where knowledge lives, what unit has an identity, and who can safely work on it.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;p&gt;&lt;strong&gt;Shareable version:&lt;/strong&gt; Local Markdown is excellent for personal notes. An agent-maintained knowledge base needs more: stable paragraph addresses, structured search, version-protected writes, and one live state across devices. Doco keeps Markdown as an open import/export format while letting humans and agents work on structured blocks online.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>ai</category>
      <category>opensource</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
