Just-In-Time Agent Memory with Runtime Agentic Research
On the map: LLM agents and tool use → Agent memory systems
Abstract (arXiv)
Memory is critical for AI agents. Many existing agent-memory systems follow an Ahead-of-Time (AOT) design, constructing memory before a specific request arrives. While this reduces online serving cost, such request-agnostic memory construction can discard fine-grained information that later becomes important. To address this limitation, we propose Just-In-Time Agent Memory (JAM), a trainable framework for query-conditioned context construction at runtime. A Memorizer preserves complete raw histories in a hierarchical page-store with compact navigational summaries, while a Researcher iteratively retrieves, inspects, and integrates evidence for each request. To train these memory-use behaviors, we introduce Memory-Gym, an evidence-grounded data synthesis pipeline covering nine task types across six domains, and optimize the Researcher through verified-trajectory supervised fine-tuning followed by Hint-guided Group Relative Policy Optimization. We demonstrate the effectiveness of JAM across a variety of benchmarks on agent memory and long-context processing, where it achieves stronger task performance than AOT-style memory systems while remaining substantially more efficient than prior trained agentic memory approaches. To support reproducibility and future research, we release our anonymized source code at https://github.com/VectorSpaceLab/general-agentic-memory.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 14 of its 32 references that are in the map. First posted on arXiv 28 Sep 2026.
Builds on
14 of 32 references.
Closest ancestors · 5
Same direction, newest first
- 2025Memory in the Age of AI Agents15 Dec
- 2025Look Back to Reason Forward: Revisitable Memory for Long-Context LLM Agents27 Sep
- 2025Memory-R1: Enhancing Large Language Model Agents to Manage and Utilize Memories via Reinforcement Learning27 Aug
- 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory28 Apr
- 2025A-MEM: Agentic Memory for LLM Agents17 Feb
Other references · 9
- 2024M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillationcited by 1,050
- 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 656
- 2025MemAgent: Reshaping Long-Context LLM with Multi-Conv RL-based Memory Agentcited by 235
- 2025LightMem: Lightweight and Efficient Memory-Augmented Generationcited by 163
- 2025Deep Research Agents: A Systematic Examination And Roadmapcited by 122
- 2025Mem-α: Learning Memory Construction via Reinforcement Learningcited by 49
- 2025LongCodeBench: Evaluating Coding LLMs at 1M Context Windowscited by 37
- 2024NovelQA: Benchmarking Question Answering on Documents Exceeding 200K Tokenscited by 31
- 2026Mem-T: Densifying Rewards for Long-Horizon Memory Agentscited by 14
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026AMA-Bench: Evaluating Long-Horizon Memory for Agentic Applications
- 2026MemoryCPT: An End-to-End Agent Memory Framework for Cost-Performance Trade-off
- 2026EvoMemBench: Benchmarking Agent Memory from a Self-Evolving Perspective
- 2026Just-in-Time Memory: Learning to Curate Task-Adaptive Memory for LLM Agents
- 2026MemoryArena: Benchmarking Agent Memory in Interdependent Multi-Session Agentic Tasks
- 2026Coding Agent Memory Post-training: Unlocking the Memory Potential of Pre-trained File Operations for Long-Horizon Tasks via Reinforcement Learning
- 2026Exploring Cross-Scenario Generality of Agentic Memory Systems: Diagnostics and a Strong Baseline
- 2026Memory as a Controlled Process: Learned Adaptive Memory Management for LLM Agents