IN THIS BREAKDOWN · 10 SECTIONS
You can read 13% of this breakdown.
The paper in one minute
An agent can work for a long time without sending its entire history to the model on every step. NVIDIA's November 2026 paper tests that proposition by replacing accumulated conversations with compact task state, then continuing in fresh contexts. For long documents, the agent reads selected passages from files instead of receiving every page in its initial prompt.
The authors compare full-history accumulation, compaction at a token threshold, and compaction after every action. On the tested software-engineering tasks, even the last approach remains useful. The result supports an engineering choice: treat context as a working set assembled from durable evidence. It does not establish that an arbitrary summary preserves everything a later question might require.
The cost claim needs a separate reading. The paper measures open-weight model throughput at different context lengths, then uses those measurements to estimate what context-sensitive pricing could look like for other models. Its estimated savings are not invoices. In one reported comparison, nominal API spend rises despite the modeled cost falling. Keep those columns separate before promising a customer a cheaper agent.
Research notes: the problem, approach and results
Opus SWE-bench Verified accuracy, full history to single-action compaction (Table 2)
median peak context for the same Opus comparison (Table 2)
derived nominal GPT cost change, full history to 16K/12K compaction on SWE-bench Verified (Table 3)
Long agent runs accumulate tool output and decisions, making each subsequent model call carry more history.
Keep a bounded working context, carry task state across fresh conversations, and read source documents selectively.
The tested tasks often tolerate short contexts, but some settings lose accuracy and modeled infrastructure savings differ from nominal API spend.
Why it matters to an FDE
Context growth creates two customer problems that often arrive together: slow later steps and uncertainty about what the agent still knows. Increasing the window postpones the size limit. It does not decide which evidence deserves attention, preserve a policy exception through summarization, or prove that an action succeeded.
This paper makes a useful experiment concrete. Hold the model, tools and task set fixed, change how history enters each call, and measure the final outcomes. Start with threshold compaction because it preserves recent work directly and gives you a controllable intervention. Keep the complete event record outside the prompt so the agent can recover details that a summary omitted.
The existing context-management concept explains how to allocate that working set. This breakdown adds the research evidence, a cost calculation you can reproduce, and a deployment test for deciding whether more aggressive compaction earns its overhead. Read the title as the authors' argument about their experiments. Long context can still be useful when many details must be considered together or the environment cannot retrieve them reliably.
Understand the mechanism. Try it on a real problem.
Unlock this breakdown and 298 more papers.
Premium opens every paper in full, plus every answer, concept, course and guide on the site. One payment for six months of access.
6 months · One payment · No auto-renewal
- ◇1 architecture diagram
- </>2 runnable code blocks
- ▦3 results tables
- 03Key takeaways
Six distinctions that keep context-compaction results useful rather than misleading
Free account - 04How it works
The handoff boundary, selective reading and semantic versus neural state
Premium - 05The numbers that matter
Comparable accuracy and context pairs, plus a nominal-cost counterexample to the savings headline
Premium - 06Try it yourself
Recompute cost per solved task, then show exactly what a lossy summary cannot recover
Premium - 07Where it breaks
Irrecoverable evidence, summary drift, policy loss, and experiments that hide extra work
Premium - 08Using it on a deployment
A reversible experiment with exact state, task-level accounting and an explicit rollback condition
Premium - 09Interview angles
Explain the cost claim, the one-action state boundary and when a longer context is still justified
Premium - 10Read next
Connect compaction to memory management, retrieval quality and the action loop
Premium
