Decoded
Feed

Agentic Context Management: Solving Agent Memory and Cost by Treating Them as Lifecycle and Architecture Problems

arXiv:2607.21503AIIR23 jul 20261 min readHN ×7PDF

Agent memory should be a managed lifecycle, not just a database, to cut cost and forgetting.

92.0%

LongMemEval overall accuracy

Uses the smaller gpt-5-mini as both answer model and judge.

How it works

  1. Agents drown in history

    Re-sending the full chat every turn makes token cost grow quadratically. Crude summaries drop key facts and hurt accuracy.

  2. Five-part context lifecycle

    Design memory per agent, extract structure, scope retrieval by user and org, prefetch ahead, and compact with validation.

  3. High memory benchmark scores

    Synap scores 92.0% on LongMemEval and 93.2% on LoCoMo. Multi-session reasoning stays weakest at 75.2%.

configuresstored memoryfit budgetArchitectingIngestingScopingAnticipatingValidatedcompactingconfiguresstored memoryfit budgetArchitectingIngestingScopingAnticipatingValidatedcompacting
From the paper