<?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: h-wata</title>
    <description>The latest articles on DEV Community by h-wata (@h-wata).</description>
    <link>https://dev.to/h-wata</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3963953%2F6336aad2-cd02-4048-9bcb-e3e2d8141219.png</url>
      <title>DEV Community: h-wata</title>
      <link>https://dev.to/h-wata</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/h-wata"/>
    <language>en</language>
    <item>
      <title>Show DEV: kioku-mesh — shared long-term memory for AI coding agents across PCs</title>
      <dc:creator>h-wata</dc:creator>
      <pubDate>Tue, 02 Jun 2026 07:05:26 +0000</pubDate>
      <link>https://dev.to/h-wata/show-dev-kioku-mesh-shared-long-term-memory-for-ai-coding-agents-across-pcs-4p1c</link>
      <guid>https://dev.to/h-wata/show-dev-kioku-mesh-shared-long-term-memory-for-ai-coding-agents-across-pcs-4p1c</guid>
      <description>&lt;p&gt;I made &lt;strong&gt;kioku-mesh&lt;/strong&gt;, which shares long-term memory for AI agents across multiple PCs and across multiple agents. &lt;code&gt;kioku&lt;/code&gt; (記憶) means memory in Japanese.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0dk9apv1l3esrmfkkbx8.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0dk9apv1l3esrmfkkbx8.gif" alt="Demo: kioku-mesh sharing memory between agents across machines" width="720" height="820"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I built kioku-mesh because I often work across my home PC and office PC over a VPN. A common pain for me was that I would do some development work on one machine, then continue on another machine, but the agent on the second machine had no memory of the previous context. I also found it painful that I could not easily remember when and why certain decisions were made. Another frustration was when I split work among multiple agents, for example one agent coding and another agent reviewing. The secondary agent often had to read the whole folder again from scratch, which made the workflow feel slow.&lt;/p&gt;

&lt;p&gt;There are already tools that give long-term memory to AI agents, but many of them either require SaaS or are limited to one local machine. I wanted something that could be shared across my own PCs while still staying inside my LAN/VPN.&lt;/p&gt;

&lt;p&gt;kioku-mesh uses Zenoh for the mesh. Zenoh + RocksDB acts as the source of truth, so when I add a new PC to the mesh, it can read memories that were saved on the other machines.&lt;/p&gt;

&lt;p&gt;Install:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;uv tool &lt;span class="nb"&gt;install &lt;/span&gt;kioku-mesh
kioku-mesh init &lt;span class="nt"&gt;--mode&lt;/span&gt; &lt;span class="nb"&gt;local
&lt;/span&gt;kioku-mesh save &lt;span class="s2"&gt;"Today lunch is Onigiri"&lt;/span&gt;
kioku-mesh search &lt;span class="s2"&gt;"Onigiri"&lt;/span&gt;
kioku-mesh mcp &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;--client&lt;/span&gt; claude-code
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;After &lt;code&gt;mcp install&lt;/code&gt;, agents can call &lt;code&gt;save_observation&lt;/code&gt; and &lt;code&gt;search_memory&lt;/code&gt; as normal MCP tools.&lt;/p&gt;

&lt;p&gt;Current limitations: This is still 0.x and experimental, so breaking changes may happen. Development is mainly Linux-focused, and I have not tested macOS or Windows enough yet. This is intended to be used only inside a trusted network. If you expose it to the public internet, Zenoh key-value data may be visible from outside through port 7447. I strongly recommend using it only in a closed network such as LAN/VPN/Tailscale.&lt;/p&gt;

&lt;p&gt;Links:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;PyPI: &lt;a href="https://pypi.org/project/kioku-mesh/" rel="noopener noreferrer"&gt;https://pypi.org/project/kioku-mesh/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;GitHub: &lt;a href="https://github.com/h-wata/kioku-mesh" rel="noopener noreferrer"&gt;https://github.com/h-wata/kioku-mesh&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Demo: &lt;a href="https://github.com/h-wata/kioku-mesh/blob/main/docs/assets/demo.gif" rel="noopener noreferrer"&gt;https://github.com/h-wata/kioku-mesh/blob/main/docs/assets/demo.gif&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I would especially like feedback on what would be needed to make this useful for small teams in the future. I am also curious whether the setup and configuration feel too complicated when people actually try it.&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/h-wata" rel="noopener noreferrer"&gt;
        h-wata
      &lt;/a&gt; / &lt;a href="https://github.com/h-wata/kioku-mesh" rel="noopener noreferrer"&gt;
        kioku-mesh
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Shared memory for AI coding agents, across tools and machines. Local-first SQLite, optional Zenoh+RocksDB mesh, MCP-native.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;p&gt;
  &lt;a rel="noopener noreferrer" href="https://github.com/h-wata/kioku-mesh/docs/assets/kioku-mesh-logo.png"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fh-wata%2Fkioku-mesh%2FHEAD%2Fdocs%2Fassets%2Fkioku-mesh-logo.png" alt="kioku-mesh" width="420"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
  &lt;a href="https://pypi.org/project/kioku-mesh/" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/a31e101f979ef987d10e65933b6f46e052aa20855586b63b751a0782b8e410b0/68747470733a2f2f696d672e736869656c64732e696f2f707970692f762f6b696f6b752d6d6573682e737667" alt="PyPI"&gt;&lt;/a&gt;
  &lt;a href="https://pypi.org/project/kioku-mesh/" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/a505a00458a6f36641392e95e7f77359bdf25a60cad24b4ddda52adf60b21559/68747470733a2f2f696d672e736869656c64732e696f2f707970692f707976657273696f6e732f6b696f6b752d6d6573682e737667" alt="Python"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/h-wata/kioku-mesh/LICENSE" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/4cddc57dcff62eba4bd9194447047b6c3009fa6c50d9a698ed7050e53ed5d724/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f682d776174612f6b696f6b752d6d6573682e737667" alt="License"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
  &lt;strong&gt;Shared memory for AI coding agents, across tools and machines.&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
  &lt;a rel="noopener noreferrer" href="https://github.com/h-wata/kioku-mesh/docs/assets/demo.gif"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fh-wata%2Fkioku-mesh%2FHEAD%2Fdocs%2Fassets%2Fdemo.gif" alt="One agent saves a decision; another agent recalls it over the mesh" width="760"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;&lt;code&gt;kioku&lt;/code&gt; (記憶) means memory.&lt;/p&gt;
&lt;p&gt;kioku-mesh gives coding agents a shared memory store. Claude Code, Codex CLI
Gemini CLI, and other MCP clients can save and search the same observations from
one machine or from several machines on a trusted LAN/VPN mesh.&lt;/p&gt;
&lt;p&gt;The default setup is local and needs no daemon. Mesh mode is available when you
want the same memory pool replicated between hosts.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Why kioku-mesh&lt;/h2&gt;
&lt;/div&gt;

&lt;p&gt;Coding-agent context gets fragmented across machines: which laptop did that work
what did the agent on the other host decide, and why does a secondary agent have
to re-read everything from scratch just to give a quick second opinion?
kioku-mesh keeps that memory in one shared pool so any agent, on any of your
machines, can recall it.&lt;/p&gt;
&lt;p&gt;Unlike long-term memory tools that store everything in one place, the shared
pool is a peer-to-peer…&lt;/p&gt;
&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/h-wata/kioku-mesh" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


</description>
      <category>showdev</category>
      <category>opensource</category>
      <category>ai</category>
      <category>mcp</category>
    </item>
  </channel>
</rss>
