38 of 60 on a1.2 million token history.
On LongMemEval_M, with histories of about 1.2 million tokens, the engine got 38 of 60 right with Gemma 4 31B and 29 of 60 with Claude Haiku 5.5. On Gemma 4 31B, two simple loops we wrote ourselves (the code is in the lab repository) got 17 of 60 (one that rewrites its notes) and 5 of 60 (one that truncates its history).
Neil Luo · · Finished
Model: Gemma 4 31B, Claude Haiku 5.5. Engine: version not recorded (October 2026 builds). Run: October 20, 2026.
A dated record. These runs are from October 2026, on engine builds from that month, and we have not rerun them on the current engine, so they do not show how it performs today. They do not include the agent SDKs or Letta.
Older results. These ran on October 2026 builds, and the engine has changed a lot since. Our newest published run is on engine 0.120.0. This has not been rerun on it, so it does not show how the engine performs today.
LongMemEval_M gives an agent a chat history of about 1.2 million tokens, a median of 476 sessions, and then asks a question about it. That is far past any context window, so a plain loop has to drop or compress most of it.
We ran three ways of coping on the same 60 questions: keep the latest 100,000 tokens, keep rewriting notes, or use the engine. On Gemma 4 31B, the engine got 38 of 60 right, the note-rewriting loop 17 and the truncating loop 5.
38 / 60
The engine, twice: a first run and a fresh rerun both scored 38 and differed on 2 questions. The truncating loop scored 5 twice and agreed on every question. Its 5 were two abstention questions and three preference questions answered with generic advice. It scored 0 on multi-session, temporal and single-session-user questions, and the evidence sat inside its window for none of the 60.
The three loops, side by side.
The table on the home page: the same 60 development questions, three ways of coping with a history this long, and the same questions on Claude Haiku 5.5. October 2026 runs, on engine builds from that month.
Argentic engine38 of 60
Loop that rewrites notes17 of 60
Loop that keeps the newest 100,000 tokens5 of 60
On Claude Haiku 5.5 the same 60 questions went 29 of 60 for the engine against 3 for the loop that keeps the newest tokens.
Rewriting notes loses the details.
The summarizing loop folds everything except the newest quarter of its window into notes whenever they pass 100,000 tokens. It never sees the question while it compacts.
LongMemEval_Msummarizing loop vs engine
17 v 38
correct, of 60
Questions answered correctly, by type
Multi-session · 19 questions
Temporal · 20 questions
Preference · 15 questions
Single session, user · 4 questions
Summarizing loopArgentic engine
LongMemEval_Mtruncating loop vs engine
86.6k v 12.6k
prompt tokens a question
Agent prompt tokens per question
Per question · 5 v 38 correct, of 60
Truncating loopArgentic engine
Ten times the history, little lost.
On the same 60 questions Gemma 4 31B with the engine scored 49 on LongMemEval_S, where each history is about 110,000 tokens, and 38 on LongMemEval_M, with about ten times the history. By type on M it got 11 of 15 preference, 13 of 19 multi-session, 8 of 20 temporal, 4 of 4 single-session-user and 2 of 2 abstention questions.
The same 60 on Claude Haiku.
On Claude Haiku 5.5 the engine got 29 of the 60 against 3 for a loop that keeps the last 95,000 tokens by its own estimate (about 126,000 tokens by the API's count). The engine cost about $0.0057 a question and the loop about $0.063. Of the questions only one side got, 27 went to the engine and 1 to the loop (sign test p < 0.001).
On the first 40 of those questions we also ran Anthropic's server-side compaction, with its default prompt and a 40,000 token trigger (not tuned). It got 2 of 40, both abstention questions, against 21 for the engine and 3 for the truncating loop. Most of its answers said the detail was not in its notes.
Read the compaction number as the default setup, not Anthropic's best. Our trigger is well below the one Anthropic recommends, so the history was summarized about 29 times a question, each time on top of the last summary. Anthropic's summarizer was not told to keep dates and numbers. The summarizing loop in the Gemma runs above was, and it also had a larger notes budget and a different model, so the 2 and the 17 say nothing about each other.
What it doesn't show.
60 questions. The development split of LongMemEval_M. The held-out split was not run.
Two models, one Haiku run. Gemma 4 31B answers and judges the 38 of 60 result. The Claude Haiku 5.5 numbers are one run of each arm.
Our own summarizer. The summarizing loop uses a prompt we wrote. A different prompt or a larger notes budget might score higher.
No tuned provider compaction. Anthropic's compaction ran with its default prompt and a 40,000 token trigger, on the first 40 questions only. That is below the 150,000 default of Anthropic's threshold mode, so it compacts about 29 times a question. Our 40,000 estimate was about 58,000 real tokens, just over its 50,000 minimum. It is not a best-effort setup.
Gemma dollars are estimates. Cost per question on Gemma is worked out from token counts at Haiku 5.5 rates, not billed, because those runs were on a free endpoint. The Haiku dollars are billed.
Temporal questions are weak. The engine got 8 of 20. This result does not fix that.
Engine version not recorded. The engine version is not recorded in the public rows, so read these numbers as measured on an older engine build, not on the one live today.
Method.
- Model
- Gemma 4 31B (Google) on NVIDIA NIM's free endpoint, answering and judging for all three loops. Claude Haiku 5.5 (Anthropic) for the engine, a truncating loop and Anthropic's compaction.
- Compared against
- Two plain loops: one keeps the last ~100,000 tokens of history; one summarizes older sessions into notes (capped at ~2,500 words) whenever notes plus recent sessions pass 100,000 tokens, then answers from the notes and the recent sessions.
- Sample
- 60 development questions from LongMemEval_M (median 476 sessions, about 1.2 million tokens each). On Gemma: engine run twice, truncating loop twice, summarizing loop once. On Haiku: engine and truncating loop once on all 60, compaction once on the first 40 (2 errored rows counted wrong).
- Source
- Lab repository, LongMemEval_M pre-registration and result, 2026-10-19 (stronger baseline added the same day), and the Haiku result, 2026-10-20 and 21. The repository is private; the per-question rows are downloadable below.
Every row.
One line per question or run, with what the model answered where the benchmark allows it and whether we counted it right. Recount the accuracy and crash-test counts above with recount.mjs, and read the column notes.
Every claim on this site, what backs it and where we lost: Check our work.
Written up on the blog: A plain transcript loop or an engine like ours: when each is the right call, Why your agent forgets things from a long history, Does summarizing old context lose details? We measured it.
More research.
Older results.
Kept as the record and not rerun on our newest engine, so they do not show how it performs today. Each page says what is old about it and links to what replaced it.
· Finished
HaluMem Long on the engine: no lead over plain RAG
On 120 HaluMem Long questions the engine (0.104.3, Claude Haiku 5.5 answering) scored 74.2% against plain RAG's 69.2% under the benchmark's judge and 52.5% against 55.8% under a second judge. We found no lead. It used 4.8 times the prompt tokens and is behind on multi-hop questions.
74.2 v 69.2 percent correct, engine 0.104.3 against plain RAG on HaluMem Long under the benchmark's judge; no clear lead, Claude Haiku 5.5 answering
· Finished
Run-to-run noise: Argentic four runs, 0.86 to 0.89
Argentic on engine 0.104.1 ran the same 12-hour shift four times on Claude Haiku 5.5 (seed 20261217) and scored 0.86 to 0.89 over hours 1 to 8. Letta's single run (0.90) is above that range.
0.86 to 0.89 hours 1 to 8 across four runs; Argentic engine 0.104.1, Claude Haiku 5.5
· Finished
Head-to-head on a 12-hour shift
On one 12-hour Longshift shift on Claude Haiku 5.5, Argentic (engine 0.104.1) finished for $1.12 counting its own step fee ($0.75 model spend and $0.37 in steps), at standard rates. Letta and LangChain were each stopped by Letta by its $8.00 cap in hour 10, LangChain by its $5.00 cap in hour 6. On the hours they reached, Letta scored above the range of Argentic's runs. Argentic was run four times and scored 0.86 to 0.89; the others once each.
$1.12 to finish a 12-hour shift, step fee counted ($0.75 of it model spend), at standard rates. Letta and LangChain hit their spend caps first
· Finished
Cost against a plain loop
On the same 900-event shop shift on Claude Haiku 5.5, Argentic's model spend averaged $0.33 over five runs against $1.20 for a plain loop that re-sends the whole transcript with prompt caching on, at Haiku's standard prices. Haiku's long-prompt rates make the plain loop's full bill $5.11. With Argentic's own step fee counted, Argentic's run cost $0.59. One plain-loop run.
2.0× less than a plain cached loop, at Haiku 5.5's standard prices, with Argentic's step fee counted (3.6× before the fee); one shop shift, engine 0.81.1
· Finished
The shop shift, engine 0.81.1: prompt size and caching
On a 900-event shop shift on Claude Haiku 5.5, Argentic's largest prompt was 33K tokens against 247K for a plain loop that re-sends the whole conversation, with 97.1% of prompt tokens read from cache. Engine 0.81.1, one run each.
33K largest prompt, against 247K for a plain loop; engine 0.81.1, one run each
· Ongoing
The shop shift, rerun in November
We reran the 900-event shop shift in November on Claude Haiku 5.5, on engines 0.51.0, 0.63.0 and 0.70.1. Earlier facts, owed refunds and double refunds held in every run where the engine kept the state. Stock exact ranged from 10 to 28 of 28 with the configurations tried, and was 83 of 83 with clearer count wording, against 48 of 83 without it. One run per variant, one scenario.
83 of 83 stock answers exact with clearer count wording, against 48 of 83 with the baseline wording; three seeds, one run each, engine 0.70.1
· Finished
11 hours 59 minutes on shift: what the agent remembered
One agent ran the back office of a small online shop for 11 hours 59 minutes of clock time, about 75 minutes of it with our test harness down, on Claude Haiku 5.5, handling 900 of 900 events while its worker was killed 31 times. It answered 81 of 91 callback questions right, including facts stated about 11 hours earlier. No kill made a finished action run again. It did refund 7 orders more than once, which no kill caused. That was before the refund tool could declare one call per order; with that key, none of the twelve November reruns refunded an order twice.
92% of the callback questions about the farthest facts answered right (11 of 12), against 83% when the fact was still in view; one run, engine 0.48.1
· Finished
HaluMem Long: our accuracy lead did not replicate
On 120 HaluMem Long questions our experimental memory pipeline answered 76.7% correctly against plain RAG's 62.5%. That lead did not replicate on two fresh question sets, and the run failed our own pre-registration: it used 1.7 times plain RAG's prompt tokens against a bar of 0.85.
Failed The +14.2 point first-run lead over plain RAG did not replicate on two fresh question sets, and the run missed its own token bar.
· Finished
Our scores next to the published ones
LoCoMo and LongMemEval: our runs (Gemma 4 31B, plus Claude Haiku 5.5 on LongMemEval_S) beside scores that memory vendors and paper authors report, with the answer model and the judge for each row, or "not stated" where none was given. On a fixed 400-question subset of LoCoMo, the Argentic engine scored 83.0%, and the same model reading the whole conversation scored 89.8%.
83.0% on 400 of the 1,540 LoCoMo questions, with a free open model
· Ongoing
Measured on someone else's tasks
Running the engine on τ-bench, a public benchmark. An early gap against the plain loop was most likely a bug in our runner, which counted failed model calls as the agent quitting. Rerun without rate limiting, the engine scored 13 against the loop's 12 on 18 pairs; the loop was not rerun and the engine is newer, so this is not a shown tie.
13 vs 12 paired τ-bench tasks passed, the engine against the plain loop (18 pairs, Nemotron 3 Super; the loop was not rerun)
· Finished
A fraction of the tokens, at a small accuracy cost
Our engine against a model reading a whole chat history, on LongMemEval and four model families. It was never ahead on accuracy and used 0.08 to 0.31 times the tokens. On all 500 questions with Claude Haiku 5.5 it scored 354 against the loop's 373, at about 1/24 of the cost by our list-price estimate, which counts no caching, no embedding calls and no step fee.
0.08–0.31× the tokens of a loop reading the whole history, on LongMemEval_S (49 questions, four models). Never ahead on accuracy
· Ongoing
Two agents, one order
Settlement stopped 11 conflicting runs out of 50 with Claude Haiku 5.5 on permissive tools, and removed no bad outcomes where the tools already checked state. Majority vote over three branches was not significantly better than one agent; a verifier that checked the branches was, though on this task family a plain rule did just as well.
11 → 0 bad runs of 50 with Claude Haiku 5.5 and permissive tools. On Nemotron, 32 of 36 runs stayed bad.
· Finished · Feature removed
Undo what a bad source caused
When a source is flagged after the run, a host that calls the engine's quarantine step undoes the calls linked to it, using undo functions the host supplies, and resumes the agent without it. It is not in the hosted API. Effects with no undo function are refused unless allowed. The agent finished without the source in 156 of 156 runs: 120 scripted, and 36 live, 24 of them with the injection forced.
156 / 156 runs recovered, most of them scripted
· Ongoing
Keep a record, don't let a transcript pile up
We keep a recorded history of the run instead of a growing transcript. What that buys, what it costs, and what we haven't tested yet.
97% of planted changes correct in the final documents, against 72% for a simple loop we wrote ourselves that hides old results and keeps notes (12 paired runs, DeepSeek V4.1 Flash)
· Finished
An early test: record or pile up
An early September test of keeping a record of the run outside the model against a growing transcript, on two long tasks and two models. The study reports the rebuilt arm produced more checked findings in all three cells, by less than we first claimed, and we retracted the claim that a growing context makes an agent worse.
3 / 3 cells where the study reports the recorded-history arm found more, by less than we first claimed