الملخص
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.
الكلمات المفتاحية
الموضوع
بيانات النشر
- المجلة
- غير متاح
- وصول مفتوح
- وصول مفتوح أخضر
اقتبس هذه المقالة
APA 7
Yan, B., Li, C., Qian, H., Lu, S., Li, C., & Liu, Z. (2026). Just-In-Time Agent Memory with Runtime Agentic Research. https://omanscience.com/ar/articles/just-in-time-agent-memory-with-runtime-agentic-research
MLA 9
Yan, Bingyu, et al. "Just-In-Time Agent Memory with Runtime Agentic Research." https://omanscience.com/ar/articles/just-in-time-agent-memory-with-runtime-agentic-research.
شيكاغو (المؤلف–التاريخ)
Yan, Bingyu, Chaofan Li, Hongjin Qian, Shuqi Lu, Chaozhuo Li, and Zheng Liu. 2026. "Just-In-Time Agent Memory with Runtime Agentic Research." https://omanscience.com/ar/articles/just-in-time-agent-memory-with-runtime-agentic-research.
هارفارد
Yan, B., Li, C., Qian, H., Lu, S., Li, C. and Liu, Z. (2026) 'Just-In-Time Agent Memory with Runtime Agentic Research', Available at: https://omanscience.com/ar/articles/just-in-time-agent-memory-with-runtime-agentic-research.
فانكوفر
Yan B, Li C, Qian H, Lu S, Li C, Liu Z. Just-In-Time Agent Memory with Runtime Agentic Research. https://omanscience.com/ar/articles/just-in-time-agent-memory-with-runtime-agentic-research
IEEE
B. Yan, C. Li, H. Qian, S. Lu, C. Li, and Z. Liu, "Just-In-Time Agent Memory with Runtime Agentic Research," https://omanscience.com/ar/articles/just-in-time-agent-memory-with-runtime-agentic-research.