MUSE: Multi-Level Memory with Selective Runtime Injection for Scientific Coding Agents
On the map: LLM agents and tool use → Agent memory systems also fits: Software engineering coding agents
Abstract (arXiv)
Historical experience can guide scientific coding at multiple levels, but task-level retrieval may miss implementation lessons that become relevant during execution. We introduce MUSE, a memory management framework combining multi-level memory with selective runtime injection for scientific coding agents. MUSE builds global, approach-level, and implementation-level memory from historical trajectories. At initialization, the agent receives global memory and problem-matched approach-level memory. During execution, current interactions are used to retrieve implementation-level memory. An LLM gate selects relevant experience and generates specific review advice, or skips injection. Across four benchmarks spanning numerical problem solving, kernel optimization, and scientific software repair, MUSE outperforms retrieval and memory baselines on all evaluation metrics. Ablations support the multi-level design and gated injection, while transfer experiments show that memory remains useful across kernel benchmarks. These results show that multi-level memory and selective runtime injection enable effective reuse of experience in scientific coding. Code is available at https://github.com/hr-jin/MUSE.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 18 of its 27 references that are in the map. Submitted 28 Oct 2026.
Builds on
18 of 27 references.
Closest ancestors · 4
Same direction, newest first
- 2026AdaMEM: Test-Time Adaptive Memory for Language Agents4 Jun
- 2025Remember Me, Refine Me: A Dynamic Procedural Memory Framework for Experience-Driven Agent Evolution11 Dec
- 2025Agent KB: Leveraging Cross-Domain Experience for Agentic Problem Solving8 Jul
- 2025A-MEM: Agentic Memory for LLM Agents17 Feb
Other references · 14
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,841
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,655
- 2023ExpeL: LLM Agents Are Experiential Learnerscited by 1,067
- 2023Synapse: Trajectory-as-Exemplar Prompting with Memory for Computer Controlcited by 202
- 2026EvoScientist: Towards Multi-Agent Evolving AI Scientists for End-to-End Scientific Discoverycited by 65
- 2025AccelOpt: A Self-Improving LLM Agentic System for AI Accelerator Kernel Optimizationcited by 33
- 2024TRAD: Enhancing LLM Agents with Step-Wise Thought Retrieval and Aligned Decisioncited by 24
- 2025Adaptive Self-improvement LLM Agentic System for ML Library Developmentcited by 19
- 2026KernelBenchX: A Comprehensive Benchmark for Evaluating LLM-Generated GPU Kernelscited by 16
- 2026SWE-bench Science: Can Coding Agents Resolve Engineering Tasks in Science?cited by 11
- 2026Ask Only When Needed: Proactive Retrieval from Memory and Skills for Experience-Driven Lifelong Agentscited by 9
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026VibeMemBench: Evaluating Memory Systems for Coding Agents on Real Repository Coding Tasks
- 2026REM: What to Store, When to Recall, What to Forget in Experience Memory for Coding Agents
- 2026CoReMem: Cost-Internalizing Memory for Successive Coding Tasks with Prospective Valuation
- 2026Memory Transfer Learning: How Memories are Transferred Across Domains in Coding Agents
- 2026Memory as Infrastructure: Reliability Engineering for Persistent Agent Memory in Months-Long LLM-Assisted Development
- 2026MemTrace: State-Consistent Memory for Long-Horizon Coding Agents
- 2026Stratum: Repository Memory for Coding Agents Beyond the Context Window
- 2026Memory as Code: Declarative Retrieval over Codified Long-Term Memory