TRANSMISSION // 2611.34147v1

Can AI Agents Manage Their Own Context?

Source published

A study finds that model-controlled context editing can improve some task scores and reduce token use, but outcomes vary by model and setting.

AI-generated conceptual illustration for Can AI Agents Manage Their Own Context?
AI-generated conceptual illustration; not documentary evidence.

When an AI agent’s conversation grows too long, its software often decides what to summarize. A technical report tests an alternative: give the model tools to edit its active conversation context, with guidance about when to consider doing so. The results suggest possible benefits under tight limits, but models differ considerably in how they use those tools.

An AI agent working on a task can build up a long history of questions, tool results, documents and code. Eventually, that history may exceed the model’s context window—the text it can consider at once. Many agent systems respond by automatically summarizing older exchanges. But summaries can omit information the agent later needs.

Alessio Devoto and colleagues ask whether models can manage this process themselves. In NVIDIA’s open-source NOOA agent harness, models could select events to compact into a summary; compacted originals were archived and could be retrieved. The comparison system compacted automatically when context usage reached 80%, keeping the initial instructions and 10 most recent events. In the model-driven setup, the model received a context-usage indicator, a warning as the limit approached, and an instruction to consider compacting only once usage reached 85%. Thus, the model had editing tools, but its timing was also guided by the experiment’s prompt.

The team tested four models on two benchmarks, varying context budgets from 8,000 to 512,000 tokens. OfficeQA Pro v2 asks questions about U.S. federal receipts and expenditures using a large document collection. MLE-bench Lite covers 22 machine-learning competitions involving data inspection, coding and prediction submissions. Smaller budgets create greater pressure to manage the active context. They serve as a proxy for longer tasks, not a direct test of every kind of extended work.

The strongest gains depended on the model and task. On OfficeQA Pro v2, GPT-6.1 Sol’s score at a 32,000-token budget rose from 21% with automatic compaction to 56% with model-driven management—nearly three times as high. Reported benefits were most apparent at tight budgets and shrank as budgets grew. On MLE-bench Lite, effects were smaller and limited to the tightest budgets; the authors suggest this may reflect the tasks’ lower context needs.

Models used the editing tools at different rates. In model-driven runs across all tested budgets, GPT, Kimi and DeepSeek made at least one context-API call in 42–53% of tasks, compared with 4% for Claude Opus 5.5. They also differed in how much they compacted and when. Prompt wording mattered: removing the instruction to consider compacting at 85% usage led some models to begin much earlier. At budgets of 128,000 tokens and above, Kimi and DeepSeek without that timing instruction scored about eight points below the automatic-compaction baseline.

Token savings were not universal. At a 32,000-token budget on OfficeQA Pro v2, Kimi used 41% fewer cumulative input tokens with model-driven management and scored slightly higher: 43% versus 41%. At 64,000 tokens, it used about 11% fewer input tokens than its baseline while scoring 57% versus 52%. These are results for particular models and benchmark conditions, not a general guarantee of greater efficiency.

The report also tested whether an inference engine could reduce the computing work caused by context edits. Changing part of a prompt can force an engine to recompute text after the edit, even when that text is unchanged. A prototype reused cached computations for this unchanged suffix. With one open model, Qwen3.6-27B, in one serving engine, it reduced prefill compute by 4–15% per request in evaluations on OfficeQA Pro, MLE-bench Lite and DeepSWE, with no measurable change in task accuracy. Prefill compute is not the same as end-to-end latency or cost, which the authors did not measure.

The evidence has important limits. OfficeQA Pro v2 contains 90 questions and MLE-bench Lite 22 competitions, so small differences may be uncertain. The study covers four models, whose training details were unknown, and its reduced context budgets do not reproduce every feature of genuinely long-running work. The cache-reuse result comes from a single model-and-engine pairing and uses an approximation. The authors’ suggestion that training might help explain some models’ stronger context management is a conjecture, not a tested conclusion.

This is an NVIDIA technical report posted as an arXiv preprint; the evidence provided here does not establish independent peer review. The findings indicate that model-controlled context editing can help under some conditions, while performance depends on the model, task, prompt and serving method. The authors identify training models to manage context and improving inference support as directions for future work; these experiments do not show that the approach is reliable across agents.

Reviewed cross-references

These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.

  • Can AI agents work with less context? A study tests compact memory and selective reading

    Supporting evidence: Both studies report efficiency gains from managing context while maintaining or improving task performance in some tested settings: Devoto et al. found effective model-controlled compaction could improve accuracy and often reduce input tokens, especially at tight budgets; Belcak et al. report that frequent compaction often matched or slightly improved accuracy on their long-horizon tasks. The methods and evaluations differ, so this supports only the bounded point that context reduction can work without an accuracy penalty in some workloads—not a general result across tasks or systems.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2611.34147v1 — Original paper

      Excerpt reference: static/papers/2611.34147v1.md:15-39
      Basis: Paper text
      Source SHA-256: 1575f3d747e1bd6b24845292a492d843528f3263aa8939cbb932334783fe5811

    • 2611.34147v1 — Original paper

      Excerpt reference: static/papers/2611.34147v1.md:1481-1513
      Basis: Paper text
      Source SHA-256: 1575f3d747e1bd6b24845292a492d843528f3263aa8939cbb932334783fe5811

    • 2611.05306v1 — Original paper

      Excerpt reference: static/papers/2611.05306v1.md:1768-1796
      Basis: Paper text
      Source SHA-256: a65dae2aaf0b323453b6889f48775d1072e2b9cecf9de94f4c5b4eafaf6c1232

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.