Researchers present AgentZip, a memory compression system designed specifically for high-fanout AI-agent sandboxes to address memory bottlenecks caused by concurrent sessions.
- Exploits template-relative and cross-sandbox redundancy to compress pages beyond identical matches.
- Shifts overhead control from conservative page selection at compression time to restore-time prefetching.
- Aligns expensive compression operations with LLM waiting periods to avoid interfering with foreground tool execution.
- Achieves up to 8.7x reduction in sandbox-owned memory, compared to 2.1x for standard Linux configuration.
- Reduces the performance slowdown of aggressive compression from 3.1x to 1.40x while retaining most memory savings.
AgentZip effectively mitigates memory pressure in agent workloads by optimizing when and how data is compressed without significantly impacting execution speed.