Cost and Accuracy of Long-Term Memory in Distributed Multi-Agent Systems Based on Large Language Models
On the map: LLM agents and tool use → Agent memory systems
Abstract (arXiv)
Long-term memory (LTM) is fundamental to large language model (LLM)-based agents in the emerging Internet of Agents (IoA), where distributed multi-agent systems (DMAS) span cloud and edge networks. Existing evaluations are typically published by framework providers and focus on token usage and latency, rarely accounting for system-level cost or deployment in DMAS. These gaps are addressed with an independent reproducible testbed that evaluates accuracy, latency, CPU time, peak RAM, disk I/O and network usage in a simulated cloud-edge environment. Three venture capital-funded frameworks spanning vector, graph, and hybrid architectures, namely mem0, Graphiti, and cognee, are compared alongside retrieval-augmented generation (RAG) and full-context baselines on the LoCoMo benchmark under unconstrained and constrained network scenarios. Two clusters emerge: mem0, RAG, and full-context reach 77% to 81% accuracy, while Graphiti and cognee reach only 55% to 56%, a gap driven by retrieval incompleteness rather than reasoning failure. The RAG baseline matches the upper cluster at 8.4 times lower total cost of ownership (TCO) than mem0, and both are the only non-dominated backends on the Pareto frontier. Latency and bandwidth constraints as well as jitter leave retrieval quality unchanged for every backend, while vector-based LTM incurs a modest latency penalty of 4% to 5% under edge-cloud constraints. Compression precision rather than context volume determines LTM accuracy, as full-context forwarding underperforms mem0 despite supplying the entire conversation for each question.
Key facts. Cited by 2 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 65 of its 124 references that are in the map. First posted on arXiv 12 Jan 2026.
Builds on
65 of 124 references.
Closest ancestors · 12
Same direction, newest first
- 2025Hindsight is 20/20: Building Agent Memory that Retains, Recalls, and Reflects14 Dec
- 2025Memoria: A Scalable Agentic Memory Framework for Personalized Conversational AI14 Dec
- 2025Intrinsic Memory Agents: Heterogeneous Multi-Agent LLM Systems through Structured Contextual Memory12 Aug
- 2025MIRIX: Multi-Agent Memory System for LLM-Based Agents10 Jul
- 2025Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactions7 Jul
- 2025G-Memory: Tracing Hierarchical Memory for Multi-Agent Systems9 Jun
- 2025MemGuide: Intent-Driven Memory Selection for Goal-Oriented Multi-Session LLM Agents26 May
- 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory28 Apr
- 2025Zep: A Temporal Knowledge Graph Architecture for Agent Memory20 Jan
- 2024HiAgent: Hierarchical Working Memory Management for Solving Long-Horizon Agent Tasks with Large Language Model18 Aug
- 2024A Survey on the Memory Mechanism of Large Language Model based Agents21 Apr
- 2024Evaluating Very Long-Term Conversational Memory of LLM Agents27 Feb
Other references · 53
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2024A Survey on LLM-as-a-Judgecited by 1,384
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,295
- 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 791
- 2024Large Language Model based Multi-Agents: A Survey of Progress and Challengescited by 752
- 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 656
- 2019Green AIcited by 620
- 2025Multi-Agent Collaboration Mechanisms: A Survey of LLMscited by 424
- 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 367
- 2023A Dynamic LLM-Powered Agent Network for Task-Oriented Agent Collaborationcited by 281
- 2024TradingAgents: Multi-Agents LLM Financial Trading Frameworkcited by 182
38 more
- 2025Evaluation and Benchmarking of LLM Agents: A Surveycited by 145
- 2024LLM Multi-Agent Systems: Challenges and Open Problemscited by 119
- 2024G-Designer: Architecting Multi-agent Communication Topologies via Graph Neural Networkscited by 110
- 2025AgentNet: Decentralized Evolutionary Coordination for LLM-based Multi-Agent Systemscited by 86
- 2024AutoML-Agent: A Multi-Agent LLM Framework for Full-Pipeline AutoMLcited by 84
- 2024Internet of Agents: Weaving a Web of Heterogeneous Agents for Collaborative Intelligencecited by 80
- 2024NetLLM: Adapting Large Language Models for Networkingcited by 76
- 2025G-Safeguard: A Topology-Guided Security Lens and Treatment on LLM-based Multi-agent Systemscited by 56
- 2025Evaluating LLM-based Agents for Multi-Turn Conversations: A Surveycited by 56
- 2023Large Language Model Enhanced Multi-Agent Systems for 6G Communicationscited by 53
- 2025AutoAgent: A Fully-Automated and Zero-Code Framework for LLM Agentscited by 49
- 2025A Survey on the Optimization of Large Language Model-based Agentscited by 45
- 2024Cost-Effective Online Multi-LLM Selection with Versatile Reward Modelscited by 36
- 2025Efficient Agents: Building Effective Agents While Reducing Costcited by 32
- 2025Internet of Agents: Fundamentals, Applications, and Challengescited by 31
- 2025AgentsNet: Coordination and Collaborative Reasoning in Multi-Agent LLMscited by 31
- 2024NetSafe: Exploring the Topological Safety of Multi-agent Networkscited by 29
- 2024LLM-based Multi-Agent Systems: Techniques and Business Perspectivescited by 22
- 2025WirelessAgent: Large Language Model Agents for Intelligent Wireless Networkscited by 21
- 2025DynTaskMAS: A Dynamic Task Graph-driven Framework for Asynchronous and Parallel LLM-based Multi-Agent Systemscited by 20
- 2025StoryBench: A Dynamic Benchmark for Evaluating Long-Term Memory with Multi Turnscited by 20
- 2024BudgetMLAgent: A Cost-Effective LLM Multi-Agent system for Automating Machine Learning Taskscited by 19
- 2025Optimizing the Interface Between Knowledge Graphs and LLMs for Complex Reasoningcited by 17
- 2024LLM-based multi-agent poetry generation in non-cooperative environmentscited by 15
- 2025Grid-Agent: An LLM-Powered Multi-Agent System for Power Grid Controlcited by 15
- 2025AgentRAN: An Agentic AI Architecture for Autonomous Control of Open 6G Networkscited by 15
- 2025LLMs Working in Harmony: A Survey on the Technological Aspects of Building Effective LLM-Based Multi Agent Systemscited by 10
- 2024Hackphyr: A Local Fine-Tuned LLM Agent for Network Security Environmentscited by 9
- 2025AGENTiGraph: A Multi-Agent Knowledge Graph Framework for Interactive, Domain-Specific LLM Chatbotscited by 9
- 2025Model-Distributed Inference for Large Language Models at the Edgecited by 8
- 2025Secure Multi-LLM Agentic AI and Agentification for Edge General Intelligence by Zero-Trust: A Surveycited by 8
- 2025Multi-Agent Reinforcement Learning in Wireless Distributed Networks for 6Gcited by 7
- 2025Decentralized Multi-Agent System with Trust-Aware Communicationcited by 7
- 2024DAWN: Designing Distributed Agents in a Worldwide Networkcited by 6
- 2025Agent Discovery in Internet of Agents: Challenges and Solutionscited by 6
- 2025Achilles Heel of Distributed Multi-Agent Systemscited by 5
- 2025Edge Agentic AI Framework for Autonomous Network Optimisation in O-RANcited by 4
- 2025Adaptive AI Agent Placement and Migration in Edge Intelligence Systemscited by 3
50 most cited of 53 All 53 (JSON)
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026Scaling Teams or Scaling Time? Memory Enabled Lifelong Learning in LLM Multi-Agent Systems
- 2025System-performance and cost modeling of Large Language Model training and inference
- 2025MemBench: Towards More Comprehensive Evaluation on the Memory of LLM-based Agents
- 2026Evaluating Memory Structure in LLM Agents
- 2024On the Structural Memory of LLM Agents
- 2026Are We Ready For An Agent-Native Memory System?
- 2026Memory in the LLM Era: Modular Architectures and Strategies in a Unified Framework
- 2026MSA: Memory Sparse Attention for Efficient End-to-End Memory Model Scaling to 100M Tokens