<?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: Codelux</title>
    <description>The latest articles on DEV Community by Codelux (@codeluxai).</description>
    <link>https://dev.to/codeluxai</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%2F4140829%2F94024822-31d0-4de1-97b9-03526bdba8c5.png</url>
      <title>DEV Community: Codelux</title>
      <link>https://dev.to/codeluxai</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/codeluxai"/>
    <language>en</language>
    <item>
      <title>Your AI coding agent forgets your project every session. Here is what I built about it</title>
      <dc:creator>Codelux</dc:creator>
      <pubDate>Fri, 25 Sep 2026 09:54:10 +0000</pubDate>
      <link>https://dev.to/codeluxai/your-ai-coding-agent-forgets-your-project-every-session-here-is-what-i-built-about-it-5hgb</link>
      <guid>https://dev.to/codeluxai/your-ai-coding-agent-forgets-your-project-every-session-here-is-what-i-built-about-it-5hgb</guid>
      <description>&lt;p&gt;&lt;em&gt;Disclosure up front: I build Codelux, the tool in this post. There is a free plan and paid plans. I'll try to keep this useful even if you never install it.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem you already pay for
&lt;/h2&gt;

&lt;p&gt;If you use a coding agent every day, you know the morning routine. You open a new session and the agent knows nothing. It re-reads the same files to rebuild the same picture of the codebase it had yesterday. You explain the architecture again. You remind it what was decided and why.&lt;/p&gt;

&lt;p&gt;That costs you twice:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Tokens.&lt;/strong&gt; Whole files go into the context window to find one function, and the whole conversation is re-sent on every turn.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Decisions.&lt;/strong&gt; Why the code is built that way, what was tried and dropped: it lived in a chat that is gone. The agent may happily re-introduce the thing you removed last week.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And if two people, or two agents, work on the same repository, they share nothing they learned. Each one rebuilds the same context on its own.&lt;/p&gt;

&lt;h2&gt;
  
  
  What helps, with or without any tool
&lt;/h2&gt;

&lt;p&gt;Before the product part, the habits that made the biggest difference for me:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Locate first, then read a window.&lt;/strong&gt; Grep or a symbol index to find the function, then read 30-60 lines around it. Reading a 400-line file to use 12 lines of it is the most common waste in a long session.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A new session per task, with a short handoff.&lt;/strong&gt; Goal, decisions taken and why, files touched, what is left. Ten lines in, instead of the whole history re-sent every turn.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Split notes by how they age.&lt;/strong&gt; Decisions and their reasons stay true, so write them down. Anything structural (where X lives, what calls what) rots quietly, so look it up in the code at read time instead of writing it into a file that will be wrong in a month.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You can do all three with plain markdown files and grep. I did, for a while. Then I automated it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The 2-minute demo
&lt;/h2&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/7ASLhp3FOwE" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;What you see, all recorded on the real app:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Indexing in seconds.&lt;/strong&gt; A 120-file Go project (the open-source gin framework) indexed locally in about 3 seconds: files, symbols and call flows go into a local database, and it stays up to date as you edit.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Notes and decisions that carry over.&lt;/strong&gt; While the agent works it leaves notes and decisions in the project. The next morning a new Claude Code session calls &lt;code&gt;code_memory&lt;/code&gt; and starts from yesterday instead of from a tour of the repo.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Lookups instead of whole files.&lt;/strong&gt; &lt;code&gt;code_query&lt;/code&gt; answers "where is X, who calls it" with file and line, and file reads come back in a compressed form: up to 90% fewer tokens on a single read.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Team plan.&lt;/strong&gt; Two developers on the same project: a decision one writes shows up on the other's machine in under a second, end-to-end encrypted, next to a team chat.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How it plugs in
&lt;/h2&gt;

&lt;p&gt;Codelux is a small local daemon. Your agent talks to it over MCP on localhost (HTTP and a CLI also work), so it fits whatever you already use: Claude Code, Cursor, Codex, VS Code, Windsurf, JetBrains, Zed or any MCP client. For Claude Code there is a plugin with a setup skill:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude plugin marketplace add codeluxai/codelux
claude plugin &lt;span class="nb"&gt;install &lt;/span&gt;codelux@codelux
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Your code, the index and the memory stay on your machine. Nothing is uploaded; AI calls go only to the provider you choose.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it does not do
&lt;/h2&gt;

&lt;p&gt;To keep expectations honest:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It is not another agent and it does not write code for you. It is the space your agents work in.&lt;/li&gt;
&lt;li&gt;On a small repo, in a single short session, a good grep is often just as cheap. The benefit shows up across sessions and across people, when the same understanding would otherwise be rebuilt again and again.&lt;/li&gt;
&lt;li&gt;The daemon is not open source. The docs, the plugin and the issue tracker are on GitHub.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;The Free plan is free forever for one project per machine, no credit card: &lt;a href="https://codelux.ai/download?utm=devto&amp;amp;cdi=post1" rel="noopener noreferrer"&gt;codelux.ai/download&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Docs: &lt;a href="https://codelux.ai/docs" rel="noopener noreferrer"&gt;codelux.ai/docs&lt;/a&gt; · Issues and plugin: &lt;a href="https://github.com/codeluxai/codelux" rel="noopener noreferrer"&gt;github.com/codeluxai/codelux&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'd genuinely like to hear how you handle agent memory today, especially if your answer is "markdown files and discipline". That is where I started.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>mcp</category>
      <category>productivity</category>
      <category>devtools</category>
    </item>
  </channel>
</rss>
