SwiftMem: Fast Agentic Memory via Query-aware Indexing
On the map: LLM agents and tool use → Agent memory systems
Abstract (arXiv)
Agentic memory systems have become critical for enabling LLM agents to maintain long-term context and retrieve relevant information efficiently. However, existing memory frameworks often perform query-agnostic retrieval over the full memory embedding space even when their storage layer is backed by efficient vector indexes such as HNSW. This full-scope retrieval path creates latency bottlenecks as memory grows, hindering real-time agent interactions. We propose SwiftMem, a query-aware agentic memory system that narrows retrieval to query-relevant memory subsets through specialized indexing over temporal and semantic dimensions. Our temporal index enables logarithmic-time range queries for time-sensitive retrieval, while the semantic DAG-Tag index maps queries to relevant topics through hierarchical tag structures. To address memory fragmentation during growth, we introduce an embedding-tag co-consolidation mechanism that reorganizes storage based on semantic clusters to improve locality. Across LoCoMo and LongMemEvalS, SwiftMem reaches 10.8/12.7 ms search latency while maintaining competitive LLM-judge accuracy against strong HNSW-backed memory systems. On the calibrated benchmark, LoCoMo Refined, SwiftMem remains close to the top LLM-judge score while preserving an order-of-magnitude latency advantage.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 21 of its 32 references that are in the map. First posted on arXiv 13 Jan 2026.
Builds on
21 of 32 references.
Closest ancestors · 9
Same direction, newest first
- 2026Membox: Weaving Topic Continuity into Long-Range Memory for LLM Agents7 Jan
- 2026SimpleMem: Efficient Lifelong Memory for LLM Agents5 Jan
- 2025AgentFold: Long-Horizon Web Agents with Proactive Context Management28 Oct
- 2025MemGen: Weaving Generative Latent Memory for Self-Evolving Agents29 Sep
- 2025MIRIX: Multi-Agent Memory System for LLM-Based Agents10 Jul
- 2025G-Memory: Tracing Hierarchical Memory for Multi-Agent Systems9 Jun
- 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory28 Apr
- 2025Zep: A Temporal Knowledge Graph Architecture for Agent Memory20 Jan
- 2024Evaluating Very Long-Term Conversational Memory of LLM Agents27 Feb
Other references · 12
- 2016Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphscited by 853
- 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 656
- 2023MemoryBank: Enhancing Large Language Models with Long-Term Memorycited by 539
- 2024MemoRAG: Boosting Long Context Processing with Global Memory-Enhanced Retrieval Augmentationcited by 118
- 2025AgentEvolver: Towards Efficient Self-Evolving Agent Systemcited by 77
- 2025MemOS: An Operating System for Memory-Augmented Generation (MAG) in Large Language Modelscited by 68
- 2026EverMemOS: A Self-Organizing Memory Operating System for Structured Long-Horizon Reasoningcited by 52
- 2025ATLaS: Agent Tuning via Learning Critical Stepscited by 29
- 2025MemTool: Optimizing Short-Term Memory Management for Dynamic Tool Calling in LLM Agent Multi-Turn Conversationscited by 21
- 2025It's High Time: A Survey of Temporal Question Answeringcited by 12
- 2023AeonG: An Efficient Built-in Temporal Support in Graph Databasescited by 2
- 2025LoopServe: An Adaptive Dual-phase LLM Inference Acceleration System for Multi-Turn Dialoguescited by 1
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Mitigating Provenance-Role Collapse in Long-Term Agents via Typed Memory Representationcited by 5
- 2026Harness the Memory: A Holistic Evaluation of Memory Substrates in Memory Agentscited by 1
- 2026Exploring Cross-Scenario Generality of Agentic Memory Systems: Diagnostics and a Strong Baselinecited by 0
- 2026Mnemon: Raw Records, Fast Judgments, Slow Thoughtscited by 0
- 2026Mnemon: Raw Records, Fast Judgments, Slow Thoughts28 Sep 2026
- 2026Harness the Memory: A Holistic Evaluation of Memory Substrates in Memory Agents15 Aug 2026
- 2026Exploring Cross-Scenario Generality of Agentic Memory Systems: Diagnostics and a Strong Baseline3 Jun 2026
- 2026Mitigating Provenance-Role Collapse in Long-Term Agents via Typed Memory Representation25 May 2026
Similar, not cited
Close in wording, no citation either way
- 2026Memory-Orchestrated Semantic System (MOSS): An Auditable Agentic Memory Architecture
- 2026MemForest: An Efficient Agent Memory System with Hierarchical Temporal Indexing
- 2026Lightweight LLM Agent Memory with Small Language Models
- 2026Memanto: Typed Semantic Memory with Information-Theoretic Retrieval for Long-Horizon Agents
- 2026AMA: Adaptive Memory via Multi-Agent Collaboration
- 2026ShardMemo: Scope-Before-Routing for Agentic Memory Retrieval
- 2026LazyMem: Retrieve Broadly, Construct Selectively for Efficient Long-Term Agent Memory
- 2026Mandol: An Agglomerative Agent Memory System for Long-Term Conversations