AgentFold: Long-Horizon Web Agents with Proactive Context Folding
Rui Ye, Zhongwang Zhang, Kuan Li, Huifeng Yin, Zhengwei Tao, Yida Zhao, Liangcai Su, Liwen Zhang, Zile Qiao, Xinyu Wang, Pengjun Xie, Fei Huang
摘要
LLM-based web agents show immense promise for information seeking, yet their effectiveness on long-horizon tasks is hindered by a fundamental trade-off in context management. Prevailing ReAct-based agents suffer from context saturation as they accumulate noisy, raw histories, while methods that fixedly summarize the full history at each step risk the irreversible loss of critical details. Addressing these, we introduce AgentFold, a novel agent paradigm centered on proactive context management, inspired by the human cognitive process of retrospective consolidation. AgentFold treats its context as a dynamic cognitive workspace to be actively sculpted, rather than a passive log to be filled. At each step, it learns to execute a 'folding' operation, which manages its historical trajectory at multiple scales: it can perform granular condensations to preserve vital, fine-grained details, or deep consolidations to abstract away entire multistep sub-tasks. The results on prominent benchmarks are striking: with simple supervised fine-tuning (without continual pre-training or RL), our AgentFold-30B-A3B agent achieves 36.2% on BrowseComp and 47.3% on BrowseComp-ZH. Notably, this performance not only surpasses or matches open-source models of a dramatically larger scale, such as the DeepSeek-V3.1-671B-A37B, but also surpasses leading proprietary agents like OpenAI's o4-mini. AgentFold proactively folds its working context during complex task-solving
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- WebSailor-V2: Bridging the Chasm to Proprietary Agents via Synthetic Data and Scalable Reinforcement Learning 引用了 MEM1: Learning to Synergize Memory and Reasoning for Efficient Long-Horizon Agents
- WebSailor-V2: Bridging the Chasm to Proprietary Agents via Synthetic Data and Scalable Reinforcement Learning 引用了 GAIA: a benchmark for General AI Assistants
- Mem-T: Densifying Rewards for Long-Horizon Memory Agents 引用了 MEM1: Learning to Synergize Memory and Reasoning for Efficient Long-Horizon Agents
- Mem-T: Densifying Rewards for Long-Horizon Memory Agents 引用了 A-Mem: Agentic Memory for LLM Agents
- MEM1: Learning to Synergize Memory and Reasoning for Efficient Long-Horizon Agents 引用了 A-Mem: Agentic Memory for LLM Agents
- ACON: Optimizing Context Compression for Long-horizon LLM Agents 引用了 A-Mem: Agentic Memory for LLM Agents
引用它的顶会 Paper2
它引用的 Paper6
- A-Mem: Agentic Memory for LLM AgentsWujiang Xu, Zujie Liang, Kai Mei, Hang Gao 等NeurIPS 2025 · 1,138 次引用
- GAIA: a benchmark for General AI AssistantsGrégoire Mialon, Clémentine Fourrier, Thomas Wolf, Yann LeCun 等ICLR 2024 · 716 次引用
- MEM1: Learning to Synergize Memory and Reasoning for Efficient Long-Horizon AgentsZijian Zhou, Ao Qu, Zhaoxuan Wu, Sunghwan Kim 等ICLR 2026 · 223 次引用
- WebSailor-V2: Bridging the Chasm to Proprietary Agents via Synthetic Data and Scalable Reinforcement LearningKuan Li, Zhongwang Zhang, Huifeng Yin, Rui Ye 等ICLR 2026 · 65 次引用
- MAS-GPT: Training LLMs to Build LLM-based Multi-Agent SystemsRui Ye, Shuo Tang, Rui Ge, Yaxin Du 等ICML 2025
相关 Paper
- U-Fold: Dynamic Intent-Aware Context Folding for User-Centric AgentsJin Su, Runnan Fang, Yeqiu Li, Xiaobin Wang 等ACL Findings 2026
- Scaling Long-Horizon Agent via Context FoldingWeiwei Sun, Lu Miao, Zhan Ling, Kang Liu 等ICML 2026 · 104 次引用
- Context as a Tool: Context Management for Long-Horizon SWE-AgentsShukai Liu, Bo Jiang, Jian Yang, Yizhi Li 等ACL Findings 2026
- Cognitive Scaffold: From Fluid Context to Crystallized Memory for Long-Horizon DeepResearch AgentsQiuyuan Ai, Zenghuang Fu, Zhaoyang Li, Ping Jiang 等ACL 2026
- Branch-and-Browse: Efficient and Controllable Web Exploration with Tree-Structured Reasoning and Action MemoryShiqi He, Yue Cui, Xinyu Ma, Yaliang Li 等ACL 2026 · 5 次引用
