File 2611.34147, filed 25 November 2026, section: Context & memory
Letting Models Manage Their Own Context: Where We Stand
Alessio Devoto, Avinash Vem, Tara Safavi, Sanjay Kariyappa, Yu-Hsuan Tseng, Paul Furgale, Ricardo Silveira Cabral. NVIDIA
In brief
NVIDIA compares the usual approach, where the harness compacts an agent's history when the window fills, with letting the model decide when and what to compact through a context API.
Why builders should care
Context compaction is a design choice in every long-running agent. This is fresh, direct evidence on whether to own it in the harness or hand it to the model.
How to apply it
- 1.Expose compaction as a tool the model can call, then A/B it against your harness-triggered summary at a tight token budget.
- 2.Log when and how often the model compacts. The paper reports that models differ widely here and that prompt changes shift the timing.
Key results
Quoted from the abstract- We gave models control over their own context in NVIDIA's open source agent harness, and compared the two strategies on document research and machine learning engineering across context budgets from 8K to 512K tokens.
- Models that use the context API effectively reach higher accuracy, often with fewer input tokens, especially at tight budgets: GPT 6.1 nearly triples its score at a 32K budget on OfficeQA Pro v2 (21% → 56%), and Kimi gains with up to 41% fewer input tokens.
- Finally, we show that inference engines can make model-driven edits cheaper: by reusing the KV cache of the unchanged suffix after an edit, we cut prefill compute by up to 15% per request with no measurable change in accuracy.