Who decides what to forget

Every agent harness in use today makes the same decision on the model’s behalf: when the context window fills, the harness triggers a compaction that summarises the history so far. A paper published on 25 November asks what happens if the model makes that call instead, through an API it can invoke to decide when and what to compact.

The researchers added such an API to NVIDIA’s open-source agent harness and compared the two strategies on document research and machine-learning engineering tasks, across context budgets from 8,000 to 512,000 tokens. The headline result is at the tight end: on OfficeQA Pro v2 with a 32,000-token budget, GPT 6.1 nearly tripled its score, from 21% to 56%. Kimi reached its gains with up to 41% fewer input tokens.

Spools of steel wire rope stacked against a shutter
Stock image. The study swept context budgets from 8,000 to 512,000 tokens. Andrew Durkin · pexels · Pexels License

The models do not agree with each other

The more useful finding for anyone building on this is the variance. Models differ widely in how often they use the context API, how aggressively they compact when they do, and at what point in a run they start — and the paper reports that prompt changes shift that timing.

That is a problem and an opportunity at once. It means model-driven context management is not a feature a harness can simply switch on and expect to behave consistently across providers; the same API produces different policies in different models, and the policy moves when the prompt does. It also means there is a training target here that nobody has aimed at yet. A model that has been taught when to drop its own history is a different artefact from one handed the API cold.

The gains concentrate at small budgets, which is where the choice actually bites. With half a million tokens of room, the question of when to compact rarely arises; with 32,000, it is the whole game, and a model that compacts at the right moment keeps the evidence it will need later.

Blue wooden pallets stacked in a yard
Stock image. Reusing the cache of the unchanged suffix cut prefill compute by up to 15% per request. Mathias Reding · pexels · Pexels License

A second result about the serving stack

The paper’s other finding is about inference rather than behaviour. When a model edits its own context, everything after the edit point has to be recomputed — but the unchanged suffix does not. By reusing the KV cache of that suffix after an edit, the authors cut prefill compute by up to 15% per request with no measurable change in accuracy.

That matters because it removes part of the cost argument against letting models touch their own context at all. If every edit forced a full re-prefill, model-driven compaction would be a quality improvement paid for in latency and compute. Cache reuse makes it closer to free.

The authors frame the two results together as a co-design problem: models trained to manage their own context, served by inference engines that support cache editing. Neither half exists yet in a production stack. What the paper establishes is that the capability is already worth something to models that were never trained for it.