mlsanityData to 14 Oct 2026

Improving Language Agents through BREW: Bootstrapping expeRientially-learned Environmental knoWledge

arXiv 2511.20297 ↗First posted 25 Nov 2025cs.AIcited by 3

On the map: LLM agents and tool use → General LLM agent frameworks and benchmarks

also in 1 more
Abstract (arXiv)

Large Language Model (LLM)-based agents are increasingly capable of complex, multi-step tasks such as GUI automation, tool use, and data manipulation, yet they cannot learn from experience: each new session rediscovers solutions from scratch. We introduce BREW (Bootstrapping expeRientially-learned Environmental knoWledge), a framework that distills an agent's past interaction trajectories into a structured, retrievable knowledge base (KB) of natural-language recipes, concept-level procedural documents that capture what to do, when it applies, and what to watch out for. Drawing on the principle of library learning from program synthesis, BREW decomposes agent memory into modular, concept-localized documents and formalizes KB construction as a state-space search problem. To navigate this space, we introduce Expand-and-Gather Monte Carlo Tree Search (EG-MCTS), a reward-guided algorithm that jointly optimizes recipe accuracy and retrievability across parallel, per-concept search trees. We further adapt hindsight relabeling to convert near-miss trajectories into positive demonstrations, surfacing latent agent competencies as reusable knowledge. On three domain-grounded benchmarks, OSWorld, tau^2-Bench, and SpreadSheetBench, BREW achieves 10-20% gains in task success and 10-15% fewer execution steps over base agents, while consistently outperforming existing memory-augmented baselines that can degrade below memoryless performance. The resulting KB is inspectable, modular, and extensible, providing a transparent and controllable substrate for agent optimization.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Placed in General LLM agent frameworks and benchmarks, one of 16 directions in LLM agents and tool use. Builds on 32 of its 63 references that are in the map. First posted on arXiv 25 Nov 2025.

Builds on

32 of 63 references.

Closest ancestors · 4

Same direction, newest first

  1. 2025Plan-and-Act: Improving Planning of Agents for Long-Horizon Tasks12 Mar
  2. 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains17 Jun
  3. 2024A Review of Prominent Paradigms for LLM-Based Agents: Tool Use (Including RAG), Planning, and Feedback Learning9 Jun
  4. 2024Sub-goal Distillation: A Method to Improve Small Language Agents4 May

Other references · 28

  1. 2017Proximal Policy Optimization Algorithmscited by 15,215
  2. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
  3. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  4. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  5. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
  6. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  7. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
  8. 2024OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computer Environmentscited by 1,195
  9. 2017Hindsight Experience Replaycited by 1,136
  10. 2025A-MEM: Agentic Memory for LLM Agentscited by 1,063
  11. 2025AlphaEvolve: A coding agent for scientific and algorithmic discoverycited by 867
  12. 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 779
16 more
  1. 2025τ2-Bench: Evaluating Conversational Agents in a Dual-Control Environmentcited by 627
  2. 2025UI-TARS: Pioneering Automated GUI Interaction with Native Agentscited by 610
  3. 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 542
  4. 2023Auto-GPT for Online Decision Making: Benchmarks and Additional Opinionscited by 255
  5. 2025Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactionscited by 254
  6. 2023PromptAgent: Strategic Planning with Language Models Enables Expert-level Prompt Optimizationcited by 233
  7. 2020DreamCoder: Growing generalizable, interpretable knowledge with wake-sleep Bayesian program learningcited by 161
  8. 2024SpreadsheetBench: Towards Challenging Real World Spreadsheet Manipulationcited by 111
  9. 2025GTA1: GUI Test-time Scaling Agentcited by 106
  10. 2024MetaGPT: Merging Large Language Models Using Model Exclusive Task Arithmeticcited by 53
  11. 2024MetaReflection: Learning Instructions for Language Agents using Past Reflectionscited by 19
  12. 2025Optimizing the Interface Between Knowledge Graphs and LLMs for Complex Reasoningcited by 17
  13. 2025Neural Architecture Discovery via Autonomous Evolutioncited by 16
  14. 2024STACKFEED: Structured Textual Actor-Critic Knowledge Base Editing with FeedBackcited by 4
  15. 2025Executable Functional Abstractions: Inferring Generative Programs for Advanced Math Problemscited by 4
  16. 2025RAG in the Wild: On the (In)effectiveness of LLMs with Mixture-of-Knowledge Retrieval Augmentationcited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 3.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Language-based Trial and Error Falls Behind in the Era of Experience
  2. 2026Search, Do not Guess: Teaching Small Language Models to Be Effective Search Agents
  3. 2025Automated Skill Discovery for Language Agents through Exploration and Iterative Feedback
  4. 2024AgentGen: Enhancing Planning Abilities for Large Language Model based Agent via Environment and Task Generation
  5. 2023Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Models
  6. 2026ExpGraph: Model-Agnostic Experience Learning with Graph-Structured Memory for LLM Agents
  7. 2026SearchGym: Bootstrapping Real-World Search Agents via Cost-Effective and High-Fidelity Environment Simulation
  8. 2026Agent Skills for Large Language Models: Architecture, Acquisition, Security, and the Path Forward