Reproduce “Forget Freely, Grep Later: Lossless, Index-Free Memory for Long-Horizon LLM Agents” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Ziyan Yang, Taiwei Shi, Jieyu Zhao
GREPMEM keeps agents’ working context compact while preserving interaction history in a searchable plain-text log. At the context limit, the agent summarizes and restarts, then searches logged details with regular expressions. After RL, it scores 95.3% exact-answer accuracy on ContextBench Log Triage, versus 6.6% for SUPO and observation masking. This task-specific result does not guarantee retrieval.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.