Long Context Isn't the Fix: Agents Need the Record
A technical report finds compacted agent context loses most exact answers, while search over the full record lifts recall on earlier work from 56% to 90%.
Source: Grafy Research LabA new technical report argues that long-horizon AI agents do not need ever-larger context windows; they need a durable record they can search. The finding matters because compaction keeps agents accurate on task benchmarks while quietly erasing much of what they knew about their own earlier work.
What did the report find?
According to a technical report by Adarsh Srivastava of CtrlB Explore Inc., the study starts from a prior result in arXiv:2611.05306: frequent compaction can keep long-horizon agents accurate on task benchmarks even when their context stays short. The new report, arXiv:2611.39334, asks a different question: what does that short context lose about the agent's own past? At real compaction points in four engineers' coding-agent sessions, the post-compaction context contained exact answers to only 6% of the questions and gist answers to 40%. Agents that had only that context scored between 22% and 35% on questions about earlier work. The report is dated Dec. 1, 2026, and is described as a 13-page technical report with 8 figures and 8 tables.
Why does compaction hurt agents?
Compaction is a practical response to limited context: an agent summarizes or drops older material so it can keep working. The report's measurements suggest that this is not a neutral compression step. Exact details disappear first; only a minority of exact answers survive, while a larger share of gist-level answers remains. That distinction matters for coding agents, which often need a specific file path, command, decision, or error message rather than a general sense of what happened. When the agent is later asked about earlier work, the surviving gist is not enough. This is why a summary can look adequate while failing a precise follow-up. The result is a gap between benchmark performance on the current task and the agent's ability to explain or reuse its own history.
How much does search improve recall?
The report tested retrieval against the compacted context on 50 questions. A baseline that received the history since the previous compaction scored 56%. With search over the full record, the score rose to 90%. The feed summary also says the report describes a setup with the full record in CtrlB Recall and a one-line instruction to search; the available summary cuts off before giving that setup's final result. The clear comparison in the available text is the 56% to 90% jump. In practical terms, the agent does not need every past token in its window. It needs a reliable index and a way to retrieve the right record when a question depends on earlier work.
What does this mean for coding agents?
For developers building or using coding agents, the report points to a design shift: treat the transcript, tool calls, files, and decisions as a searchable record, not as disposable context. Compaction can remain, but it should not be the only memory. A useful system would preserve exact answers where they matter and expose search over the full history. The 22-35% range for agents with only compacted context is a warning about evaluations that ask an agent to recall earlier work. It also suggests evaluation should separate current-task accuracy from recall of prior work. The 90% search result is not a claim that retrieval is perfect; it is a measured improvement on the report's 50-question set.
How to explore the record-versus-context idea in Grafy
The paper is a good fit for Reader, which can read, search, and question PDFs and papers with AI. A reader can use it to pull the report's exact figures and compare them with arXiv:2611.05306. For testing the practical claim, Chat can help draft a small evaluation: list questions about earlier work, compare answers with and without a supplied history, and note where exact details are missing. Grafy does not need to claim a compaction feature to make this useful; the exercise is about retrieval and record-keeping. The broader lesson is to keep the record and search it, rather than assuming a longer context window will solve recall.
Source: https://arxiv.org/abs/2611.39334
Frequently asked questions
Does the report say long context is useless?
No. It argues that long context is not the main fix for agents that must recall earlier work. The report measures loss after compaction and shows that search over a full record improves recall on its 50-question test. It does not claim that larger context windows have no value.
What exactly was measured at compaction points?
The report looked at real compaction points in four engineers' coding-agent sessions. It found 6% exact answers and 40% gist answers in the post-compaction context. Agents with only that context scored 22-35% on questions about earlier work.
Did search produce a perfect score?
No. The available summary reports 56% for a baseline with history since the previous compaction and 90% with search on 50 questions. That is a large improvement, but not a perfect score. The summary also truncates before giving the final result for the CtrlB Recall setup.
Source: Grafy Research Lab — You Don't Need Long Context, You Need the Record


