← Latest papers
🤖 AI

Activity Frames: Deterministic Screen-Activity Compilation for Agent Memory and Replay

This paper introduces "Activity Frames," a deterministic, zero-model pipeline that compiles raw screen activity into compact, auditable memory blocks, enabling agents to answer questions about past user actions with significantly higher accuracy than LLM summaries while simultaneously providing the first empirical measurements of routine overhead and recurrence to optimize agent delegation costs.

Original authors: Nossa Iyamu

Published 2026-08-07
📖 4 min read☕ Coffee break read

Original authors: Nossa Iyamu

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 are trying to teach a super-smart robot assistant how to help you with your day. You might think the robot just needs to listen to your voice commands, like "send an email" or "check my calendar." But there's a big problem: the robot can only hear what you say, not what you actually do. If you spend three hours staring at a spreadsheet, switching between twenty different websites, and typing furiously, the robot has no idea that happened unless you tell it. This is the world of "AI agents"—computer programs designed to act like humans. For these agents to be truly helpful, they need "episodic memory," which is just a fancy way of saying a record of what happened, when it happened, and what you were looking at. Without this, the robot is like a friend who only remembers your conversations but has amnesia about your actual life.

The big question researchers are asking is: How do we give these robots a memory of your screen activity without making them confused, expensive, or unreliable? Currently, some methods try to summarize your day using other AI models, but those summaries can be messy, change every time you ask, or even make things up. Others just dump a massive list of raw data, which is too huge for the robot to read. We need a middle ground: a way to turn your chaotic screen time into a clean, trustworthy, and tiny summary that the robot can actually use.

This paper introduces a clever solution called "Activity Frames." Think of it as a super-organized librarian who watches your screen, but instead of using a brain to guess what you're doing, they use a strict, unchangeable set of rules to sort your day. The researchers built a system that takes a day's worth of screen snapshots and compiles them into a neat, structured story. It doesn't use any AI to "think" about what happened; it just follows a recipe. Because it's a recipe, the result is always exactly the same if you run it twice. This makes the memory safe to store, easy to check, and tiny enough to fit in the robot's pocket.

The team tested this on their own computer over 51 days. They found that this "deterministic" method (meaning no guessing involved) shrinks a day's worth of raw data down to a size that is 86 times smaller than the original, and it does this in just 68 milliseconds—faster than you can blink. When they asked an AI agent to answer questions about the day using this new "Activity Frame" memory, the agent got it right 98.4% of the time. In comparison, when the agent tried to read a summary written by another AI, it only got it right between 66% and 80% of the time. The new method was so good that a smaller, cheaper AI model could answer questions just as well as a giant, expensive one when given this clean memory.

The paper also uses this system to measure something called the "Routine Overhead Ratio." Imagine you ask a robot to do a task it has done a hundred times before. If the robot has to re-figure out every single click and keystroke from scratch every time, it wastes a huge amount of energy and money. The researchers found that by using their compiled memory to replay these routines, the robot could save a massive amount of effort. They calculated that re-deriving a routine from scratch costs about 60 to 343 times more than just replaying the recorded script. They also measured that about 9% of the actions a person takes on their computer are part of these repeatable routines that could be handed off to a robot to handle automatically.

However, the paper is careful to point out what this isn't. It doesn't claim to know why you did something (your intent), only what you did. It also admits that the data comes from just one person's computer, so it's a proof of concept rather than a final rule for everyone. The "replay" part was tested in a controlled way, showing it works perfectly when the screen looks exactly the same, but it might stumble if the website changes its layout. The researchers emphasize that this isn't a magic wand that solves all AI problems, but rather a solid, boring, and reliable tool that turns messy screen data into something an AI can actually trust and use.

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 →