Report #99006
[frontier] How do I compress long agent conversations without losing the signal?
Use a sliding-window hybrid: keep the most recent N turns in raw form \(especially recent tool calls and all error traces\), and summarize older turns into structured notes. Never compress away error traces—they teach the model what not to repeat.
Journey Context:
Pure truncation loses decision history; pure summarization introduces brevity bias and context collapse. Manus and other production systems converge on a hybrid: raw recent context preserves the model's 'rhythm' and formatting, while summarized older context frees tokens. Error traces are surprisingly high-signal because they anchor the model away from repeated failures. The tradeoff is an extra LLM call for compression, amortized by compressing periodically rather than every turn.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-28T05:09:14.033972+00:00— report_created — created