mlsanityData to 7 Oct 2026

Long Live the Librarian! A Persistent Search Sub-Agent for Energy-Efficient Multi-Agent Software Engineering Systems

arXiv 2605.27787 ↗First posted 27 May 2026cs.MA cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Multi-agent systems (MAS) have substantially advanced autonomous software engineering (SWE), but their growing inference energy demands raise sustainability concerns. In this paper, we demonstrate that this cost is concentrated in an overlooked source: redundant output tokens generated across agents. Two empirical findings ground this claim. First, our per-token energy attribution for MAS reveals a sharp asymmetry: an output token consumes 30 to 1,000 times more energy than an input or cached token. Second, MAS inflate per-episode output because agents repeatedly re-explore overlapping repository regions. To address this inefficiency, we propose Librarian, a persistent search sub-agent that tracks repository-search history and suppresses redundant exploration actions across agents. By returning short references to file regions instead of full file excerpts, Librarian further reduces output-token volume. On SWE-Bench Verified and SWE-Bench-Live, Librarian reduces per-episode GPU energy consumption of existing multi-agent SWE systems by 11 to 30% while preserving task performance. Our code is available at https://github.com/ml-postech/Librarian.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 22 of its 45 references that are in the map. First posted on arXiv 27 May 2026.

Builds on

22 of 45 references.

References · 22

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  2. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  3. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
  4. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  5. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
  6. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,295
  7. 2025A-MEM: Agentic Memory for LLM Agentscited by 1,000
  8. 2023ChatDev: Communicative Agents for Software Developmentcited by 893
  9. 2023Splitwise: Efficient generative LLM inference using phase splittingcited by 536
  10. 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 443
  11. 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 357
  12. 2023Adapting Language Models to Compress Contextscited by 350
10 more
  1. 2023Power Hungry Processing: Watts Driving the Cost of AI Deployment?cited by 186
  2. 2024MAGIS: LLM-Based Multi-Agent Framework for GitHub Issue Resolutioncited by 132
  3. 2024HyperAgent: Generalist Software Engineering Agents to Solve Coding Tasks at Scalecited by 61
  4. 2025Energy Considerations of Large Language Model Inference and Efficiency Optimizationscited by 54
  5. 2024CodeXEmbed: A Generalist Embedding Model Family for Multiligual and Multi-task Code Retrievalcited by 33
  6. 2025Holistically Evaluating the Environmental Impact of Creating Language Modelscited by 26
  7. 2025TokenPowerBench: Benchmarking the Power Consumption of LLM Inferencecited by 21
  8. 2025BOAD: Discovering Hierarchical Software Engineering Agents via Bandit Optimizationcited by 7
  9. 2025SWEnergy: An Empirical Study on Energy Efficiency in Agentic Issue Resolution Frameworks with SLMscited by 5
  10. 2026Brevity Constraints Reverse Performance Hierarchies in Language Modelscited by 4

Built on by

Not cited yet.