← Latest papers
💬 NLP

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

The paper introduces Librarian, a persistent search sub-agent that significantly reduces the energy consumption of multi-agent software engineering systems by up to 25% through the suppression of redundant exploration and the replacement of full file excerpts with concise references.

Original authors: Seunghyuk Cho, Sunghyun Choi, Jaeseung Heo, Youngbin Choi, Saemi Moon, MoonJeong Park, Dongwoo Kim

Published 2026-05-28
📖 4 min read☕ Coffee break read

Original authors: Seunghyuk Cho, Sunghyun Choi, Jaeseung Heo, Youngbin Choi, Saemi Moon, MoonJeong Park, Dongwoo Kim

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Big Problem: The "Re-Reading" Waste

Imagine you are trying to fix a leak in a giant, 100-story apartment building (the software code). You hire a team of expert detectives (Multi-Agent Systems) to find the leak.

In the current setup, every time a detective needs to check a specific room, they walk all the way to the library, ask for the blueprints of that room, read the whole page out loud to the team, and then go back to work.

Here is the catch: Detective A reads the blueprints for the kitchen. Then Detective B needs to check the kitchen again. Instead of just saying, "Hey, we already looked at the kitchen," Detective B walks back to the library, asks for the kitchen blueprints again, and reads the entire page out loud again.

This happens constantly. The team ends up reading the same pages over and over.

Why does this matter?
The paper discovered that in the world of AI, reading things out loud (generating output) costs a massive amount of electricity—like 30 to 1,000 times more than just listening to instructions (input). By having the detectives repeat the same long explanations, the team is wasting a huge amount of energy, even if they are solving the problem correctly.

The Solution: Meet "The Librarian"

To fix this, the researchers created a new team member called The Librarian.

Think of The Librarian as a super-organized, persistent assistant who sits right in the middle of the team. Here is how The Librarian changes the game:

  1. The Memory Book: Unlike the other detectives who forget what they saw once they finish a task, The Librarian keeps a running diary of every single file and code snippet they have ever looked at during the whole project.
  2. The "Pointer" Trick: When the main team leader asks, "Where is the code for the login button?", The Librarian doesn't read the whole file out loud. Instead, The Librarian simply says, "It's in File X, lines 40 to 50."
    • Old Way: The detective reads 50 lines of code out loud (High Energy Cost).
    • Librarian Way: The detective just points to the location (Low Energy Cost). The actual code is only shown to the computer system when absolutely necessary, not spoken by the AI.
  3. No Re-Reading: If the team needs to check that same login code five minutes later, The Librarian checks their diary, sees they already have it, and just points to the location again. No new reading, no wasted energy.

What They Found

The researchers tested this new "Librarian" system on real-world software engineering tasks (fixing bugs in open-source projects).

  • Energy Savings: By stopping the team from repeating long explanations, they cut the energy used by the computer chips by up to 25%. That's like turning off a lightbulb in a room that was left on unnecessarily.
  • Same Results: The team didn't get slower or make more mistakes. In fact, they solved the problems just as well (or slightly better) than before.
  • The "Caveman" Bonus: They also tried a trick where they told the AI to speak in short, simple sentences (like a "caveman"). When they combined the "Librarian" with this short-speaking style, the energy savings were even higher.

The Bottom Line

The paper argues that the biggest waste of energy in AI software teams isn't the thinking; it's the talking. By giving the team a "Librarian" who remembers what has already been looked at and only points to the answers instead of reading them out loud, we can make AI software engineering much greener and more efficient without losing any performance.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →