<?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: Inderjeet Singh</title>
    <description>The latest articles on DEV Community by Inderjeet Singh (@sethigoldy).</description>
    <link>https://dev.to/sethigoldy</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%2F119303%2F0357a3db-07b1-4d1e-a1ca-345ee1444d34.png</url>
      <title>DEV Community: Inderjeet Singh</title>
      <link>https://dev.to/sethigoldy</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sethigoldy"/>
    <language>en</language>
    <item>
      <title>AI Agents Don't Need More Context. They Need Memory.</title>
      <dc:creator>Inderjeet Singh</dc:creator>
      <pubDate>Sat, 29 Aug 2026 21:37:38 +0000</pubDate>
      <link>https://dev.to/sethigoldy/ai-agents-dont-need-more-context-they-need-memory-58a3</link>
      <guid>https://dev.to/sethigoldy/ai-agents-dont-need-more-context-they-need-memory-58a3</guid>
      <description>&lt;h2&gt;
  
  
  AI Agents Don't Need More Context. They Need Memory.
&lt;/h2&gt;

&lt;p&gt;AI agents are getting better at using tools, reasoning over documents, and completing multi-step tasks.&lt;/p&gt;

&lt;p&gt;But there is a problem that becomes more obvious every time you use an agent for a longer period:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The agent forgets.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Not because the model cannot process enough tokens. The problem is that context and memory are different things.&lt;/p&gt;

&lt;p&gt;Context tells an agent what is available right now.&lt;/p&gt;

&lt;p&gt;Memory tells an agent what it has learned before.&lt;/p&gt;

&lt;p&gt;Those two things are easy to confuse.&lt;/p&gt;

&lt;h2&gt;
  
  
  The difference between context and memory
&lt;/h2&gt;

&lt;p&gt;Imagine a coding agent working on a large Python application.&lt;/p&gt;

&lt;p&gt;On Monday, the developer tells it:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;We intentionally don't use Redis here because the system needs to remain deployable as a single process.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;On Friday, the agent sees a performance problem and suggests Redis.&lt;/p&gt;

&lt;p&gt;The original statement isn't in the current context anymore.&lt;/p&gt;

&lt;p&gt;The model isn't necessarily wrong. It simply doesn't remember the architectural constraint.&lt;/p&gt;

&lt;p&gt;A memory system should be able to retrieve that information when it becomes relevant.&lt;/p&gt;

&lt;p&gt;But even that isn't enough.&lt;/p&gt;

&lt;h2&gt;
  
  
  Memory needs time
&lt;/h2&gt;

&lt;p&gt;Suppose the developer later changes the architecture:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;We are now using Redis for distributed deployments.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The memory system now has two statements:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Redis should not be used.&lt;/li&gt;
&lt;li&gt;Redis is now being used.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A naive memory system might retrieve both.&lt;/p&gt;

&lt;p&gt;A vector database might return whichever embedding happens to be closest.&lt;/p&gt;

&lt;p&gt;An LLM might decide which statement sounds more plausible.&lt;/p&gt;

&lt;p&gt;None of these approaches gives us a reliable answer to a simple question:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Which statement is true now?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This is where temporal memory becomes important.&lt;/p&gt;

&lt;p&gt;Memvara's approach is based on two separate time axes: when a fact was true, and when the system knew or recorded it. &lt;a href="https://memvara.dev/product/bitemporal?utm_source=chatgpt.com" rel="noopener noreferrer"&gt;See how Memvara's two time axes work&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Two different kinds of time
&lt;/h2&gt;

&lt;p&gt;There is the time when something was true.&lt;/p&gt;

&lt;p&gt;And there is the time when you learned it.&lt;/p&gt;

&lt;p&gt;These aren't necessarily the same.&lt;/p&gt;

&lt;p&gt;For example, a customer might have moved to Berlin on January 1, while your agent only learned about the move on February 10.&lt;/p&gt;

&lt;p&gt;Those are two different timestamps.&lt;/p&gt;

&lt;p&gt;Once you model them separately, historical questions become possible.&lt;/p&gt;

&lt;p&gt;You can ask:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;What is true about the customer now?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Or:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;What did the system believe on February 1?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Those are different questions.&lt;/p&gt;

&lt;h2&gt;
  
  
  Memory should also be explainable
&lt;/h2&gt;

&lt;p&gt;An agent should not merely return:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Berlin
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It should be possible to understand why Berlin is the current answer.&lt;/p&gt;

&lt;p&gt;Where did that fact come from?&lt;/p&gt;

&lt;p&gt;When was it recorded?&lt;/p&gt;

&lt;p&gt;What previous fact did it replace?&lt;/p&gt;

&lt;p&gt;When did the previous fact stop being valid?&lt;/p&gt;

&lt;p&gt;Memvara exposes provenance and historical retrieval so that memory can be inspected rather than treated as an opaque pile of retrieved text. &lt;a href="https://memvara.dev/?utm_source=chatgpt.com" rel="noopener noreferrer"&gt;Explore Memvara's memory model&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  This changes how we think about agent memory
&lt;/h2&gt;

&lt;p&gt;The interesting problem isn't:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;How do we store more text?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;It is:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;How do we maintain a trustworthy evolving state about the world?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That requires properties such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;persistence across sessions&lt;/li&gt;
&lt;li&gt;temporal reasoning&lt;/li&gt;
&lt;li&gt;contradiction resolution&lt;/li&gt;
&lt;li&gt;provenance&lt;/li&gt;
&lt;li&gt;deterministic updates&lt;/li&gt;
&lt;li&gt;historical queries&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is the problem Memvara is designed to solve.&lt;/p&gt;

&lt;p&gt;The goal isn't to give an agent an enormous pile of previous conversations.&lt;/p&gt;

&lt;p&gt;The goal is to give it a memory system that can answer:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What do I know?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;When did it become true?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;When did I learn it?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why do I believe it?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What did I believe before?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Context gives an agent information.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Memory gives it continuity.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://memvara.dev/?utm_source=chatgpt.com" rel="noopener noreferrer"&gt;Try Memvara&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>memory</category>
      <category>layer</category>
      <category>agents</category>
    </item>
  </channel>
</rss>
