Proactive Memory Agent for Long-Horizon Tasks
Md. Shakhoyat Rahman Shujon · hf · 2026-07-11
This work focuses on behavioral state decay in long-horizon tasks: as the trajectory grows longer, the state information critical for decision-making gets scattered across the context or even pushed out of the window, causing the agent to "forget" at crucial moments.
Method: Proactive Memory Agent
- Leaves the original action agent unmodified
- Introduces an additional memory agent
- The memory agent continuously maintains a structured memory bank
- It decides when to inject a contextually relevant reminder to the action agent and when to remain silent
Experimental Conclusions
- This module can be directly attached to frontier action agents and existing harnesses as a plug-and-play solution
- It improves pass@1 on both Terminal-Bench 2.0 and τ^2-Bench
- Benefits both weaker and stronger action agents
- Ablation studies show that selective intervention outperforms passive retrieval, constant injection, advisor-only approaches, and general retrieval
Training Attempts
The authors also trained an open-weight memory policy:
- Utilized SETA data
- Employed SFT + GRPO
- Achieved higher validation rewards with partial transfer to Terminal-Bench
Related event: Meta Proposes Active Memory to Fix Long-Horizon Agent Decay(4 posts)→
More from coding & agent
- Kimi K3 rises to No. 4 on the Agent Arena leaderboard — HeyZoyaKhan · 2026-07-22
- Claude adds screen-recorded skills that can replay your workflow — CodeByPoonam · 2026-07-22
- Devin adds e2b sandboxes for remote agent execution — badphilosopher · 2026-07-22
- Hermes Agent Refactoring Proposal: Decoupling via Event Bus and Monorepo Slicing — Promptmethus · 2026-07-22
- ty now reads Pydantic config keywords and field metadata — charliermarsh · 2026-07-22
- Pensar Launches AI Security Agent to Autonomously Discover and Patch 0-Days — andriy_mulyar · 2026-07-22