Long-horizon agent memory and context engineering are shifting away from cumulative standing rules, lossy text summaries, and static retrieval toward bounded, on-demand, and provenance-preserving architectures.
Evidence
- Empirical harness and workflow studies (Demystifying the Autoresearch Harness; Gemini 4 Neon coding workflows) show that over-specified standing rules and premature compaction degrade performance, whereas pruning unused skills and folding discrete attempt records outperform static accumulation.
- Failure analyses demonstrate that semantic-density metrics fail to predict memory collapse, multilingual conversational compaction silently corrupts attributes without write-verify-read checks, and text-only summaries discard visual evidence needed for deferred queries (EvoViM).
- New architectures replace heavy generative indexing and flat context stuffing with bounded token stores, deterministic mention-graph retrieval (MGMem), progressive on-demand skill disclosure (STRIDE), dynamic chunk obsolescence scoring (BRAG), and explicit belief-state folding.
Implications
- Engineering teams should enforce explicit token bounds, dynamic pruning, and provenance verification workflows rather than relying on ever-larger context accumulations or naive vector retrieval.
- Platform limits like Google Workspace’s 30-day retention cap on derived memory indexes reinforce designing portable, cross-session distilled, or decentralized memory layers (such as Engram or SKV Network) instead of permanent centralized embeddings.
Concepts
Agent Memory Context Engineering Agents RAG Code Agents Long Context Tool Use MCP
Confidence
high