<?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: MShesat</title>
    <description>The latest articles on DEV Community by MShesat (@mshesat).</description>
    <link>https://dev.to/mshesat</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%2F4215740%2F8d59d36c-5884-4ae6-bdda-00031b4dfda8.png</url>
      <title>DEV Community: MShesat</title>
      <link>https://dev.to/mshesat</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mshesat"/>
    <language>en</language>
    <item>
      <title>Why Your AI Coding Agents Suffer from Amnesia (And How I Fixed It with SQLite + ONNX)</title>
      <dc:creator>MShesat</dc:creator>
      <pubDate>Thu, 29 Oct 2026 16:50:39 +0000</pubDate>
      <link>https://dev.to/mshesat/why-your-ai-coding-agents-suffer-from-amnesia-and-how-i-fixed-it-with-sqlite-onnx-2g3i</link>
      <guid>https://dev.to/mshesat/why-your-ai-coding-agents-suffer-from-amnesia-and-how-i-fixed-it-with-sqlite-onnx-2g3i</guid>
      <description>&lt;p&gt;If you use Claude Desktop, Cursor, or OpenCode, you know the daily struggle: every new session is a blank slate. Standard RAG solutions treat memory as flat vector chunks, which makes them fundamentally time-blind.&lt;/p&gt;

&lt;p&gt;To solve this, I built &lt;strong&gt;Synapse 4D&lt;/strong&gt;, an open-source local-first cognitive memory engine that acts as a permanent hippocampus for AI agents.&lt;/p&gt;

&lt;h3&gt;
  
  
  Core Architecture
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;D1 Focus:&lt;/strong&gt; Working memory buffer with strict token management.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;D2 Distiller:&lt;/strong&gt; Extracts atomic facts and resolves contradictions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;D3 Chronos:&lt;/strong&gt; Bi-temporal SQLite database (&lt;code&gt;valid_from&lt;/code&gt;, &lt;code&gt;valid_to&lt;/code&gt;) with Hebbian recency decay.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;D4 Mesh:&lt;/strong&gt; Reciprocal graph ensuring zero orphan stubs.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;🧠 Permanent AI Memory: Integrates natively with Claude Desktop &amp;amp; Cursor via MCP.&lt;br&gt;
⏳ Bi-temporal Tracking: Resolves contradictory facts without erasing historical context.&lt;br&gt;
🔒 100% Local &amp;amp; Private: Pure SQLite + ONNX embeddings. Zero cloud APIs, zero telemetry, zero PyTorch bloat.&lt;/p&gt;

&lt;p&gt;Check the open-source repository on GitHub:&lt;br&gt;
👉 &lt;a href="https://github.com/MShesat/SYNAPSE-4D" rel="noopener noreferrer"&gt;https://github.com/MShesat/SYNAPSE-4D&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For those interested in a visual 3D neural graph HUD and a Windows installer, I also packaged a Pro Edition:&lt;br&gt;
👉 &lt;a href="https://synapse4d.lemonsqueezy.com/buy" rel="noopener noreferrer"&gt;https://synapse4d.lemonsqueezy.com/buy&lt;/a&gt;&lt;br&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fo2u08leq1er3m6yluoog.png" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fo2u08leq1er3m6yluoog.png" alt=" " width="800" height="368"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>agents</category>
      <category>architecture</category>
      <category>ai</category>
      <category>database</category>
    </item>
  </channel>
</rss>
