Governing memory lifecycle, not just retrieval, boosts LLM agent reuse
The authors introduce REM, a framework that manages experience memory inside an LLM agent’s think-act loop through three explicit policies: what to store (a phase-structured document), when to recall (withholding implementation details until the agent struggles), and what to forget (eviction after single exposure). On repository-level bug fixing, REM outperforms prior memory systems in retrieval accuracy (68.7% vs 55.6% match@1) and consistently improves end-task resolution while reducing cost.
