Reproduce “Coding Agent Memory Post-training: Unlocking the Memory Potential of Pre-trained File Operations for Long-Horizon Tasks via Reinforcement Learning” 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

Lirui Luo, Kelong Mao, Heming Xia, Rongqing Li, Xinwei Yang, Luyu Chen, Kieran Wong, Yudong Guo and 5 more

CAMG-RL trains one policy to preserve task state in ordinary files and retrieve it through shell actions across shopping, coding, research, and machine-learning tasks. A persistent workspace spans context replacements, while downstream task rewards shape file use. On 512 test tasks, it achieves 54.4% average success versus 48.0% for CompactionRL, with advantages limited to Coding and AutoResearch.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.