Skip to content

Agent memory without compaction: Memvid, Empecta, Letta, Deep Agents and Argentic compared

Which tools keep an agent's memory without summarizing it: Memvid and Empecta Agent Memory as stores your code calls, Letta, LangChain Deep Agents and Argentic as engines that run the loop, what each does when a fact changes, read from each project's own docs, with where Argentic is the worse pick.

Neil Luo · Published · Updated

Correction, 28 November 2026. Any result on this page for LangChain Deep Agents and Claude Agent SDK is superseded and is not a fair comparison. LangChain Deep Agents: it ran without the persistent memory option its documentation recommends for a long-running agent (the memory option with a store-backed /memories/ file), which we did not configure. Claude Agent SDK: it ran with context only: every built-in tool (so no file tools) and every settings file (so no CLAUDE.md memory) was switched off. Reruns with each stack's memory setup are on their own run posts: the Claude Agent SDK with memory ran once, at the smaller of the two windows, and has no run at the larger one; Deep Agents with its memory option was run twice on the five-day shift and has no score (the first attempt stopped on a provider error after its emergency summary, the second was killed by the container's memory limit before it was graded), so nothing compares Argentic with Deep Agents. Argentic's own scores, the Letta runs and the run of the Claude Agent SDK with memory are not affected.

We build Argentic, so weigh what we say about it. We read Memvid, Empecta Agent Memory and Letta's memory files on 28 November 2026, and Deep Agents and the other tools in the older posts on the dates they link to. Every Argentic number names the engine version and model it came from.

What we ran ourselves

We ran Argentic, Letta and LangChain on the 12-hour head-to-head shift (Claude Haiku 5.5, seed 20261217, Argentic four runs, the others one each, 25 November 2026, Argentic on engine 0.104.1), each on the setup the run post lists for it.

Of the tools this page compares, we ran Letta. We have not run Memvid and Empecta Agent Memory yet, so we make no claim about accuracy against them. Our results against LangChain Deep Agents are withdrawn (Superseded 28 November 2026), so we make no claim about accuracy against it until a rerun is published.

Every row is public.

"Memory without compaction" means two different things, and the tools below split along that line. One is a store that never summarizes what you put in it. The other is a way of building each prompt so the history is not cut to fit the window. Memvid and Empecta Agent Memory are stores. Letta, LangChain Deep Agents and Argentic run the agent loop, and they differ in what they do when the history outgrows the window.

Which one is memory without compaction?

  • Memvid keeps an append-only file. Its pages we read describe no summarizing step. It runs no agent: your code searches the file and decides what goes into the prompt.
  • Empecta Agent Memory is a hosted memory layer your agent reaches over MCP. Its README is short. It lists a tool named consolidate and does not say what that tool does, so we cannot say whether it summarizes.
  • Letta keeps memory as files the agent edits, and its older docs describe summarizing older messages to make room.
  • LangChain Deep Agents writes large results to files and, when the window is nearly full, replaces older history with a model-written summary. It is on by default.
  • Argentic keeps a record of every step and does not summarize it. It rebuilds each prompt from that record under a size cap, so the prompt does not grow with the run.

Side by side

Each column is one tool and each row is one question. Every cell links to the page it was read from. A cell that says "not documented" means we did not find it in the pages we read, not that the tool lacks it. For Empecta the only page that describes the product is a plugin README, so its column is thin.

Memvid, Empecta Agent Memory, Letta, LangChain Deep Agents and Argentic compared for agent memory without compaction
QuestionMemvidmemory fileEmpecta Agent Memoryhosted memory over MCPLettaagent platformLangChain Deep Agentsopen source harnessArgenticus
Built forA single-file memory layer for AI agents. One .mv2 file holds the data, a keyword index, a vector index and a time index, with no database or server. GitHub, docs.memvid.comAgent Memory is described as a persistent, multi-tenant memory layer for AI agents, reached over MCP. GitHubA platform for building stateful agents. Letta docsAn open source agent harness for complex, multi-step, long-running work. It adds planning, a virtual filesystem, subagents and long-term memory on top of LangChain and LangGraph. LangChain docs, GitHubA hosted engine for long-horizon agents, the kind that work on one job for hours. our page
Who runs the agentIt runs no agent. It stores and retrieves, and your agent and model run outside it. GitHubYour agent calls it as an MCP server. The README describes no agent loop of its own. GitHubLetta Code is a stateful agent harness, so Letta supplies the loop. GitHubThe harness supplies the loop, and you can change it: it is a library you run, with middleware you can add or replace. LangChain docs, LangChain docs 2Argentic runs the loop. You bring your tools, your prompt and your model key. our page
Does it summarize or compact the history?Memory is described as an append-only sequence of immutable frames. The pages we read describe no summarizing step. GitHub, docs.memvid.comThe README lists a tool named consolidate and does not say what it does. GitHubIts older docs describe compaction: older messages are summarized to make room. The current docs say less about it. Letta docs, Letta docs 2Three steps, all on by default. A tool result over 20,000 tokens is written to the filesystem and replaced by a path and its first 10 lines. At 85% of the model's window, large file-write and edit calls from earlier in the session are replaced by a pointer. If that is not enough, a model-written summary replaces the older history and the newest 10% of tokens stays in full. LangChain docsEach prompt is rebuilt from a record of the run, under a size cap, so the engine chooses what the model reads each time instead of trimming a growing transcript. New hosted agents write no summary of their history. our page
Where an old detail livesEvery frame stays in the file. You search it by keyword (BM25), by vector similarity or by time. Your code decides what to read back into the prompt. GitHubThe README names search_memory and get_memory and does not say how memories are stored or searched. GitHubMemory is Markdown files in a git repository that the agent edits. Files at the memory root load into the system prompt on every turn; directories with their own index stay out until needed. Conversation-history search is separate. Letta docsA text rendering of the original messages is saved to the filesystem as a record. A detail that was summarized away is not in the prompt; the docs say it "must be recovered via filesystem search". The stored message history itself is not altered. LangChain docs, LangChainThe record keeps every step as it happened and is not summarized. The agent can search all of it for an old detail. our page
A fact that changedNot documented. The pages we read do not say how a fact that changed is marked or replaced, and describe no flag for the current version of a fact. The README advertises rewinding or branching a memory state; the docs page describes replay as a way to debug retrieval. GitHub, docs.memvid.comNot documented. The README lists a curate_block tool and does not say how a changed or conflicting fact is handled. GitHubThe agent edits its own memory files, and every edit is committed to git, so earlier versions are kept. The page does not say how an outdated fact is flagged. Letta docsThe agent can update its AGENTS.md memory files. The docs we read do not say how a changed or conflicting fact is handled. LangChain docsWhen the agent records that a rule changed, it names the rule it replaces. The old rule stops binding and leaves the prompt, and the record keeps it. The agent has to say a rule changed: the engine does not spot a contradiction on its own. our page
Where it runsA file you keep yourself, with a Rust core and Node.js, Python and command-line packages. GitHubHosted at memory.empecta.com, with an API key from its console. The README says you can point the plugin at your own deployment. GitHubLetta Cloud, or run it yourself. Letta docsTwo ways. You run the open source SDK in your own process or container, or LangSmith runs it: managed Deep Agents, or your own Agent Server in LangChain's cloud, in yours, or self-hosted. LangChain docs, LangChain docs 2Hosted by us, with a TypeScript client and a Python one. our page
Open sourceApache 2.0. GitHubNot documented in the pages we read. Apache 2.0. GitHubMIT licensed. LangSmith, which hosts and traces it, is a commercial product with a free tier. GitHub, LangChainThe engine is closed source. our page
PriceThe pages we read list no hosted plan or price. GitHub, docs.memvid.comNot documented in the pages we read. A free plan for up to 3 stateful agents, Pro at $20 a month with $20 of credits and up to 20 agents, and Teams Pro at $20 a seat a month. Letta docsThe SDK is free; you pay for model tokens. LangSmith has a free Developer plan and Plus at $39 per seat a month, and its Agent Server is billed on the compute and database it uses. We found no separate price for managed Deep Agents. LangChainPrototype is free and needs no card. It includes 5,000 agent steps a month. Production is $20 a month per organization with 80,000 agent steps included and a higher request rate. You add a card when you buy it, and the subscription starts right away. The first 10 organizations get Production at $15 a month, kept for as long as they stay on it. Past what is included it is $0.25 per 1,000 agent steps. The model's tokens are billed by your own model provider, never by Argentic. our page

Does an append-only store fix a long-running agent?

It fixes one problem and leaves another. A store that never summarizes cannot lose a detail to a summary. But the model still reads a prompt, and the prompt has a limit. Something has to choose what goes in. With Memvid or Empecta that is your code, and if your code reads back everything, the prompt grows with the run. With Argentic it is the engine, which builds each prompt under a cap and lets the agent search the whole record for an old detail.

What happens to a fact that changed?

This is where an append-only store has a question to answer. If a rule changed on Monday and again on Thursday, the file holds three versions. Which one is current?

Memvid's pages we read do not say how a changed fact is marked, and describe no flag for the current version. That may be left to your code, which is a fair design for a storage layer. Argentic answers it inside the engine, from engine 0.112.0: when the agent records that a rule changed, it names the rule it replaces, the old rule stops binding and leaves the prompt, and the record keeps it.

There are two limits. The agent has to say the rule changed, because the engine does not spot a contradiction on its own. And Every condition in our benchmark ran Argentic on engine 0.112.0 or newer. Zep and Graphiti record when a fact stopped being true as part of their design, and we compared them in Where Argentic fits.

Where is Argentic the worse pick?

With its step fee counted, Argentic cost more than Letta over 12 hours at a 100K window. Letta ran beside Argentic in 2 conditions. Over 12 hours at a 200K window, Letta letta-code 0.34.67 scored 0.82 and Argentic engine 0.116.3 scored 0.83. Over 12 hours at a 100K window, Letta letta-code 0.34.67 scored 0.59 and Argentic engine 0.116.3 scored 0.80. One run of each, on Claude Haiku 5.5, so a gap of a few hundredths is not a result.

Argentic is hosted and closed source. If you want a local file you can read, copy and run with no server, Memvid is Apache 2.0 and built for that, and it also indexes images and audio, which we do not. If you want an open-source agent platform where the agent edits its own memory files, Letta is built for that. If you want Empecta's hosted memory over MCP and your agent already runs its own loop, it fits that and Argentic does not.

What have we run?

Argentic is an engine that keeps AI agents right for hours while prompt size is bounded. Against Letta, across the two conditions both ran (Claude Haiku 5.5, seed 20261217, one run of each stack in each row, November 27, 2026 to November 28, 2026; Argentic on engine 0.116.3), Argentic was level over 12 hours at a 200K window (engine 0.116.3 0.83 against Letta 0.82, first of two; within 0.03, which one run cannot separate); scored higher over 12 hours at a 100K window (engine 0.116.3 0.80 against Claude Agent SDK with memory 0.62 and Letta 0.59, first of three). With its step fee counted it cost less over 12 hours at a 200K window and cost more over 12 hours at a 100K window. None of these rows has been rerun on the newest engine (0.116.4), so they describe an older build. The full table, with every row where Argentic lost, is in Compaction or full history for a long-running agent?.

Superseded 28 November 2026: the results against LangChain Deep Agents and Claude Agent SDK are withdrawn. LangChain Deep Agents: it ran without the persistent memory option its documentation recommends for a long-running agent (the memory option with a store-backed /memories/ file), which we did not configure. Claude Agent SDK: it ran with context only: every built-in tool (so no file tools) and every settings file (so no CLAUDE.md memory) was switched off. Those runs stay as dated records and are marked as superseded. Reruns with each stack's memory setup are on their own run posts: the Claude Agent SDK with memory ran once, at the smaller of the two windows, and has no run at the larger one; Deep Agents with its memory option was run twice on the five-day shift and has no score (the first attempt stopped on a provider error after its emergency summary, the second was killed by the container's memory limit before it was graded), so nothing compares Argentic with Deep Agents. Argentic's own scores, the Letta runs and the run of the Claude Agent SDK with memory are not affected. The table's Deep Agents column comes from its documentation, not from a run.

We have not run Memvid or Empecta, and we make no claim that Argentic is more accurate than either. The one longer run is 14 working days at a 200,000-token window (Claude Haiku 5.5, November 29, 2026), one run each of Argentic engine 0.116.4: it was run at a smaller prompt window than the model's own, so it is not a stock-settings result, and nothing is measured longer. We do not claim weeks. If your agent has to carry a project across weeks, no run of ours covers that yet, and you should test any tool on your own events before you rely on it.

Short answers

What is agent memory without compaction?
Two things. A store that never summarizes what is put in it, like Memvid's append-only file. Or a way of building each prompt so the history is not cut to fit the window, which is what an engine that runs the loop does. An append-only store still needs something to choose what goes into the prompt.
Is Memvid an alternative to Argentic?
They do different jobs. Memvid is a single-file memory store your code calls, and it runs no agent. Argentic is a hosted engine that runs the agent loop and builds each prompt from a record of the run. If your loop works and you want a local, open-source store, Memvid fits. Memvid is Apache 2.0 and Argentic is closed source.
How does Argentic handle a fact that changed?
When the agent records that a rule changed, it names the rule it replaces. The old rule stops binding and leaves the prompt, and the record keeps it. This is in engine 0.112.0 and newer. The agent has to say the rule changed, since the engine does not spot a contradiction on its own. Every condition in our benchmark ran Argentic on engine 0.112.0 or newer.
Does Memvid know which version of a fact is current?
The pages we read do not say. They describe an append-only file with a time index and no flag for the current version of a fact. That may be left to the code that calls it.
Does Argentic summarize the history?
No. The record of every step is kept as it happened and is not summarized. Each prompt is rebuilt from that record under a size cap, and the agent can search the whole record for an old detail.
Have you run Memvid or Empecta against Argentic?
No. We make no claim that Argentic is more accurate than either.
Where is Argentic the worse pick?
When you want a local file you control, an open-source agent platform, or hosted memory for a loop you already run. It is hosted and closed source. Our own benchmark also has rows where another stack scored higher, listed in the compaction benchmark guide.

Sources and method: Head-to-head on a 12-hour shift.

More posts.

  1. Updated

    How to run a LangChain agent for hours without it forgetting older facts

    Keep your LangChain or LangGraph tools and let Argentic run the loop: a ready-made engine, no memory layer of your own to build, and a record you can read. The code is checked against the npm client, with what carries over, what does not, what Python gets and where Argentic is the wrong pick.

  2. Updated

    Compaction or full history for a long-running agent? A benchmark over 12 hours and 5 days, with accuracy and cost

    What a long-running agent scores and costs when it has to cut its history by compaction or summarization and when each prompt is built from a record under a size cap: Argentic beside Letta over 12 hours, Argentic's own run over 5 working days, and the rows where Argentic lost. The results for LangChain Deep Agents and the Claude Agent SDK are withdrawn, so there is no standing number for keeping the whole history.

  3. Updated

    My agent forgets details after compaction or summarization: what each stack does, and what to do

    What the Claude Agent SDK, Deep Agents, LangChain's summarization middleware and the OpenAI Agents SDK do when the context window fills, why a detail goes missing, five fixes that work inside any of them, where our own results stand, and when to change who builds the prompt.

  4. Updated

    Claude Agent SDK compaction loses context: what survives, what to move out, and when it is not enough

    What the Claude Agent SDK's docs say automatic compaction keeps and drops, five fixes in order (CLAUDE.md, summary instructions, a PreCompact archive, logging the boundary, subagents), how to tell compaction is the cause, and where our own results stand.

  5. Updated

    LangChain Deep Agents summarization forgets details: what it keeps and where the rest goes

    How Deep Agents handles a full window in layers (offloading large tool results, truncating older calls, then a model-written summary with the originals saved to a file), why a detail can still go missing, three fixes inside Deep Agents, and where our own results stand.

  6. Updated

    Why does my long-running agent cost more every turn? Token cost, and five fixes

    Why a long-running agent's bill grows faster than its run, five ways to bring it down (prompt caching, offloading large tool results, subagents, a spend cap, a bounded prompt) with where each one stops helping, and what a long run cost when we measured it.

  7. Updated

    My LangChain agent is losing the plot on long tasks: forgets its goal, loops, contradicts itself

    Seven ways a LangChain agent loses the plot on a long task, each with its usual cause, the cheapest fix and when the answer is a tracing, evaluation or memory tool instead, then what a long run cost when we measured it.

  8. Updated

    LangChain alternatives for long-running agents: Pydantic AI, LangGraph, Letta, Mem0 and more, by the problem you have

    What it costs to keep a LangChain agent right over a long run, then what to switch to when it gets worse over hours: Pydantic AI, the OpenAI Agents SDK, LangGraph, Mastra and LlamaIndex as loops, Mem0, Zep, Cognee, Supermemory, Hindsight and Letta as memory, and Argentic, each read from its own docs.

  9. Updated

    How to fix context rot in a LangChain agent

    Confirm it is the prompt, find what the agent forgot with a five-fact test, fix what you can inside LangChain, and change who builds the prompt when that is not enough.

  10. Updated

    Best tools for long-running AI agents in 2026, sorted by the job each does

    Argentic, Letta, LangGraph, Hindsight, Mem0, Zep and the agent SDKs sorted by whether they run the loop, build the graph, add memory or trim history, with each read from its own docs and Argentic measured beside Letta on a 12-hour shift.

  11. Updated

    Hindsight alternatives for long-running agents, by why you are leaving

    Mem0, Zep and Graphiti, Letta, LangGraph and Argentic next to Hindsight, matched to the four reasons teams look elsewhere, read from each tool's own docs and pricing page, with where Hindsight stays the better pick.

  12. Updated

    Argentic vs Hindsight: which should a team with a long-running agent use?

    Hindsight is an open-source memory system your code calls, and it helps recall. Argentic is an engine that runs the loop and keeps the agent right at a bounded prompt. What each does, where Hindsight is the better pick, whether to use both, and a one-week test.

  13. Updated

    Should you combine memory tools for a long-running agent?

    Four jobs keep an agent right over hours: the record, the state, search and building each prompt. Why a stack of four tools usually costs more than it gives, what one engine covers, and when combining is the right call.

  14. Updated

    What to buy when your agent gets less accurate after hours: a memory tool or an engine?

    A memory tool helps recall, but an agent that runs for hours still drifts and its prompt keeps growing. Which kind of product fixes which problem, what each costs, and when Argentic is the wrong call.

  15. Updated

    My LangGraph agent gets worse after hours: what should I use?

    Why a LangGraph agent loses accuracy as a run grows, four things to change (three keep LangGraph), how to tell which problem you have, and when moving off LangGraph is the wrong call.

  16. Updated

    Alternatives to Letta for agents that run for hours

    Hindsight, Mem0, Zep and Graphiti, LangGraph and Argentic next to Letta, sorted by the job each does, read from their own docs and pricing pages, with where Letta is the better pick.

  17. Updated

    How to stop an agent's context degrading over a 12-hour run

    Keep a record of the run outside the model and build each prompt from it under a size cap. The seven parts to build, a test that plants facts at hour one and asks at hour eleven, and when to buy instead.

  18. Updated

    Context degradation (context rot) in AI agents: what it is, what causes it and how to stop it

    Context degradation, often called context rot, is an agent getting less accurate as a run gets long. The six causes, what each fix gives up, a test you can run on your own agent, and what we have and have not measured.

  19. What happens to a long-running LangChain agent after hour 6 (measured on three stacks)

    One simulated 12-hour shift with every model call logged: when LangChain's, Letta's and Argentic's prompts crossed 100K tokens, what each spent, where it stopped and what it scored. Argentic did not win on score. The results for LangChain Deep Agents and the Claude Agent SDK are withdrawn.

  20. Context degradation: what rewriting an agent's history costs over hours

    Summarizing, compacting and truncating an agent's history all lose facts it once had. What that looks like, what our 12-hour benchmark did and did not show about it, and a test you can run on your own agent.

  21. Updated

    My agent gets worse as the run gets long: what Lossless Claw, Hindsight, Mem0, Letta and Argentic each do about it

    What Lossless Claw is, and how it, Hindsight, Mem0, Letta, Zep, LangGraph, the OpenAI Agents SDK's compaction and Argentic each handle a long-horizon agent whose window fills up. Read from their docs, with where each is ahead of us.

  22. LangChain Deep Agents or Argentic: what each does when a run outgrows the window

    Deep Agents offloads big tool results to files and summarizes old history. Argentic rebuilds each prompt from a record of the run. How they differ, where Deep Agents is ahead of us, and what we have and haven't measured.

  23. Does a growing transcript hurt a long agent run? Our early test, and the part we retracted

    An early September test of rebuilding the prompt at each task boundary against a growing transcript. The study reports it found more in all three cells, by less than we first claimed, and the claim that a growing context makes an agent worse did not survive our own re-test.

  24. Why an agent juggling many tasks loses track of what's done, pending and blocked

    Six reasons one agent working through many tasks reopens finished ones, forgets blocked ones and reports done too early, what fixes each, and the one underneath. We have no orchestration benchmark yet, and the post says so.

  25. Why an agent's own memory skips things

    Six reasons notes an agent writes for itself leave out the one detail that mattered, what to do about each, and the one underneath. On our shop shift, stock answers were exact on 22 of 28 with the engine keeping the counts and 4 of 28 with the model writing them (Claude Haiku 5.5, engine 0.51.0, 2 November, one run each).

  26. Why your agent forgets things after compaction

    Six reasons an agent loses details when its context is summarized and restarted, what you can do about each, and the one underneath. Includes our one-run shop-shift numbers and what they don't show.

  27. Why long-running agents lose track of counts

    Six reasons an agent's running totals drift, what to do about each, and the one underneath. On our own 900-event shop shift, stock questions were exact on 22 of 28 with the engine keeping the counts and 4 of 28 with the model writing them (Claude Haiku 5.5, engine 0.51.0, 2 November, one run each). Six answers were still wrong.

  28. Why your agent repeats an action it already took

    Six causes of a repeated refund or email, from a missing stop condition to a record the agent lost, what fixes each, and the one underneath most of them. Our November rerun had no refund applied twice, with a key on the tool in both runs.

  29. Where Argentic fits next to the agent SDKs and the tools around them

    A table-by-table read of the Claude, OpenAI and Amazon agent SDKs, then Mem0, Zep, LangGraph and Letta, from their own docs, with where each is ahead of us.

  30. A plain transcript loop or an engine like ours: when each is the right call

    What the plain loop does well, where it runs out, and what the engine costs you.

  31. Why your agent forgets things from a long history

    On Gemma 4 31B, with histories of about 1.2 million tokens, a loop that keeps only about the newest 100,000 tokens got 5 of 60 right and the engine got 38. What we ran and what it doesn't show. The engine version is not recorded in the public rows.

  32. Does summarizing old context lose details? We measured it

    On Gemma 4 31B, with histories of about 1.2 million tokens, our own note-rewriting loop got 17 of 60 and the engine got 38 of 60. Most of the loop's misses were answers saying the detail wasn't in its notes (29 of 43). The engine version is not recorded in the public rows.

  33. Resuming an agent after a crash without repeating a finished action

    We killed a real server mid-run with SIGKILL and finished the work from another process. What was not repeated, and what a retry can still do.

  34. Checking what your agent was shown on each turn

    Replay re-checks every prompt against what was recorded: 1,754 of 1,754 turns matched. It checks the prompt side only. The engine version is not recorded in the public rows.

  35. Run your first long-running agent with an API key

    Sign in to the Argentic dashboard, make an API key and run an agent that remembers. What you get, what we've measured and what isn't there yet.

  36. Undoing what a bad source caused, from the record alone

    When a source was flagged after the run, the engine undid what it could have caused, using undo functions the host supplies, and finished without it, in 156 of 156 runs: 120 scripted, and 36 live Haiku 5.5 runs, 24 of them with the compromise forced. The live runs were rerun after an engine fix; the first 12 had 2 worlds missing benign effects. The engine version is not recorded in the public rows.

  37. Why we rebuild an agent's context instead of appending to it

    What rebuilding context from a record changes, in plain terms, and the limits of what we have measured so far.