Get the daily emailDaily email
  1. Home
  2. Research
  3. This story

Model-driven context management beats harness compaction at tight budgets

The paper replaces harness-triggered compaction with a context API that lets the model decide when and what to compact. Tested in NVIDIA's open-source agent harness on document research and ML engineering with budgets from 8K to 512K tokens, GPT 6.1 nearly…

Published Read the original

Ranked #7 of 24 on Friday, November 27

Model-driven context management beats harness compaction at tight budgets

Why it matters

Agent builders working with tight context windows may get better accuracy and lower cost by letting the model manage its own context instead of auto-compacting.

What happened

1 min read

The paper replaces harness-triggered compaction with a context API that lets the model decide when and what to compact. Tested in NVIDIA's open-source agent harness on document research and ML engineering with budgets from 8K to 512K tokens, GPT 6.1 nearly tripled its OfficeQA Pro v2 score at 32K (21% to 56%) and Kimi improved while using up to 41% fewer input tokens. Reusing the KV cache of the unchanged suffix after an edit cut prefill compute by up to 15% per request.

inscraper analysis

Our analysis

Tripling the score at a 32K budget is striking, but gains concentrate at tight budgets and likely shrink with large windows. The paper itself notes models vary widely in how they use the API and that prompt changes shift their behavior, so this is still fragile as a general recipe. The co-design angle, inference engines supporting KV cache edits, is the most interesting part for infrastructure teams. Only the abstract is available, which is not enough to judge the evaluation setup or reproducibility.

More in Research