GO TO A SECTION

↑ ↓ to navigate · Enter to openExplore all sections →
FDEInterviews logo
RecentarXiv preprint

You don't need long context

NVIDIA tests frequent context compaction and selective reading for AI agents. Learn what survives, what gets lost, and why lower serving cost may not lower your API bill.

Breakdown by FDE Interviews · 14 min read · Updated

About the original · 2026
AUTHORS
Belcak, Muralidharan, Jiang, Fu et al.
FROM
NVIDIA
PUBLISHED
Nov 2026 · arXiv preprint
IN THIS BREAKDOWN · 10 SECTIONS

You can read 13% of this breakdown.

01

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.

THE IDEA, VISUALLY
FULL HISTORY One conversation keeps growing THRESHOLD COMPACTION Resume with task plus a bounded handoff SINGLE-ACTION COMPACTION A fresh conversation for each action Task + history + action + result + next action + result Reach threshold Write handoff Start fresh context Task + state Act, then observe Update state Exact history and artifacts stay outside the working context Reread by reference when the handoff lacks a needed detail
Original schematic of the three context regimes in Section 2.4.1: retain the full conversation, compact at a threshold, or hand off state after each action. The archive is an engineering safeguard discussed in Section 3.1, not evidence that summaries retain every detail.
Research notes: the problem, approach and results
70.0% → 70.2%

Opus SWE-bench Verified accuracy, full history to single-action compaction (Table 2)

32K → 8K

median peak context for the same Opus comparison (Table 2)

+21.1%

derived nominal GPT cost change, full history to 16K/12K compaction on SWE-bench Verified (Table 3)

THE PROBLEM

Long agent runs accumulate tool output and decisions, making each subsequent model call carry more history.

THE IDEA

Keep a bounded working context, carry task state across fresh conversations, and read source documents selectively.

THE RESULT

The tested tasks often tolerate short contexts, but some settings lose accuracy and modeled infrastructure savings differ from nominal API spend.

02

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.

THE FULL BREAKDOWN

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

Get Premium · ₹2,000 / $25
  • ◇1 architecture diagram
  • </>2 runnable code blocks
  • ▦3 results tables
  1. 03Key takeaways

    Six distinctions that keep context-compaction results useful rather than misleading

    Free account
  2. 04How it works

    The handoff boundary, selective reading and semantic versus neural state

    Premium
  3. 05The numbers that matter

    Comparable accuracy and context pairs, plus a nominal-cost counterexample to the savings headline

    Premium
  4. 06Try it yourself

    Recompute cost per solved task, then show exactly what a lossy summary cannot recover

    Premium
  5. 07Where it breaks

    Irrecoverable evidence, summary drift, policy loss, and experiments that hide extra work

    Premium
  6. 08Using it on a deployment

    A reversible experiment with exact state, task-level accounting and an explicit rollback condition

    Premium
  7. 09Interview angles

    Explain the cost claim, the one-action state boundary and when a longer context is still justified

    Premium
Back to the paper library →