AgentFold: Long-Horizon Web Agents with Proactive Context Management
Rui Ye et al.
arXiv:2510.24699
In short
AgentFold treats its context as a workspace it actively manages: at each step it can condense recent details or fold whole finished sub-tasks into short summaries. With supervised fine-tuning alone, a 30B model matches or beats far larger open and proprietary web agents.
Why it matters
Learned context management as an alternative to ever-bigger context windows.
Read first
The 4 Field Guide ideas this paper leans on.
Starting from scratch? The full route 25 ideas · basics first
- Token ✓ understood
The basic unit of text that a language model processes, typically representing a word, subword, or character. Tokens are the fundamental building blocks for LLM input and output.
- Dataset ✓ understood
A collection of data examples used for training, validating, or testing machine learning models.
- Feature ✓ understood
A single measurable property of an example, such as a house's floor area or how many links an email contains, used as an input to a model.
- Machine Learning ✓ understood
Building systems that learn patterns from data instead of following hand-written rules, getting better at a task as they see more examples.
- Neural Network ✓ understood
A computational model inspired by biological neural networks, consisting of interconnected nodes (neurons) organized in layers that process information through weighted connections.
- Deep Learning ✓ understood
A subset of machine learning that uses neural networks with multiple layers (deep neural networks) to learn hierarchical representations of data.
- Representation Learning ✓ understood
Learning useful features or representations of data automatically, rather than hand-crafting them.
- Embedding ✓ understood
A list of numbers (a vector) that represents a word, sentence, image or other item, learned so that similar items end up close together.
- Attention Mechanism ✓ understood
A technique that lets a neural network weigh every part of its input when producing each output, focusing on the parts most relevant at that step.
- Transformer ✓ understood
A neural network architecture, introduced in 2017, built from stacked self-attention and feed-forward layers; the basis of nearly every modern large language model.
- Context Window · read first ✓ understood
The maximum number of tokens an LLM can process at once, including both input prompt and generated output. Also called context length.
- Recurrent Neural Network ✓ understood
A neural network architecture with loops that allow information to persist, designed for sequential data like text and time series.
- Sequence-to-Sequence ✓ understood
Models that transform input sequences to output sequences, used for translation, summarization, and generation.
- Text Summarization · read first ✓ understood
Generating concise summaries of longer texts, either extractive (selecting sentences) or abstractive (generating new text).
- Training ✓ understood
The process of fitting a model to data by repeatedly measuring how wrong its outputs are and adjusting its parameters to reduce that error.
- Unsupervised Learning ✓ understood
Learning from unlabeled data to discover hidden patterns, structures, or relationships without explicit target outputs.
- Self-Supervised Learning ✓ understood
Learning representations from unlabeled data by creating supervised tasks from the data itself (masked prediction, contrastive learning).
- Pre-training ✓ understood
Training a model on a large dataset (often self-supervised) before fine-tuning on specific tasks, enabling transfer learning.
- Fine-Tuning · read first ✓ understood
The process of further training a pre-trained model on a specific dataset to adapt it for a particular task or domain.
- Natural Language Processing ✓ understood
The field of AI that lets computers read, interpret, translate and generate human language, from spam filters and search to chatbots.
- Tokenization ✓ understood
Splitting text into tokens, usually subword pieces, and mapping each to an integer ID so a language model can process it.
- Language Modeling ✓ understood
Learning probability distributions over sequences of words to predict what comes next.
- Large Language Model ✓ understood
A neural network, almost always a transformer, trained on vast amounts of text to predict the next token, which lets it write, answer, summarize and follow instructions.
- Tool Use ✓ understood
LLMs learning to call external tools, APIs, or functions to extend capabilities beyond text generation (calculators, search, code execution).
- AI Agent · read first ✓ understood
A system where a large language model decides its own next steps in a loop: calling tools, reading the results, and continuing until the task is done.
In the frontier
- Rank
- #86 of 100
- Citations
- 65
- as of Aug 9, 2026
- Published
- Oct 2025
Topics: Search and deep research , Long context and attention , Agent training and self-evolution
Selection: 1kpapers.com by Together AI, most-cited as of Aug 9, 2026