<?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: Jno</title>
    <description>The latest articles on DEV Community by Jno (@jnocode).</description>
    <link>https://dev.to/jnocode</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%2F3998043%2F0ef7c674-e4ff-4041-93ff-60e96efd14c0.jpg</url>
      <title>DEV Community: Jno</title>
      <link>https://dev.to/jnocode</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jnocode"/>
    <language>en</language>
    <item>
      <title>I Built a Memory System for AI Agents That Actually Forgets</title>
      <dc:creator>Jno</dc:creator>
      <pubDate>Tue, 23 Jun 2026 05:49:08 +0000</pubDate>
      <link>https://dev.to/jnocode/i-built-a-memory-system-for-ai-agents-that-actually-forgets-2i20</link>
      <guid>https://dev.to/jnocode/i-built-a-memory-system-for-ai-agents-that-actually-forgets-2i20</guid>
      <description>&lt;p&gt;Every AI agent memory system I've used (Mem0, Honcho, Hindsight) has the same problem: they accumulate forever. Old facts pollute retrieval. More tokens → worse results. Your agent gets slower and dumber over time.&lt;/p&gt;

&lt;p&gt;So I built recall-sqlite — a memory system that actually forgets.&lt;/p&gt;

&lt;p&gt;The core idea: tiered storage. Memories are automatically promoted or demoted based on how often they're accessed.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Hot tier (~500): ANN + keywords + FTS5 — fast full retrieval&lt;/li&gt;
&lt;li&gt;Warm tier (~5K): Keywords + FTS5 only — 66-99% less compute&lt;/li&gt;
&lt;li&gt;Cold tier (unlimited): Zero compute, auto-promoted when relevant&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Key design decisions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Zero LLM at query time (embedding model only, 150MB local)&lt;/li&gt;
&lt;li&gt;No vector database (just SQLite + sqlite-vec)&lt;/li&gt;
&lt;li&gt;Graceful degradation (keyword+FTS5 fallback when offline)&lt;/li&gt;
&lt;li&gt;Automatic schema migration (no manual steps)&lt;/li&gt;
&lt;li&gt;Single pip install, no API keys, no Docker&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;After 6 months of daily use with 1469 memories, latency stays at ~80ms and memory is fixed at ~1.5MB.&lt;/p&gt;

&lt;p&gt;Just got PR'd into the Hermes Agent ecosystem.&lt;/p&gt;

&lt;p&gt;pip install recall-sqlite&lt;br&gt;
github.com/Jnocode/recall-memory&lt;/p&gt;

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