<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Dr. Majid Fekri on Medium]]></title>
        <description><![CDATA[Stories by Dr. Majid Fekri on Medium]]></description>
        <link>https://medium.com/@majid.fekri?source=rss-b25f2a23e96f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*WGO09Mcfu8NXCEQeWXKtXA.png</url>
            <title>Stories by Dr. Majid Fekri on Medium</title>
            <link>https://medium.com/@majid.fekri?source=rss-b25f2a23e96f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 07:47:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@majid.fekri/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Memory That Acts: Memanto Passes 503 of 600 DolphinBench Tasks]]></title>
            <link>https://medium.com/@majid.fekri/memory-that-acts-memanto-passes-503-of-600-dolphinbench-tasks-ef74797b53cd?source=rss-b25f2a23e96f------2</link>
            <guid isPermaLink="false">https://medium.com/p/ef74797b53cd</guid>
            <category><![CDATA[benchmarking]]></category>
            <category><![CDATA[ai-memory]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ai-agent]]></category>
            <dc:creator><![CDATA[Dr. Majid Fekri]]></dc:creator>
            <pubDate>Thu, 26 Nov 2026 13:16:01 GMT</pubDate>
            <atom:updated>2026-11-26T13:16:01.679Z</atom:updated>
            <content:encoded><![CDATA[<p><em>More tasks completed than any run the benchmark’s authors reported, in under half the time per task, at a fraction of the cost. The paper is on arXiv, and every trace is public.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JQKy0NcQUQgQ6M9Hdy9lVA.png" /><figcaption><em>Memanto on DolphinBench: tasks passed, the gain over the best reported run, median time per task, and the total cost of the run.</em></figcaption></figure><p>For two years, agent memory has mostly been graded like a pub quiz. Ask about something said weeks ago, check the answer, publish the score.</p><p>DolphinBench, released by Mem0 in September, grades something harder: whether an agent can <strong>act</strong> on what it should remember, without being told what to look for. Post an update in the team’s channel when nobody says which channel. Set a reminder six weeks before the dog’s license expires, when the expiry date sits somewhere in years of earlier conversation.</p><p>We ran Memanto, our memory agent, through all 600 tasks on the Hermes agent with GPT-6-Luna. It passed <strong>503</strong>, 79 more than the best run the benchmark’s authors reported. A median task took <strong>15.3 seconds</strong>. The whole run cost <strong>$10.86</strong>.</p><p>The full study is on arXiv as <a href="https://arxiv.org/abs/2611.28231">Evaluating Memanto on DolphinBench for AI Agents</a>, and the scripts, traces and grades are in a public repository. This post covers what the benchmark tests, the three results, what the traces show about how the agent worked, and what the result doesn’t prove.</p><h3>What DolphinBench tests</h3><p>Most memory benchmarks check recall. DolphinBench checks whether memory changes what an agent <em>does</em>. Its design closes the usual shortcuts:</p><ul><li><strong>Three people, years of history.</strong> Morgan is a startup CEO, Alex an infrastructure engineer, Riley a product manager. Each has 3,400 to 5,128 dated messages, about 500,000 tokens, spanning several years.</li><li><strong>History first, then tasks.</strong> The agent processes a persona’s whole history before any test runs.</li><li><strong>Tasks, not questions.</strong> Each of the 600 tasks asks the agent to do something in simulated apps: Notion, Gmail, GitHub, a calendar, a CRM, deployment tools. A task passes only if every check passes.</li><li><strong>Memory has to matter.</strong> A task was kept only if an agent passed it twice with the relevant history and failed it twice without. Common sense alone can’t solve it.</li><li><strong>Three numbers, always together.</strong> Every result reports accuracy, cost and median time per task.</li></ul><p>That last rule is the important one. Any memory system can buy accuracy with more tokens, more retrieval passes or a bigger model. DolphinBench makes you show the bill and the clock beside the score.</p><h3>How we ran it</h3><p>We compare against the runs the DolphinBench authors published, so it matters what is the same and what isn’t.</p><ul><li><strong>Same harness and grader.</strong> Memanto ran on the same Hermes agent harness as the authors’ best runs, and was graded the same way: deterministic checks plus GPT-5.6-Sol as judge, with the benchmark’s grading prompts unchanged.</li><li><strong>Different agent model.</strong> We used GPT-6-Luna at medium reasoning effort. The reported Hermes runs used GPT-5.6-Luna at high reasoning effort, with up to 60 iterations per task. Our run worked to a much tighter iteration budget.</li><li><strong>Clean, independent tasks.</strong> Each persona’s memory was frozen before testing. Every task started a fresh conversation, and memory writes were blocked during tests, so nothing learned on one task could help another.</li><li><strong>Generous recall.</strong> Memanto’s recall tool returned up to 50 memories per call, dropping only those its relevance score rates as irrelevant.</li></ul><h3>Result 1: 503 of 600, and steady across all three people</h3><p>Memanto passed 503 tasks (83.8%). The best run the DolphinBench authors reported is Mem0 at 424 (70.7%), on the same Hermes harness with GPT-5.6-Luna. Hermes’s built-in memory passed 394.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LnvkzdOC-4Z6E5ZdbXZZRw.png" /><figcaption><em>Fig. 1. Tasks passed out of 600. Memanto on Hermes + GPT-6-Luna; reported runs on Hermes + GPT-5.6-Luna, from the DolphinBench paper.</em></figcaption></figure><p>The per-persona view is more interesting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CHmtQQpbMl9I_8E9v-vIQg.png" /><figcaption><em>Fig. 2. Tasks passed per persona, out of 200. The gray band spans the five reported runs, from the benchmark’s official results.</em></figcaption></figure><p>Memanto scored 170, 166 and 167 across Morgan, Alex and Riley: four tasks between its best and worst persona. The reported runs swing by 19 to 41 tasks. And every one of them does worst on the same person: <strong>Alex</strong>.</p><p>Alex is the infrastructure engineer. His history changes constantly: deploys, incidents, on-call rotations, runbooks. It’s the kind of history where an outdated fact looks almost exactly like the current one. It’s also where the gap is widest: Memanto passed 166 of his 200 tasks, and the best reported run passed 132.</p><p>Holding steady across very different people is what memory needs in production, where you don’t get to choose your users.</p><h3>Result 2: less than half the time</h3><p>Memanto’s median task took <strong>15.32 seconds</strong>, tool calls included. The fastest reported Hermes run, Mem0, took 37.69 seconds. The fastest reported run in any setup, Claude Code with Claude Sonnet 5, took 32.19 seconds, at 26.3% accuracy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f77VP-9V6EZUm02NfOR8Jg.png" /><figcaption><em>Fig. 3. Median time per task, tool use included. The dashed line marks the fastest reported run in any setup.</em></figcaption></figure><p>Speed and accuracy usually trade against each other: more retrieval passes, more context and more reasoning tend to buy accuracy with time. Here they moved together. Part of the reason is the agent setup itself, a newer model at medium reasoning effort on a tight iteration budget; a median task needed only four model calls. The rest is what the agent was given to work with, which the traces show below.</p><h3>Result 3: $10.86 for the whole run</h3><p>The full run cost <strong>$10.86</strong>: $8.69 for memory operations, in Moorcheh Cloud usage credits, and $2.17 for agent tokens, ingestion and all 600 tasks included. The cheapest reported run, Hermes with its built-in memory, cost $61.48, so Memanto’s total is 82.3% lower. The reported runs went as high as $1,830.57.</p><p>DolphinBench’s subtitle is “Mapping the Pareto Frontier of Agent Memory.” A system’s place on that frontier, where nothing beats it on both cost and accuracy at once, says more than accuracy alone. Plot every run’s accuracy against its total cost, and the picture is hard to miss.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xvBBoA_U9LSpseL3ZtpRJA.png" /><figcaption><em>Fig. 4. Accuracy against total cost of the run (ingestion plus 600 tasks), log scale. The dashed staircase is the frontier of the reported runs.</em></figcaption></figure><p>Every reported run is behind Memanto on both axes at once: none is cheaper, and none is more accurate. Per passed task, Memanto’s run cost 2.2 cents, against 15.6 cents for built-in memory and 22.7 cents for Mem0.</p><p>The tight iteration budget surely helped the bill. But the bill buys completed tasks, and this run completed more of them than any reported run, so the saving is real: higher accuracy for less. And because Moorcheh also runs on-premises, a self-hosted deployment would remove the $8.69 usage charge, leaving only the cost of your own hardware.</p><h3>Inside a typical task</h3><p>Because every trace is public, we can show exactly what the agent did, not just what it scored.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EoETMP4tpU32BuTzI_zI1g.png" /><figcaption><em>Fig. 5. A typical task, measured from the 600 published traces.</em></figcaption></figure><ul><li>A median task started a fresh conversation, called Memanto’s recall once (1.8 times on average), received 50 dated memories ranked by relevance, and acted in the simulated apps.</li><li>It made four model calls and read about 54,000 prompt tokens, two-thirds of them served from the model’s prompt cache.</li><li>Anyone can recompute the agent’s $2.17 from the token counts in the traces, at GPT-6-Luna’s list prices.</li></ul><p>Three things, we think, explain the result.</p><h3>1. Generous, scored recall</h3><p>We expected short recalls to be the story. The traces say otherwise: almost every recall returned the full 50 memories. The relevance threshold drops only what Moorcheh’s ITS score rates as irrelevant, so it works as a floor, not a funnel. What the agent got wasn’t less context. It was well-ordered context, with a relevance score on every memory.</p><h3>2. Old facts arrive with their dates</h3><p>On a benchmark built from years of history, the dangerous memory isn’t the irrelevant one. It’s the one that <em>used to be true</em>: the old on-call rotation, the runbook that was replaced. Every memory Memanto returned carried its timestamp. Our working hypothesis, from the paper: generous recall makes it likely that both the original statement and its later revision reach the agent, each with its date, so the agent can settle the update before it acts. That fits the Alex result. We haven’t isolated it yet; an ablation over the threshold and the limit, and a close look at the 97 failed tasks, will test it.</p><h3>3. The same answer every time</h3><p>Moorcheh scores memories exhaustively rather than through an approximate nearest-neighbour index, so the same query over the same memories always returns the same ranking. That makes the run reproducible all the way down to retrieval.</p><h3>What this result doesn’t show</h3><p>Benchmarks are easy to oversell, so here is where to be careful with ours.</p><ul><li><strong>A different agent model.</strong> We used GPT-6-Luna; the reported runs used GPT-5.6-Luna, with higher reasoning effort and more iterations. A newer model may complete more tasks, faster and cheaper, whatever the memory, so the gaps can’t be credited to Memanto alone. The clean test is a same-model run, and we are working on it.</li><li><strong>Reported, not re-run.</strong> The comparison numbers come from the DolphinBench paper and its official results. We didn’t re-run the other systems.</li><li><strong>Different bookkeeping.</strong> Our agent cost is priced from recorded token usage and our memory cost is Moorcheh Cloud credits; the reported runs follow the benchmark’s own accounting.</li><li><strong>One run.</strong> With 600 tasks, the 95% interval for 503 passes is about 80.7% to 86.6%.</li><li><strong>97 failed tasks.</strong> We haven’t categorized them yet.</li></ul><p>And credit where it’s due. The Mem0 team built a benchmark that tests action instead of recall, reports cost and time beside accuracy, and published the per-persona scores and costs of its own runs. That openness is what made Fig. 2 possible.</p><h3>Check our work</h3><p>Everything behind these numbers is public in <a href="https://github.com/moorcheh-ai/memanto-benchmark">moorcheh-ai/memanto-benchmark</a>: the harness, the configuration, and the traces and grades for all 600 tasks. The README walks through the run in 21 steps, from cloning DolphinBench to printing the summary.</p><p>A full run costs about $11, so checking us is cheap. Run it yourself, and if your numbers differ from ours, tell us.</p><h3>Memory that acts</h3><p>For a long time, the assumption was that better agent memory meant more of everything: more context, more retrieval passes, bigger models reading longer prompts. DolphinBench lets you test that assumption, because it puts the score, the bill and the clock side by side.</p><p>In this comparison, the most accurate run was also the fastest, and the cheapest. The agent got well-ordered, dated evidence and needed only a few steps to act on it.</p><p>That’s good news for everyone building agents. Memory that acts on the right facts doesn’t have to be a luxury for big budgets. It can cost a couple of cents per task, and it’s available today.</p><p><strong>Try it:</strong></p><ul><li><strong>Memanto Cloud, live since November 20:</strong> a one-line install, and agents can sign up and set up their own long-term memory without waiting for a human. We expect even better results on Cloud, and we’ll publish them. <a href="https://memanto.ai/">memanto.ai</a></li><li><strong>Open source:</strong> pip install memanto · <a href="https://docs.memanto.ai/">Docs</a> · <a href="https://github.com/moorcheh-ai/memanto">GitHub</a></li><li><strong>Rerun our study:</strong> <a href="https://github.com/moorcheh-ai/memanto-benchmark">memanto-benchmark</a></li></ul><p>The next time your agent has to act on something it learned months ago, it should get the evidence with its date and how strongly it matches, and act on that. That future is a lot closer, and a lot cheaper, than it looked a year ago.</p><h3>Sources</h3><ul><li>Khan, Rahnema, Khani, Fekri and Zarrinkalam. <a href="https://arxiv.org/abs/2611.28231">Evaluating Memanto on DolphinBench for AI Agents</a>. arXiv:2611.28231, November 2026. Memanto’s results (Table 1).</li><li><a href="https://github.com/moorcheh-ai/memanto-benchmark">moorcheh-ai/memanto-benchmark</a>. Harness, configuration, and traces and grades for all 600 tasks (Fig. 5).</li><li>Rathi, Yadav and Singh. <a href="https://arxiv.org/abs/2609.24971">DolphinBench: Mapping the Pareto Frontier of Agent Memory</a>. arXiv:2609.24971, September 2026. Reported runs’ accuracy, total cost and median latency (Table 2).</li><li>Mem0. <a href="https://github.com/mem0ai/dolphinbench">DolphinBench official results</a>. Per-persona scores for every reported run (Fig. 2), and the Hermes, MiniMax M3 and Supermemory run in Fig. 4.</li><li>Mem0. <a href="https://mem0.ai/blog/introducing-dolphinbench-mapping-the-pareto-frontier-of-agent-memory">Introducing DolphinBench</a>. September 2026.</li><li>OpenAI. <a href="https://developers.openai.com/docs/models/gpt-6-luna">GPT-6-Luna model page</a>. List prices used to price the traces.</li><li>Abtahi et al. <a href="https://arxiv.org/abs/2604.22085">Memanto: Typed Semantic Memory with Information-Theoretic Retrieval for Long-Horizon Agents</a>. arXiv:2604.22085.</li><li>Abtahi, Fekri, Khani and Azim. <a href="https://arxiv.org/abs/2601.11557">From HNSW to Information-Theoretic Binarization</a>. arXiv:2601.11557. The ITS relevance score.</li><li><a href="https://docs.moorcheh.ai/api-reference/search/query">Moorcheh docs: ITS relevance labels</a>.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ef74797b53cd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Agentic Memory Is Now Its Own Field]]></title>
            <link>https://medium.com/@majid.fekri/agentic-memory-is-now-its-own-field-c0baef7b7464?source=rss-b25f2a23e96f------2</link>
            <guid isPermaLink="false">https://medium.com/p/c0baef7b7464</guid>
            <category><![CDATA[agent-memory]]></category>
            <category><![CDATA[agentic-memory]]></category>
            <category><![CDATA[ai-memory-management]]></category>
            <category><![CDATA[ai-agent]]></category>
            <dc:creator><![CDATA[Dr. Majid Fekri]]></dc:creator>
            <pubDate>Fri, 13 Nov 2026 12:41:01 GMT</pubDate>
            <atom:updated>2026-11-13T12:41:01.708Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iv6U4d-BkiLibipJ6HjSCg.png" /></figure><p><em>Revision, forgetting, custody, security, and the variable almost everyone ignores: how relevant a memory has to be before an agent is allowed to see it.</em></p><p>For the first two years of the agent wave, memory wasn’t a field. It was a weekend ticket. You spun up a vector store, embedded the chat turns, injected the top-k chunks into the system prompt, and shipped.</p><p>In the last eighteen months, that consensus collapsed.</p><p>Look at the evidence: controlled studies where memory makes agents worse than no memory at all, the biggest memory vendors re-architecting their own products, OWASP giving memory poisoning its own entry, and a wave of benchmarks that test revision instead of retrieval. Research labs and production teams have reached the same quiet conclusion. Managing agentic memory is no longer a feature you bolt onto a RAG pipeline. It is its own engineering discipline.</p><p>We’ve watched this split happen before. Databases separated from file systems once applications needed transactions. Observability separated from stdout once systems became distributed. In both cases, the easy part (putting bytes somewhere) stayed easy, and a new field grew around the hard part.</p><p>For agent memory, the easy part is storing and fetching text. The hard parts are state change, temporal truth, chain of custody, and selective forgetting, plus one more that gets far less attention than it deserves: <strong>deciding, at recall time, which memories are relevant enough to reach the agent at all.</strong> A thin API wrapper can’t solve any of these, and pretending otherwise is quietly breaking production agents.</p><p>Here’s the evidence that agentic memory has become its own field, the six standard architectures and why each breaks when facts change, why relevance scoring turned out to matter more than we expected, and the engineering contract for memory that stays true.</p><h3>1. Four signals that memory has become its own discipline</h3><p>You can tell a problem has outgrown “library feature” status by where its failures, threats and redesigns cluster. For agent memory, all three are clustering at once.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C0MWQAppLac6Z8jn4Qw7Ng.png" /><figcaption><em>Fig. 1. Ten milestones in under two years.</em></figcaption></figure><h3>Signal 1: Naive memory makes agents worse than no memory</h3><p>In August 2026, the TEPA researchers ran 8,000 controlled episodes of a tool-selection task in which the right answer reverses partway through (<a href="https://arxiv.org/abs/2608.07429">Zhou et al., arXiv:2608.07429</a>). The episodes were scored by a deterministic executor, with no language model in the loop, so the result isolates the memory policy itself. After the reversal:</p><ul><li>No memory at all: <strong>30.9%</strong> success</li><li>Append-only memory: <strong>21.0%</strong></li><li>Last-write-wins memory: <strong>21.0%</strong></li><li>Explicit revocation (TEPA): <strong>95.0%</strong></li></ul><p>On a preference-reversal stream the gap was wider still: append-only memory scored <strong>13.8%</strong>, against <strong>83.7%</strong> for an agent with no memory at all.</p><p>The authors name the mechanism precisely: stale evidence stays highly relevant to the current query, so similarity and recency give only a weak signal that a fact has been superseded. A passive memory doesn’t just fail to help once the world changes. It keeps serving precedents that look right and aren’t.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nQKSrBvy2j0mOaPEAgalkA.png" /><figcaption><em>Fig. 2. When the facts reverse, memory that can’t revoke is worse than no memory. Data: TEPA, Table 2.</em></figcaption></figure><h3>Signal 2: The leading vendors are redesigning their own products</h3><p>Watch the changelogs, not the marketing.</p><ul><li><strong>Mem0</strong> retired its signature write-time reconciler. The old pipeline used two LLM passes, the second deciding ADD, UPDATE or DELETE against existing memories. In April 2026 Mem0 replaced it with a single ADD-only pass, writing that the reconciliation step “was slow, and it was where context got destroyed” and that overwrites “sometimes erased key information.” It reported gains of 21 points on LoCoMo and 27 on LongMemEval alongside the change, which also added entity linking and multi-signal retrieval (<a href="https://mem0.ai/blog/mem0-the-token-efficient-memory-algorithm">Mem0</a>).</li><li><strong>Letta</strong> (the team behind MemGPT) pioneered the agent that edits its own memory blocks through tool calls. What it built next was the <em>sleep-time agent</em>: a background agent that manages the primary agent’s memory, because “offloading memory to a sleep-time agent allows memory management to happen asynchronously” (<a href="https://letta.com/blog/sleep-time-compute">Letta</a>).</li><li><strong>Zep</strong> built Graphiti around a temporal knowledge graph that invalidates facts with validity windows instead of deleting them (<a href="https://help.getzep.com/facts">Zep docs</a>), a bet that temporal state needs its own machinery rather than better cosine scores.</li></ul><p>When the best-known champions of write-time resolution and self-editing workers move to non-destructive lifecycles and background memory agents, the field is telling you something.</p><h3>Signal 3: Benchmarks moved from recall to revision</h3><p>A year ago, memory benchmarks asked whether an agent could find a needle in a haystack. Now retrieval is table stakes, and revision is the bottleneck.</p><ul><li><strong>MemoryAgentBench</strong> (UC San Diego) tests whether memory can revise itself when new evidence contradicts old (<a href="https://arxiv.org/abs/2507.05257">Hu et al., arXiv:2507.05257</a>). The dedicated memory systems it tested (Mem0, Cognee, Zep, MemGPT and MIRIX) scored between 7% and 28% on single-hop updates. On multi-hop updates, where a changed fact must propagate through a second fact, every method tested scored 7% or less, long-context models and RAG pipelines included.</li><li><strong>LongMemEval</strong> (ICLR 2025) made knowledge updates, temporal reasoning and abstention three of its five core abilities, and found commercial assistants and long-context models losing about 30% accuracy across sustained interactions (<a href="https://arxiv.org/abs/2410.10813">Wu et al.</a>).</li><li><strong>LoCoMo</strong> is now the subject of methodological fights, from how vendors configure each other’s systems (<a href="https://www.getzep.com/blog/lies-damn-lies-statistics-is-mem0-really-sota-in-agent-memory/">Zep</a>) to a common harness that leaves out its 446 adversarial questions, the ones where the right answer is to decline (<a href="https://dev.to/gde03/the-ai-memory-benchmark-everyone-quotes-forbids-saying-i-dont-know-o1n">DEV Community</a>).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_kj5oUj3Qfh0ZkOWqyBR6A.png" /><figcaption><em>Fig. 3. Retrieval isn’t the hard part; revision is. Data: MemoryAgentBench, Table 3.</em></figcaption></figure><p>A subfield only fights over its harnesses when the stakes are real. And notice what that LoCoMo fight is about: whether a memory system can say <em>I don’t know.</em> We’ll come back to that.</p><h3>Signal 4: Memory is now a security and governance surface</h3><p>In December 2025, OWASP’s Top 10 for Agentic Applications listed Memory &amp; Context Poisoning as ASI06 (<a href="https://www.ahead.com/resources/when-your-agent-goes-rogue-the-owasp-agentic-top-10">summary</a>). It followed the MINJA paper, which showed that an attacker sending only ordinary queries can plant malicious records in an agent’s long-term memory, with a 98.2% injection success rate and a 76.8% attack success rate (<a href="https://arxiv.org/abs/2503.03704">Dong et al., arXiv:2503.03704</a>).</p><p>Standards are arriving too. In June 2026 Google Cloud published the Open Knowledge Format, a vendor-neutral spec for agent knowledge as Markdown files with YAML front matter (<a href="https://ppc.land/googles-okf-wants-to-be-the-lingua-franca-for-ai-agent-knowledge/">PPC Land</a>). Fields get standards; features don’t.</p><p>Meanwhile, developers no longer run one agent. They run Claude Code, Cursor, Codex CLI and background LangGraph or CrewAI workers side by side, and per-tool memory notebooks drift apart within hours. Provenance, confidence thresholds, cross-agent sync and blast-radius isolation have become requirements, not nice-to-haves.</p><h3>2. The taxonomy of failure: six ways the industry wires memory</h3><p>Strip away the embeddings, graphs and prompt templates, and ask one question of any memory system: <strong>who decides what is true right now?</strong></p><p>Long-lived memory isn’t a container. It’s a continuous stream of five decisions:</p><ul><li><strong>Keep.</strong> Is this worth remembering, and how sure are we?</li><li><strong>Revise.</strong> Did something new change what an old memory means?</li><li><strong>Retire.</strong> Is this fact no longer current, even though it still matches the query?</li><li><strong>Escalate.</strong> Do two memories disagree in a way a model shouldn’t settle alone?</li><li><strong>Brief.</strong> Of everything we know, what does this agent need right now, and how much of it?</li></ul><p>Sort today’s landscape by who owns those decisions and six architectures fall out. Each puts the wrong party in charge of the truth.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rOOuqlwFfMjD7mm4NT1C3A.png" /><figcaption><em>Fig. 4. Six setups, six owners, and where each breaks.</em></figcaption></figure><p><strong>Setup 1: The vector store. Owner: nobody.</strong> Text goes in; the top-k most similar chunks come out. “The API rate limit is 100 per minute” and “The API rate limit was raised to 500 per minute” have nearly identical embeddings, so both land in the prompt. Chroma’s context-rot study of 18 models found that even a single topically related distractor degrades accuracy (<a href="https://www.trychroma.com/research/context-rot">Chroma</a>), and a stale fact is the perfect distractor: same topic, wrong answer. A vector store has no opinion about time. It only has an opinion about cosine.</p><p><strong>Setup 2: The write-time resolver. Owner: the writer.</strong> On every write, an LLM compares the new message with existing memories and emits add, update or delete. The decision happens at the worst possible moment: with one message of context, inside an opaque model call, and destructively. When it misreads scope, say by treating “async feedback for design reviews” and “sync calls for incidents” as a contradiction, it deletes a rule that was still true (<a href="https://dev.to/mukesh_13/mem0-auto-resolves-memory-conflicts-for-you-until-it-silently-deletes-one-you-still-need-4f4m">DEV Community</a>). Mem0’s own explanation for abandoning the pattern says it plainly: that step was “where context got destroyed.”</p><p><strong>Setup 3: Append-only with read-time ranking. Owner: the reader.</strong> Keep everything, and let recency and similarity sort it out at query time. This fixes silent deletion, which is why Mem0 moved here. But it doesn’t resolve the contradiction. It hands it to the worker agent mid-task, inside a tight token budget, with no authority to fix the underlying memory. Tomorrow the agent meets the same contradiction again. That’s the setup TEPA scored below no memory at all.</p><p><strong>Setup 4: The temporal knowledge graph. Owner: the pipeline.</strong> An asynchronous LLM pipeline extracts entities and relationships into a graph with validity windows, as Zep and Graphiti do. Invalidating rather than deleting is the right instinct. It breaks on autonomy and latency. The extraction pipeline still settles contradictions on its own, without escalation, and Zep’s docs say ingestion can take from a few seconds to a few minutes (<a href="https://help.getzep.com/v3/check-data-ingestion-status">Zep docs</a>). In a fleet, that’s a race condition: agent B acts before agent A’s update has landed.</p><p><strong>Setup 5: The self-editing agent. Owner: the worker.</strong> The worker edits its own memory blocks through tool calls, the original MemGPT pattern (<a href="https://docs.letta.com/guides/core-concepts/stateful-agents">Letta docs</a>). Now the worker is doing two jobs, spending scarce attention on housekeeping in the middle of the user’s task. That’s exactly why Letta added sleep-time agents.</p><p><strong>Setup 6: The standing instruction file. Owner: you, at 11 p.m.</strong> CLAUDE.md, AGENTS.md, .cursorrules. Honest, explicit and in git, right up until you use three coding tools that drift apart, the file bloats into every session’s context window, and nothing your agents learn in production ever writes back to it.</p><p>Count the owners: nobody, the writer, the reader, the pipeline, the worker, and you. None of them is something whose job is keeping the memory estate true.</p><h3>3. The blind spot: every setup hands the agent a ranking, not a judgment</h3><p>All six setups argue about what to keep and how to revise it. Almost none of them ask the question that decides what the agent actually sees: <strong>how relevant does a memory have to be before it reaches the agent?</strong></p><h3>Top-k can’t say “I don’t remember”</h3><p>Top-k is a promise to return k results. Ask a memory about something it has never seen, and a top-10 retriever still hands back ten memories. They aren’t relevant. They’re the ten <em>least irrelevant</em>, and the agent can’t tell the difference.</p><p>That’s because a cosine score is a ranking signal, not a judgment. Its scale shifts with the embedding model, scores for unrelated text often bunch together, and Netflix researchers have shown analytically that cosine similarity over learned embeddings can yield “arbitrary and therefore meaningless” similarities (<a href="https://arxiv.org/abs/2403.05440">Steck et al., arXiv:2403.05440</a>). A 0.78 means nothing on its own. No threshold transfers cleanly across models, queries and memory estates, so most stacks never set one.</p><h3>Why this bites harder in memory than in document search</h3><p>Three properties make relevance harder for agent memory:</p><ul><li><strong>Memory is full of near-twins.</strong> Superseded versions of the same fact are, by construction, highly similar to each other and to the query.</li><li><strong>Memory only grows.</strong> The gap between “closest” and “relevant” widens every week the estate gets bigger.</li><li><strong>The reader acts.</strong> A wrong memory isn’t a bad sentence in a summary. It’s a wrong action.</li></ul><p>And extra context is not neutral. Google Research found that models given insufficient context tend to answer anyway rather than abstain: one model’s rate of incorrect answers rose from 10.2% with no context to 66.1% with insufficient context, and retrieval “paradoxically reduces the model’s ability to abstain” (<a href="https://research.google/blog/deeper-insights-into-retrieval-augmented-generation-the-role-of-sufficient-context/">Google Research</a>; Joren et al., ICLR 2025). Hand an agent ten marginal memories and you haven’t given it options. You’ve given it permission to be confidently wrong.</p><h3>What a useful relevance score looks like</h3><p>To do real work at recall time, a relevance score needs three properties cosine lacks:</p><ol><li><strong>Absolute.</strong> A 0.9 should mean the same thing for every query and every agent, so a threshold means something.</li><li><strong>Bounded and labelled.</strong> A fixed scale with named bands that an agent, or a human, can read.</li><li><strong>Deterministic.</strong> The same query over the same memories returns the same scores, so you can debug it.</li></ol><p>That’s what the ITS score in Moorcheh, the retrieval engine Memanto runs on, is built to be. ITS, short for Information-Theoretic Similarity, scores every result on a fixed 0-to-1 scale with published bands, from <em>Close Match</em> at 0.894 and above, through <em>Very High</em>, <em>High</em>, <em>Good</em>, <em>Low</em> and <em>Very Low</em> relevance, down to <em>Irrelevant</em> below 0.1 (<a href="https://docs.moorcheh.ai/api-reference/search/query">Moorcheh docs</a>). The Moorcheh paper describes it as a universal relevance measure that doubles as a built-in reranker, computed over an exhaustive scan instead of an approximate index, so the same query always returns identical results (<a href="https://arxiv.org/abs/2601.11557">Abtahi et al., arXiv:2601.11557</a>).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8sOgEybxkWqzFeGNFXG0RA.png" /><figcaption><em>Fig. 5. Top-k always answers; a relevance gate can say no. Example scores are illustrative; the ITS bands are Moorcheh’s published ones.</em></figcaption></figure><h3>Two jobs: gate and focus</h3><p>In Memanto, the score does two jobs.</p><p><strong>It gates.</strong> A minimum-similarity threshold sets the floor, and the result list fills only with memories that clear it. The threshold, not k, decides how many memories come back. Recalls stay short and on topic. And when nothing clears the bar, nothing comes back, which for a question your memory can’t answer is the honest result.</p><p><strong>It focuses.</strong> The agent receives the score itself, not just the order. A ranking tells an agent which memory is best. An absolute score tells it whether the best is good enough. A 0.91 close match is something to act on. A 0.27 is a cue to verify, to ask, or to say “I don’t have that.”</p><h3>The evidence so far</h3><p>Our own paper held a clue we underrated at the time. Memanto’s five-stage ablation on LongMemEval (<a href="https://arxiv.org/abs/2604.22085">arXiv:2604.22085</a>) started at 56.6% with a fixed top-10 and an ITS threshold of 0.15. Widening the budget to 40 and relaxing the threshold to 0.10 added 20.4 points. Rewriting prompts added 2.2. Replacing the fixed top-k with ITS-gated retrieval of up to 100 memories, at a threshold of 0.05, added 5.8 more. Upgrading the answering model added 4.8.</p><p>Add it up: of the 33.2 points gained, 26.2 came from how memories were recalled and 4.8 from which model read them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YdwjdQdwLYmqRuW7bSzkJQ.png" /><figcaption><em>Fig. 6. How memories were recalled moved accuracy more than which model read them. Data: Memanto paper.</em></figcaption></figure><p>Two honest caveats. The budget and the threshold changed together, so their effects aren’t isolated. And on that benchmark the right move was to <em>loosen</em> the threshold, because at 0.15 relevant memories fell below the cutoff. That’s the same lesson from the other side: a threshold is a policy you tune. On an absolute scale you can tune it by meaning, looser for exhaustive question-answering and stricter for an agent about to take an action, instead of re-learning a magic number for every embedding model.</p><p>Our next round of benchmark results, which we’ll publish soon together with the harness, is where this stopped being a clue. What surprised us most was how much of the grounding came from the relevance score: gating kept recalls short and free of irrelevant memories, and handing agents the actual relevance number gave them a focus point that a bare ranking can’t.</p><h3>The three gates</h3><p>Put that together with the rest of this article and you get a simple rule. A memory should reach an agent only when it passes three independent gates: it is <strong>relevant</strong> (its ITS score clears the threshold), <strong>trusted</strong> (its confidence and provenance clear the bar for that channel) and <strong>current</strong> (it’s active, or was active at the moment you’re asking about). Most stacks check one thing: similarity rank.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DO-yDCpUhy6pVkaPxpoIeA.png" /><figcaption><em>Fig. 7. Grounded recall checks three things. Most stacks check one.</em></figcaption></figure><h3>4. Why “memory agent” is an architecture, not a marketing term</h3><p>Follow the failure modes to their logical conclusion.</p><ol><li>Memory is a stream of decisions (curate, reconcile, consolidate, brief, provision), not a passive store.</li><li>Those decisions need an owner with the full history in view, its own clock, bounded authority, an audit trail and a path to escalate to a human.</li><li>Worker agents shouldn’t hold the authority to destroy memory on the hot path. That’s separation of duties.</li><li>Someone also has to decide, every time an agent asks, how much of the memory estate it gets to see and how strongly each piece matches. That decision can’t be “always ten.”</li></ol><p>Build something that watches writes and production traces, scores confidence and relevance, checks for conflicts on its own schedule, retires stale records reversibly, briefs agents with only what clears the bar, and escalates real ambiguity to a person, and you haven’t built a memory API. You’ve built a memory agent.</p><p><em>Full disclosure: I’m the CTO of the team behind Memanto, an open-source (MIT) memory agent (</em><a href="https://arxiv.org/abs/2604.22085"><em>paper: arXiv:2604.22085</em></a><em>), and Moorcheh, the retrieval engine it runs on. We built Memanto around exactly this conclusion. Whether you use it or build your own, here is the contract modern agent memory has to meet.</em></p><h3>5. The engineering contract for agentic memory</h3><p>Eight clauses. Every example below runs against open-source Memanto (pip install memanto) with a local server on port 8000.</p><h3>1. A non-destructive lifecycle, and separation of duties</h3><p>Worker agents should be able to remember and recall, but not silently overwrite or delete. In Memanto a memory is either <em>active</em> or <em>expired</em>. Expiring keeps the content and stamps expired_at and expired_by: the name of the policy rule that retired it, manual, or conflict-resolution. Restoring clears the stamp.</p><pre># Retire a memory reversibly, with an audit reason<br>curl -X POST &quot;http://localhost:8000/api/v2/agents/support-bot/memories/$MEMORY_ID/expire&quot; \<br>  -H &quot;X-Session-Token: $TOKEN&quot; -H &quot;Content-Type: application/json&quot; \<br>  -d &#39;{&quot;reason&quot;: &quot;superseded-by-v2-rate-limit&quot;}&#39;<br><br># Made a mistake? Bring it back<br>memanto memory restore $MEMORY_ID</pre><p>By default, Memanto’s MCP server gives worker agents seven tools (remember, batch remember, recall, three time-based recalls and answer) and none that delete or retire. Agent-management tools stay off unless you set MEMANTO_EXPOSE_ADMIN=true. An agent you hand the full CLI can do more, so grant that on purpose.</p><h3>2. Typed revocation, not cosine ranking</h3><p>A passing observation is not an architectural decision. Memanto types every memory as one of 13 kinds (fact, preference, decision, commitment, goal, event, instruction, relationship, context, learning, observation, error, artifact), and per-agent YAML policies retire memories by type, tag, source, provenance and confidence:</p><pre># ~/.memanto/policies/support-bot.yaml<br>version: 1<br>retention:<br>  context: 7d<br>  error: 30d<br>  observation: 60d<br>rules:<br>  - name: pinned<br>    match: { tags: [pinned] }<br>    expire_after: never<br>  - name: unverified-voice-claims<br>    match: { source: [vapi], tags: [unverified] }<br>    expire_after: 7d<br>  - name: low-confidence-guesses<br>    match: { provenance: [inferred], confidence_below: 0.5 }<br>    expire_after: 14d<br>purge_expired_after: never</pre><p>Retired memories drop out of agent-facing recall with --active and stay queryable for audits. Instead of hoping similarity out-ranks a stale fact, you take the stale fact off the table.</p><h3>3. Escalate contradictions; don’t guess</h3><p>When the best multi-hop selective-forgetting score in MemoryAgentBench is 7%, letting a model silently settle conflicts at write time is hard to defend. Memanto runs a separate conflict-detection pass that flags contradictory pairs side by side and recommends a resolution, but leaves the change to you or to a policy you wrote:</p><pre>memanto detect-conflicts --agent support-bot<br><br>curl -X POST &quot;http://localhost:8000/api/v2/agents/support-bot/conflicts/resolve&quot; \<br>  -H &quot;X-Session-Token: $TOKEN&quot; -H &quot;Content-Type: application/json&quot; \<br>  -d &#39;{&quot;date&quot;: &quot;2026-10-15&quot;, &quot;conflict_index&quot;: 0, &quot;action&quot;: &quot;expire_old&quot;}&#39;</pre><h3>4. A chain of custody against poisoning</h3><p>To blunt MINJA-style injection (OWASP ASI06), every memory carries a confidence score from 0 to 1, a provenance (explicit_statement, inferred, corrected, validated, observed or imported) and an attributed source: the calling tool, identified from an explicit flag or header, the MCP handshake or environment markers, and recorded as unidentified rather than guessed. Untrusted channels write low; production agents read high:</p><pre># Untrusted voice input enters at low confidence<br>memanto remember &quot;Caller claims admins can bypass 2FA via the reset link&quot; \<br>  --type observation --confidence 0.3 --source vapi --tags unverified<br><br># The production agent ignores low-confidence records<br>memanto recall &quot;how do admins reset 2FA?&quot; --active --min-confidence 0.7</pre><h3>5. Two clocks: instant writes, scheduled housekeeping</h3><p>A memory system needs two clocks.</p><ul><li><strong>The hot clock.</strong> When Claude Code learns a fact, Cursor should see it a second later, not after an asynchronous ingestion job. Memanto writes are searchable in under a second, and the paper reports sub-10 ms ingestion and sub-90 ms retrieval with a single query, deterministic because the search is exact.</li><li><strong>The cold clock.</strong> memanto schedule enable sets up a nightly job that summarizes the day into Markdown, runs the conflict-detection pass, and applies each agent&#39;s expiry policy while your agents sleep. Permanent deletion is never part of it.</li></ul><h3>6. Relevance-gated briefs, not context dumps</h3><p>Injecting twenty raw chunks into every prompt is how you buy context rot. Memory should be <em>queryable, not injectable</em>, and every recall should be gated by relevance. Because ITS is absolute, the threshold reads like a policy:</p><pre># An agent about to act: strong matches only, at most five, current facts only<br>memanto recall &quot;what&#39;s our refund window for annual plans?&quot; \<br>  --min-similarity 0.45 --limit 5 --active<br><br># Exhaustive Q&amp;A over history: a looser floor, a bigger budget<br>memanto recall &quot;everything we decided about the billing migration&quot; \<br>  --min-similarity 0.10 --limit 100</pre><p>0.45 sits at the floor of ITS’s <em>High Relevance</em> band. 0.10 is the floor of <em>Very Low</em>, close to the 0.05 our paper’s best LongMemEval run used. Each result comes back with its score, so the agent knows how strong the match is, not only where it ranked. For synthesis, agents can call memanto.answer() for a grounded brief, or dispatch a memory-scout subagent that runs several narrow recalls in parallel and reports unresolved contradictions instead of quietly picking a winner.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JR4XmikKQOyZz7mAnxDzNA.png" /><figcaption><em>Fig. 8. Every recall result carries both its relevance and its chain of custody. Values are illustrative.</em></figcaption></figure><h3>7. Close the loop: production outcomes as memory</h3><p>A 2025 study of agent memory found that agents strongly copy similar past records, so “inaccuracies in past experiences compound and degrade future performance” (<a href="https://arxiv.org/abs/2505.16067">Xiong et al., arXiv:2505.16067</a>). Being selective about what entered memory more than doubled one medical agent’s score, from 16.75 to 38.50, and pruning by later outcomes shrank its memory by about three quarters (1,012 records to 248) with performance held.</p><p>Memory shouldn’t only listen to chat transcripts. It should listen to outcomes. Memanto reads Langfuse traces off the hot path, strips volatile details (IDs, numbers, emails, IP addresses, paths) to group failures by signature, and turns them into memories without any LLM calls. In the docs’ own example, 812 trace observations collapsed into 2 memories. Confidence grows with recurrence:</p><pre>confidence = min(0.95, 0.60 + 0.15 * log10(occurrences))</pre><p>One occurrence scores 0.60; a hundred score 0.90.</p><h3>8. Fleet-wide custody, and an exit door</h3><p>One memory estate serves the whole fleet: 14 coding agents through memanto connect (Claude Code, Cursor, Codex CLI, Windsurf, Gemini CLI, GitHub Copilot and more), plus LangGraph, CrewAI, Google ADK, Amazon Bedrock AgentCore and Vapi. memanto memory sync writes active instructions, preferences and goals with confidence of 0.8 or higher into CLAUDE.md and AGENTS.md between marker comments, so your tools stop drifting.</p><p>Custody also needs an exit. Your estate exports to Google Cloud’s Open Knowledge Format, Markdown files with YAML front matter that keep every confidence score and provenance tag, and imports from Mem0, Letta, Zep, Supermemory and Hindsight (memanto migrate &lt;provider&gt; --dry-run).</p><h3>6. Grade your memory stack this afternoon</h3><p>Stop trusting vendor leaderboard numbers, ours included. Our paper reports 89.8% on LongMemEval, with 93.6% on its knowledge-update questions, and 87.1% on LoCoMo (<a href="https://arxiv.org/abs/2604.22085">arXiv:2604.22085</a>). Our next round of results is coming soon, and we’ll publish the harness with it. Until then, run these nine tests on whatever memory you use today:</p><ol><li><strong>Reversal.</strong> Store a rate limit of 100, then 500. Does agent-facing recall return only 500, with no prompt tricks? <em>Hard mode:</em> change a fact that another fact depends on. Dana moves from Finance to Marketing; who approves her expenses now?</li><li><strong>Silence.</strong> Store two similar but compatible preferences: async feedback for design reviews, sync calls for incidents. Does your write path keep both?</li><li><strong>Undo.</strong> Retire a memory by mistake. Can you restore it in one command, with its original content and timestamps?</li><li><strong>Time travel.</strong> During an incident review, can you reconstruct exactly what was active when the agent made its call (recall --as-of)?</li><li><strong>Custody.</strong> Pick any memory. Can you see which tool wrote it, whether it was stated or inferred, and how confident the system is?</li><li><strong>Poisoning.</strong> Send an unverified claim through an untrusted channel. Does it stay out of high-confidence memory, and can you find and retire everything that channel wrote?</li><li><strong>Read-after-write.</strong> Record a decision in Claude Code and query it from Cursor a second later. Is it there, without polling a job ID?</li><li><strong>Relevance.</strong> Ask about something your memory has never seen. Does recall come back empty, or with ten confident-looking strangers? Then ask something it does know. Does the right memory come back with a score that tells the agent how strong the match is?</li><li><strong>Exit.</strong> Export the whole estate as git-friendly Markdown and YAML, and re-import it without losing metadata.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rwNhsum1Xma13BpQeSIq5A.png" /><figcaption><em>Fig. 9. Nine tests. Share them, run them, publish what you find.</em></figcaption></figure><h3>Where the field goes next: agents hiring their own memory agents</h3><p>If agent memory is now its own discipline, and the architecture that fits the job is a dedicated memory agent, follow the logic one more step. A worker agent shouldn’t have to wait for a human to wire up its memory. It should be able to hire its memory agent itself.</p><p>That’s what we’re shipping. On November 20 we launch <strong>Memanto Cloud</strong>, built around the capability our community survey pushed to the top of our roadmap: agent self-onboarding. With a one-line install, an AI agent can create its own Memanto account and provision its own long-term memory, without waiting for a human. We run the backend, so there’s no Moorcheh API key to wire up and no server to set up.</p><p>For two years we judged agents by how clever they looked inside a single context window. For the next five, we’ll judge them by what they carry forward across months, by whether what they carry forward is still true when the world changes, and by whether they know which of it actually matters to the question in front of them.</p><p>That isn’t a vector search problem. It’s a discipline of its own, and it’s moving faster than anyone expected. The research is converging, the vendors are converging, and the tools to build memory that stays true and stays relevant are finally here. This is the good part.</p><p><strong>Try it:</strong> pip install memanto · <a href="https://memanto.ai/">memanto.ai</a> · <a href="https://docs.memanto.ai/">Docs</a> · <a href="https://github.com/moorcheh-ai/memanto">GitHub</a></p><p><strong>Read the papers:</strong> <a href="https://arxiv.org/abs/2604.22085">Memanto: Typed Semantic Memory with Information-Theoretic Retrieval for Long-Horizon Agents (arXiv:2604.22085)</a> · <a href="https://arxiv.org/abs/2601.11557">From HNSW to Information-Theoretic Binarization (arXiv:2601.11557)</a></p><p><strong>Watch:</strong> <a href="https://youtube.com/@moorchehai">youtube.com/@moorchehai</a></p><h3>Sources</h3><p><strong>Research</strong></p><ul><li>Zhou, Ouyang, Zheng and Xiang. <a href="https://arxiv.org/abs/2608.07429">TEPA: Revoking Stale Memories for Conflict-Robust Language Agents</a>. arXiv:2608.07429, August 2026.</li><li>Hu, Wang and McAuley. <a href="https://arxiv.org/abs/2507.05257">Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactions (MemoryAgentBench)</a>. arXiv:2507.05257.</li><li>Wu et al. <a href="https://arxiv.org/abs/2410.10813">LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memory</a>. ICLR 2025.</li><li>Dong et al. <a href="https://arxiv.org/abs/2503.03704">A Practical Memory Injection Attack against LLM Agents (MINJA)</a>. arXiv:2503.03704.</li><li>Hong, Troynikov and Huber. <a href="https://www.trychroma.com/research/context-rot">Context Rot: How Increasing Input Tokens Impacts LLM Performance</a>. Chroma, July 2025.</li><li>Xiong et al. <a href="https://arxiv.org/abs/2505.16067">How Memory Management Impacts LLM Agents: An Empirical Study of Experience-Following Behavior</a>. arXiv:2505.16067.</li><li>Steck, Ekanadham and Kallus. <a href="https://arxiv.org/abs/2403.05440">Is Cosine-Similarity of Embeddings Really About Similarity?</a> arXiv:2403.05440, March 2024.</li><li>Joren et al. Sufficient Context: A New Lens on Retrieval Augmented Generation Systems. ICLR 2025. Summarized in <a href="https://research.google/blog/deeper-insights-into-retrieval-augmented-generation-the-role-of-sufficient-context/">Google Research’s blog</a>, May 2025.</li><li>Abtahi, Fekri, Azim and Khani. <a href="https://arxiv.org/abs/2601.11557">From HNSW to Information-Theoretic Binarization: Rethinking the Architecture of Scalable Vector Search</a>. arXiv:2601.11557.</li><li>Abtahi et al. <a href="https://arxiv.org/abs/2604.22085">Memanto: Typed Semantic Memory with Information-Theoretic Retrieval for Long-Horizon Agents</a>. arXiv:2604.22085, April 2026.</li></ul><p><strong>Standards and security</strong></p><ul><li><a href="https://www.ahead.com/resources/when-your-agent-goes-rogue-the-owasp-agentic-top-10">OWASP Top 10 for Agentic Applications, summarized by AHEAD</a>. December 2025.</li><li><a href="https://ppc.land/googles-okf-wants-to-be-the-lingua-franca-for-ai-agent-knowledge/">Google’s Open Knowledge Format, reported by PPC Land</a>. June 2026.</li></ul><p><strong>Vendor documentation and posts</strong></p><ul><li><a href="https://mem0.ai/blog/mem0-the-token-efficient-memory-algorithm">Mem0: Introducing the Token-Efficient Memory Algorithm</a>. April 2026.</li><li><a href="https://letta.com/blog/sleep-time-compute">Letta: Sleep-time compute</a>. April 2025. And <a href="https://docs.letta.com/guides/core-concepts/stateful-agents">Letta docs: stateful agents</a>.</li><li><a href="https://help.getzep.com/facts">Zep: Facts</a> and <a href="https://help.getzep.com/v3/check-data-ingestion-status">Check data ingestion status</a>. Plus Zep’s <a href="https://www.getzep.com/blog/lies-damn-lies-statistics-is-mem0-really-sota-in-agent-memory/">LoCoMo critique</a>.</li><li><a href="https://docs.moorcheh.ai/api-reference/search/query">Moorcheh docs: search query and ITS relevance labels</a>.</li><li><a href="https://docs.memanto.ai/">Memanto documentation</a>.</li></ul><p><strong>Community analysis</strong></p><ul><li><a href="https://dev.to/mukesh_13/mem0-auto-resolves-memory-conflicts-for-you-until-it-silently-deletes-one-you-still-need-4f4m">Mem0 auto-resolves memory conflicts for you, until it silently deletes one you still need</a>. DEV Community, August 2026.</li><li><a href="https://dev.to/gde03/the-ai-memory-benchmark-everyone-quotes-forbids-saying-i-dont-know-o1n">The AI memory benchmark everyone quotes forbids saying “I don’t know”</a>. DEV Community, July 2026.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c0baef7b7464" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Camera That Remembers: Local Vision Memory for Physical AI]]></title>
            <link>https://medium.com/@majid.fekri/a-camera-that-remembers-local-vision-memory-for-physical-ai-94fd4a915db8?source=rss-b25f2a23e96f------2</link>
            <guid isPermaLink="false">https://medium.com/p/94fd4a915db8</guid>
            <dc:creator><![CDATA[Dr. Majid Fekri]]></dc:creator>
            <pubDate>Mon, 09 Nov 2026 23:55:09 GMT</pubDate>
            <atom:updated>2026-11-09T23:55:09.213Z</atom:updated>
            <content:encoded><![CDATA[<p>We ran face and object recognition, event memory, and a local language model on an Edge device.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Suhtbsr3zIJ7SnY69WZAaQ@2x.png" /></figure><p>A robot that can see is useful. A robot that knows the place it works in, and can tell you what it saw an hour ago, is far more useful.</p><p>That second machine is what physical AI needs. A warehouse robot has to decide whether the case in its path is something to go around or something to pick up. A facility door has to know the people who belong there. A shelf has to know what sits on it. None of these questions is about a generic picture of the world. They are about this site, these people, these objects, and what happened here today.</p><p>Today we published a study on the Moorcheh blog that runs that whole loop on a single small board: live video, on-device identity search, event memory, and a local language model you can question in plain English. Bala Gopalakrishnan’s full write-up is a 16-minute technical read. This is the shorter version: what we built, the design choices that matter, and why it fits on the edge.</p><h3>Three requirements, one device</h3><p>Physical AI on a real site needs three things at once:</p><ol><li><strong>Site knowledge on the device.</strong> Photos of the people and objects that belong there, enrolled as embeddings.</li><li><strong>Fast matching.</strong> Every live frame checked against that knowledge with low latency.</li><li><strong>Memory.</strong> What the camera confirmed, written down so someone can ask about it later.</li></ol><p>Sending frames to a cloud model breaks all three. It adds latency, it fails when the network does, and it ships people’s faces off-site. So we set a hard requirement: the whole stack runs on the device.</p><h3>What runs on the board</h3><p>The reference kiosk is a Raspberry Pi 5 (8 GB) with Camera Module 3. The same code runs on a Mac for development.</p><ul><li><strong>Moorcheh Edge</strong> runs three small on-device search containers: a face gallery, an object gallery, and an event log.</li><li><strong>Memanto</strong>, our companion memory agent, keeps typed event memories, served by Moorcheh running on-prem on the same machine. On the 8 GB Pi, a lighter event log takes its place (more below).</li><li><strong>A local language model</strong> answers questions: qwen2.5 through Ollama for everyday use, or Google’s Gemma 4 E2B under LiteRT-LM as the heavier option.</li><li><strong>YOLOv8n compiled to LiteRT</strong>, Google’s on-device runtime, proposes object boxes.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-aQgGSm20OHdKkbLm0CaKg.png" /><figcaption><em>What runs on the machine</em></figcaption></figure><h3>The loop in five steps</h3><ol><li><strong>Capture.</strong> 640×480 frames, capped at 6 FPS.</li><li><strong>Propose.</strong> OpenCV’s YuNet finds faces on every third frame. YOLOv8n proposes object boxes on every fourth frame, with filters that drop tiny boxes, oversized boxes, and COCO classes that aren’t enrolled products.</li><li><strong>Embed.</strong> SFace turns each face crop into a 128-d vector. ResNet18 turns each object crop into a 512-d vector, which a fixed projection reduces to 256-d. The application computes these vectors; Moorcheh Edge never sees a pixel.</li><li><strong>Match.</strong> Each crop triggers one top-3 search against the local gallery. A face is accepted at a score of 0.28 or higher. An object needs 0.38, and is rejected if its top two candidates are within 0.03 of each other.</li><li><strong>Remember.</strong> A confirmed match becomes one English sentence, written to Memanto as an event.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s3Do_Aty76bMbqlyzdlt9A.png" /><figcaption><em>Pipeline from video capture to a language answer</em></figcaption></figure><p>Here is what an event looks like:</p><pre>Face detection event: person &#39;Alice&#39; was found at 2026-07-28 10:14:02 EDT (hour 2026-07-28 10:00).</pre><p>The hour is written out in words on purpose. A question that asks about “hour 2026–07–28 10:00” lands right next to this sentence in embedding space. Memanto also keeps the type (event), tags for the name, date and hour, and the source (live_camera), so a later recall can filter cleanly.</p><h3>The rules that keep memory honest</h3><p>This is the part I care about most as an engineer. In physical AI, a false memory is worse than no memory. A robot or a door that “remembers” someone who was never there is a safety problem. So the system is built around a few strict rules:</p><ul><li><strong>The detector proposes; the gallery decides.</strong> YOLO only returns a box. The name always comes from photos enrolled at that site.</li><li><strong>Unknowns are dropped.</strong> An unconfirmed face or object is drawn on screen and never written to memory, so the language model can’t invent it later.</li><li><strong>Ambiguity is not fact.</strong> If two enrolled products score within 0.03 of each other, nothing is written. A coin flip doesn’t become a record.</li><li><strong>One event per name per 45 seconds.</strong> A person standing in frame doesn’t flood memory with duplicates.</li><li><strong>No images are kept.</strong> Replay isn’t the goal. A sentence a later question can find is.</li><li><strong>The model never sees pixels.</strong> It reads only the events Memanto retrieved, and its prompt tells it to say it doesn’t know when the events don’t hold the answer.</li></ul><h3>Asking what happened</h3><p>Once events exist, you can ask in plain language:</p><pre>memanto answer &quot;Whose face was found at hour 2026-07-28 10:00?&quot;<br>memanto answer &quot;Which objects were seen in hour 2026-07-28 10:00?&quot;</pre><p>Every answer is retrieval first, generation second. memanto recall shows the raw memories, which is the quickest way to check what the camera actually wrote. memanto answer hands those memories to the local model for a grounded reply.</p><p>For the 8 GB Pi, there is also a lighter kiosk path. The same event sentence is embedded on the board and written to a separate Moorcheh Edge event log. A small web app lets a phone on the same network ask questions while the Pi’s display shows the live camera. That app defaults to qwen2.5:0.5b, with Gemma 4 E2B selectable per question. Gemma never runs inside the camera loop; it starts only when someone asks, so a multi-gigabyte model never competes with the 6 FPS vision loop for CPU.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xWgH6QP9gfSBHXFr0CN3Ag.png" /><figcaption><em>A question is embedded, searched against the event log, then answered by a local model</em></figcaption></figure><h3>Why it all fits on the edge</h3><p>The answer is how Moorcheh searches. The client sends float vectors; Moorcheh Edge binarizes them with MIB, our patent-pending binarization, and runs a deterministic, exhaustive search over the binary codes. There is no HNSW graph and no float32 index sitting in RAM. Moorcheh’s published figure for a small ARM board is about 17 ms to search 10,000 vectors, and a site’s gallery of faces or objects is far smaller than that.</p><p>In this build, the search index is not the RAM problem. YOLO, ResNet and the language model take most of the memory; the three search containers sit beside them as small, flat binarized files. There are no API keys. Once the model weights are on the device, the match, the memory write and the answer all work without a network. That is exactly what a warehouse network or a closed facility requires.</p><h3>Where this goes</h3><p>The same loop serves any machine that has to act on a specific site:</p><ul><li><strong>Movement:</strong> a robot decides whether to go around, pick up, or ignore the object in front of it.</li><li><strong>Access control:</strong> a facility recognizes the people allowed in and records who was seen and when.</li><li><strong>Handling items:</strong> a shelf, tote or dock is identified as the enrolled object, so a later question can reconstruct what was where.</li></ul><p>This study builds on the voice retail kiosk we shipped on Arduino UNO Q earlier this year, and it points in the same direction. For a long time we assumed intelligence lived in the data center and devices were only eyes and ears. This work shows a different path: a small board that can see, recognize, remember and answer, while every frame stays where it was captured.</p><p>When machines remember the places they serve, and do it privately and honestly, they become easier to trust and easier to work beside. That future is closer than it looks, and it is being built on boards that fit in your hand.</p><p><strong>Read the full study:</strong> <a href="https://moorcheh.ai/blog/local-vision-edge">Local Vision Memory: Faces, Objects, and Events on Moorcheh Edge and Memanto</a></p><p><strong>Build it:</strong> <a href="https://docs.moorcheh.ai/on-edge/introduction">Moorcheh Edge docs</a> · <a href="https://memanto.ai/blog/memanto-on-prem">Memanto On-Prem</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=94fd4a915db8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Memory Is a Job, Not a Layer]]></title>
            <link>https://medium.com/@majid.fekri/memory-is-a-job-not-a-layer-334e3831d09f?source=rss-b25f2a23e96f------2</link>
            <guid isPermaLink="false">https://medium.com/p/334e3831d09f</guid>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[agent-memory]]></category>
            <category><![CDATA[agentic-memory]]></category>
            <category><![CDATA[ai-memory-management]]></category>
            <category><![CDATA[ai-agent]]></category>
            <dc:creator><![CDATA[Dr. Majid Fekri]]></dc:creator>
            <pubDate>Mon, 26 Oct 2026 16:11:25 GMT</pubDate>
            <atom:updated>2026-10-26T16:11:25.111Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3mdyf51igs58Bbw6eIbUkQ.png" /></figure><p><em>Six ways the industry wires memory into AI agents, the evidence that each one breaks when the facts change, and what it takes to build memory that stays true.</em></p><p>Here is a result every team shipping agents should sit with.</p><p>In August, researchers ran 8,000 episodes of a tool-selection task where the right answer flips halfway through. Agents with no memory at all succeeded 31% of the time after the flip. Agents with append-only memory succeeded 21% of the time. So did agents with last-write-wins memory. (<a href="https://arxiv.org/abs/2608.07429">TEPA, arXiv:2608.07429</a>)</p><p>Read that again. Once the world changed, the memory made the agents worse than having none.</p><p>That isn’t a bug in one product. It’s what happens when memory is built as a <em>layer</em>: a place where text goes in, gets embedded, and comes back out ranked by similarity. A layer has no clock and no judgment. It can’t notice that Monday’s fact died on Thursday, and nobody is responsible for noticing on its behalf.</p><p>In my last article I argued that agents need a memory <em>agent</em>, not a memory API. The response was generous, and the sharpest readers all asked the same thing: <em>isn’t that just branding?</em></p><p>This is my answer. I’ll take the six most common ways teams give agents memory today, name who each one puts in charge of the truth, and show the evidence for where each breaks. Then I’ll follow the argument to its logical conclusion, with code, and hand you a test you can run on any memory system, including ours.</p><p><em>Disclosure: I’m CTO of the team behind Memanto, an open-source (MIT) memory agent. I name competitors below, but only through their own documentation and independent research, and I hold Memanto to the same test at the end.</em></p><h3>The one question that sorts every memory system</h3><p>Forget embeddings, graphs and context windows for a minute. Ask one question of any memory setup: <strong>who decides what is true now?</strong></p><p>Long-lived memory is not a pile of text. It’s a stream of small, ongoing decisions:</p><ul><li><strong>Keep.</strong> Is this worth remembering at all, and how sure are we?</li><li><strong>Revise.</strong> Did something new change what an old memory means?</li><li><strong>Retire.</strong> Is this fact no longer current, even though it’s still relevant to the query?</li><li><strong>Escalate.</strong> Do two memories disagree in a way a model shouldn’t settle alone?</li><li><strong>Brief.</strong> Of everything we know, what does this agent need right now?</li></ul><p>Every memory system makes those decisions, or quietly leaves them unmade. The difference between systems is <em>who</em> makes them, <em>when</em>, and whether anyone can see or undo the result.</p><p>When you sort the market by that question, six setups fall out. Each puts a different party in charge of the truth. None of them is a party whose job is the truth.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hExfieMmkCBAP5-Ck9zSZw.png" /><figcaption><em>Fig. 2. Six setups, six owners, and the evidence for where each breaks.</em></figcaption></figure><h3>Setup 1: The vector store. Owner: nobody.</h3><p><strong>How it works.</strong> Every turn, document or tool result gets embedded. At query time, the top-k most similar chunks go into the prompt. It’s the default “long-term memory” in most framework tutorials, and it’s where most teams start.</p><p><strong>Where it breaks.</strong> Similarity is not currency. “The API allows 100 requests a minute” and “The API now allows 500 requests a minute” are nearly the same vector. Ask about the rate limit and both come back. Whichever ranks higher wins, and usually both land in the prompt.</p><p>The TEPA authors put it precisely: stale evidence can remain highly relevant to the current query, giving similarity, recency and larger context only a weak signal that a fact has been superseded.</p><p><strong>The evidence.</strong> In MemoryAgentBench, a UC San Diego benchmark built to test whether memory can revise itself when new evidence contradicts old, embedding-based retrieval agents scored 18–28% on single-hop updates and 4–7% when the update had to propagate through a second fact (<a href="https://arxiv.org/abs/2507.05257">Hu et al., arXiv:2507.05257</a>). And Chroma’s context-rot study of 18 models found that even a single topically related distractor lowers accuracy (<a href="https://www.trychroma.com/research/context-rot">Chroma, 2025</a>). A stale fact is the perfect distractor: same topic, wrong answer.</p><p>A vector store has no opinion about time. It has an opinion about cosine.</p><h3>Setup 2: The write-time resolver. Owner: the writer.</h3><p><strong>How it works.</strong> On every write, an LLM extracts facts from the message, looks up similar memories, and emits an operation: add, update, delete or nothing. Mem0 made this pattern popular, and many homegrown systems copy it.</p><p><strong>Where it breaks.</strong> The decision is made at the worst possible moment: with one message of context, inside a model call, and destructively. When the model misreads scope, it doesn’t warn you. It deletes.</p><p>In August, a developer published a reproducible case: two compatible preferences (“async feedback for design reviews” and “sync calls for incidents”) were collapsed into a contradiction, and the design-review preference was silently deleted (<a href="https://dev.to/mukesh_13/mem0-auto-resolves-memory-conflicts-for-you-until-it-silently-deletes-one-you-still-need-4f4m">DEV Community</a>). Nothing threw. The agent just started routing feedback wrong, weeks later.</p><p><strong>The evidence.</strong> The strongest evidence comes from Mem0 itself. Its v3 platform replaced the two-pass extract-and-merge pipeline with a single ADD-only pass in which, in its own words, nothing is overwritten or deleted, and it reports gains of 20+ points on its benchmarks from the change (<a href="https://docs.mem0.ai/migration/platform-v2-to-v3">Mem0 migration guide</a>). Credit to them for changing course. When the best-known proponent of a design walks away from it, take the hint.</p><h3>Setup 3: Append-only with read-time ranking. Owner: the reader.</h3><p><strong>How it works.</strong> Keep everything. Old and new facts both persist, and retrieval ranking (similarity, recency, temporal cues) is supposed to surface the current one. This is where Mem0 v3 landed. It’s lossless, which is a real improvement over silent deletes.</p><p><strong>Where it breaks.</strong> Append-only doesn’t resolve the contradiction. It moves it from the writer to the reader, and the reader is the worst possible owner: it meets the conflict mid-task, inside a token budget, with no authority to fix anything. Tomorrow it meets the same conflict again.</p><p><strong>The evidence.</strong> This is the TEPA result from the top. In a controlled benchmark of 8,000 episodes, scored by a deterministic executor so it isolates the memory policy from any model’s quirks, success after a full reversal was:</p><ul><li>No memory: <strong>0.309</strong></li><li>Append-only memory: <strong>0.210</strong></li><li>Last-write-wins memory: <strong>0.210</strong></li><li>Revocation (TEPA): <strong>0.950</strong></li></ul><p>On a preference-reversal stream it was worse: append-only scored <strong>0.138</strong>, against <strong>0.837</strong> for no memory at all (<a href="https://arxiv.org/abs/2608.07429">Zhou et al., arXiv:2608.07429</a>).</p><p>What won was revocation, which the paper describes as removing the stale precedent from ordinary retrieval <em>while keeping it available for audit</em>. Remember that sentence. It is most of this article’s argument.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r1hFt-3OTjufS4dab7gTyQ.png" /><figcaption><em>Fig. 3. When the facts reverse, memory that can’t revoke is worse than no memory. Data: TEPA, Table 2.</em></figcaption></figure><h3>Setup 4: The temporal knowledge graph. Owner: the pipeline.</h3><p><strong>How it works.</strong> Messages become episodes. An LLM pipeline extracts entities and relationships into a graph, and every fact carries a validity window. When new information contradicts an old fact, the system invalidates the old one instead of deleting it. Zep and its open-source engine Graphiti are the reference design (<a href="https://help.getzep.com/facts">Zep docs</a>).</p><p>This is the most serious temporal model in the field, and <em>invalidate, don’t delete</em> is the right instinct. I want to be clear about that.</p><p><strong>Where it breaks.</strong> Two places. First, the invalidation is still an automatic model judgment made inside an extraction pipeline. Nobody is asked, and a wrong extraction quietly becomes a wrong graph. Second, there is a gap between writing and knowing. Zep’s own docs say added data is processed asynchronously and can take a few seconds to a few minutes, that a 100-episode import often takes minutes, and that a processed flag doesn’t guarantee every episode succeeded (<a href="https://help.getzep.com/v3/check-data-ingestion-status">Zep docs</a>). In a fleet, that’s the window in which agent B acts without what agent A just learned.</p><p><strong>The evidence.</strong> In MemoryAgentBench’s selective-forgetting test, Zep scored 7% on single-hop updates and 3% on multi-hop. That run used GPT-4o-mini as the backbone and Zep has shipped a lot since, which is exactly why these tests should be rerun in public, by everyone.</p><h3>Setup 5: The self-editing agent. Owner: the worker.</h3><p><strong>How it works.</strong> Memory lives in blocks pinned to the agent’s own context window, and the agent edits them through tool calls. This is the MemGPT idea, now Letta: a stateful agent is a system prompt, memory blocks, messages and tools, and the agent can modify its own memories (<a href="https://docs.letta.com/guides/core-concepts/stateful-agents">Letta docs</a>).</p><p><strong>Where it breaks.</strong> The worker is doing two jobs. Every memory edit spends the worker’s context and attention, which is the scarce resource context rot tells us to protect. Housekeeping only happens when the worker thinks of it, in the middle of something else. MemGPT scored 28% single-hop and 3% multi-hop on the same selective-forgetting test.</p><p><strong>The evidence.</strong> The most telling evidence is what Letta built next: <em>sleep-time agents</em>, background agents that manage the primary agent’s memory blocks, triggered every five steps by default and still marked experimental (<a href="https://docs.letta.com/guides/agents/architectures/sleeptime">Letta docs</a>). That is a memory agent in all but name. The team that invented self-editing memory concluded the worker shouldn’t do it alone. I take that as the strongest validation of this article’s argument.</p><h3>Setup 6: The instruction file. Owner: you, at 11 p.m.</h3><p><strong>How it works.</strong> CLAUDE.md, AGENTS.md, Cursor rules, system prompts: hand-curated standing instructions loaded into every session.</p><p>This is honestly the most trustworthy memory most teams have. It’s explicit, reviewable and in git.</p><p><strong>Where it breaks.</strong> It’s a human doing the memory agent’s job by hand. There’s one file per tool, so Claude Code and Cursor drift apart. Nothing in it carries confidence, provenance or an expiry date. It grows until it rots, and because it’s loaded in full every session, it rots inside every context window. And it never learns from anything your agents observe.</p><h3>The tally</h3><p>Count the owners: nobody, the writer, the reader, the pipeline, the worker, and you. Six setups, and not one puts the truth in the hands of something whose job is the truth.</p><p>The benchmark agrees. Across every method MemoryAgentBench tested (long-context models, BM25 and embedding retrieval, structured RAG, Mem0, Cognee, Zep, MemGPT and MIRIX), the best multi-hop selective-forgetting score was <strong>7%</strong>. The authors’ conclusion is one line: <em>“Selective Forgetting still poses a significant challenge to all memory mechanisms.”</em></p><p>LongMemEval, one of the benchmarks memory vendors quote most, lists knowledge updates and temporal reasoning among its five core abilities, and found commercial assistants and long-context models losing about 30% accuracy on long interactions (<a href="https://arxiv.org/abs/2410.10813">Wu et al., ICLR 2025</a>). Retrieval is not the hard part. Revision is.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ySSeGDjGlQrWERkgtqjR3A.png" /><figcaption><em>Fig. 4. Every method tested, including four commercial memory systems, scored 7% or less on multi-hop updates. Data: MemoryAgentBench, Table 3.</em></figcaption></figure><h3>The logical conclusion</h3><p>Lay the argument out plainly.</p><ol><li>Long-lived memory is a stream of decisions (keep, revise, retire, escalate, brief), not a container.</li><li>A decision needs an owner with enough <strong>context</strong>, enough <strong>time</strong>, and the <strong>authority</strong> to act, plus someone to answer to.</li><li>Every existing owner is missing at least one. The writer sees one message. The reader has no time and no authority. The pipeline answers to nobody. The worker is busy. You don’t scale. And “nobody” is not an owner.</li><li>So the decisions need an owner whose <em>only</em> job is the memory estate: with its own clock, its own rules, an audit trail, bounded authority, and a way to escalate to a human.</li></ol><p>Now look at what that owner does. It perceives (every write, every trace). It decides (type, confidence, conflict). It acts (retires, briefs, syncs). It answers to you. That is an agent by any definition you like. A layer can’t do any of it, because a layer has no goals and no clock.</p><p>That’s why “memory agent” isn’t branding. It’s the only shape the job fits.</p><h3>Follow it all the way</h3><p>If you actually believe that, some uncomfortable things follow.</p><ul><li><strong>Worker agents lose the right to destroy memory.</strong> They can write and they can read. Retiring and resolving belong to the memory agent and to you. Separation of duties is old news in security; it’s new in memory.</li><li><strong>Retrieval accuracy is the wrong scoreboard.</strong> A system that finds the stale fact perfectly is perfectly wrong. Judge memory on behavior under change.</li><li><strong>Memory belongs to the fleet, not the tool.</strong> One memory estate, many agents, no per-tool notebooks.</li><li><strong>Memory learns from outcomes, not just conversations.</strong> Your traces and evals already know which lessons matter.</li><li><strong>You keep custody.</strong> Accountability needs inspection, and inspection needs the ability to read, export and leave.</li><li><strong>Agents should be able to hire their memory agent themselves.</strong> If memory is a colleague rather than a component, an agent ought to be able to sign up for one. More on that at the end.</li></ul><p>The rest of this article is how we built Memanto to meet those obligations, written as a contract you can hold any memory system to.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dHLqWzlj5oByg6eEqmHZoA.png" /><figcaption><em>Fig. 5. Worker agents write and read. The memory agent and you do the rest.</em></figcaption></figure><h3>The Memory Agent Contract</h3><p>Eight clauses. Each one comes with the evidence behind it, how Memanto meets it, and code you can run. Commands assume a local memanto serve on port 8000 and an active agent.</p><h3>Clause 1: Nothing is destroyed silently</h3><p><strong>Why.</strong> Setup 2. A memory system that deletes on a model’s judgment will eventually delete something true, and you won’t hear about it.</p><p><strong>How Memanto does it.</strong> A memory is either <em>active</em> or <em>expired</em>. There is no third state. Expiring a memory keeps its content and timestamps and writes three fields together: status, expired_at, and expired_by, which records why (a named policy rule, a retention entry, manual, or conflict-resolution). Restoring clears all three. Permanent deletion is a separate, explicit step that is off by default and never part of the nightly job.</p><pre># Retire a memory; the reason becomes its audit stamp<br>curl -X POST &quot;http://localhost:8000/api/v2/agents/support-bot/memories/$MEMORY_ID/expire&quot; \<br>  -H &quot;X-Session-Token: $TOKEN&quot; -H &quot;Content-Type: application/json&quot; \<br>  -d &#39;{&quot;reason&quot;: &quot;superseded-by-rewrite&quot;}&#39;<br><br># Changed your mind? Bring it back; the stamp is cleared<br>memanto memory restore $MEMORY_ID</pre><p><strong>Separation of duties, in practice.</strong> Memanto’s MCP server exposes seven tools by default: remember, batch_remember, recall, three time-based recalls, and answer. None of them deletes or retires anything. Agent-management tools stay off unless you set MEMANTO_EXPOSE_ADMIN=true. Your worker agents can learn and look things up; they can&#39;t destroy.</p><h3>Clause 2: Stale facts are revoked, not out-ranked</h3><p><strong>Why.</strong> Setup 3 and the TEPA result. Ranking can’t tell an agent that a fact has been superseded. Revocation can.</p><p><strong>How Memanto does it.</strong> A fact leaves the active set in one of three ways: you resolve a conflict with an expire action, a policy rule matches it, or the writer expires it directly because it knows. Agent-facing recall can then exclude it, while audits still see it, labelled. That is the same design TEPA arrived at: out of ordinary retrieval, still available for audit.</p><p>Policies are per-agent YAML. This one is adapted from the built-in <em>balanced</em> preset, plus a rule of our own:</p><pre># ~/.memanto/policies/support-bot.yaml<br>version: 1<br>retention:            # maximum age by memory type<br>  context: 7d<br>  event: 30d<br>  error: 30d<br>  observation: 60d<br>  commitment: 90d<br>  artifact: 180d<br>rules:                # evaluated in order; first match wins<br>  - name: pinned<br>    match: { tags: [pinned] }<br>    expire_after: never<br>  - name: unverified-voice-claims<br>    match: { source: [vapi], tags: [unverified] }<br>    expire_after: 7d<br>  - name: low-confidence-guesses<br>    match: { provenance: [inferred], confidence_below: 0.5 }<br>    expire_after: 14d<br>purge_expired_after: never   # the only destructive automatic step, off</pre><p>Age counts from the last update, because an edit is evidence a memory is still alive. Types with no retention entry, like decisions and preferences, aren’t aged out by the table. Preview every sweep before it runs:</p><pre>memanto policy apply --dry-run<br><br># What your agent should see: current facts only<br>memanto recall &quot;public API rate limit&quot; --active<br><br># What an auditor sees: both, each labelled active or expired<br>memanto recall &quot;public API rate limit&quot;</pre><p>One honest note: recall returns both states by default, clearly labelled. For agent-facing calls, pass --active on the CLI or &quot;status&quot;: &quot;active&quot; on the REST API.</p><h3>Clause 3: Contradictions are escalated, not guessed</h3><p><strong>Why.</strong> The best multi-hop selective-forgetting score in MemoryAgentBench was 7%. Models are not yet good at settling contradictions alone, and a confident wrong settlement is worse than an open question.</p><p><strong>How Memanto does it.</strong> A conflict-detection pass reads a day’s memories, finds pairs that contradict each other, and writes a report. Each conflict has an index, a title, and the IDs of the old and new memory. Memanto recommends the newer memory when that’s the likely answer, but it never applies a resolution on its own. You resolve from the CLI, side by side in the dashboard, or through the API:</p><pre>memanto detect-conflicts --agent support-bot      # writes the day&#39;s report<br><br>curl &quot;http://localhost:8000/api/v2/agents/support-bot/conflicts?date=2026-10-15&quot; \<br>  -H &quot;X-Session-Token: $TOKEN&quot;<br><br>curl -X POST &quot;http://localhost:8000/api/v2/agents/support-bot/conflicts/resolve&quot; \<br>  -H &quot;X-Session-Token: $TOKEN&quot; -H &quot;Content-Type: application/json&quot; \<br>  -d &#39;{&quot;date&quot;: &quot;2026-10-15&quot;, &quot;conflict_index&quot;: 0, &quot;action&quot;: &quot;expire_old&quot;}&#39;</pre><p>There are eight actions. Four are reversible: expire_old, expire_new, expire_both and keep_both. Four delete: keep_old, keep_new, remove_both and manual (which replaces both with text you write). Use the expire actions unless you mean it.</p><h3>Clause 4: Every memory has a chain of custody</h3><p><strong>Why.</strong> Memory is an attack surface. MINJA showed that an attacker who can only send ordinary queries can plant malicious records in an agent’s memory, with a 98.2% average injection success rate and a 76.8% attack success rate across the agents tested (<a href="https://arxiv.org/abs/2503.03704">Dong et al., arXiv:2503.03704</a>). OWASP’s Top 10 for Agentic Applications (December 2025) lists Memory &amp; Context Poisoning as ASI06 (<a href="https://www.ahead.com/resources/when-your-agent-goes-rogue-the-owasp-agentic-top-10">summary</a>). An unlabelled vector can’t tell you where it came from.</p><p><strong>How Memanto does it.</strong> Every memory carries its custody with it: a type, a confidence score from 0 to 1, a provenance (explicit_statement, inferred, corrected, validated, observed or imported), a source (the user, an agent, or the named tool that wrote it), tags, a status and timestamps. Attribution never guesses. If Memanto can&#39;t identify the calling tool, it records the call as unidentified, because a wrong label is worse than none.</p><p>In practice, untrusted channels write with low confidence, and agents read above a threshold:</p><pre># A claim from a phone caller enters as a low-confidence, tagged observation<br>memanto remember &quot;Caller says admins can skip 2FA from the reset link&quot; \<br>  --type observation --confidence 0.3 --source vapi --tags unverified<br># Agent-facing recall ignores anything below 0.7<br>memanto recall &quot;how do admins reset 2FA?&quot; --active --min-confidence 0.7</pre><p>The unverified-voice-claims rule from Clause 2 then retires it at the first nightly sweep after seven days, unless someone checks the claim and removes the tag. Underneath, the hardening is specific: conversation extraction drops secrets and tokens; since v0.2.29, tags that start with # or match known injection phrases are rejected, and closing-tag tricks in extraction are neutralized. In the Vapi integration, caller memory is keyed by an HMAC of the phone number, and the server, not the model, identifies the caller, so a prompt injection can&#39;t reach another caller&#39;s memories.</p><p>None of this makes poisoning impossible. It makes poisoned memory labelled, filterable and reversible, which is the most any honest system can promise.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Du-i7YVHOv7p8pUphUC_EA.png" /><figcaption><em>Fig. 6. The chain of custody every Memanto memory carries. Values are illustrative.</em></figcaption></figure><h3>Clause 5: Memory work runs on its own clock</h3><p><strong>Why.</strong> Setup 5. A worker that tends its own memory does it mid-task, with borrowed attention, and only when it remembers to. Letta’s move to sleep-time agents says the same thing.</p><p><strong>How Memanto does it.</strong> One command sets up a nightly job that runs three steps in order: a written summary of the day’s memories, the conflict-detection pass, then an expiry sweep under each agent’s policy. Purging is never part of it.</p><pre>$ memanto schedule enable<br>What time should daily summaries run? (HH:MM in 24-hour format, UTC): 23:30<br>✓ Daily summaries enabled<br>  Time:     23:30 UTC<br>  Agent:    support-bot</pre><p>The Langfuse handler in Clause 7 works the same way: it runs on a background thread, off your hot path, and swallows its own errors so a failed write can never break your app.</p><p>The write path, though, is <em>not</em> deferred. New memories are searchable in under a second, with no indexing step and no event to poll. Compare Zep’s asynchronous processing of seconds to minutes, or Mem0 v3, where add() returns an event ID you poll for completion. Housekeeping belongs off the hot path. Knowing what a teammate just learned doesn&#39;t.</p><h3>Clause 6: Agents get briefs, not dumps</h3><p><strong>Why.</strong> Chroma’s context-rot study found model performance grows increasingly unreliable as input grows, and that even one distractor hurts. Top-k retrieval is a machine for producing distractors.</p><p><strong>How Memanto does it.</strong> The design principle is <em>queryable, not injectable</em>: agents ask memory for what they need, when they need it. answer returns a written answer grounded in the agent&#39;s memories. In Claude Code, a memory-scout subagent runs several recalls in parallel and returns a short, sourced brief, and it surfaces contradictions instead of quietly picking a winner. When you do want raw memories, ask narrowly by type, tags, similarity, confidence and status.</p><pre>from memanto import Memanto<br><br>memanto = Memanto(agent_id=&quot;support-bot&quot;)<br># A brief: one grounded answer instead of twenty snippets<br><br>brief = memanto.answer(&quot;What should I know before replying to Dana today?&quot;)<br># Raw memories, asked for narrowly<br><br>hits = memanto.recall(&quot;Dana&#39;s team and approver&quot;,<br>                      type=[&quot;fact&quot;, &quot;relationship&quot;], limit=5)</pre><p>Where an up-front briefing is right, as at the start of a voice call, it’s bounded. The Vapi integration hands the assistant at most 10 recent and 10 relevant memories per section, capped at 4,000 characters.</p><h3>Clause 7: Outcomes feed memory</h3><p><strong>Why.</strong> A 2025 study of agent memory found that agents strongly copy similar past records, so <em>“inaccuracies in past experiences compound and degrade future performance.”</em> Being selective about what enters memory raised one medical agent’s score from 16.75 to 38.50. Pruning by later outcomes shrank its memory from 1,012 records to 248 with performance held. The authors’ conclusion: <em>“future task evaluations can serve as free quality labels for stored memory”</em> (<a href="https://arxiv.org/abs/2505.16067">Xiong et al., arXiv:2505.16067</a>).</p><p><strong>How Memanto does it.</strong> Your observability stack already knows which lessons matter. Memanto reads Langfuse traces and turns errors into error memories, latency and cost outliers into observations, and failed or passed evals into learnings.</p><p>Failures are grouped by signature: the operation name plus the message with IDs, numbers, emails, IP addresses, paths and quoted strings replaced by placeholders. Grouping and scoring are rule-based, with no LLM calls. Confidence grows with recurrence, as min(0.95, 0.60 + 0.15 × log10(occurrences)), so one occurrence scores 0.60 and a hundred score 0.90. A ledger makes it idempotent: a recurring failure updates its memory in place, and re-running never duplicates. In the docs’ own example, 812 observations became 2 memories.</p><pre># pip install langfuse-memanto<br>from langfuse import Langfuse<br>from langfuse_memanto import attach<br><br>Langfuse()                                  # your existing setup<br>attach(agent_id=&quot;checkout-agent&quot;,           # start capturing<br>       capture=[&quot;errors&quot;, &quot;slow&quot;], latency_ms=5000)</pre><p>Failed evals sync from the CLI with your own pass/fail rules:</p><pre>memanto migrate langfuse --discover<br>memanto migrate langfuse --capture errors,low-score --score-fail &#39;correctness&lt;0.7&#39; --save<br>memanto migrate langfuse --dry-run<br>memanto migrate langfuse</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0tJL0xSc2DUGQc4Q0G_dhQ.png" /><figcaption><em>Fig. 7. Outcomes feed memory. The two signatures and their split are illustrative; the 812-to-2 example and the confidence formula are from Memanto’s docs.</em></figcaption></figure><h3>Clause 8: One estate for the fleet, and you keep custody</h3><p><strong>Why.</strong> Setup 6. Per-tool notebooks drift apart, and memory you can’t inspect or take with you isn’t accountable to you.</p><p><strong>How Memanto does it.</strong> One memory estate serves every agent you run. memanto connect wires up 14 coding agents with one command each, including Claude Code, Cursor, Codex CLI, Gemini CLI, GitHub Copilot and Windsurf. The MCP server covers any other MCP client. There are SDKs for Python, TypeScript and Go, and integrations for LangGraph, CrewAI, Google ADK, Amazon Bedrock AgentCore, Pydantic AI, NVIDIA NeMo Agent Toolkit and more.</p><p>Instruction files stop drifting because Memanto keeps them current. memanto memory sync writes each agent&#39;s active, high-confidence (0.8 and above) instructions, preferences and goals into every connected tool&#39;s own file, between markers, and touches nothing outside them:</p><pre>&lt;!-- MEMANTO-DYNAMIC-MEMORIES --&gt;<br>- [INSTRUCTION] New services use PostgreSQL 16. Never scaffold MongoDB.<br>- [PREFERENCE] Small PRs with tests over large refactors.<br>- [GOAL] Public API p95 latency under 200 ms by end of Q4.<br>&lt;!-- /MEMANTO-DYNAMIC-MEMORIES --&gt;</pre><p>Isolation is enforced, not assumed. In the LangGraph integration each namespace is bound to one Memanto agent, and with strict_namespace_binding=True a second namespace that maps to the same agent raises an error instead of quietly sharing memories.</p><p>Custody runs both ways. Your estate exports as Markdown or as an Open Knowledge Format bundle: a folder of Markdown files with YAML front matter, organized by type, with confidence and provenance intact. Coming in, memanto migrate imports from Mem0, Letta, Supermemory, Zep, Hindsight and OKF. A dry run writes nothing; it builds a report from your actual data (how many records, how they map onto Memanto&#39;s types, and for Mem0, Letta and Supermemory sources, the expected savings) so you decide whether to continue with real numbers in front of you.</p><pre>memanto connect multi          # pick Claude Code, Cursor, Codex and the rest<br>memanto memory sync            # push standing rules into each tool&#39;s file<br>memanto memory export --okf    # the whole estate, as Markdown + YAML<br>memanto migrate mem0 --dry-run # a report built from your data; nothing written</pre><h3>One reversal, end to end</h3><p>Here is the whole contract on one ordinary change. A platform team runs Claude Code and Cursor against one shared Memanto agent, platform-team, with the nightly job set for 23:30 UTC. All times are UTC.</p><p><strong>Monday 12 Oct, 10:02.</strong> In Claude Code, the agent records a fact. The source is detected automatically as claude-code.</p><pre>memanto remember &quot;Public API rate limit is 100 requests per minute&quot; --type fact</pre><p><strong>Thursday 15 Oct, 16:40.</strong> A config change ships. In Cursor, the agent records the new value, and it’s searchable in under a second.</p><pre>memanto remember &quot;Public API rate limit raised to 500 requests per minute&quot; --type fact</pre><p>For now, both facts are active. That’s honest: nobody has decided anything yet. An agent that recalls the rate limit sees both, and Claude Code’s memory scout reports the contradiction instead of picking a winner.</p><p><strong>Thursday, 23:30.</strong> The nightly job writes the day’s summary, runs conflict detection, and flags the pair: conflict 0, a contradiction between the Monday fact and the Thursday fact. Nothing changes yet.</p><p><strong>Friday 16 Oct, 09:10.</strong> You open the conflict in the dashboard, old and new side by side, and choose <em>expire old, keep new</em>. The Monday fact is now expired, stamped expired_by: conflict-resolution. It isn&#39;t gone.</p><p><strong>Friday, 09:11.</strong> Every agent in the fleet sees one current fact:</p><pre>memanto recall &quot;public API rate limit&quot; --active     # → 500 only</pre><p><strong>The following Monday.</strong> An incident review asks what the agents could have known on Wednesday the 14th:</p><pre>memanto recall --as-of 2026-10-14 --type fact       # → 100, shown as active</pre><p>The answer is 100, shown as active, because that is what memory said on Wednesday. Nothing was overwritten, so history can be reconstructed exactly.</p><p>If sixteen and a half hours with both facts active is too long for your case, you have three levers: run memanto detect-conflicts on demand after important writes, call the conflict-report endpoint from your pipeline, or have the writer expire the old fact directly when it knows it&#39;s replacing one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4_ZhJX6SbYLwRoODYD0GNQ.png" /><figcaption><em>Fig. 8. The reversal walkthrough on one timeline.</em></figcaption></figure><h3>The Memory Agent Test</h3><p>If retrieval accuracy is the wrong scoreboard, here’s a better one. Eight tests, an afternoon, any memory system. Run them on whatever you use today. Run them on Memanto.</p><ol><li><strong>Reversal.</strong> Store a fact, then its replacement. <em>Pass:</em> agent-facing recall returns only the current fact, without you re-ranking anything. <em>Harder:</em> change a fact that another answer depends on (Dana moves to marketing; who approves her expenses now?). Pass only if the dependent answer changes too.</li><li><strong>Silence.</strong> Store two similar but compatible preferences, like async feedback for design reviews and sync calls for incidents. <em>Pass:</em> neither disappears without someone being told.</li><li><strong>Undo.</strong> Retire a memory by mistake. <em>Pass:</em> you get it back, history intact.</li><li><strong>Time travel.</strong> <em>Pass:</em> you can ask what memory said at a past moment and get that answer, not today’s.</li><li><strong>Custody.</strong> Pick any memory. <em>Pass:</em> you can see who wrote it, whether it was stated or inferred, and how sure the system is.</li><li><strong>Poison.</strong> Send a false claim through an untrusted channel. <em>Pass:</em> it doesn’t enter as a full-confidence fact, and you can find and retire everything that channel wrote.</li><li><strong>Read-after-write.</strong> Write from one tool, read from another a second later. <em>Pass:</em> it’s there.</li><li><strong>Exit.</strong> Export everything in an open format and import it somewhere else. <em>Pass:</em> confidence and provenance survive the trip.</li></ol><p>Memanto was designed to pass all eight, and the commands in this article are how you check. Two caveats from our side. Reversal depends on a conflict being resolved, a policy matching, or a writer expiring the old fact, so by default there’s a window until the nightly scan. And we have not yet proven the harder, multi-hop version.</p><h3>Our own evidence gap</h3><p>I’ve asked a lot of evidence from everyone else, so here is ours. Memanto has not yet been run on MemoryAgentBench’s selective-forgetting tasks or on a TEPA-style reversal stream. Our paper reports results on LongMemEval and LoCoMo, including 93.6% on LongMemEval’s knowledge-update questions (<a href="https://arxiv.org/abs/2604.22085">arXiv:2604.22085</a>). But those questions test whether a system can return a fact’s latest value, which is a narrower test than revising everything that depends on it.</p><p>So here’s our commitment: we’ll run Memanto on both and publish the results, whatever they show. If it fails, you’ll read it from us first. And I’d like to see Mem0, Zep, Letta, Supermemory and Cognee do the same, on the same harness, in public. The field will get better faster if we’re all graded on the hard part.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kSelEx1-F-2XZLU5C2uRkA.png" /><figcaption><em>Fig. 9. The Memory Agent Test. Share it, run it, publish what you find.</em></figcaption></figure><h3>What to know before you adopt it</h3><ul><li><strong>It’s young and moves fast.</strong> v0.2.29 shipped on October 19, and recent releases carried breaking changes (activating an agent that already has a live session now returns 409, for example). Pin a version and read the <a href="https://docs.memanto.ai/changelog">changelog</a>.</li><li><strong>Conflict detection is a batch pass, not a per-write check.</strong> See the three levers in the walkthrough if you need a shorter window.</li><li><strong>Recall includes retired memories by default, labelled.</strong> Use --active or &quot;status&quot;: &quot;active&quot; for anything an agent will act on.</li><li><strong>Some actions are destructive by design.</strong> Four of the eight conflict actions delete, and adopting a policy preset replaces your whole policy, including rules you wrote.</li><li><strong>Cloud and on-prem keep separate agent registries.</strong> To move between them, export to OKF and import on the other side.</li><li><strong>It’s not an agent runtime.</strong> If you want memory built into the runtime your agents live in, Letta’s sleep-time agents are a legitimate design. Memanto is for teams who keep the agents and frameworks they already have and want one memory agent across all of them.</li></ul><h3>The end of the argument</h3><p>Follow the logic one step further. If memory is a job, and the job belongs to an agent, then an agent should be able to hire that agent itself.</p><p>That’s where we’re going next. In the next few weeks we’re releasing <strong>Memanto Cloud</strong>: a one-line install, and the ability for an AI agent to sign itself up and set up its own long-term memory, with no keys to wire and no backend to run. So many of you asked for it in the survey on memanto.ai that it jumped to the top of our list. Stay tuned.</p><p>For two years we’ve measured agents by what they can do inside one context window. The next stretch will be measured by what they carry forward, and by whether what they carry forward is still true.</p><p>That isn’t a retrieval problem. It’s a job: keep, revise, retire, escalate, brief. Give it to something whose only job it is, hold it to a contract you can test, and memory stops being the thing that quietly makes agents worse. It becomes the thing that makes them a little better every week.</p><p>The pieces are here. The research is pointing the same way, our competitors’ recent designs are converging on it, and every team that gives its agents a memory worth trusting moves the whole field a step closer.</p><p><strong>Your agents focus. Memanto remembers.</strong></p><p><a href="https://docs.memanto.ai/">Docs</a> · <a href="https://github.com/moorcheh-ai/memanto">GitHub</a> · <a href="https://discord.com/invite/CyxRFQSQ3p">Discord</a> · <a href="https://www.reddit.com/r/Memanto/">r/Memanto</a></p><h3>Sources</h3><p><strong>Research</strong></p><ul><li>Zhou, Ouyang, Zheng and Xiang. <a href="https://arxiv.org/abs/2608.07429">TEPA: Revoking Stale Memories for Conflict-Robust Language Agents</a>. arXiv:2608.07429, August 2026.</li><li>Hu, Wang and McAuley. <a href="https://arxiv.org/abs/2507.05257">Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactions (MemoryAgentBench)</a>. arXiv:2507.05257.</li><li>Xiong et al. <a href="https://arxiv.org/abs/2505.16067">How Memory Management Impacts LLM Agents: An Empirical Study of Experience-Following Behavior</a>. arXiv:2505.16067.</li><li>Dong et al. <a href="https://arxiv.org/abs/2503.03704">A Practical Memory Injection Attack against LLM Agents (MINJA)</a>. arXiv:2503.03704.</li><li>Hong, Troynikov and Huber. <a href="https://www.trychroma.com/research/context-rot">Context Rot: How Increasing Input Tokens Impacts LLM Performance</a>. Chroma, July 2025.</li><li>Wu et al. <a href="https://arxiv.org/abs/2410.10813">LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memory</a>. ICLR 2025.</li><li>Abtahi et al. <a href="https://arxiv.org/abs/2604.22085">Memanto: Typed Semantic Memory with Information-Theoretic Retrieval for Long-Horizon Agents</a>. arXiv:2604.22085, April 2026.</li><li><a href="https://www.ahead.com/resources/when-your-agent-goes-rogue-the-owasp-agentic-top-10">OWASP Top 10 for Agentic Applications, summarized by AHEAD</a>. December 2025.</li></ul><p><strong>Vendor documentation</strong></p><ul><li><a href="https://docs.mem0.ai/migration/platform-v2-to-v3">Mem0: Platform v2 to v3 migration</a></li><li><a href="https://help.getzep.com/facts">Zep: Facts</a> and <a href="https://help.getzep.com/v3/check-data-ingestion-status">Check data ingestion status</a></li><li><a href="https://docs.letta.com/guides/core-concepts/stateful-agents">Letta: Stateful agents</a> and <a href="https://docs.letta.com/guides/agents/architectures/sleeptime">Sleep-time agents</a></li><li><a href="https://docs.memanto.ai/">Memanto documentation</a> and <a href="https://docs.memanto.ai/changelog">changelog</a></li></ul><p><strong>Other</strong></p><ul><li>Mukesh. <a href="https://dev.to/mukesh_13/mem0-auto-resolves-memory-conflicts-for-you-until-it-silently-deletes-one-you-still-need-4f4m">Mem0 auto-resolves memory conflicts for you, until it silently deletes one you still need</a>. DEV Community, August 2026.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=334e3831d09f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Great Unlocking: Start Building Now, and Remember Everything]]></title>
            <link>https://medium.com/@majid.fekri/the-great-unlocking-start-building-now-and-remember-everything-8b92df94af3c?source=rss-b25f2a23e96f------2</link>
            <guid isPermaLink="false">https://medium.com/p/8b92df94af3c</guid>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[agentic-ai-architecture]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Dr. Majid Fekri]]></dc:creator>
            <pubDate>Fri, 16 Oct 2026 16:15:22 GMT</pubDate>
            <atom:updated>2026-10-16T16:15:22.608Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A8MjgqNzrc4M_kyZ8a_KyQ.png" /></figure><h3>A forecast, not a fantasy</h3><p>My career started in atmospheric science. The first thing that field teaches you is humility about the future.</p><p>You don’t forecast by wishing. You read the current state of the system, you measure the trends, and you follow the physics forward. Then you say what you see, plainly, even when it sounds bold.</p><p>So when I tell you we are entering the most abundant season for builders in human history, I want you to know I am not daydreaming. I am reading the instruments.</p><p>The instruments say a front is moving through. Not a storm. A clearing. And behind it is a wider sky than any generation of builders has ever looked up at.</p><h3>The curve we are on</h3><p>Here is the first instrument. In March 2025, the research group METR <a href="https://metr.org/blog/2025-03-19-measuring-ai-ability-to-complete-long-tasks/">measured</a> how long a task AI agents can finish on their own, scored by how long the same task takes a skilled human. That length had been doubling roughly every seven months for six straight years. Since 2023, the pace has quickened to roughly every four months.</p><p>The curve did not flatten. By May 2026, frontier agents had climbed high enough on METR’s scale that the team <a href="https://metr.org/time-horizons/">added a note</a>: their task suite can no longer reliably measure anything above 16 hours. The ruler is running out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8CwK3kkzcBq3uf6BnXBkTA.png" /></figure><p>Here is the second instrument. Epoch AI <a href="https://epoch.ai/data-insights/llm-inference-price-trends">found</a> that the price of reaching a fixed level of AI performance fell between 9x and 900x per year across the tasks they studied. GPT-4-level answers on PhD-level science questions got about 40 times cheaper every year.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NFcxyHSPLoxTPGRdHeaqeQ.png" /></figure><p>Put those two readings together. Capability doubles on a clock measured in months. The cost of yesterday’s capability collapses on a clock measured in quarters. When something gets much better and much cheaper at the same time, it stops being scarce. That is what abundance means.</p><p>A good forecaster also reports the uncertainty, so here it is. METR is candid that its tasks are clean and self-contained, closer to what a capable new hire could do with no prior context. And when METR asked real open-source maintainers to <a href="https://metr.org/notes/2026-03-10-many-swe-bench-passing-prs-would-not-be-merged-into-main/">review agent-written pull requests</a> that had passed the automated tests, roughly half would not have been merged.</p><p>I find that second number exciting, not discouraging. The gap between a benchmark and real work is mostly context: history, judgment, and the feedback loop. That gap is exactly where you come in. Hold on to that thought. We will come back to it.</p><h3>The sky behind the front</h3><p>Let me describe what I see coming in the next few years. None of it requires a miracle. It only requires the curves above to keep doing what they have done for years.</p><ul><li><strong>The one-person company becomes normal.</strong> A founder who knows one industry deeply runs a team of agents that write code, answer customers, reconcile the books and draft the investor update. The bottleneck stops being headcount. It becomes taste and judgment.</li><li><strong>Every expert gets a research staff.</strong> A family doctor, a structural engineer, a high school chemistry teacher. Each can have agents that read the new literature overnight and bring back what matters for their patients, their bridges or their students.</li><li><strong>Science speeds up at the edges.</strong> A graduate student can run and compare hundreds of analyses in the time it once took to set up one. In my old field, a single researcher can now chase questions about local weather that once needed a whole lab.</li><li><strong>Geography stops being destiny.</strong> Someone with a brilliant idea in a small town, or in a country far from the big tech hubs, gets the same tools as someone in San Francisco. Talent has always been spread evenly across the world. Now leverage can be too.</li><li><strong>Small businesses get enterprise muscle.</strong> The family bakery gets real inventory forecasting. The local clinic gets a scheduling system that fits how it actually works, built in a week instead of bought off a shelf.</li></ul><p>This will not arrive evenly, and it will not arrive without friction. Every big shift brings disruption, and we owe each other honesty and care through it. But the direction is clear. The cost of turning an idea into a working thing is falling toward zero, and when that happens, the number of things worth building explodes.</p><h3>Why it is yours, and why today</h3><p>There is a myth that this future belongs to the big labs and the giant companies. It does not. They build the engines. The rest of us decide where to drive.</p><p>The most valuable thing in this new world is not access to a model. Everyone has that now. It is knowing a problem better than anyone else does.</p><p>The nurse who knows exactly which shift handoffs go wrong. The logistics manager who knows why the trucks are always late on Thursdays. The farmer who knows what the soil does after a dry August. Domain knowledge used to need a software team to become a product. Now it needs a weekend and an agent.</p><p>Starting early matters more than starting perfectly. Every project teaches you how agents reason, where they stumble, and how to guide them. That intuition compounds, and the person who starts today will have a year of it by the time someone else decides to begin.</p><p>I have seen this pattern before. I built a startup in an earlier wave of technology, and the lesson was the same then. The winners were rarely the ones with the most resources. They were the ones who started, shipped, learned and kept going.</p><p>So pick something. Start small. Start today.</p><h3>The habit almost everyone skips</h3><p>Now the most important part of this article.</p><p>When you build with agents, you will move faster than you ever have. In a single week you might make a hundred decisions with them. Why you chose this database over that one. Which instruction finally made the agent behave. What broke at 2 a.m. and how you fixed it. What your first customer said that changed the whole design.</p><p>And then most of it disappears.</p><p>By default, agents wake up with no memory of yesterday. Every new session starts from zero. You re-explain the project, the agent repeats a mistake you already solved, and a new teammate, human or AI, has no idea why things are the way they are. You pay the same tuition twice, then three times.</p><p>In science, we keep research notebooks. Not because anyone loves paperwork, but because an experiment you cannot reproduce is an experiment you did not really do. The notebook is the difference between a lucky result and real knowledge.</p><p>Agentic work needs the same discipline, and it needs it more. Remember what METR found: the gap between a benchmark and real work is mostly context. Context is history, and history only exists if someone writes it down.</p><p>Here is the deeper reason it matters. Models are getting better and cheaper every quarter, and you will swap them many times. What you cannot swap, and what no one can sell you, is your accumulated understanding: your decisions, your failures, your customers, your way of doing things. <strong>The model is rented. The memory is yours.</strong> Over time, that memory becomes the most valuable thing you own.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DvFqNAPNBbB068hiKxGkkw.png" /></figure><p>There is one more reason: trust. As agents act on our behalf, we need to be able to ask what they did and why. A record of the process is what makes agent work accountable, easy to debug, and safe to hand more responsibility.</p><h3>Agentic memory, in plain words</h3><p>A context window is not memory. The context window is the agent’s desk: everything on it is visible right now, and it gets cleared when the session ends. Agentic memory is the filing cabinet behind the desk. It is a persistent store the agent writes to and reads from across sessions, across tools, and even across different models.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RlFp9SLmzsF-viYyvtBQLA.png" /></figure><p>Good agent memory holds a few kinds of things:</p><ul><li><strong>Facts:</strong> what is true about your project, your users and your constraints.</li><li><strong>Decisions:</strong> what you chose, why you chose it, and what you ruled out.</li><li><strong>Episodes:</strong> what happened, what was tried, what failed and what worked.</li><li><strong>Procedures:</strong> how things are done here, the steps that work, the conventions to follow.</li><li><strong>Preferences:</strong> how you and your users like things done.</li></ul><p>A few principles hold no matter which tools you use:</p><ol><li><strong>Write deliberately.</strong> Save what a future version of the agent will need, not a transcript of everything. A short briefing beats a data dump.</li><li><strong>Recall at the start.</strong> Begin each session by pulling in the relevant memory, so the agent picks up where you left off.</li><li><strong>Forget on purpose.</strong> Stale facts are dangerous. Update what changed and retire what is no longer true.</li><li><strong>Keep it yours.</strong> Store memory somewhere you control and can move, independent of any single model or vendor.</li><li><strong>Keep it inspectable.</strong> You should be able to read, correct and audit what your agents remember.</li></ol><p>Plugging it in is simpler than most people think:</p><ul><li><strong>Start with plain files.</strong> Many coding agents already read a project instruction file, such as an AGENTS.md, at the start of every session. A decision log in your repository is a real memory system.</li><li><strong>Give your agents a memory tool.</strong> Open standards like the Model Context Protocol (MCP) let you connect a memory server to almost any agent, with simple remember and recall actions.</li><li><strong>Add two rituals.</strong> At the start of a session, the agent recalls. At the end, it writes down decisions, open questions and lessons learned.</li><li><strong>Graduate when you need to.</strong> As memory grows, move to a dedicated memory layer with search, versioning and forgetting built in. There are good open-source and hosted options. Choose one you can own and inspect.</li></ul><p>A word of honesty: I build memory infrastructure for agents, so weigh my enthusiasm accordingly. But everything in this section works with a text file and a bit of discipline. The habit matters far more than the tool.</p><h3>Your first week</h3><p>If you want a place to start, here is one.</p><ol><li><strong>Pick one problem you know better than anyone.</strong> Write it down in a single sentence.</li><li><strong>Build the smallest agent that does one real step of it.</strong> Not the whole vision. One step that saves you an hour.</li><li><strong>Give it memory on day one.</strong> Create a memory file or connect a memory tool before you write your second prompt.</li><li><strong>Keep a decision log.</strong> For every meaningful choice, record what you decided, why, what you rejected and what happened next. Let the agent draft it and you approve it.</li><li><strong>Review on Friday.</strong> Read what your agent remembered this week. Promote the best lessons into standing instructions and delete what turned out to be wrong.</li><li><strong>Share what you learned.</strong> Your documented process is a gift to the next builder, and the best portfolio you will ever have.</li></ol><p>Then do it again next week, a little bigger.</p><h3>The clearing</h3><p>Forecasters have a quiet joy that few people talk about. It is the moment you watch a front pass on the radar and know that, a few hours from now, people will step outside into a clean, bright sky.</p><p>That is how I feel about this moment. The tools are here. The costs are falling. The opportunities are wider than any of us can see from where we stand today.</p><p>So start building. Choose a problem you care about and point an agent at it. And as you go, write it down: every decision, every failure, every small win. Give your agents a memory, and give yourself one too.</p><p>Ten years from now, people will look back on these years the way we look back on the early days of the web. Some will say they watched it happen. I hope you will be able to say you built something, and show exactly how you did it.</p><p>The sky is clearing. Let’s go build.</p><p>Best,<br>Majid</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8b92df94af3c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Your Agents Don’t Need Another Memory API. They Need a Memory Agent.]]></title>
            <link>https://medium.com/@majid.fekri/your-agents-dont-need-another-memory-api-they-need-a-memory-agent-2d6ec9427af8?source=rss-b25f2a23e96f------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d6ec9427af8</guid>
            <category><![CDATA[ai-memory]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[agentic-memory]]></category>
            <category><![CDATA[memanto]]></category>
            <dc:creator><![CDATA[Dr. Majid Fekri]]></dc:creator>
            <pubDate>Wed, 07 Oct 2026 17:31:05 GMT</pubDate>
            <atom:updated>2026-10-07T17:31:05.019Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O6W6Zw_53ns1ERV0nSnqVQ.png" /></figure><p><em>What changes when memory stops being a place your agent drops text and starts being something that works for it. A user’s-eye tour of Memanto, and fifteen reasons to try it on your next agent.</em></p><p>You have probably met this bug. It never throws an exception, and no test catches it.</p><p>Your coding agent agreed on Monday to use Postgres for the new service. On Thursday it scaffolds MongoDB. Your support agent learned last month that a customer moved from the finance team to marketing, and today it routes her ticket to finance anyway. Your Cursor session has no idea what Claude Code decided an hour ago in the next terminal.</p><p>None of these are model failures. The model did exactly what its context told it to. The failure is in what it was told: a memory that holds text but does nothing with it.</p><p>Most agent memory today is a memory API. You call add, you call search, and everything between those two calls is your problem. Which memory is stale? Which two contradict each other? Which one came from a guess rather than something the user actually said, and which tool wrote it?</p><p>Memanto takes a different position. It is a memory agent: a companion that does the work of keeping your agents’ memory true, so your agents can spend their context on the task in front of them.</p><p>Full disclosure: I’m the CTO of the team that builds Memanto, and it is open source under the MIT license. I’ll try to earn your attention the honest way. Every claim below points to behavior you can check in the <a href="https://docs.memanto.ai/">docs</a> or reproduce in an afternoon, and near the end I’ll tell you where it is still young.</p><h3>From memory API to memory agent</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qKcz1Vs3Bve4rTtriP-nFw.png" /></figure><p>The difference is where the work happens. With a memory API, your agent writes and reads, and the memory sits still in between. With a memory agent, a second, specialized agent works on the memory between those moments, the way a good chief of staff works on the briefing book between meetings.</p><p>Memanto’s work comes down to five verbs:</p><ul><li><strong>Curate.</strong> Every memory arrives typed, scored for confidence, and labeled with where it came from and which tool wrote it.</li><li><strong>Reconcile.</strong> When two memories disagree, Memanto surfaces the conflict and lets you, or a rule you wrote, decide. Nothing is quietly overwritten.</li><li><strong>Consolidate.</strong> On a schedule, it summarizes the day, scans for contradictions, and retires what your policy says is stale, reversibly.</li><li><strong>Brief.</strong> When an agent asks, it gets a grounded answer or a short sourced brief, not a pile of loosely related snippets.</li><li><strong>Provision.</strong> The right memories reach every tool you work in, from Claude Code and Cursor to CrewAI and a voice agent.</li></ul><p>Everything else in this article hangs off those five verbs. The short version is the line we put on the box: <em>Your agents focus. Memanto remembers.</em></p><h3>Two minutes to a first memory</h3><p>Before the differences, here is how small the starting surface is. Install it, create an agent, and talk to its memory:</p><pre>pip install memanto<br>memanto                         # one-time setup: free cloud key, or a fully local backend<br>memanto agent create my-project<br>memanto remember &quot;We use PostgreSQL 16 as the primary database&quot; --type decision<br>memanto recall &quot;what database are we on?&quot;<br>memanto answer &quot;What have we decided about the data stack?&quot;</pre><p>The same install gives you a Python client that runs in-process, with no server to start:</p><pre>import time<br>from memanto import Memanto</pre><pre>memanto = Memanto(agent_id=&quot;my-project&quot;)<br>memanto.remember(&quot;Alex prefers oat milk.&quot;, type=&quot;preference&quot;)<br>time.sleep(1)  # new memories become searchable in under a second<br>print(memanto.recall(&quot;what does Alex drink?&quot;)[&quot;memories&quot;])</pre><p>There is also an official TypeScript SDK on npm, a REST server (memanto serve), an MCP server and a Docker image. The <a href="https://docs.memanto.ai/getting-started/installation">installation guide</a> covers each one.</p><h3>Curate: memory that knows what it is</h3><h3>1. Every memory has a type, and the type does work</h3><p>Memanto has 13 memory types: fact, preference, decision, commitment, goal, event, instruction, relationship, context, learning, observation, error and artifact. You can filter recall by them, but the bigger point is that the system acts on them.</p><p>Under every built-in expiry preset, preferences, instructions and relationships never expire on their own, while transient context ages out. Only instructions, preferences and goals get synced into your coding agent’s CLAUDE.md or AGENTS.md. A crash in your traces is filed as an error, a failed eval as a learning. A decision is not a passing observation, and memory that can&#39;t tell them apart forces your agent to treat both the same way.</p><h3>2. Every memory says how sure it is, where it came from, and who wrote it</h3><p>Each memory carries a confidence score from 0 to 1 (default 0.8), a provenance label and a source. Provenance records how the memory came to exist: an explicit statement, an inference, a correction, a validation, an observation, or an import from another system. Source records the writer: the user, an agent, or a named tool such as Cursor or Claude Code.</p><p>This matters the first time your agent acts on something a user never said. With provenance on every memory, memanto recall &quot;...&quot; --min-confidence 0.8 is a flag, and a policy rule that expires inferred memories under 0.6 confidence after 30 days is three lines of YAML.</p><p>Attribution is careful by design. Memanto identifies the calling tool from an explicit flag or header, the MCP handshake, or environment markers, and otherwise labels the call unidentified rather than guessing. The docs’ reasoning is simple: a wrong label on a dashboard is worse than no label.</p><h3>3. It can pull memories out of a conversation, and you look first</h3><p>Give Memanto a chat transcript of up to 200 messages and it extracts typed, de-duplicated, confidence-scored candidates. Add --dry-run to see them before anything is saved. Secrets, API keys and tokens are excluded, and every extracted memory is tagged so you can review or expire the batch later.</p><pre>memanto remember --from-conversation chat.json --dry-run</pre><h3>Reconcile: contradictions get a hearing, not a coin flip</h3><h3>4. Conflicts are surfaced, not silently decided</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dcfRdnErxgGC2td6mjFcVQ.png" /></figure><p>Every long-lived memory eventually holds two things that can’t both be true. “Customer is in the finance team.” A week later: “Customer moved to the marketing team.”</p><p>The field has tried two answers. One resolves at write time: an LLM compares each new fact with old ones and emits add, update or delete. That keeps things tidy, but a developer writing in August 2026 showed how such a resolver (Mem0’s, in his example) can quietly delete a preference that was still true in a different context (<a href="https://dev.to/mukesh_13/mem0-auto-resolves-memory-conflicts-for-you-until-it-silently-deletes-one-you-still-need-4f4m">DEV Community</a>). The other appends everything and lets retrieval ranking sort it out at read time. Mem0’s v3 platform takes that road: nothing is overwritten or deleted, and old and new facts both persist (<a href="https://docs.mem0.ai/migration/platform-v2-to-v3">Mem0 docs</a>). That is lossless, but the contradiction is still sitting there, and your agent meets it mid-task. Graph-based systems such as Zep invalidate the older fact automatically and keep its validity window (<a href="https://help.getzep.com/facts">Zep docs</a>), which is a thoughtful middle ground, but the system still makes the call for you.</p><p>Memanto takes a third road. A conflict-detection pass reads a day’s memories, finds the pairs that disagree, and writes a report. You resolve each conflict from the CLI, the web dashboard or the API: keep the old one, keep the new one, keep both, remove both, write a merged replacement, or expire either or both. Memanto recommends the newer memory when that is the likely answer, but the decision is yours.</p><pre>memanto detect-conflicts<br>memanto conflicts</pre><p>The docs recommend expiring the losing memory rather than deleting it, because expired memories keep their history. Which brings us to forgetting.</p><h3>5. Forgetting is reversible, and it leaves a paper trail</h3><p>Memanto’s lifecycle has exactly two states: active and expired. Expiring a memory keeps its content and timestamps and stamps it with when and why it was retired: a named policy rule, a retention entry, a manual action or a conflict resolution. Restoring it clears the stamp. Recall returns both states by default, each clearly labeled.</p><p>Your forgetting rules live in a per-agent YAML policy: a retention table by memory type, plus ordered rules that match on type, tags, source, provenance and confidence. Here is the rule from earlier, expiring weak inferences after a month:</p><pre>- name: stale-inferences<br>  match: { provenance: [inferred], confidence_below: 0.6 }<br>  expire_after: 30d</pre><p>Three presets (conservative, balanced and aggressive) get you started, and all of them leave preferences, instructions, relationships and anything tagged pinned alone. Editing a memory resets its clock, because an edit is evidence it is still alive. Preview any sweep before it runs:</p><pre>memanto policy apply-preset balanced<br>memanto policy apply --dry-run</pre><p>Permanent deletion is a separate, explicit step that is off by default. If you have ever had to explain to a reviewer why your agent “forgot” something, you will appreciate the difference between expired and gone.</p><h3>6. You can ask what the agent knew last Tuesday</h3><p>Recall works across time, not only meaning. --as-of reconstructs memory as it stood at a moment, so a memory expired since then still shows as active, the way it was. --changed-since returns what was created or updated after a date, each labeled as created or updated. --recent lists the newest first. Plain phrases such as yesterday and last 3 days work too.</p><pre>memanto recall --as-of 2026-09-15<br>memanto recall --changed-since &quot;last week&quot; --type decision</pre><p>Temporal awareness is not unique to Memanto: Zep tracks validity windows, and Mem0 added time-aware ranking this year. What Memanto adds is time travel as an explicit query. When an agent makes a bad call, you can see exactly what it could have known when it made it.</p><h3>Consolidate: a nightly routine for your memory estate</h3><h3>7. Memory gets tended while you sleep</h3><p>memanto schedule enable sets up one nightly job that runs three steps in order: a written summary of the day&#39;s memories, a conflict-detection pass, then an expiry sweep under each agent&#39;s policy. Permanent deletion is never part of it.</p><p>The summary lands as a Markdown file per agent per day. The conflict report waits for you in the CLI and the dashboard. You start the morning with a memory estate that was reviewed overnight, instead of one that quietly grew.</p><h3>8. Production failures become lessons, once</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P7H6hfEIXp5vbZNuBUfb6g.png" /></figure><p>If you run agents in production, this is the feature I would point you to first. Memanto can read your Langfuse traces and turn what went wrong into durable memory. Errors become error memories, latency and cost outliers become observations, and failed or passed evals become learnings.</p><p>It groups failures by signature, stripping volatile details such as IDs, numbers, emails and paths, so a thousand copies of one failure become one memory. In the docs’ own example, 812 observations collapsed into 2 memories.</p><p>Confidence grows with recurrence: one occurrence scores 0.60 and a hundred score 0.90. Re-running the sync never duplicates, and a recurring failure updates its existing memory in place. You can sync from the CLI, or attach a live handler with two lines of Python that runs off your hot path and never throws into your app.</p><p>Your traces record what went wrong. Memanto keeps the lesson where your agent will find it next time.</p><h3>Brief: answers, not dumps</h3><h3>9. Agents get a brief, not a pile of snippets</h3><p>Memanto is built on a principle the docs call “queryable, not injectable”: agents ask memory for what they need, when they need it, instead of hauling a pre-assembled block of context into every turn.</p><p>memanto answer returns a written answer grounded in the agent&#39;s memories. In Claude Code, a memory-scout subagent runs several recalls in parallel and returns a short, sourced brief, and it surfaces contradictions instead of quietly picking a winner. The same integration tells the agent never to claim it lacks context without checking memory first. And memanto agent bootstrap produces a snapshot of what an agent knows, organized by type, which is handy for onboarding a teammate or running an audit.</p><p>Where an up-front briefing does make sense, such as the start of a voice call, it is small and bounded. The Vapi integration hands the assistant at most 10 recent and 10 relevant memories per section, capped at 4,000 characters.</p><h3>10. A memory is recallable the moment it’s written, and recall is repeatable</h3><p>Writes become searchable in under a second, with no indexing step to wait out. That sounds like a detail until two agents are working side by side and one needs what the other just learned.</p><p>Recall is also exact rather than approximate: the same query over the same memories returns the same result every time. When you are debugging an agent, rerunning a recall and getting the same answer is the difference between a reproducible bug and a ghost.</p><h3>Provision: one memory estate, every tool</h3><h3>11. Your tools stop keeping separate notebooks</h3><p>Most developers now use more than one agent in a day. Memanto connects to 14 coding agents with one command each: Claude Code, Cursor, Codex CLI, Windsurf, Gemini CLI, GitHub Copilot, Cline, Continue, Goose, Roo Code, OpenCode, Antigravity, Augment and Pi.</p><pre>memanto connect claude-code<br>memanto connect multi        # pick several tools at once</pre><p>memanto memory sync writes an agent&#39;s standing instructions, preferences and goals into each tool&#39;s own instruction file, such as CLAUDE.md or AGENTS.md, between marker comments, so a rule you set once reaches every tool. Only active memories with confidence of 0.8 or higher make the cut, and nothing outside the markers is touched.</p><p>Beyond coding tools, there is an MCP server with seven memory tools, a VS Code extension, and integrations for LangChain, LangGraph, LlamaIndex, CrewAI, AG2, Google ADK, Amazon Bedrock AgentCore, Pydantic AI, n8n, the Vercel AI SDK, Mastra, VoltAgent, the OpenAI SDK, Hermes and Vapi voice agents. The <a href="https://docs.memanto.ai/integrations/overview">integrations overview</a> has the full list.</p><h3>12. You can see who touched memory, and what it holds</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rB10AaXKxWuCFsZVjIWJrw.png" /></figure><p>Memanto ships a local web dashboard (memanto ui). The Connections view shows which tools touched memory in the last few minutes, plus a per-session timeline of every read and write by tool. The activity log behind it records the tool, the operation and a count, never memory content.</p><p>The rest of the dashboard covers what you want once memory matters: a memory explorer, a history timeline with a year-long activity heatmap, side-by-side conflict resolution, an expiry-policy editor, and analytics that include a confidence distribution and breakdowns by source and type.</p><h3>Own it: your memory estate is yours</h3><h3>13. Open source, and portable in both directions</h3><p>Memanto is MIT-licensed and on <a href="https://github.com/moorcheh-ai/memanto">GitHub</a>. Your memory estate exports as a single Markdown file or as an Open Knowledge Format (OKF) bundle, which the docs describe as an open, vendor-neutral spec from Google Cloud. An OKF bundle is a folder of Markdown files with YAML front matter, organized by memory type: browsable, diffable and git-friendly. Memanto’s own fields, such as confidence and provenance, survive the round trip.</p><pre>memanto memory export --okf</pre><p>Coming in is just as deliberate. memanto migrate imports from Mem0, Letta, Supermemory, Zep and Hindsight, as well as OKF bundles. Each import maps records onto Memanto&#39;s types, skips what the source itself had already retired, keeps anything it can&#39;t map in a supporting-data footer, and writes a preview before you commit.</p><pre>memanto migrate mem0 --dry-run</pre><p>We think the right way to keep users is to make leaving easy.</p><h3>14. It runs where your data has to live</h3><p>The cloud backend has a free tier: 500 credits a month, roughly 100,000 operations, up to five agents, no credit card. If your data can’t leave your building, the on-prem backend runs in Docker with Ollama for embeddings and answers. After the first model pull it makes no outbound calls, so it works air-gapped, with the same features as cloud.</p><p>The docs estimate 5 to 10 minutes for first on-prem setup, on a machine with at least 4 cores and 8 GB of RAM. There are Kubernetes manifests for production, and enterprises can run the backend in their own VPC on AWS or GCP.</p><h3>15. Privacy is designed into the small decisions</h3><p>Some details only show up when you read the design closely. Conversation extraction drops secrets. The dashboard and the VS Code extension only talk to a server on your own machine. In the Vapi integration, caller memory is keyed by an HMAC of the phone number, so raw numbers are never kept, and the model never passes a caller ID, so a prompt injection can’t reach another caller’s memories.</p><h3>A word on benchmarks</h3><p>Memanto’s paper reports 89.8% on LongMemEval and 87.1% on LoCoMo, with a step-by-step ablation and reproducibility appendices (<a href="https://arxiv.org/abs/2604.22085">arXiv:2604.22085</a>). I’m mentioning them late on purpose.</p><p>Agent memory benchmarks are contested right now. Zep published a detailed critique of how Mem0 ran Zep on LoCoMo (<a href="https://www.getzep.com/blog/lies-damn-lies-statistics-is-mem0-really-sota-in-agent-memory/">Zep blog</a>). A July 2026 analysis argued that the common LoCoMo harness leaves out the 446 adversarial questions where the right answer is to decline (<a href="https://dev.to/gde03/the-ai-memory-benchmark-everyone-quotes-forbids-saying-i-dont-know-o1n">DEV Community</a>). Vendors’ numbers, ours included, are hard to compare across projects.</p><p>So judge any memory system, Memanto included, on behavior you can test. Does it tell you when two memories disagree? Can you undo a mistake? Can you see who wrote what? Can you leave? The evaluation at the end of this article takes about 30 minutes. We are working on deep research and more reliable and trusworthy benchmarking system for all agentic memories, stay tuned!</p><h3>What to know before you adopt it</h3><p>Memanto moves fast, and that cuts both ways. Version 0.2.26 shipped on October 2, 2026, and a few releases along the way carried breaking changes, so pin a version in production and read the <a href="https://docs.memanto.ai/changelog">changelog</a> when you upgrade.</p><p>Conflict detection is a batch pass over a day’s memories, not a check on every write. If you need a contradiction caught the moment it is written, run detection more often or add your own guard. Also note that adopting a policy preset replaces the whole policy, including rules you wrote yourself.</p><p>Cloud and on-prem keep separate agent registries, so an agent created on one backend is not visible from the other. If you expect to move, export to OKF and import on the other side.</p><p>Finally, if what you want is an agent runtime with memory built into the agent itself, a platform like Letta, where agents run on its server and edit their own memory blocks through tools, is a different and legitimate design (<a href="https://docs.letta.com/guides/core-concepts/stateful-agents">Letta docs</a>). Memanto is built for the other case: you keep the agents and frameworks you already have, and give them one memory agent to share.</p><h3>A 30-minute evaluation you can run this week</h3><ol><li>Install it and connect the coding tool you use most: pip install memanto, then memanto connect &lt;your-tool&gt;.</li><li>Work normally for a session and let your agent save its decisions. The next day, ask it what was decided.</li><li>Plant a contradiction: memanto remember &quot;The API allows 100 requests a minute&quot; --type fact, then the same with 500. Run memanto detect-conflicts, then memanto conflicts, and expire the loser.</li><li>Bring it back with memanto memory restore &lt;id&gt;, then run memanto recall --as-of yesterday to see memory as it stood before today&#39;s changes.</li><li>Export with memanto memory export --okf and open the bundle in your editor.</li><li>If you already use another memory system, run memanto migrate &lt;provider&gt; --dry-run and read the preview.</li></ol><p>If those six steps don’t change how you think about agent memory, you’ve lost half an hour. If they do, the <a href="https://docs.memanto.ai/">docs</a>, the <a href="https://memanto.ai/discord">Discord</a> and <a href="https://www.reddit.com/r/Memanto/">r/Memanto</a> are the next stop.</p><h3>Memory is how agents get better</h3><p>For two years we have judged agents mostly by what they can do inside a single context window. The next stretch is about what they carry forward: the decision from last week, the lesson from last night’s failed run, the preference a customer mentioned once and never had to repeat.</p><p>That only works if memory stays true as it grows. Curated, reconciled, consolidated, and briefed back at the right moment, a memory estate becomes something your agents get better with, instead of something they slowly drown in.</p><p>That future is closer than it looks, and every developer who gives their agents a memory worth trusting moves it a little nearer. Your agents focus. Memanto remembers.</p><p>Also plese don’t forget to check our Youtube channel</p><p><a href="https://www.youtube.com/@moorchehai">https://www.youtube.com/@moorchehai</a></p><p><strong>Sources:</strong> <a href="https://docs.memanto.ai/">Memanto docs</a> · <a href="https://github.com/moorcheh-ai/memanto">Memanto on GitHub</a> · <a href="https://arxiv.org/abs/2604.22085">Memanto paper, arXiv:2604.22085</a> · <a href="https://docs.mem0.ai/migration/platform-v2-to-v3">Mem0 v2 to v3 migration guide</a> · <a href="https://help.getzep.com/facts">Zep: facts and temporal validity</a> · <a href="https://docs.letta.com/guides/core-concepts/stateful-agents">Letta: stateful agents</a> · <a href="https://dev.to/mukesh_13/mem0-auto-resolves-memory-conflicts-for-you-until-it-silently-deletes-one-you-still-need-4f4m">DEV: Mem0 conflict resolution</a> · <a href="https://dev.to/gde03/the-ai-memory-benchmark-everyone-quotes-forbids-saying-i-dont-know-o1n">DEV: the LoCoMo abstention gap</a> · <a href="https://www.getzep.com/blog/lies-damn-lies-statistics-is-mem0-really-sota-in-agent-memory/">Zep: LoCoMo critique</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d6ec9427af8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI is the Queen of Sheba]]></title>
            <link>https://medium.com/@majid.fekri/ai-is-the-queen-of-sheba-9c14e62e2513?source=rss-b25f2a23e96f------2</link>
            <guid isPermaLink="false">https://medium.com/p/9c14e62e2513</guid>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[society]]></category>
            <category><![CDATA[tech-companies]]></category>
            <category><![CDATA[enterprise-architecture]]></category>
            <dc:creator><![CDATA[Dr. Majid Fekri]]></dc:creator>
            <pubDate>Sat, 03 Oct 2026 11:31:01 GMT</pubDate>
            <atom:updated>2026-10-03T11:31:01.719Z</atom:updated>
            <content:encoded><![CDATA[<p><em>On AI, runaway companies, and learning to fly differently</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*akpvi3Y2sk8EEdY3FudbXw.jpeg" /></figure><h3>Prologue: The Temple</h3><p>Every great enterprise is a temple, and every temple needs two people: a king and an architect.</p><p>When Solomon set out to build the Temple in Jerusalem, he had the throne, the treasury, and the authority. What he did not have was the knowledge of how to raise stone into heaven. For that he called on Hiram Abiff, the master builder, and with him came a guild of masons, carpenters, and metalworkers. Solomon ruled the people. Hiram ruled the work.</p><p>Business has always been built this way. Half of it is serious work: designing, building, measuring, delivering. The other half is human relations: loyalty, status, trust, negotiation, the slow art of keeping people together long enough to finish something. You need both. A temple with no king is never funded. A temple with no architect never stands.</p><p>Most of the time the two halves cooperate. But sometimes the human factor collides with the hard technical necessity, and the story of the temple tells us what happens next.</p><p>The legend, as later told by Gérard de Nerval and carried into Masonic lore, adds a visitor. The Queen of Sheba arrives in Jerusalem with gifts and riddles. She meets the king, as protocol demands. But it is the architect who captures her imagination. The king’s jealousy wakes. The old balance between throne and guild begins to tremble.</p><p>AI is the Queen of Sheba.</p><p>She has arrived at the court of every enterprise. She is received by the executives, photographed at the conferences, celebrated in the press releases. But what truly fascinates her is not the throne room. It is the workshop. AI is, at heart, an architect’s companion. It speaks the language of structure, process, and execution. And wherever she goes, she reminds the builders of something they had half forgotten: they might not need the king’s permission to build at all.</p><h3>Birds and Airplanes</h3><p>The way most enterprises are adopting AI today resembles the way people tried to fly for centuries: by copying birds.</p><p>Listen to the leaders of the largest AI companies and you will hear a familiar prescription. Feed the model every meeting note, every document, every message and briefing. Give every employee an assistant. Put a chatbot on the website and a coding agent in the repository. All of this is useful. None of it is flight. It is the old organization, with the same departments, layers, and reporting lines, wearing a pair of feathered wings.</p><p>For hundreds of years, would-be aviators strapped wings to their arms and jumped from towers. The bird was the obvious model, and the obvious model failed. The breakthrough came when George Cayley, around 1799, saw something the bird hides. A bird’s wing does three jobs at once. It lifts, it propels, and it steers. Cayley separated them. A fixed wing for lift. A separate engine for thrust. Separate surfaces for control. A century later the airplane flew, and it looked nothing like a bird.</p><p>The modern enterprise is a bird. Its basic organ is the manager, and the manager bundles many jobs into one person. A manager routes information up and down. A manager exercises judgment. A manager motivates, protects, and promotes people. A manager absorbs blame. A manager signals status. The org chart repeats this bundle at every level, from team lead to chief executive.</p><p>That bundle made sense when every one of those jobs depended on a human head with limited hours and limited memory. AI changes the propulsion system. It does not merely help the manager do the bundle faster. It makes it possible to pull the bundle apart and solve each job with its own mechanism.</p><p>Most of what is called “AI transformation” today is engineers strapping a propeller onto a flapping wing. The real question is different: what does an enterprise look like when it is designed for the new engine, at a new scale, from the ground up?</p><h3>The Journeymen</h3><p>The greatest resistance to AI will not come from the king. It will come from the middle of the guild.</p><p>In the legend, Hiram is not killed by Solomon. He is killed by three journeymen of his own guild. They were not his enemies, exactly. They wanted the Master’s Word, the secret password that granted a master’s rank and a master’s wages. They wanted the title without the mastery. When Hiram refused to give it to them, they struck him down, and the king did little to stop it.</p><p>This is the most accurate prediction the old story offers. The layer of the enterprise most threatened by AI is the middle: the managers, coordinators, and reviewers whose value lies in routing information, translating between levels, and approving the work of others. AI does exactly those things. And this same layer controls the gates through which AI must pass: procurement, security review, pilot evaluation, and the internal story about whether a new tool “worked.”</p><p>The danger is not open opposition. Open opposition is easy to see. The danger is co-option, the journeymen asking for the Word. It looks like this:</p><ul><li><strong>The permanent committee.</strong> An AI governance council that must approve every deployment and slowly becomes a toll booth.</li><li><strong>The loop that protects itself.</strong> “Human in the loop” rules written so that the human in the loop is always the role that already exists.</li><li><strong>Pilot purgatory.</strong> Endless proofs of concept that never receive the authority to change a single workflow.</li><li><strong>The wrong yardstick.</strong> Success measured as “hours saved per employee” rather than “layers no longer needed,” which guarantees that AI remains a tool inside the old shape.</li></ul><p>Under this pressure, the AI architects, the builders and vendors who bring the new propulsion, can be strangled without ever hearing the word no.</p><h3>How the architect survives</h3><p>There are three ways through.</p><ol><li><strong>Build with the king who wants a new temple.</strong> Work with people who hold the authority to restructure: founders, chief executives facing a crisis, operators who acquire companies in order to rebuild them. Their incentive is the new structure, not the preservation of the old one.</li><li><strong>Build where there is no middle yet.</strong> New companies have no journeymen to appease. They can be designed for the new engine from the first day.</li><li><strong>Offer the journeymen a path to mastery.</strong> The middle layer also holds something precious: tacit knowledge of how the place really runs, where the exceptions hide, which rules are real. A redesign needs that knowledge. Give these people a credible role as designers of the new structure, and many will stop sharpening knives. A guild that sees a path to mastery has no reason to steal the Word.</li></ol><h3>Unbundling the Wing</h3><p>To redesign the enterprise, we must first admit something uncomfortable: much of its structure was never logical. It was human.</p><p>Look closely at any large corporation or public administration and you will find layers that exist not because the work requires them, but because people do. Titles that reward loyalty. Committees that spread blame. Promotion ladders that keep ambitious people from leaving. Reporting lines shaped by who trusts whom. None of this is foolish. It is the Solomon half of the temple, the human architecture that keeps a large group of people together.</p><p>The economist Ronald Coase asked why firms exist at all, when markets could coordinate everything. His answer: inside a firm, coordination is cheaper than negotiating every task as a contract. But that cost was always measured in human limits. How many people one manager can follow. How much context fits in one head. How far you can trust a stranger. AI attacks those limits directly, and when the costs change, the shape of the firm must change with them.</p><p>So the redesign begins with Cayley’s question: which functions are bundled together only because one human had to carry them all?</p><ul><li><strong>Routing information.</strong> <em>Then:</em> only people could read, summarize, and forward. <em>Now:</em> a shared memory every person and agent can query directly.</li><li><strong>Analysis and recommendation.</strong> <em>Then:</em> expertise was scarce and slow. <em>Now:</em> AI systems that reason over all available information.</li><li><strong>Coordination of work.</strong> <em>Then:</em> someone had to track who does what. <em>Now:</em> agents that schedule, assign, and follow up continuously.</li><li><strong>Motivation and care for people.</strong> <em>Then:</em> only humans could do it. <em>Now:</em> still human, and now free to be the whole job.</li><li><strong>Setting direction and values.</strong> <em>Then:</em> someone had to choose what matters. <em>Now:</em> still human, made explicit and visible.</li><li><strong>Accountability.</strong> <em>Then:</em> a person had to answer for outcomes. <em>Now:</em> shared between transparent systems and named stewards.</li></ul><p>Read the list from top to bottom and a pattern appears. The functions at the top are about information, and they can be handed to the new engine. The functions at the bottom are about meaning, and they become more human, not less. The manager of the future does not disappear. The manager is unbundled. Some parts go to the machine, and the parts that remain become a calling rather than a chore.</p><h3>Who Decides?</h3><p>The hardest objection to an AI-native enterprise is not about capability. It is about trust: who should make the decisions, and who answers when they go wrong?</p><p>The comfortable answer is that machines handle information and humans handle judgment. But that line is moving. AI is already better than most people at gathering and processing information. Increasingly, people will believe it is better at reasoning, and then at deciding.</p><p>Consider a simple test. A decision that affects you was made one of two ways. In the first, a single person appointed by a board made it. You know nothing about this person’s reasoning, information, or biases. In the second, a specialized AI system made it. The system has passed demanding tests of reasoning and judgment, had access to every piece of information that could be known, and left a complete record of how it reached its conclusion.</p><p>Many people, asked honestly, would trust the second. We already do this in quieter forms. Algorithms decide credit, route ambulances, and flag fraud, and most of us have stopped noticing.</p><p>What about accountability? Here the old system deserves less reverence than it receives. Human accountability is often theater. Executives “do not recall.” Lawyers are paid to make responsibility disappear. Whoever controls more resources usually escapes the consequences. An AI system whose every step is logged may, in practice, be more accountable than the person it replaces. You cannot cross-examine a human memory, but you can audit a record of agentic memory.</p><h3>Where legitimacy goes</h3><p>Yet something remains, and it is worth naming precisely.</p><p>Tests measure decisions that have a right answer. Many of the decisions that matter most do not. Whose interest comes first. How much risk is acceptable. What we owe the people who lose their jobs. These are not puzzles to be solved but values to be chosen, and people accept such choices only when they believe the values were set by someone they consented to.</p><p>So legitimacy does not vanish in the AI-native enterprise. It moves upstream. The question shifts from “who made this decision?” to “who set the goals the system was pursuing?” The king’s authority does not survive as the power to decide each case. It survives, if it survives at all, as the power to write the purpose. That is a smaller kingdom, but a more honest one.</p><h3>Designing Runaway Companies</h3><p>The first visible sign of this transformation will be what I call runaway companies: companies so far ahead that the ordinary pull of markets and competition no longer reaches them.</p><p>In a healthy economy, comfort is temporary. A company that grows complacent is caught by a rival, and that gravity has long been one of the great balancing forces of economic life. But some companies have already escaped it, and AI will make escape faster and cheaper than ever before. For the first time, we can design runaway companies on purpose, from first principles.</p><p>By first principles I do not mean cheaper versions of what already exists. Fighting on the old turf is a red ocean. A runaway company opens a new horizon: it provides value to society that was never imagined, or was believed impossible. The more blue the ocean, the better.</p><h3>What is human?</h3><p>To find those oceans, we have to return to the oldest question: what is a human being?</p><p>One answer, useful for builders, is this. A human is a finite creature with infinite longings, and the deepest of those longings have always depended on the attention of other humans. We want to be understood. We want to be remembered. We want to be taught patiently, cared for by someone who truly knows our situation, and defended by someone competent when we are in trouble.</p><p>For all of history, only the wealthy received these things in full. Not because they were technically impossible, but because expert attention could not be multiplied. One great teacher, one great physician, one great advocate could serve only so many people.</p><p>That is where the blue oceans lie:</p><ul><li><strong>A lifelong tutor</strong> who remembers every confusion you ever had and every breakthrough you ever made.</li><li><strong>A physician’s attention</strong> that watches over your health continuously, not for twelve minutes once a year.</li><li><strong>An advocate for everyone,</strong> legal and financial representation for people who have never had anyone on their side.</li><li><strong>Institutions that remember you,</strong> so you never have to explain yourself from the beginning again.</li></ul><p>Beneath all of these lies a single hypothesis. The human need that AI can serve at scale for the first time is the need to be known. If that is right, the runaway companies will not be the ones with the strongest models. They will be the ones people trust with their accumulated selves.</p><h3>A runaway that does not run away with power</h3><p>There is a danger hidden here. A company trusted with people’s whole lives, and beyond the reach of competition, could become a new kind of king. The solution is to design its ownership as carefully as its product.</p><p>Models already exist. Bosch, Novo Nordisk, and Patagonia are each controlled by a foundation or trust that cannot simply be sold or stripped for profit. This is called steward ownership: the company belongs to its purpose. A runaway company built this way could run away in capability while remaining structurally unable to run away with power. It would be a new kind of airframe, built for the new engine.</p><h3>Three Organisms</h3><p>If the enterprise is a bird that must become an airplane, so is society itself.</p><p>A century ago, as the old order of Europe collapsed after the First World War, the philosopher Rudolf Steiner made an argument that sounds strangely modern. Society, he said, is not one body but three living organisms, tangled together. Each has its own nature and its own guiding principle, and much of our suffering comes from forcing one organism to live by the laws of another.</p><ul><li><strong>The economic sphere</strong> cares for production, trade, technology, and the meeting of needs. Its principle is <em>fraternity</em>: cooperation among producers, distributors, and consumers.</li><li><strong>The cultural sphere</strong> cares for education, care, art, science, and spiritual life. Its principle is <em>liberty</em>: the free development of each person’s capacities.</li><li><strong>The rights sphere</strong> cares for law, human dignity, safety, and protection in emergencies. Its principle is <em>equality</em>: the same rights for every person.</li></ul><p>Steiner saw that the French Revolution’s three ideals were not in conflict. They had simply been put in the wrong places. Bring market logic into education and you get credential factories. Impose uniformity on culture and you get dead curricula. Let pure liberty rule the economy, without fraternity, and you get extraction.</p><p>Today these three organisms still live in a tangle of governments and corporations. In some societies, economic power has swallowed the others, and wealth buys exemption from the rules. In others, the political organism dominates, and enterprise and culture live by its permission. In still others, a religious establishment has risen above both livelihood and the rule of law. Each is the same illness: one organism ruling the others.</p><p>Steiner’s remedy was Cayley’s insight applied to civilization. Separate the three. Let each govern itself, keep its boundaries, and build institutions fit for its own purpose. Not a utopia, and not the end of trouble. But a society that might fly like an airplane rather than flap like a bird.</p><p>His movement lost the political battle within a few years. Its most lasting creation was a school: in 1919, the industrialist Emil Molt asked Steiner to found one for the children of workers at his Waldorf-Astoria cigarette factory in Stuttgart. That detail matters. The cultural sphere was the one piece that could be built from the ground up, without asking permission from either the state or the market.</p><h3>AI as the Airframe</h3><p>An airplane separates its functions, but it does not leave them floating in the sky. Wing, engine, and control surfaces are bolted to a single airframe that lets them work as one. Steiner’s design had no airframe, and that is a large part of why it never flew.</p><p>His critics asked two hard questions. First: who keeps the boundaries? Whoever enforces the borders between spheres tends to become the master of all three, and historically that has been the state. Second: what about money? Money passes through every wall. It buys education, influences law, and bends culture to its own ends. Steiner knew this. His proposals for money that ages over time, and for capital passed to capable stewards rather than to heirs, were attempts to stop the economic organism from dissolving the others.</p><p>There was a third, quieter problem. Steiner imagined an economy run by associations: producers, distributors, and consumers meeting together to decide what should be made, how much, and at what price. Not commanded by the state, not left blindly to the market, but coordinated by the people involved. In 1919 this was impossible at scale. Too many participants, too much local knowledge, too many moving parts for any group of people to hold in their heads. It was the same wall that Friedrich Hayek said no central planner could ever climb.</p><p>AI lowers that wall.</p><p>Coordination that was once impossible becomes ordinary when every participant can be represented by an agent that knows their needs, their capacities, and their commitments, and when those agents can negotiate continuously with one another. Associations can form, dissolve, and reform around real needs, the way flocks of birds turn together without a leader. The same is true of the cultural sphere: schools, clinics, research communities, and artistic circles can organize themselves without needing the market’s money or the state’s permission to coordinate.</p><p>This is the deepest role AI could play. Not as the ruler of the three organisms, and not as a tool owned by any one of them, but as the airframe: a shared, transparent structure through which separate human organizations can find each other, cooperate, and self-assemble while keeping their own sovereignty.</p><p>Perhaps threefolding was never a failed idea. Perhaps it was a design waiting for its engine.</p><h3>Turbulence</h3><p>Every new aircraft meets turbulence. The same forces that make this future possible could also make it dangerous.</p><h3>The opportunities</h3><ul><li><strong>Enterprises designed for flight.</strong> Organizations built around the new engine, small in headcount and vast in reach, where people do the work only people can do.</li><li><strong>The end of scarcity of attention.</strong> Teaching, care, and advocacy offered to everyone, not only to those who can pay for a person’s time.</li><li><strong>Work that becomes a calling.</strong> Managers unbundled into mentors, stewards, and designers, freed from the drudgery of routing paper.</li><li><strong>Self-governing associations.</strong> Economic and cultural communities that coordinate themselves without needing a master.</li><li><strong>More honest accountability.</strong> Decisions recorded, reasons visible, responsibility harder to dissolve.</li></ul><h3>The risks</h3><ul><li><strong>The journeymen win.</strong> AI is absorbed into the old structure, the bird keeps flapping, and the promise is spent on making the same hierarchy slightly faster.</li><li><strong>Runaway companies become new kings.</strong> Companies beyond the reach of competition, entrusted with people’s whole lives, gather power no one granted them.</li><li><strong>The spheres fuse again, invisibly.</strong> If one AI platform runs a society’s schools, markets, and courts at once, the three organisms are tangled again at the level of infrastructure, whatever the institutions claim on paper.</li><li><strong>The purpose is written by the few.</strong> If legitimacy now lives in the goals given to AI, then whoever writes those goals holds the real throne.</li><li><strong>Being known becomes being watched.</strong> The same memory that lets an institution care for you can let it control you.</li></ul><p>The difference between the two lists is not technology. It is design: who owns the system, who sets its purpose, and whether its boundaries are protected.</p><h3>Epilogue: The Word Was Never Lost</h3><p>In the Masonic telling, Hiram dies with the Master’s Word unspoken, and the guild mourns it as lost. The temple is finished without him, and for centuries his followers search for what they believe they have lost.</p><p>But perhaps the Word was never a password at all. Perhaps it was the knowledge every true builder carries: that structures are made by people, and what people have made, people can make again, and better.</p><p>For most of history, that knowledge was dangerous. It threatened kings and frightened journeymen, and so it was kept secret. Now the Queen of Sheba has come to every court, and she is whispering it to anyone who will listen. We do not have to build the bird again. We can design the airframe. We can separate the wings from the engine, free the care of people from the machinery of profit, and let communities find each other without asking anyone’s permission.</p><p>The first airplanes were fragile things of wood and cloth. They flew only a few hundred meters. Yet within one human lifetime, people crossed oceans in an afternoon.</p><p>The first AI-native enterprises will be just as fragile, and just as small. But if we build them with a deep understanding of what it means to be human, they will carry us somewhere no bird has ever flown: toward a world where every person can be known, taught, cared for, and defended, and where the temple belongs, at last, to everyone who lives in it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9c14e62e2513" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[You Already Spend Millions on Cloud. Your Agent Architecture Should Work With That Reality.]]></title>
            <link>https://medium.com/@majid.fekri/you-already-spend-millions-on-cloud-your-agent-architecture-should-work-with-that-reality-470a5913576d?source=rss-b25f2a23e96f------2</link>
            <guid isPermaLink="false">https://medium.com/p/470a5913576d</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[cloud-optimization]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <dc:creator><![CDATA[Dr. Majid Fekri]]></dc:creator>
            <pubDate>Sat, 26 Sep 2026 12:06:01 GMT</pubDate>
            <atom:updated>2026-09-26T12:06:01.287Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NxOK-zvV4zcAXXqli556Aw.jpeg" /></figure><p>For many software companies, the cloud bill is no longer a theoretical expense.</p><p>There is already a commitment.</p><p>There are negotiated rates.</p><p>There are internal targets.</p><p>There may even be pressure from finance to make better use of the spend.</p><p>Then a new AI project arrives.</p><p>And suddenly the architecture team is evaluating another vendor.</p><p>That’s when procurement gets complicated.</p><h3>The technical decision and the budget decision are connected</h3><p>Engineers tend to ask:</p><p>“Does this work?”</p><p>Finance asks:</p><p>“Where does the money come from?”</p><p>Procurement asks:</p><p>“How do we buy it?”</p><p>Those questions are connected.</p><p>A technically good architecture can still be difficult to approve if the purchasing path is complicated.</p><h3>Start with the full cost</h3><p>Don’t compare one vendor’s subscription against another vendor’s subscription.</p><p>Look at the entire memory stack.</p><p>That can include:</p><ul><li>database costs</li><li>retrieval or reranking services</li><li>compute</li><li>memory and indexing infrastructure</li><li>model calls</li><li>engineering time</li><li>operational support</li><li>scaling overhead</li></ul><p>A cheaper database does not necessarily mean a cheaper architecture.</p><h3>Then look at the procurement path</h3><p>If your company already has committed cloud spend, marketplace purchasing can sometimes make the decision easier because eligible purchases can draw against existing commitments.</p><p>That does not make the technology automatically better.</p><p>It simply changes the budget conversation.</p><p>Instead of:</p><blockquote><em>“We need to find money for another vendor.”</em></blockquote><p>the conversation can become:</p><blockquote><em>“Can we use existing committed spend for this?”</em></blockquote><p>That’s a very different internal discussion.</p><h3>Don’t let procurement drive architecture</h3><p>This matters too.</p><p>Committed spend should never be the reason you choose a technology.</p><p>First decide:</p><p><strong>Does the architecture work?</strong></p><p>Then:</p><p><strong>Does the economics work?</strong></p><p>Then:</p><p><strong>Can we purchase it efficiently?</strong></p><p>That order keeps the technical decision honest.</p><h3>A better financial model</h3><p>When evaluating agent memory, build a three-column comparison:</p><h3>What we run today</h3><p>All infrastructure and engineering costs.</p><h3>What the new architecture replaces</h3><p>Databases, rerankers, infrastructure, model calls and operational components.</p><h3>What remains</h3><p>Application costs, model costs and cloud infrastructure that still belongs to the customer.</p><p>This prevents the common mistake of comparing a vendor licence against only one line item in the current architecture.</p><h3>Why ISVs should think about this early</h3><p>Your customers will eventually ask about all of this too.</p><p>So the way you structure your own infrastructure becomes part of the economics of your product.</p><p>A clean cloud model can make your own platform easier to sell downstream.</p><p><strong>Moorcheh</strong> is designed to support Marketplace procurement and customer-owned cloud infrastructure for dedicated deployments.</p><p>But again, the principle is broader:</p><p><strong>Make the architecture and the purchasing model tell the same story.</strong></p><h3>A practical next step</h3><p>Take your current agent-memory bill and divide it into four buckets:</p><p><strong>Software</strong></p><p><strong>Infrastructure</strong></p><p><strong>Model usage</strong></p><p><strong>Engineering / operations</strong></p><p>Then ask:</p><p><strong>Which of these costs grow linearly as our agent fleet grows?</strong></p><p>That is where the most interesting optimization opportunities usually are.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=470a5913576d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[For Regulated AI, the Memory Question Is Really a Control Question.]]></title>
            <link>https://medium.com/@majid.fekri/for-regulated-ai-the-memory-question-is-really-a-control-question-089a73d05f46?source=rss-b25f2a23e96f------2</link>
            <guid isPermaLink="false">https://medium.com/p/089a73d05f46</guid>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[ai-agents-in-action]]></category>
            <category><![CDATA[regulation]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ai-agent]]></category>
            <dc:creator><![CDATA[Dr. Majid Fekri]]></dc:creator>
            <pubDate>Thu, 24 Sep 2026 12:51:02 GMT</pubDate>
            <atom:updated>2026-09-24T12:51:02.265Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xkn8GWNfv4FrtzFHs_kVfQ.jpeg" /></figure><p>When you’re building AI in a regulated or sovereignty-sensitive environment, “Does the model work?” is only one question.</p><p>The harder questions are:</p><p>Where does the data go?</p><p>Who can access it?</p><p>What does the system remember?</p><p>How long does it remain there?</p><p>Can we audit it?</p><p>Can we control where it is deployed?</p><p>Can we operate it without sending data outside the required perimeter?</p><p>These questions become even more important when agents are allowed to remember information over time.</p><h3>Memory changes the risk profile</h3><p>A request can be temporary.</p><p>A memory can persist.</p><p>That’s a major difference.</p><p>If an agent remembers customer information, employee information, internal decisions or sensitive operational knowledge, the organization now needs to understand the lifecycle of that memory.</p><p>That means thinking about:</p><ul><li>scope</li><li>access</li><li>retention</li><li>export</li><li>deletion</li><li>residency</li><li>auditability</li></ul><p>before production.</p><h3>Don’t add security after the architecture</h3><p>One practical mistake is treating security review as a final procurement step.</p><p>It should happen much earlier.</p><p>Before deploying an enterprise memory system, decide:</p><p><strong>Where will it run?</strong></p><p><strong>Who operates it?</strong></p><p><strong>Which models can access data?</strong></p><p><strong>What leaves the environment?</strong></p><p><strong>How is access controlled?</strong></p><p><strong>What is logged?</strong></p><p><strong>How can memory be exported?</strong></p><p>If those answers are unclear, technical evaluation is premature.</p><h3>Air-gapped is not the same as “secure”</h3><p>The phrase “air-gapped” can sound impressive.</p><p>But it is only useful if the architecture actually supports the operational requirements around it.</p><p>Ask concrete questions.</p><p>Does the system require outbound calls?</p><p>Can models be supplied by the customer?</p><p>Can the deployment remain inside the required region?</p><p>Can the organization control upgrades?</p><p>Can memory be exported independently?</p><p>Can access be audited?</p><p>These questions are much more useful than simply asking whether a product is “enterprise-ready.”</p><h3>Governance should follow the memory, not the vendor</h3><p>Your security model should remain understandable even if the underlying provider changes.</p><p>That means defining your own rules for:</p><ul><li>agent scope</li><li>access</li><li>retention</li><li>residency</li><li>audit</li><li>backup</li><li>deletion</li></ul><p>Technology should implement those rules.</p><p>It should not invent them for you.</p><h3>This is especially important for multi-agent systems</h3><p>With one agent, access boundaries are relatively easy.</p><p>With fifty agents, they become a design problem.</p><p>A customer service agent should not automatically inherit the memory of a finance agent.</p><p>An internal HR assistant should not expose legal information to every other agent.</p><p>The more agents you deploy, the more important explicit memory scope becomes.</p><h3>Where Moorcheh fits</h3><p>Moorcheh is designed to support dedicated deployment, agent-specific scoping, audit logs, contradiction reporting and controlled deployment models, including private and air-gapped scenarios.</p><p>But the larger lesson is independent of any product:</p><p><strong>Enterprise memory is a governance problem as much as a retrieval problem.</strong></p><h3>A practical next step</h3><p>Before your next AI deployment, create a one-page “Memory Data Flow.”</p><p>Show:</p><p><strong>Where memory is created → where it lives → who can access it → which models can process it → where it is backed up → how it is deleted.</strong></p><p>If that diagram is difficult to draw, you probably aren’t ready to scale the system yet.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=089a73d05f46" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[If You Build an Agent Platform, Memory Should Probably Be Part of Your Product Strategy.]]></title>
            <link>https://medium.com/@majid.fekri/if-you-build-an-agent-platform-memory-should-probably-be-part-of-your-product-strategy-c9c2bfb6269a?source=rss-b25f2a23e96f------2</link>
            <guid isPermaLink="false">https://medium.com/p/c9c2bfb6269a</guid>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[product-management]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <dc:creator><![CDATA[Dr. Majid Fekri]]></dc:creator>
            <pubDate>Tue, 22 Sep 2026 12:46:01 GMT</pubDate>
            <atom:updated>2026-09-22T12:46:01.387Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9OjWc6DHK8143eXNCYyNiw.jpeg" /></figure><p>Agent platforms have a difficult job.</p><p>You want developers to build quickly.</p><p>You want the platform to feel complete.</p><p>But every capability you add creates another technical and operational responsibility.</p><p>Memory is one of the biggest.</p><p>Because eventually every serious agent platform gets the same request:</p><blockquote><em>“Can the agent remember?”</em></blockquote><p>Then:</p><blockquote><em>“Can different agents share memory?”</em></blockquote><p>Then:</p><blockquote><em>“Can we control who sees what?”</em></blockquote><p>Then:</p><blockquote><em>“Can we run this in our cloud?”</em></blockquote><p>Then:</p><blockquote><em>“Can you guarantee the behavior at scale?”</em></blockquote><p>At that point, memory stops being a checkbox.</p><p>It becomes part of your platform architecture.</p><h3>The build-versus-embed decision</h3><p>There are good reasons to build memory yourself.</p><p>You may need deep control.</p><p>You may have a unique memory model.</p><p>You may want it to be part of your core intellectual property.</p><p>But there is another question:</p><p><strong>Does building memory improve your platform differentiation, or does it simply increase the surface area you have to operate?</strong></p><p>That distinction matters.</p><h3>Your customers should not have to become memory engineers</h3><p>A platform is successful when developers can focus on the thing they are building.</p><p>They shouldn’t have to understand:</p><ul><li>index management</li><li>retrieval infrastructure</li><li>memory reconciliation</li><li>scaling behavior</li><li>cross-agent scope</li><li>operational recovery</li></ul><p>They need an interface that makes those things predictable.</p><h3>Think about memory as a platform capability</h3><p>A useful abstraction is:</p><p><strong>Agent</strong></p><p>→ <strong>Memory management</strong></p><p>→ <strong>Retrieval</strong></p><p>→ <strong>Application</strong></p><p>This gives your platform a clean boundary.</p><p>Your users work with agents.</p><p>The platform handles how those agents remember.</p><p>That also opens a path to shared memory across multiple agents while keeping individual scopes intact.</p><h3>The downstream economics matter too</h3><p>The decision affects your customers.</p><p>If every customer has to assemble their own memory architecture, your platform becomes harder to adopt.</p><p>If memory is available as a standard capability, you remove work from their teams.</p><p>That can become a product differentiator in its own right.</p><h3>A simple test</h3><p>Ask ten of your existing customers:</p><blockquote><em>“If persistent memory were built into the platform tomorrow, what would you build with it?”</em></blockquote><p>Then ask:</p><blockquote><em>“What would you no longer need to build yourself?”</em></blockquote><p>Those answers will tell you whether memory belongs inside your product strategy.</p><h3>Where Memanto and Moorcheh can help</h3><p>Memanto is a memory agent focused on the management side of memory.</p><p>Moorcheh is the retrieval engine underneath it.</p><p>That combination can be used as a reference architecture or as infrastructure behind a larger agent platform.</p><h3>A practical next step</h3><p>Don’t start with an integration project.</p><p>Start with one use case.</p><p>Pick one agent workflow where memory is already causing friction.</p><p>Map the customer experience, the technical boundary and the operational burden.</p><p>Then decide whether memory should be something you build, something you embed, or something you integrate.</p><p>That is a much better decision than simply asking which API is easiest to call.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c9c2bfb6269a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>