A new agent memory framework says context management is an architecture problem
Gaurav Dadhich · hf · 2026-07-27
This paper argues that production agent failures are usually caused less by weak reasoning than by poor context management: chat histories, large prompts, tool specs, and tool outputs keep accumulating until the agent drowns in its own memory and cost.
The authors frame this as a lifecycle and architecture problem, not just storage/retrieval, and propose Agentic Context Management (ACM) with five primitives: architecting, ingesting, scoping, anticipating, and compacting/consolidation. They also make an economic case: naive accumulation leads to quadratic token cost, summarization creates an accuracy cliff, and only validated compaction can keep cost linear while preserving fidelity.
A reference implementation, Maximem Synap, is described as a multi-tenant service and reports 92% on LongMemEval and 93.2% on LoCoMo under the paper’s configuration. The paper ends by noting missing benchmark dimensions such as latency, token efficiency, and resistance to context rot.
Related event: Architectures Emerge for Long-Running Agent Context(4 posts)→
More from coding & agent
- DSPy: A software's shortest self-contained description shouldn't be your Claude chat transcript — viksit · 2026-12-02
- It's not a video — agents animate images by writing CSS on SVG markup — cocktailpeanut · 2026-12-02
- Agent Usage Radar: zero-dep local MCP server audits AI coding agents' token spend across Host + WSL2 — Specific_Shock_3465 · 2026-12-02
- Perplexity ships LLM routing cookbook: rule by model capability, not task description — AravSrinivas · 2026-12-02
- Sentry CEO: LLM Agents Still Can't Build Art From Scratch, Demos Lean on Stock Assets — zeeg · 2026-12-02
- Peter Yang: OpenAI still leads at browser use; Codex saved his Japan trip — petergyang · 2026-12-02