Research questionHow can long-horizon LLM agents manage growing interaction history within context limits?Long-running agents often append observations, actions, and intermediate reasoning to their history, which grows costly and can exceed context limits. Growing history slows execution and can interfere with later decisions, while compressing memory risks omitting information needed later.