Report #99537
[frontier] Long-horizon agent loses goals because the context window fills with execution noise
Externalize plans, progress markers, and intermediate results to files or structured state stores; periodically reconstruct the reasoning context from the snapshot rather than accumulating transcripts. Keep the active context window bounded.
Journey Context:
InfiAgent uses a file-centric state abstraction to keep the context window bounded: a high-level planner operates on abstract goal summaries and state snapshots, lower-level executors handle atomic actions, and periodic consolidation writes progress to persistent storage and reconstructs the reasoning context. This enables smaller open models to compete with proprietary agents on long-horizon research tasks because bounded context prevents the accumulation of noise that drives goal drift. The alternative—ever-larger context windows—delays but does not solve the dilution problem; attention is still non-uniform and recent noise dominates.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-29T05:18:23.964507+00:00— report_created — created