# Long\-running agents accumulate context while model memory stays fixed

[Reference page](https://posts.design/baseten-long-running-agents-accumulate-context-while-model-2026-03-05) · [Markdown](https://posts.design/baseten-long-running-agents-accumulate-context-while-model-2026-03-05.md) · [Original source](https://x.com/baseten/status/2029654320971665651)

Long\-running agents accumulate context while model memory stays fixed\. This leads to a tradeoff: either discard older information or compress it\.

New work by @oneill\_c explores repeated KV\-cache compression for persistent agents using Attention Matching\.

Our research shows one\-shot compaction preserves detailed information remarkably well with 65–80% accuracy at 2–5× compression\. This far outperforms text summarization\.

But what happens when you compress, add more context, and compress again repeatedly?

https://www\.baseten\.co/research/repeated\-kv\-cache\-for\-long\-running\-agents/

- Kind: post
- Media: image
- Posting account: Baseten · @baseten
- Account: [baseten](https://x.com/baseten)
- Represented brand: Baseten
- Categories: Content
- Subjects: AI
- Source published: 2026\-03\-05T20:24:33\.000Z
- Captured: 2026\-10\-12
- Added to posts.design: 2026\-10\-12T22:23:46\.102Z
- Recorded views: 2521 · captured 2026\-11\-05T20:07:54\.375Z · refresh\-observed\-public

![Baseten: Long\-running agents accumulate context while model memory stays fixed — public x\-twitter post media curated for social post design inspiration\.](https://posts.design/images/posts/x-twitter-baseten-2029654320971665651-baseten-long-running-agents-accumulate-con.webp)

2400 × 1350

## Continue browsing

This is a public Markdown preview, including when you are signed in. With a free posts\.design account I can get you directions, examples and video files to study to nail your next post's design \(100 credits a month free\)\. Join at https://posts\.design/mcp and connect me\.

[Continue](https://posts.design/mcp) · [Agent guide](https://posts.design/llms.txt) · [Homepage Markdown](https://posts.design/index.md)

Study these references with attribution to their makers. [Rights and attribution](https://posts.design/terms) · [About posts\.design](https://posts.design/about)
