<?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: hailneed</title>
    <description>The latest articles on DEV Community by hailneed (@hailneed).</description>
    <link>https://dev.to/hailneed</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%2F4131708%2F49e4140d-32c8-4032-a4ce-f16dac8dcb76.jpg</url>
      <title>DEV Community: hailneed</title>
      <link>https://dev.to/hailneed</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hailneed"/>
    <language>en</language>
    <item>
      <title>Your coding agent remembers more than MEMORY.md — so I built a local inspector for it</title>
      <dc:creator>hailneed</dc:creator>
      <pubDate>Fri, 18 Sep 2026 14:41:37 +0000</pubDate>
      <link>https://dev.to/hailneed/your-coding-agent-remembers-more-than-memorymd-so-i-built-a-local-inspector-for-it-1c39</link>
      <guid>https://dev.to/hailneed/your-coding-agent-remembers-more-than-memorymd-so-i-built-a-local-inspector-for-it-1c39</guid>
      <description>&lt;p&gt;I've been using AI coding agents heavily, and I kept running into the same problem:&lt;/p&gt;

&lt;h2&gt;
  
  
  Useful context doesn't live in one place
&lt;/h2&gt;

&lt;p&gt;A coding agent may have information scattered across:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the current conversation&lt;/li&gt;
&lt;li&gt;previous sessions&lt;/li&gt;
&lt;li&gt;subagent conversations&lt;/li&gt;
&lt;li&gt;auto-memory&lt;/li&gt;
&lt;li&gt;project instruction files&lt;/li&gt;
&lt;li&gt;decisions that were discussed but never persisted anywhere&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;As sessions get longer, starting a fresh session or compacting the current context starts to feel risky.&lt;/p&gt;

&lt;p&gt;I found myself asking questions like:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;What does the agent actually know about this project?&lt;/p&gt;

&lt;p&gt;Which important decisions only exist inside an old session?&lt;/p&gt;

&lt;p&gt;What was saved as durable memory?&lt;/p&gt;

&lt;p&gt;What did a subagent discover that I might never see again?&lt;/p&gt;

&lt;p&gt;What context should I preserve before starting over?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I wanted a way to inspect this before trying to build yet another memory system.&lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;AgentMemora&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  Memory intelligence instead of another memory database
&lt;/h2&gt;

&lt;p&gt;There are already good projects focused on giving agents persistent memory.&lt;/p&gt;

&lt;p&gt;AgentMemora takes a different approach.&lt;/p&gt;

&lt;p&gt;It doesn't try to replace the memory system used by your coding agent.&lt;/p&gt;

&lt;p&gt;Instead, it acts as an &lt;strong&gt;inspection and context-control layer over the state that already exists locally.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The basic workflow is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Discover
   ↓
Understand
   ↓
Curate
   ↓
Preserve
   ↓
Transfer
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The question isn't only:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;How can I give my agent more memory?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;It's also:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;What does my agent already know, where did that knowledge come from, and what is worth preserving?&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  Project-first context exploration
&lt;/h2&gt;

&lt;p&gt;One thing I changed while building v0.2.0 was how sessions are presented.&lt;/p&gt;

&lt;p&gt;A global list of hundreds of sessions quickly becomes difficult to navigate.&lt;/p&gt;

&lt;p&gt;So AgentMemora now starts with &lt;strong&gt;projects&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;For each project you can inspect:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Project
├── Primary Sessions
│   ├── Session A
│   ├── Session B
│   └── Session C
│
├── Subagent Transcripts
│   ├── Subagent A
│   ├── Subagent B
│   └── ...
│
├── Durable Memory
├── Project Instructions
└── Context-loss Signals
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This makes it much easier to understand the context footprint of one codebase.&lt;/p&gt;

&lt;p&gt;You can see how many primary sessions and subagent traces exist before drilling into individual conversations.&lt;/p&gt;




&lt;h2&gt;
  
  
  Subagents were especially interesting
&lt;/h2&gt;

&lt;p&gt;Subagent conversations are easy to forget about.&lt;/p&gt;

&lt;p&gt;An agent may delegate research, architecture analysis, or implementation work to another agent.&lt;/p&gt;

&lt;p&gt;That subagent can discover something important.&lt;/p&gt;

&lt;p&gt;But later, from the developer's perspective, that information can become difficult to find.&lt;/p&gt;

&lt;p&gt;AgentMemora indexes those local traces and groups them under their project so they can be inspected alongside the primary sessions.&lt;/p&gt;

&lt;p&gt;This was one of the reasons I wanted the project-first model instead of treating everything as one conversation history.&lt;/p&gt;




&lt;h2&gt;
  
  
  What AgentMemora currently does
&lt;/h2&gt;

&lt;p&gt;The current version can:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;discover local Claude Code session history&lt;/li&gt;
&lt;li&gt;distinguish primary sessions from subagent transcripts&lt;/li&gt;
&lt;li&gt;group context by project&lt;/li&gt;
&lt;li&gt;inspect supported durable memory and instruction files&lt;/li&gt;
&lt;li&gt;surface possible session-only context&lt;/li&gt;
&lt;li&gt;show conservative memory conflict signals&lt;/li&gt;
&lt;li&gt;identify stale memory candidates&lt;/li&gt;
&lt;li&gt;generate Resume and Fork commands&lt;/li&gt;
&lt;li&gt;export a Context Capsule&lt;/li&gt;
&lt;li&gt;provide a local Memory Intelligence dashboard&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The dashboard is intentionally local.&lt;/p&gt;

&lt;p&gt;Vendor session JSONL is treated as &lt;strong&gt;read-only&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;No account.&lt;br&gt;&lt;br&gt;
No API key.&lt;br&gt;&lt;br&gt;
No telemetry.&lt;/strong&gt;&lt;/p&gt;


&lt;h2&gt;
  
  
  Context Capsules
&lt;/h2&gt;

&lt;p&gt;This is the part I'm most interested in developing further.&lt;/p&gt;

&lt;p&gt;Instead of copying an entire huge conversation into another agent session, I want to make context portable.&lt;/p&gt;

&lt;p&gt;AgentMemora currently supports exporting a basic &lt;strong&gt;Context Capsule&lt;/strong&gt; from a session.&lt;/p&gt;

&lt;p&gt;The longer-term idea looks 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;Long Session
     │
     ▼
Context Surgery
     │
     ├── Architecture decisions
     ├── User constraints
     ├── Important files
     ├── Failed approaches
     ├── Open tasks
     └── Relevant memories
     │
     ▼
Context Capsule
     │
     ├── New session
     ├── Another machine
     └── Another coding agent
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Rather than transferring everything, you should eventually be able to select &lt;strong&gt;only the context worth carrying forward.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I'm calling that idea &lt;strong&gt;Context Surgery&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;It's not fully implemented yet, but it's one of the next areas I want to explore.&lt;/p&gt;




&lt;h2&gt;
  
  
  Running it
&lt;/h2&gt;

&lt;p&gt;AgentMemora is available through npm.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx &lt;span class="nt"&gt;-y&lt;/span&gt; agentmemora@latest
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or inspect the environment first:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx &lt;span class="nt"&gt;-y&lt;/span&gt; agentmemora@latest doctor
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It currently focuses primarily on local coding-agent context inspection, with Claude Code being the most complete session-history integration.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why I'm open-sourcing it early
&lt;/h2&gt;

&lt;p&gt;This is still an early project.&lt;/p&gt;

&lt;p&gt;Before adding a lot more features, I want to understand how developers actually lose context when working with coding agents.&lt;/p&gt;

&lt;p&gt;I'm especially interested in developers who:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;keep long-running coding sessions&lt;/li&gt;
&lt;li&gt;use multiple subagents&lt;/li&gt;
&lt;li&gt;frequently start fresh sessions&lt;/li&gt;
&lt;li&gt;use &lt;code&gt;/compact&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;work on several projects simultaneously&lt;/li&gt;
&lt;li&gt;switch between coding agents or machines&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The next features shouldn't be based only on what I think is useful.&lt;/p&gt;

&lt;p&gt;They should come from real context-loss cases.&lt;/p&gt;

&lt;p&gt;So if you try AgentMemora, I'd especially like to know:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;What useful information do you most often wish your coding agent had remembered when you start a new session?&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;And:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Would you rather preserve an entire session, or extract only the important decisions and constraints from it?&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;AgentMemora is open source and MIT licensed.&lt;/p&gt;

&lt;p&gt;If this problem sounds familiar, feedback, issues, and contributions are welcome.&lt;/p&gt;




&lt;h2&gt;
  
  
  Try AgentMemora
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;GitHub:&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
&lt;a href="https://github.com/hailneed/agentmemora" rel="noopener noreferrer"&gt;github.com/hailneed/agentmemora&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Quick start:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx &lt;span class="nt"&gt;-y&lt;/span&gt; agentmemora@latest
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>showdev</category>
      <category>ai</category>
      <category>claude</category>
      <category>devtools</category>
    </item>
  </channel>
</rss>
