What they did
The authors implemented an append-only event ledger that is incrementally folded into structured run state, then compiled into views tailored to different consumers. They evaluated an LLM reader as a proxy for a human observer, comparing its answers from compiled views with answers from a budget-capped reading of the raw trace.
For the agent evaluation, they constructed 120-link sequential-dependency tasks and compared full-context prompting with mechanisms that preserve a running statistic in per-step state. They also tested a prompt-level scratchpad and separated the effects of deterministic aggregation from those of compact representation.
Key findings
- Observer views achieved 0.85–0.87 accuracy on monitoring questions, compared with 0.48 for a budget-capped single-call reading of the raw trace.
- Depending on the reader, compiled views used roughly 14–15 times fewer input tokens and cost 5–7 times less.
- On the 120-link tasks, deterministic state maintenance completed 30 of 30 runs under the clean protocol, versus 8 of 30 for full-context prompting.
- A prompt-level scratchpad matched the fold’s task accuracy at lower cost; the authors attribute the fold’s accuracy to deterministic aggregation and its cost advantage over full context to compactness.
Why it matters
The work treats an agent trace as structured operational state rather than an ever-growing transcript. A shared, auditable state layer could help long-running systems retain task-relevant information while giving observers compact monitoring views, without requiring both consumers to repeatedly process the full history.
Caveats
The monitoring questions were co-designed with the view schema, so the reported accuracy may not extend to questions the schema does not cover; the authors identify token and cost reductions conditional on schema coverage as the more transferable result. The observer was an LLM proxy rather than a human, the agent benchmark was co-developed with the system and is labeled descriptive, and an order-sensitive task family showed that folding does not help universally. A cheaper scratchpad also matched the fold’s accuracy, leaving auditability and shared observer support as its main demonstrated advantages.