Leto: Utility-Centric Agent Memory
Shuguang Chen, Salman Paracha
cs.CL
2026-11-25
Leto treats agent memory as a prediction problem and beats six memory systems on five benchmarks: +16.3 points accuracy on PrefEval.
Mainstream agent memory systems (Mem0, Zep, Letta, Memobase) follow one recipe: extract facts or write summaries when a session ends, retrieve by similarity when a request arrives, insert into context. Their benchmarks grade them the same way, by fidelity: how completely memory covers the conversation, how often retrieval hits the annotated evidence.
Fidelity and utility are different things. A memory system makes two decisions, what to memorize and what to serve, both before the response exists, so fidelity checks neither against the outcome. The paper's example: a user asks to book a hotel near the workshop venue; similarity retrieval surfaces the workshop location and the agent books a hotel three minutes away. The store also holds the fact that the user uses a wheelchair, but the request never mentions it, so it ranks low, and the booked room is unusable. One memory decides the outcome.
The paper names two failure modes: the memorization gap, information discarded at write time that a future request will need, and the serving gap, information the store holds but serving omits. The objective it proposes is computable: the utility of a served memory is the task outcome with it minus the outcome without memory. That difference can be negative, and no level metric on these benchmarks exposes it.
Leto, from DigitalOcean, treats memory as a prediction problem: predict at write time what will matter later, predict at serving time what the response needs, then correct both against observed outcomes. Three mechanisms split the work.
The paper says plainly that this index is a heuristic serving priority, not an estimate of the utility definition above.
Six memory systems (Mem0, LangMem, Hindsight, Letta, Zep, Memobase), plus RAG over the raw history, a no-memory baseline, and a Standalone agent fed the full history. Five benchmarks across three scenarios.
| Benchmark | Metric | Leto | Comparison |
| PrefEval | Preference-following accuracy | 60.5% | Hindsight 44.2%, best memory system |
| PERMA | Completion, two conditions averaged | 76.5% | Memobase 73.4% |
| MemoryArena | Overall progress score | 32.01% | Letta 31.24% |
| MemoryArena | Overall success rate | 18.33% | Letta 17.98% |
| LoCoMo | Accuracy | 71.82% | RAG 74.61% |
| LongMemEval-S | Accuracy | 73.20% | RAG 66.40% |
PrefEval breaks down further. The preference appears in 84% of Leto's served contexts against 12–69% for the other memory systems; when detected, the agent follows it 64% of the time under Leto and 32–56% under the others. Preference-unaware violations drop to 19.1% from 33.8% under Hindsight. Standalone carries the full history, so the preference is in context in every item, yet the agent follows it 3.3% of the time. Presence in context and use are different things.
On MemoryArena the gain over no memory grows with chain depth: in shopping, +1.3 points at the first purchase rising to +7.3 at the sixth; in search, zero at the first question rising to roughly +14 at the eighth, while most other systems stay near zero. Leto is also the only memory system whose useful rate exceeds its harmful rate in all five environments.
Long-context understanding is the honest scenario. RAG still wins LoCoMo by 2.79 points while serving about 1.7x the tokens; Leto wins LongMemEval by 6.80 points against 8x the tokens. Evidence recall is highest for Leto on both, 86.58% and 95.38%, against at most 56.69% and 79.18% for the others. The remaining LoCoMo deficit concentrates in single-hop questions: about 40% of the items RAG answers and Leto does not have an evidence message that no extracted fact points to.
The contribution is the evaluation criterion first, the system second. Utility as an outcome difference against no memory can be negative, and none of the usual level metrics show it. PERMA supplies a ready counterexample: Letta posts the highest memory score, a fidelity measure, in the C-M condition and the lowest MCQ accuracy and completion rate. Fidelity does not track task performance.
Three pieces transfer directly. Fact-as-key, source-as-value indexing keeps more recoverable detail than serving extracted facts alone. Composing profile and task state before the request arrives trades a fixed standing-token cost for preference information independent of request wording. The utility loop is cheap: lexical rules feed it and nothing is trained.
The boundary is just as clear. The more explicitly a request identifies what it needs, the less memory organization buys, and plain RAG is strong on these long-context benchmarks. MemoryArena's absolute success rate is 18.33%; completing long interdependent chains remains unsolved.
The authors' own list is candid. Keeping every conversation costs storage and write-time computation, and retention is not reachability: a message no fact points to gets served only when it falls inside another fact's source, so extraction coverage caps how far the memorization gap can close. The profile and task state are generated summaries that can misstate what conversations established. The utility signal is coarse: every memory served for one response shares its outcome, so an unnecessary memory can be rewarded and a correct one penalized, and a memory never served never earns an observation. Utility is relative to the agent it was observed on and may not transfer. Leto governs what to store and serve, not how the agent uses what it receives.
Two gaps the paper does not quantify. The outcome signals come from lexical rules, and their detection reliability is never evaluated separately, though it directly determines index quality. The standing context costs tokens even when irrelevant to a request, and the paper acknowledges the cost without measuring the noise it adds over long conversations.