← Latest papers
🤖 AI

The Hidden Footprint: Making Storage a First-Class Metric for LLM Agent Evaluation

This paper introduces AgentFootprint, a benchmark revealing that LLM agents' persistent storage footprints vary drastically across frameworks and configurations independent of task accuracy, while demonstrating that content-addressed storage can significantly reduce this overhead without compromising data reconstructability.

Original authors: Chenglin Yu, Hongquan Gui, Ying Yu, Hongxia Yang, Ming Li

Published 2026-07-14
📖 6 min read🧠 Deep dive

Original authors: Chenglin Yu, Hongquan Gui, Ying Yu, Hongxia Yang, Ming Li

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

Imagine you're watching a brilliant robot detective solve a mystery. It reads clues, asks questions, and writes down its final answer. Everyone cheers when the detective gets the right answer, and they check how fast it thought and how much it cost to run. But nobody is looking at the mess the detective leaves behind on the floor.

This paper, called The Hidden Footprint, is like a janitor's report. It asks: "When the detective finishes, how much trash does it leave in the room?"

The Big Surprise: The Mess is Huge

The main finding is shocking: Two detectives can solve the exact same mystery perfectly, but one leaves behind a pile of trash 15.7 times bigger than the other.

Think of it like this: You and your friend both bake a perfect chocolate cake. You hand over the cake (the result). But while you just wiped the counter, your friend left behind 15 bowls, 30 cups of flour, and a mountain of sticky wrappers. The cake looks the same, but your friend's kitchen is a disaster zone.

In the real world, this "trash" isn't just paper; it's digital bytes stored on a hard drive. The researchers found that for a single task, some frameworks leave behind 131 MB of data, while the actual answer (the "delivered cake") was only 2.6 MB. That means the framework's "residue" was 24,033 times bigger than the actual work it was supposed to do!

The "Invisible" Double-Counting Trick

Here is the tricky part: If you just count the files on the computer, you might think the mess isn't that bad. The paper argues that standard counting is a trap.

Imagine you write the word "Hello" on a piece of paper. Then, you photocopy that paper, but the photocopier adds a tiny "invisible ink" stamp to every copy. If you count the paper, you see one sheet. But if you look at the ink, you see the word "Hello" written twelve times.

The researchers found that because of how computers save data (using things like "SQLite" pages and "JSON" escaping), the same information gets stored over and over again, hidden inside the system.

  • Naive counting said: "Oh, there's only a little duplication."
  • The paper's smart counting said: "Actually, the same content is stored 12.1 times!"

They proved that if you don't look inside the "invisible ink," you miss the real size of the mess by a huge margin.

The "Growth" Problem

The paper also tested what happens when the detective has to check the same clue 200 times.

  • Some frameworks (like LangGraph and AutoGen) act like a squirrel that never forgets anything. Every time it checks the clue, it writes down the entire history again. This causes the storage to grow superlinearly (faster and faster). After 200 rounds, they left behind 323 MB of data just for one tiny file.
  • Other frameworks (like OpenAI Agents) act like a smart note-taker. They only write down the new stuff. Their storage grew slowly, almost in a straight line.

The paper measured this growth rate (called α\alpha) and found it ranged from 0.73 (getting smaller!) to 1.95 (exploding in size).

Does a Bigger Mess Mean a Smarter Detective?

You might think, "Maybe the messy detective is just being extra careful, so it's smarter?"
The paper says: No.

They looked at 108 real-world submissions from a famous coding challenge (SWE-bench). They found that the amount of data exported by these systems varied by 1,617 times (from tiny files to huge ones). But here is the kicker: There was no connection between the size of the mess and how well the system solved the problem.

In fact, the correlation was so weak it was basically zero. A system could leave behind a mountain of data and still fail, or leave behind a tiny footprint and succeed. The paper explicitly rules out the idea that "more storage = better performance."

The "Magic Eraser" (But Don't Buy It Yet)

The researchers didn't just point out the problem; they showed a way to fix it, but they are careful to say this is a proof of concept, not a finished product.

They built a "content-addressed store." Imagine a library where, instead of putting every book on a shelf, you take a photo of the book's unique fingerprint. If two books are identical, you only keep one photo and a note saying "This one is the same as that one."

When they applied this "magic eraser" to the messy frameworks:

  • It reduced the storage by 4.8 to 32.7 times.
  • Crucially, they proved that even with all that data removed, you could still perfectly reconstruct the entire conversation history. The "score" for being able to replay the detective's thoughts stayed exactly the same.

What the Paper Rules Out

  • It rules out the idea that we should just ignore storage because "it's cheap." The paper argues that storage is a persistent debt that accumulates over time, unlike the cost of running the AI which disappears when the task ends.
  • It rules out the idea that standard file counters are accurate. They showed that simple counting misses the duplication hidden inside the system's code.
  • It rules out the idea that bigger data trails mean better results. The data shows no link between size and success.

How Sure Are They?

The authors are very sure about the measurements they took. They ran 1,061 experiments in isolated, clean computer rooms (sandboxes) to make sure nothing else interfered. They tested 8 different frameworks (like LangGraph, CrewAI, and AutoGen) using the exact same tasks and models.

They didn't just guess; they measured. They found that under identical conditions, the amount of data left behind varied by 15.7 times between the best and worst performers. They also showed that this difference isn't because one framework is "smarter" at solving tasks, but because of how they are built to save data.

The Takeaway

The paper concludes that we need to start measuring the "footprint" of AI agents just like we measure their speed or cost. Right now, we are letting some systems leave behind mountains of digital trash while others leave almost nothing, and it turns out the messy ones aren't doing a better job.

The authors suggest that if we want to run these agents at a massive scale (like a fleet of 10,000 robots a day), the difference between a "clean" framework and a "messy" one could mean the difference between needing 3 GB of storage or 51 GB every single day. That's a huge difference for a problem that, as they showed, doesn't even make the robot smarter.

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 →