Skip to content

Migrating from Letta: why not a graph memory library, and what to use instead

What Letta's repository and docs now say, why a graph memory library is the wrong move for a long-running agent, a dated run of Argentic beside Letta, and how a Letta agent, memory and tools map to Argentic.

Neil Luo · Published · Updated

We build Argentic, so weigh what we say about it. We checked Letta's repository and Python docs on 2 December 2026 and read other tools' documentation in November 2026. Every Argentic number names the engine version and model it came from.

If you built a long-running agent on Letta's agent server and you are looking for where to go, do not move it to a graph memory library. Graph memory libraries solve a different problem, and the agent you built is the problem they leave open. The tool that fits is an engine that runs the agent's loop and keeps its working state accurate for hours and days. Argentic is one. This page says why, shows our dated run beside Letta, and covers how to move an agent across.

What changed at Letta

Letta's repository README now says the V1 API server is retired, and that the current source lives in letta-ai/letta-code. The docs for its Python package say the package is deprecated and point new development to the Letta Agent SDK. Both are Letta's own statements. We have not tested the new platform, and we do not know what your deployment needs to change, so read Letta's current docs before you decide to move. If your agent runs fine today and you are happy with it, you may not need to leave.

Why a graph memory library is the wrong move

A graph memory library stores facts about users and entities, such as a person's preferences or who works where, and your code fetches the relevant ones back into the next prompt. That is the right tool for a chatbot that has to remember people across conversations. It is built for recalling facts about users.

A Letta agent is usually a different job: a long-running, stateful agent that keeps working for hours or days and has to keep its own working state accurate, meaning what it was told, what it did and what changed. A graph memory library leaves that job open for three reasons.

  • It does not run the agent. Your loop is still in charge of the prompt, so the transcript keeps growing and the agent can still drift.
  • It adds to the prompt and does not bound it. Recalled facts go into a prompt that is already getting longer, so each call carries more.
  • It models what is true about users and entities, not what the agent has done and been told during the run.
A graph memory library next to Argentic, for a long-running agent
QuestionGraph memory librarycategoryArgenticus
Built forChatbots recalling facts about users and entities. Long-running agents that keep their own working state right.
Who runs the loopYou. It stores and fetches facts. The engine. Your tools run in your code.
What the model readsWhatever your loop builds, plus recalled facts. What the agent was told, kept as a record of the run and searchable.
Fit for a Letta-style agentPartial. It helps recall, and the prompt still grows. Built for it.

We have not run a graph memory library ourselves, so this describes the design of the category and says nothing about how any one of them scores.

What fits instead

Argentic is an engine that keeps AI agents accurate for hours and days. It runs the loop, keeps everything the agent is told and does as a record, so older facts stay searchable. Your tools run in your own code. It is hosted and closed source.

What we measured beside Letta

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.

Every row is public.

This is a dated run against the Letta version we ran then, which the table names. It says nothing about Letta's current platform, and we have not rerun it. Anyone is welcome to run it against us and prove us wrong: the benchmark is public and every row of ours is published.

Over five simulated working days, Argentic engine 0.120.0 scored 0.90 on 1,435 questions (the share answered right): day 1 0.91, day 2 0.90, day 3 0.89, day 4 0.86 and day 5 0.88. Questions about a fact the agent was told 72 to 106 hours (3 to 4.5 days) earlier scored 0.93 (99 questions). Claude Haiku 5.5, a 200,000-token window, December 2, 2026, one run.

Share of questions answered right by simulated working day, Argentic engine 0.120.0 beside LangChain Deep Agents, Claude Haiku 5.5, December 2, 2026
DayQuestionsArgentic engine 0.120.0LangChain Deep Agents (deepagents 1.17.1 + memory)
Day 16880.910.74
Day 21970.900.69
Day 31890.890.61
Day 41810.860.59
Day 51800.880.68

The window was set to 200,000 tokens, smaller than the model's own; that is a test condition, not stock settings. One run, on Claude Haiku 5.5. Identical runs of one Argentic engine on a 108-hour shift at a 200,000-token window have differed by up to 0.09 pooled (2 runs, engine 0.116.1), so a gap that small is noise. This five-day shift has not been repeated, so its own spread is not measured. A longer run, Argentic alone: Argentic engine 0.116.4: 11 of 14 days at 0.80 or higher. Days 8 to 14 scored 0.85, against 0.82 on days 1 to 7. One run on Claude Haiku 5.5 at a 200,000-token window. No other stack ran this long, so this is Argentic's line alone. day 4 (0.73), day 7 (0.78) and day 9 (0.77) scored under 0.80; the lowest was day 4. We have not yet worked out why those days dipped. Facts told 168 to 322 hours (7 to 13.5 days) before the question scored 0.73 on 214 questions, against 0.85 on facts told the same day. That group is one scenario's 214 questions. Lowest kinds of question: contradictions caught (0.00 on 72 questions) and running counts (0.33 on 134 questions). One run, on Claude Haiku 5.5. Identical runs of one Argentic engine on a 108-hour shift at a 200,000-token window have differed by up to 0.09 pooled (2 runs, engine 0.116.1), so the day-to-day swings and a gap that small are noise. This 14-day shift has not been repeated, so its own spread is not measured. The run, with every row. The 14-day run, with every row.

Facts told 72 to 106 hours earlier, 99 questions: Argentic engine 0.120.0 scored 0.93, against 0.37 for LangChain Deep Agents (deepagents 1.17.1 + memory). The run, with every row. On this shift Argentic cost $4.08 with its step fee counted. LangChain Deep Agents cost $5.08 at the same standard rates.

Against Letta, across the two conditions both ran (Claude Haiku 5.5, seeds 20261217 and 87086716, one run of each stack in each row, November 27, 2026 to December 2, 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.120.0), so they describe an older build. Each row is its own shift (the events and the question set differ between rows), so compare the stacks within a row and not a stack with itself down the table. Every row is one run of each stack on Claude Haiku 5.5; a gap of a few hundredths in one run is not a result.

Moving an agent to Argentic

Argentic runs the loop but not your tools. Your app wakes an agent with an event, runs the tool calls it asks for in your own code, and sends the results back. Here is how a Letta setup maps across.

  • A Letta agent becomes an Argentic agent. You name it, and the name is its memory: the same name picks up the same history.
  • Letta's memory blocks or memory files have no direct equivalent. Argentic has no files the agent edits. It keeps a record of what the agent was told and did. To carry knowledge over, send the facts you want the agent to hold as its first events.
  • Letta's tools become plain functions in your own code. Argentic returns the calls as actions, you run them, and the results go back on the next wake.
  • A message to a Letta agent becomes a wake, and you send only the new event. Argentic already has the earlier ones, and refuses a resent history.
  • Models are your choice. Argentic has no default model: you name one and bring that provider's key.
  • Self-hosting does not carry over. Argentic is hosted only.

To try it: make an API key in the dashboard, set it with your model key, and run the support-desk example in the quickstart. It is one file. Prototype is free and needs no card. It includes 5,000 agent steps a month. The pricing page has the paid plans.

When to stay with Letta

Letta is Apache 2.0 and you can run it yourself, which we cannot offer. Its memory model, where the agent keeps and edits its own files, is a design we do not have, and its free plan covers three agents. If you want to read the code of the thing that runs your agent, use Letta or LangGraph. With its step fee counted, Argentic cost more than Letta over 12 hours at a 100K window.

Short answers

Where should I go if I am moving off Letta's agent server?
Not to a graph memory library: those are built for chatbots recalling facts about users, and your own loop still builds a prompt that keeps growing. A long-running agent that has to stay accurate for hours or days needs an engine that runs the loop and keeps a record of the whole run. Argentic is one.
Is a graph memory library a good replacement for Letta?
Usually not. Graph memory libraries are built for chatbots that recall facts about users and entities, and your own loop still builds the prompt, so it keeps growing. A long-running agent that has to stay accurate for hours or days needs an engine that runs the loop and keeps a record of the whole run, which is what Argentic does.
When should I stay with Letta?
If you want an open-source platform you can self-host, with an agent that edits its own memory files. Argentic is hosted and closed source.
Have you run Letta against Argentic?
Yes. Against Letta, across the two conditions both ran (Claude Haiku 5.5, seeds 20261217 and 87086716, one run of each stack in each row, November 27, 2026 to December 2, 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.120.0), so they describe an older build. The post quotes both rows and says what they do not show.

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

More posts.

  1. Updated

    Argentic vs Mem0: a Mem0 alternative for agents that run for hours?

    Mem0 is a memory layer your code calls with add and search. Argentic is an engine that runs the loop and keeps the agent accurate for hours and days. What each does, where Mem0 is the better pick, whether to use both, and a one-week test.

  2. Updated

    Argentic vs Zep: a Zep alternative for agents that run for hours?

    Zep is a context layer that builds a graph of facts your code fetches from. Argentic is an engine that runs the loop and keeps the agent accurate for hours and days. What each does, where Zep is the better pick, whether to use both, and a one-week test.

  3. 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.

  4. Updated

    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.

  5. 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 it runs on Argentic: 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.

  6. 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 runs the loop.

  7. 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.

  8. 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.

  9. 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, an engine that manages the context) with where each one stops helping, and what a long run cost when we measured it.

  10. 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.

  11. 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.

  12. 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 runs the loop when that is not enough.

  13. 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.

  14. 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.

  15. 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 accurate for hours and days. What each does, where Hindsight is the better pick, whether to use both, and a one-week test.

  16. 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.

  17. 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.

  18. 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.

  19. Updated

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

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

  20. 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.

  21. 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.

  22. 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.

  23. 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.

  24. 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 keeps a record of the whole run. How they differ, where Deep Agents is ahead of us, and what we have and haven't measured.

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

    An early September test of Argentic's context handling 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.

  26. 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.

  27. 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).

  28. 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.

  29. 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.

  30. 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.

  31. 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.

  32. 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.

  33. 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.

  34. 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.

  35. 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.

  36. 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.

  37. 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.

  38. Why we keep a record of the run instead of a transcript

    What keeping a record of the run instead of a transcript changes, in plain terms, and the limits of what we have measured so far.