Long-running agents accumulate bad memories — dev calls for an explicit memory lifecycle
Arc_bong · reddit · 2026-08-30
A developer on Reddit raises a real-world pain point: for agents running across many sessions, long-term memory works great at first, but after enough history accumulates the effect reverses —
- stale decisions get retrieved even after the underlying situation changed
- conflicting memories from different sessions look equally relevant
- the agent burns context on old, no-longer-useful information
- simply improving retrieval doesn't necessarily improve task outcomes
The core claim: memory systems need an explicit lifecycle, not an ever-growing retrieval store. The author asks the community what works in practice: separating semantic facts / episodic experiences / procedural instructions; decaying, expiring, or periodically consolidating memories; keeping provenance + timestamps so agents can judge trustworthiness; and — most interesting to him — evaluating memory by downstream task success rather than retrieval precision/recall. A memory can be retrieved "correctly" and still make the agent's next action worse. He also compares LangMem, Mem0, Letta, and Lyzr Control Plane, which make different assumptions about where memory should live in the agent stack.
Related event: Long-Running Agents Break as Stale Memories Accumulate(2 posts)→
More from coding & agent
- One prompt, full autonomous run: agent finds a trend, makes song and video in 2h41m — tetsuoai · 2026-12-02
- YouTube explainer breaks down how MCP actually works — S20091981 · 2026-12-02
- ty 1.0 demo: satisfies_all infers length-plus-integer constraints across predicates — charliermarsh · 2026-12-02
- Ruff author contrasts type inference: ty vs Mypy vs Pyright vs Pyrefly on one example — charliermarsh · 2026-12-02
- Danny Postma launches a landing-page course your coding agent takes with you — doooyle · 2026-12-02
- Claude models a Blender scene end-to-end via MCP and rebuilds Blade Runner street in UE5 — nptacek · 2026-12-02