aifollow.news
Back Rohan Paul
Rohan Paul· @rohanpaul_ai · X· · Original publication time AI score54

NVIDIA study tests frequent history compaction for AI agentsMachine translation

AI introduction

In a new paper, NVIDIA had agents write a short handoff note at a context limit, then restart with only the task and note; for long documents, they searched files using Bash tools. Across six long-horizon benchmarks, no more than five of 22 compaction settings per model scored over two points below full history.

Original post · Original

@rohanpaul_ai

New NVIDIA paper finds that AI agents barely lose accuracy when they keep contexts short by compacting their history often.

Each new token costs more to generate as the context grows. Serving open models at a 256K context window instead of 16K cost 3.6x to 7x more per generated token.

They had agents stop at a set limit, write a short handoff note, and restart with only the task and that note. For long documents, the agent searched files with Bash tools instead of reading everything at once.

On 6 long-horizon benchmarks, at most 5 of 22 compaction settings per model lost more than 2 points versus full history. Compacting after every action kept Claude Opus 4.5 at 70.2% on SWE-bench Verified, versus 70.0% with full history.

Before paying for long context, give agents a structured handoff note and file search tools, then check if short contexts match your accuracy.

Source: Rohan Paul · x.com

Research
Found an error? Send a correction