<?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: Daniel LaForce</title>
    <description>The latest articles on DEV Community by Daniel LaForce (@argonautilus).</description>
    <link>https://dev.to/argonautilus</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%2F3956085%2F165d8ca1-7ecf-4bdc-98a8-77f8112cd9cf.png</url>
      <title>DEV Community: Daniel LaForce</title>
      <link>https://dev.to/argonautilus</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/argonautilus"/>
    <language>en</language>
    <item>
      <title>Facts Without Sources Are Just Guesswork - Evidence-Linked Memory for Hermes Agent</title>
      <dc:creator>Daniel LaForce</dc:creator>
      <pubDate>Mon, 01 Jun 2026 04:54:36 +0000</pubDate>
      <link>https://dev.to/argonautilus/facts-without-sources-are-just-guesswork-evidence-linked-memory-for-hermes-agent-ghn</link>
      <guid>https://dev.to/argonautilus/facts-without-sources-are-just-guesswork-evidence-linked-memory-for-hermes-agent-ghn</guid>
      <description>&lt;h1&gt;
  
  
  Memory With Receipts: Evidence-Linked Recall for AI Agents
&lt;/h1&gt;

&lt;p&gt;Most agent memory demos stop at one question:&lt;/p&gt;

&lt;p&gt;Can the agent remember this later?&lt;/p&gt;

&lt;p&gt;That's useful, but it's not the bar I care about.&lt;/p&gt;

&lt;p&gt;For long-running agent sessions, memory without provenance is hard to trust. If an agent says "we decided X," I want to know where that came from: which transcript, which event, which source record. The raw transcript should stay authoritative. The memory layer should make important facts easier to find and reuse, not replace the record.&lt;/p&gt;

&lt;p&gt;That's the idea behind ArgoBrain-Memory.&lt;/p&gt;

&lt;p&gt;ArgoBrain-Memory is a small, portable memory core for AI agent sessions. It extracts typed facts from transcripts and gives each fact an evidence pointer back to the source event that produced it.&lt;/p&gt;

&lt;p&gt;The pitch is simple:&lt;/p&gt;

&lt;p&gt;Every useful memory should carry its receipt.&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem
&lt;/h2&gt;

&lt;p&gt;A basic memory store might keep something like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Memory: "use SQLite over PostgreSQL"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That might be useful, but it is not auditable. You cannot tell where it came from, whether the wording changed, or whether it is still true.&lt;/p&gt;

&lt;p&gt;ArgoBrain-Memory keeps the raw transcript as the source of truth and writes memory as derived artifacts:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Fact:      "use SQLite over PostgreSQL"
Type:      decision
Evidence:  session-2026-05-15.jsonl#event=42
Status:    active
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now there is a trail. You can go back to the original event and inspect the conversation that produced the memory.&lt;/p&gt;

&lt;p&gt;That is the difference between "the agent says so" and "the agent can show its work."&lt;/p&gt;

&lt;h2&gt;
  
  
  What it extracts
&lt;/h2&gt;

&lt;p&gt;The current &lt;code&gt;v0.1.0&lt;/code&gt; release extracts five practical fact types from session transcripts:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Captures&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;decision&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Choices made during the session&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;blocker&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Unresolved problems&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;preference&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;User or workflow preferences&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;path&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Files, directories, and artifact locations&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;command&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Commands that were run or should be rerun&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The extractor is intentionally simple right now: deterministic, regex-based, and dependency-free. That makes it easy to test locally before adding heavier model-assisted extraction later.&lt;/p&gt;

&lt;h2&gt;
  
  
  The demo fixture
&lt;/h2&gt;

&lt;p&gt;The repo includes a synthetic fixture benchmark. It does not require OpenAI, Ollama, Hermes, or any API key.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/KeyArgo/argobrain-memory.git
&lt;span class="nb"&gt;cd &lt;/span&gt;argobrain-memory
&lt;span class="nv"&gt;PYTHONPATH&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;src python3 &lt;span class="nt"&gt;-m&lt;/span&gt; argobrain_memory.cli benchmark &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--fixture&lt;/span&gt; fixtures/demo-session &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--mode&lt;/span&gt; all &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--output&lt;/span&gt; /tmp/argobrain-memory-demo
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Current result on the included fixture:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Mode       Retention   Matched
off           0.0%     0/5
baseline     100.0%    5/5
cortex       100.0%    5/5
external     100.0%    5/5
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That is a tiny fixture, not a broad benchmark suite. The important part is not "5/5 means solved." It does not.&lt;/p&gt;

&lt;p&gt;The useful part is the artifact model.&lt;/p&gt;

&lt;p&gt;In &lt;code&gt;cortex&lt;/code&gt; mode, ArgoBrain-Memory writes a memory root like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;memory-root/
  active-derived-summary.md
  facts.jsonl
  recall.sqlite
  episodes/
    &amp;lt;episode-id&amp;gt;.json
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;facts.jsonl&lt;/code&gt; is the typed fact ledger. &lt;code&gt;episodes/&lt;/code&gt; preserves compaction episodes. &lt;code&gt;recall.sqlite&lt;/code&gt; is a rebuildable FTS5 search index. The transcript remains authoritative.&lt;/p&gt;

&lt;h2&gt;
  
  
  How this fits Hermes Agent
&lt;/h2&gt;

&lt;p&gt;Hermes Agent work often involves long sessions, compression, continuation, and handoff between agents. That is exactly where silent memory drift hurts.&lt;/p&gt;

&lt;p&gt;ArgoBrain-Memory is meant to be the portable memory artifact layer for that world:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;ingest a Hermes-style session transcript&lt;/li&gt;
&lt;li&gt;extract typed facts before or after compression&lt;/li&gt;
&lt;li&gt;preserve evidence pointers back to source events&lt;/li&gt;
&lt;li&gt;build a derived summary for quick continuation&lt;/li&gt;
&lt;li&gt;build a local SQLite FTS5 recall index&lt;/li&gt;
&lt;li&gt;compare memory modes with replay fixtures&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The live Hermes &lt;code&gt;MemoryProvider&lt;/code&gt; wrapper is not done yet. This release is the clean core: portable artifacts, deterministic extraction, tests, and a path toward live integration.&lt;/p&gt;

&lt;p&gt;I would rather ship the small auditable layer than pretend the whole memory stack is finished.&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/KeyArgo/argobrain-memory" rel="noopener noreferrer"&gt;https://github.com/KeyArgo/argobrain-memory&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;ArgoBrain-Memory &lt;code&gt;v0.1.0&lt;/code&gt; is MIT licensed, Python 3.10+, and has zero runtime dependencies.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's next
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;live Hermes &lt;code&gt;MemoryProvider&lt;/code&gt; wrapper&lt;/li&gt;
&lt;li&gt;stronger contradiction and supersession handling&lt;/li&gt;
&lt;li&gt;confidence evolution based on repeated evidence&lt;/li&gt;
&lt;li&gt;richer extraction beyond deterministic heuristics&lt;/li&gt;
&lt;li&gt;fresh-clone release gate before PyPI publication&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The ask
&lt;/h2&gt;

&lt;p&gt;If you are building agents with memory, try the benchmark against your own transcript model.&lt;/p&gt;

&lt;p&gt;For every memory the agent uses, can you trace it back to the exact source event?&lt;/p&gt;

&lt;p&gt;If the answer is no, that is the gap ArgoBrain-Memory is trying to close.&lt;/p&gt;

&lt;p&gt;Memory is useful.&lt;/p&gt;

&lt;p&gt;Memory with receipts is something you can actually debug.&lt;/p&gt;

</description>
      <category>hermesagentchallenge</category>
      <category>devchallenge</category>
      <category>agents</category>
    </item>
  </channel>
</rss>
