From Memory to Guide: Spatio-Temporal Composer for Procedural Coding Memory
cs.AI
Submitted: 2026-10-04
Updated: 2026-10-04
License: http://creativecommons.org/licenses/by/4.0/
The gist: Memory-augmented agents typically integrate procedural knowledge by injecting retrieved skills directly into text prompts.
Abstract
Memory-augmented agents typically integrate procedural knowledge by injecting retrieved skills directly into text prompts. This approach dangerously equates readable text with reliable execution. To bridge this gap, we introduce From Memory to Guide, a novel paradigm that transitions procedural memory from passive text delivery to active, inference-time policy adaptation. We instantiate this paradigm through the Spatio-Temporal Composer, an active policy compiler that explicitly manages exactly how and when retrieved knowledge should be applied. Rather than treating skills as plug-and-play modules, Composer dynamically aligns historical knowledge with current environmental constraints (spatial adaptation) and precisely dictates its applicable lifecycle (temporal orchestration). It actively transforms static memories into strictly bounded Runtime Guides---equipping the agent with localized objectives and behavioral guardrails without requiring a single parameter update. Extensive evaluations on 13 demanding, long-horizon software engineering tasks in EngramBench demonstrate the clear advantages of this architecture. Composer not only robustly prevents context mismatch but drives an absolute pass-rate increase of 7.2 percentage points on the most complex tasks, while simultaneously slashing the main agent's token usage by 32.2%.
Sources
- How to Train Your Advisor: Steering Black-Box LLMs with Advisor Models
- SkVM: Revisiting Language VM for Skills across Heterogenous LLMs and Harnesses
- AtomMem : Learnable Dynamic Agentic Memory with Atomic Memory Operation
- Meta-RL Induces Exploration in Language Agents
- Beyond Experience Retrieval: Learning to Generate Utility-Optimized Structured Experience for Frozen LLMs
- MemQ: Integrating Q-Learning into Self-Evolving Memory Agents over Provenance DAGs
- Enhancing Web Agents with a Hierarchical Memory Tree
- EngramBench: A Capability-Grounded Benchmark for Skill-Evolution Harnesses
- Mem-{\alpha}: Learning Memory Construction via Reinforcement Learning
- Agent Workflow Memory
- SkillRL: Evolving Agents via Recursive Skill-Augmented Reinforcement Learning
- SkillSmith: Compiling Agent Skills into Boundary-Guided Runtime Interfaces
- SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering
- MemAgent: Reshaping Long-Context LLM with Multi-Conv RL-based Memory Agent
- TextGrad: Automatic "Differentiation" via Text
- Agentic Context Engineering: Evolving Contexts for Self-Improving Language Models
- MemRL: Self-Evolving Agents via Runtime Reinforcement Learning on Episodic Memory
- ExpeL: LLM Agents Are Experiential Learners
- Memento: Fine-tuning LLM Agents without Fine-tuning LLMs
Related papers
- MAVEN-T: Reinforced Heterogeneous Distillation for Real-Time Multi-Agent Trajectory Prediction
- Model Discovery Agent: LLM-assisted Bayesian experiment design for data-efficient discovery of mechanistic world models
- Agents' Last Exam
- The Clinician's Veto: Navigating Trust, Liability, and Uncertainty in Autonomous AI Prescribing
- MindHelper: Closed-Loop Embodied Mental-State Reasoning for Precision Intervention
- Incumbent Advantage: Brand Bias and Cognitive Manipulation Dynamics in LLM Recommendation Systems