Skip to main content
An assistant you work with for months has to remember what you told it: the decision from three weeks ago, the number you corrected last Tuesday, the city you moved to, and also when to say “you never told me that”. LongMemEval measures exactly this, and we ran all 500 of its questions through chatcli.

94.6%

of the 260 validation questions, none read while tuning chatcli (246 correct)

96.2%

481 of 500 questions answered correctly on v1.232.0, up from 90.8% in the first round

470 / 470

questions where chatcli’s search surfaced the evidence

19 s · $0.10

median time and average cost per question
chatcli on LongMemEval-S across the five full runs, with 95% intervals. All 500 questions: 90.8%, 94.6%, 95.0%, 95.8% and 96.2% on v1.232.0. Validation half of 260 questions: 91.2%, 93.5%, 92.3%, 95.0% and 94.6% on v1.232.0chatcli on LongMemEval-S across the five full runs, with 95% intervals. All 500 questions: 90.8%, 94.6%, 95.0%, 95.8% and 96.2% on v1.232.0. Validation half of 260 questions: 91.2%, 93.5%, 92.3%, 95.0% and 94.6% on v1.232.0
The numbers above are the latest monthly check: chatcli v1.232.0, run on 2026-11-22.

The story behind the numbers

The article on LinkedIn walks through all 500 questions, the real failures, the bugs the run found and what changed afterwards. Written in Portuguese.

What LongMemEval is

LongMemEval is a benchmark from the paper LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memory (Di Wu, Hongwei Wang, Wenhao Yu, Yuwei Zhang, Kai-Wei Chang and Dong Yu, ICLR 2025). It has 500 hand-curated questions. Each question comes with its own timestamped history of chat sessions. In the S variant that history is about 115k tokens, roughly 40 to 50 sessions of everyday conversation, and the evidence for the answer sits somewhere inside. The questions test five abilities:

Why it matters

  • It is hard on purpose. The paper reports that commercial chat assistants and long-context LLMs show a 30% accuracy drop on memorizing information across sustained interactions. A bigger context window alone does not solve it.
  • It tests the failure users actually see. An assistant that forgets a correction, mixes up two trips or invents an answer it was never given loses trust fast. LongMemEval scores each of those separately.
  • It is reproducible. The dataset, the questions, the gold answers and the judge prompts are public (MIT), so anyone can rerun it and compare.

How chatcli was tested

The goal was to test chatcli the way you use it, not to test the model. Nothing was pasted into the prompt. Each question’s history became chatcli’s own saved sessions, and chatcli had to find the evidence through its memory tools.
1

One isolated installation per question

A fresh CHATCLI_STATE_DIR holds the question’s history as saved sessions; each file’s modification time is the session’s date. Your real memory never mixes in, and your login is reused in place through CHATCLI_AUTH_DIR.
2

The clock set to the question's day

CHATCLI_NOW is the question date, so “two weeks ago” means two weeks before the question, not two weeks before the run.
3

chatcli answers by itself

chatcli -p "/coder …" with Claude Sonnet 5.5 and one neutral instruction: answer from our previous conversations, say so if they do not contain the answer. chatcli decides which tools to call.
4

The official judge

Each answer is graded with the official LongMemEval answer-check prompts, unchanged, run with Claude Sonnet 5.5.

Monthly check

chatcli changes every week, and a change to the prompt, the tools or the search can cost recall without any test failing. So the full benchmark is run again once a month on the latest release, with the same dataset, judge prompts, answering model, driver and split. The question it answers is “did we get worse?”, not “did we get better?”. How to read a check. With the same binary, a full run moves by about ±4 questions: across the first three runs, 53 of the 500 questions flipped at least once. A loss larger than that, confirmed by the sign test, is a regression and gets investigated. Anything smaller is level, whichever way it points.
The 500 questions across the six published runs, one square per question grouped by type: 434 right in all six runs, 59 changed between runs, 7 wrong in all six. Right every time by type: facts the user said 69 of 70, facts the assistant said 54 of 56, knowledge updates 71 of 78, temporal reasoning 111 of 133, preferences 26 of 30, multi-session reasoning 103 of 133The 500 questions across the six published runs, one square per question grouped by type: 434 right in all six runs, 59 changed between runs, 7 wrong in all six. Right every time by type: facts the user said 69 of 70, facts the assistant said 54 of 56, knowledge updates 71 of 78, temporal reasoning 111 of 133, preferences 26 of 30, multi-session reasoning 103 of 133
Across the six published runs, 434 of the 500 questions were answered correctly every time. 59 changed between runs: some were fixed by the product changes of October, the rest pass in one run and fail in the next. 7 were wrong every time. Those 66 questions are where a monthly number moves; the other 434 have not moved once.
Accuracy by question type across the five full runs, first and latest: facts the user said 100% and 100%; facts the assistant said 100% and 98.2%; knowledge updates 94.9% and 98.7%; temporal reasoning 88.0% and 95.5%; preferences 86.7% and 93.3%; multi-session reasoning 83.5% and 93.2%Accuracy by question type across the five full runs, first and latest: facts the user said 100% and 100%; facts the assistant said 100% and 98.2%; knowledge updates 94.9% and 98.7%; temporal reasoning 88.0% and 95.5%; preferences 86.7% and 93.3%; multi-session reasoning 83.5% and 93.2%

November 2026: v1.232.0

The first monthly check ran on 2026-11-22 against the v1.232.0 release, which carries everything merged since the October reference (releases v1.225.0 to v1.232.0). Result: level with October.
  • Two more correct answers is not an improvement. Against October the run gained 10 questions and lost 8 (sign test p = 0.81). On the validation half it gained 5 and lost 6 (p = 1.00). Both are inside what one run varies by.
  • Retrieval did not regress. The session holding the answer reached the model in all 470 answerable questions, and in every one of the 8 questions that were lost.
  • The lost questions were rerun. With the same binary, 5 of the 8 passed. The 3 that failed twice had each failed in 3 of the 5 earlier published runs: they were unstable before this release.
  • Cost and effort did not move: $0.102 per question against $0.100, 3.5 tool calls against 3.4, 78.6k input tokens against 78.0k. All 500 runs finished without an error, in 48 minutes with 4 in parallel ($48.92 answering, $1.84 judging).
What happened to the 21 misses of the October run: 10 are right now, 11 are still wrong; the November run on v1.232.0 has 19 misses, 11 still wrong and 8 newWhat happened to the 21 misses of the October run: 10 are right now, 11 are still wrong; the November run on v1.232.0 has 19 misses, 11 still wrong and 8 new
Where it still fails. Of the 19 misses, 18 are reasoning with the evidence in front of the model and 1 answered a question the history cannot answer. 9 are multi-session questions and 6 temporal. 11 of the 19 were also wrong in October. chatcli used @session get 888 times, @session search 644 times, @memory recall 138 times and @date 64 times in 54 questions. In 56 questions it narrowed searches by date on its own (63 calls). It never went to the web.

Same model, another harness: Claude Code

The model does not answer alone. An agent decides how the history is stored, what a search returns and how much of it reaches the model, and that is the harness. To see how much the harness weighs, the same 500 questions were run on 2026-11-22 through Claude Code 2.1.330, with the same answering model (Claude Sonnet 5.5), the same judge and the same dataset as the chatcli v1.232.0 run of that day.

96.2% and 92.6%

chatcli 481 of 500, Claude Code 463 of 500, with the same model answering

25 to 7

questions only chatcli got right against questions only Claude Code got right (p = 0.002)

$0.046 · 8 s

Claude Code per question: less than half of chatcli’s cost and time
Accuracy by question type with the same model, chatcli v1.232.0 against Claude Code 2.1.330: facts the user said 100% and 98.6%; facts the assistant said 98.2% and 100%; knowledge updates 98.7% and 93.6%; temporal reasoning 95.5% and 90.2%; preferences 93.3% and 93.3%; multi-session reasoning 93.2% and 88.0%; 481 of 500 against 463 of 500 overallAccuracy by question type with the same model, chatcli v1.232.0 against Claude Code 2.1.330: facts the user said 100% and 98.6%; facts the assistant said 98.2% and 100%; knowledge updates 98.7% and 93.6%; temporal reasoning 95.5% and 90.2%; preferences 93.3% and 93.3%; multi-session reasoning 93.2% and 88.0%; 481 of 500 against 463 of 500 overall
The same 500 questions answered by both: 456 both right, 25 only chatcli right, 7 only Claude Code right, 12 neither right. The questions where they differ are 11 temporal, 11 multi-session, 6 knowledge updates, 2 preferences and 1 in each of the two fact typesThe same 500 questions answered by both: 456 both right, 25 only chatcli right, 7 only Claude Code right, 12 neither right. The questions where they differ are 11 temporal, 11 multi-session, 6 knowledge updates, 2 preferences and 1 in each of the two fact types
  • On simple recall they are level. In the three single-session types both answered 153 of 156.
  • The gap is where the answer is spread out. Knowledge updates, temporal reasoning and multi-session questions need every mention found and read: chatcli answered 328 of those 344, Claude Code 310.
  • They search differently. Claude Code made 885 Grep calls and opened a session file with Read in 57 of the 500 questions; the rest it answered from the matching lines. chatcli made 644 searches and opened sessions 888 times. Of Claude Code’s 37 misses, 25 are reasoning with the evidence surfaced, 5 said the evidence was not there, 5 found only part of it, 1 never found it and 1 answered an unanswerable question.
  • Claude Code is cheaper and faster, by more than half on both.
Per question, chatcli against Claude Code: cost $0.102 and $0.046; median time 19.1 and 8.1 seconds; tool calls 3.5 and 2.0Per question, chatcli against Claude Code: cost $0.102 and $0.046; median time 19.1 and 8.1 seconds; tool calls 3.5 and 2.0
What this says. With the model held fixed, the harness moved the result by 18 questions in 500. More context reaching the model cost more and answered more; a lighter search cost less and missed the questions that depend on reading everything.
  • chatcli had already been fixed with this benchmark in hand; Claude Code had not. Nothing was changed for this run. But in October the failures of 240 of the 500 questions (the development half) were read and their causes fixed in the product: a compressor that cut sessions, date arithmetic done in the model’s head, a search that carried one wording. No fix targets a question, and the other 260 were never read. That half is the fairer comparison: 246 against 238, 13 questions to 5 (p = 0.10). The direction is the same, but on its own it is not significant.
  • Claude Code is not a conversation-memory product. It has no store of past conversations to search. Each question’s history was written as plain transcript files in sessions/ of an empty working directory, and the prompt says where they are. chatcli read its own saved sessions with its own tools.
  • The question date. chatcli takes it from CHATCLI_NOW; for Claude Code it is stated in the prompt.
  • A clean Claude Code. It ran with --safe-mode: no user settings, CLAUDE.md, plugins or MCP servers of the machine, no web tools and no saved session.
  • One run each. A run moves by about ±4 questions; the 18 between them is well outside that, the 8 on the validation half less so.
  • Its transcripts were not read. The numbers above are counts over the run, not a reading of individual answers.

Earlier rounds

From here down the page covers the rounds that came before the monthly checks. Each one is collapsed: open it to read its results, what changed in chatcli and where it failed.
Two more full runs on 2026-10-24, with the same dataset, judge prompts, model and split. The first ran main after the memory graph merged (#1877–#1883), as a regression check. The second adds the session search of #1887, which takes several phrasings of the question in one call. The second one is the reference the monthly checks compare against.
chatcli accuracy on LongMemEval-S by question type across the three rounds (first round, second round on the merged main, third round with the session search): facts the user said 100% in all three; facts the assistant said 100%, 98.2%, 100%; knowledge updates 94.9%, 98.7%, 97.4%; temporal reasoning 88.0%, 92.5%, 95.5%; preferences 86.7%, 96.7%, 93.3%; multi-session reasoning 83.5%, 89.5%, 91.7%; 479 of 500 overall in the third roundchatcli accuracy on LongMemEval-S by question type across the three rounds (first round, second round on the merged main, third round with the session search): facts the user said 100% in all three; facts the assistant said 100%, 98.2%, 100%; knowledge updates 94.9%, 98.7%, 97.4%; temporal reasoning 88.0%, 92.5%, 95.5%; preferences 86.7%, 96.7%, 93.3%; multi-session reasoning 83.5%, 89.5%, 91.7%; 479 of 500 overall in the third round
Validation half, 260 questions never read while fixing chatcli, per full run: first round 237 (91.2%), second round on the merged main 243 (93.5%), main plus the memory graph 240 (92.3%), plus the session search 247 (95.0%)Validation half, 260 questions never read while fixing chatcli, per full run: first round 237 (91.2%), second round on the merged main 243 (93.5%), main plus the memory graph 240 (92.3%), plus the session search 247 (95.0%)
  • The memory graph did not move recall: 13 gained, 11 lost against the second round (p = 0.84).
  • The session search gained on questions nobody read: 240 to 247 on the validation half (9 gained, 2 lost, p = 0.065), and 475 to 479 on all 500. That is more than the ±4 a single run moves by, but the intervals still overlap.
  • It costs nothing extra. Tool calls per question fell from 4.7 to 3.4, because one search now carries several phrasings, and cost per question stayed at $0.100. The model used them in all 500 questions.
  • The development half lost 3 (235 to 232). In every development question that flipped to a fail, the evidence session was in front of the model. The misses were reasoning, or readings the reference answer does not share, such as whether “got” means ordered or delivered. Retrieval did not regress.
  • One exception to the split: three validation failures of the base run (07741c45, 6a1eabeb, 830ce83f) were read while checking it for regressions. No change was designed from them, and the table scores the validation half without them too.
Why phrasings. In the multi-session questions, 45 of the 309 evidence sessions (15%) share no word with the question: the user said it in their own words. Before this change chatcli found them by searching again with other words (3.3 searches per question for those, against 2.7). The benchmark runs without an embedding provider, so the gain comes from the phrasings alone, not from the by-meaning layer.
What happened to the 27 second-round misses: 13 fixed, 14 still wrong; the third round has 21 misses, 14 still wrong and 7 newWhat happened to the 27 second-round misses: 13 fixed, 14 still wrong; the third round has 21 misses, 14 still wrong and 7 new

What changed in chatcli

The second round’s misses showed the same pattern again and again: the answer was in a session that used other words than the question, and the agent only reached it by searching a second or third time. Measured over every evidence session of the multi-session questions, 45 of 309 (15%) share no word with the question.

What got worse

  • The development half lost 3 (235 to 232): 5 lost, 2 gained. In all 5 the evidence session was in front of the model; the answers took readings the reference does not share: whether “got” means ordered or delivered, whether booked flights count as flown, how many properties were “viewed before the offer”.
  • By type against the second round: knowledge updates went from 77 to 76 and preferences from 29 to 28.
  • @date is used in fewer questions: 50 against 93 in the base run, since one search now carries more of the question. Temporal reasoning still went from 123 to 127, so this is something to watch, not a measured loss.

Where it still fails

Of the 21 misses, 17 are reasoning with the evidence in front of the model, 2 answered a question the history cannot answer, 1 said the evidence was not there and 1 found only part of it. 11 of the 21 are multi-session questions, and almost all of those are counts and totals (“how many”, “in total”, the page count of two books): the sessions are found, and the sum is wrong or misses an item. 14 of the 21 were also wrong in the second round.
After the first round, chatcli’s misses were read and the causes fixed in the product (listed below). All 500 questions were run again, with the same dataset, judge prompts and model. Two post-change runs exist: one made on the branch before merging (472 correct) and the definitive one on the merged main (473 correct), which is the one described here.To keep the new number honest, the questions were split up front by a fixed rule (sha1(question_id), even or odd): 240 development questions, whose failures were read to design the changes, and 260 validation questions, which nobody looked at until the first post-change run finished.
chatcli accuracy on LongMemEval-S by question type, first round against the second round on the merged main: 100% on facts the user said, 98.7% on knowledge updates, 98.2% on facts the assistant said, 96.7% on preferences, 92.5% temporal reasoning, 89.5% multi-session reasoning; 473 of 500 overallchatcli accuracy on LongMemEval-S by question type, first round against the second round on the merged main: 100% on facts the user said, 98.7% on knowledge updates, 98.2% on facts the assistant said, 96.7% on preferences, 92.5% temporal reasoning, 89.5% multi-session reasoning; 473 of 500 overall
The validation row is the one to quote. Against the first-round run on the same 500 questions the merged code gained 27 and lost 8 (sign test p = 0.002), and it agrees with the pre-merge run within one question (9 gained, 8 lost). One run still moves by about ±4 questions: across three full runs of the first round’s code, 53 of the 500 questions flipped at least once. The validation interval still reaches below 92%.
What happened to the 46 first-round misses: 27 fixed, 19 still wrong; the second round has 27 misses, 19 still wrong and 8 newWhat happened to the 46 first-round misses: 27 fixed, 19 still wrong; the second round has 27 misses, 19 still wrong and 8 new

What changed in chatcli

Reading the transcripts of the misses showed that the answer was in front of chatcli almost every time. It stopped after the first good-looking hit, counted days in its head, or was handed a cut-down page. Each cause became a product change:

What got worse

Abstention went from 27 of 30 to 25: the protocol tells the agent to commit to the best-supported reading, and on two more unanswerable questions it committed to an answer. Cost per question rose about 16% and input tokens about 9%.

Where it still fails

Of the 27 misses, 17 are reasoning with the evidence in front of the model (a count that depends on how “led” is read, a date that matches no stated date), 5 answered a question the history cannot answer, 4 said the evidence was not there and 1 found only part of it. Some of those questions have a debatable reference answer; they are left as they are and count as misses.
chatcli accuracy on LongMemEval-S by question type: 100% on facts the user and the assistant said, 94.9% on knowledge updates, 88.0% temporal reasoning, 86.7% preferences, 83.5% multi-session reasoning, 90.0% abstentionchatcli accuracy on LongMemEval-S by question type: 100% on facts the user and the assistant said, 94.9% on knowledge updates, 88.0% temporal reasoning, 86.7% preferences, 83.5% multi-session reasoning, 90.0% abstention
454 of 500 correct: 90.8% (95% confidence interval 87.9%–93.0%). Averaged across the six question types, so each type weighs the same: 92.2%.

Held-out score

Before the full run, a 60-question sample (10 per type, fixed seed) was used to find and fix weaknesses in chatcli. Those 60 scored 96.7% in the final run, so they are not a neutral test. On the other 440 questions chatcli scored 396/440 = 90.0% (95% CI 86.8%–92.5%), with the same 92.2% task average. That is the conservative number.

Where it failed in the first round

The first run recorded, for every question, which saved sessions hold the answer according to the dataset’s labels and whether those sessions reached the model. That separates finding from reasoning.
Where the 46 misses happened: 27 evidence found but wrong answer, 9 evidence found but the model said it was not there, 6 only part of the evidence found, 3 answered an unanswerable question, 1 evidence never foundWhere the 46 misses happened: 27 evidence found but wrong answer, 9 evidence found but the model said it was not there, 6 only part of the evidence found, 3 answered an unanswerable question, 1 evidence never found
Search is not the bottleneck. The session holding the answer reached the model in 469 of 470 answerable questions. Of the 46 misses, only one was a retrieval miss. The rest are judgment:
  • Counting across sessions (multi-session, 22 misses): “How many projects have I completed since I started painting classes?” — chatcli found 4 of the 5.
  • Date arithmetic and ordering (temporal, 16 misses): “Which book did I finish first?” when one session says “last weekend” and another “just finished”.
  • Too cautious: in 9 questions the evidence was in front of the model and it answered “that is not in our conversations”.
  • Too eager: in 3 of the 30 unanswerable questions it guessed instead of abstaining.
Two of the 46 misses had a different cause, found by reading the transcripts: a search for “St. Mary’s Church” carried an unescaped apostrophe that cut the tool call short. That parser bug is fixed in #1842, and both questions pass when rerun. The 90.8% above is the score as measured, without that fix.

What the first round changed in chatcli

Running LongMemEval found real bugs, and each one was fixed in chatcli itself, not in the test:On the 60-question sample, these changes took temporal reasoning from 8/10 to 10/10, knowledge updates from 8/10 to 9/10 and multi-session from 9/10 to 10/10, with no question going the other way.

Cost and speed

Cost, tool calls, input and time per question in every full run. The table below details the first two rounds; the later runs are in the monthly check table and in each pack’s summary.md.
Per question in the five full runs: cost $0.087, $0.101, $0.099, $0.100 and $0.102; tool calls 4.9, 5.0, 4.7, 3.4 and 3.5; input tokens 71.3k, 77.6k, 77.0k, 78.0k and 78.6k; median time 22.0, 22.1, 19.2, 20.2 and 19.1 secondsPer question in the five full runs: cost $0.087, $0.101, $0.099, $0.100 and $0.102; tool calls 4.9, 5.0, 4.7, 3.4 and 3.5; input tokens 71.3k, 77.6k, 77.0k, 78.0k and 78.6k; median time 22.0, 22.1, 19.2, 20.2 and 19.1 seconds
In the second round chatcli used @session search 1,241 times, @session get 891 times and @memory recall 285 times, and the new @date 62 times in 52 questions. In 94 questions it narrowed searches by date on its own, with the from, to and as_of flags of session search (162 calls). It never went to the web. The cost rose about 16% because the input grew about 9%: the longer memory card, the @date tool definition and session pages that are no longer cut. In the first round chatcli used @session search 1,068 times, @session get 967 times and @memory recall 344 times. In 66 questions it narrowed searches by date on its own, with the from, to and as_of flags of session search (137 calls). It never went to the web.

Read the numbers honestly

The paper’s reference judge is GPT-4o. This run used the same official prompts with Claude Sonnet 5.5 as the judge, so the score is not directly comparable with leaderboard numbers judged by GPT-4o.
The development half (240 questions) was read to design the changes, so its result is optimistic by construction. The validation half (260) was not looked at until the first post-change run finished; the merged-main run covers all 500 again, so its validation half (243 correct, 93.5%, 95% interval 89.8–95.9%) is a fresh measurement. One run per question, so it moves by about ±4. The cost per question rose from $0.087 to $0.101 and input tokens from 71k to 77k, with tool calls per question about the same (4.9 and 5.0): the longer memory card, the @date tool definition and session pages that are no longer cut account for the larger input.
The session search was designed from development failures and from a measurement over all evidence sessions (how many share no word with the question), not from any validation answer. The three validation failures read while checking the base run are excluded in the table’s third row. The development half dropping by 3 while the validation half rose by 7 is within the ±4 a single run moves by on each half.
A monthly check is a regression test, not a new result to celebrate. It runs the same 500 questions on the latest release and asks whether recall got worse. A single run moves by about ±4 questions with the same binary, so a difference smaller than that is reported as level in either direction. No transcript of the November 2026 run was read and no change was designed from it; the questions it lost were only rerun.
The 60-question sample guided the fixes above. The held-out 90.0% on the other 440 is the number that was never seen while fixing chatcli.
Models vary between runs. A question near the edge can flip either way on a rerun.
An evidence session’s name appeared in what the model saw: search results, the auto-recall block or a page it read. It shows retrieval reached the right conversation, not that the model read the exact sentence.
Saved sessions were named chat-<date>-<index>; the dataset’s own ids would have revealed which sessions hold the answer. The date in the name is the same information every search hit shows.

The data

Everything from the run is public in the chatcli repository, under evals/longmemeval:

Run it yourself

You need a Claude login in chatcli (OAuth or API key). Related pages: Memory, Conversation search, Evals.