<?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: R0zumnik.RuFr</title>
    <description>The latest articles on DEV Community by R0zumnik.RuFr (@rfdevlab).</description>
    <link>https://dev.to/rfdevlab</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%2F4154271%2F469b954e-6e82-4a09-898e-c4342181d1d6.jpg</url>
      <title>DEV Community: R0zumnik.RuFr</title>
      <link>https://dev.to/rfdevlab</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rfdevlab"/>
    <language>en</language>
    <item>
      <title>I built a live 3D view of my AI assistant's memory — and found where its tokens go</title>
      <dc:creator>R0zumnik.RuFr</dc:creator>
      <pubDate>Thu, 01 Oct 2026 09:22:43 +0000</pubDate>
      <link>https://dev.to/rfdevlab/i-built-a-live-3d-view-of-my-ai-assistants-memory-and-found-where-its-tokens-go-275m</link>
      <guid>https://dev.to/rfdevlab/i-built-a-live-3d-view-of-my-ai-assistants-memory-and-found-where-its-tokens-go-275m</guid>
      <description>&lt;p&gt;My AI coding assistants keep their long-term memory as plain Markdown notes (basic-memory, but an Obsidian vault works the same way). It works well — until you wonder what the assistant actually &lt;em&gt;does&lt;/em&gt; with it. Which notes does it open? What does it search for? What does it overwrite?&lt;/p&gt;

&lt;p&gt;I couldn't answer, so I built &lt;strong&gt;memglow&lt;/strong&gt;: a small local web app that turns the memory folder into a live 3D graph. Every note is a node, every &lt;code&gt;[[wikilink]]&lt;/code&gt; an edge, and notes light up as the assistant works — cyan when read, violet when searched, red-orange when written, with comets running along the links.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhbz30m8l6xm5lpcmc1ir.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhbz30m8l6xm5lpcmc1ir.gif" alt="memglow demo" width="600" height="338"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How the activity gets in
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Hooks&lt;/strong&gt; for Claude Code, Codex, Gemini CLI, Cursor, Windsurf, Copilot and Cline — &lt;code&gt;npx memglow init&lt;/code&gt; detects which ones you use and installs them.&lt;/li&gt;
&lt;li&gt;An &lt;strong&gt;MCP proxy&lt;/strong&gt; for any other client: it sits in front of your memory MCP server, relays everything unchanged and reports which notes were touched.&lt;/li&gt;
&lt;li&gt;A tiny &lt;strong&gt;HTTP API&lt;/strong&gt; for anything else.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Hooks send note ids only, never content. memglow runs on localhost, only reads your notes, and has zero runtime dependencies.&lt;/p&gt;

&lt;h2&gt;
  
  
  The surprise: where the tokens go
&lt;/h2&gt;

&lt;p&gt;Once I could &lt;em&gt;see&lt;/em&gt; the reading, a pattern jumped out: a handful of notes were read over and over, and some of them had quietly grown huge. So memglow 0.3 added a &lt;strong&gt;Memory cost&lt;/strong&gt; panel:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;tokens read today / over 7 days (≈ bytes ÷ 4 — an estimate, not a bill),&lt;/li&gt;
&lt;li&gt;the notes that cost the most to read, and how many notes make up most of the reading,&lt;/li&gt;
&lt;li&gt;oversized notes with their sections and a suggested split,&lt;/li&gt;
&lt;li&gt;a "Copy prompt for your AI" button, so your own assistant does the split (memglow never writes your notes).&lt;/li&gt;
&lt;/ul&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpvadpclal8ajacydacn4.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%2Fpvadpclal8ajacydacn4.png" alt="Memory cost" width="800" height="534"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;On my own memory, the note tracking this very project had grown to ~15,500 tokens in two days and was read in full every time. After the split, a typical read costs ~1,200 tokens for the summary, or 4–6k with one topic note. Your numbers will differ — the point is that the tool measures them on &lt;em&gt;your&lt;/em&gt; memory.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npx memglow init
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;or with Docker: &lt;code&gt;ghcr.io/r0zumnik/memglow&lt;/code&gt;. MIT licensed: &lt;a href="https://github.com/R0zumnik/memglow" rel="noopener noreferrer"&gt;https://github.com/R0zumnik/memglow&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'd love feedback — especially on what you'd want to see about your assistant's memory.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>claude</category>
      <category>opensource</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
