mlsanityData to 14 Oct 2026

TreeFlex: Agents Navigating Their Own Search Trees

arXiv 2610.20334 ↗First posted 14 Oct 2026cs.AI cs.CLcited by 0

On the map: LLM agents and tool use → Web, search, and research agents

Abstract (arXiv)

A ReAct-style agent accumulates observations, intermediate results, and failed attempts in a single context. As this context grows, stale and off-path information consumes its limited capacity and obscures relevant evidence, making focused reasoning increasingly difficult. We introduce TreeFlex, a framework in which the agent's own policy decides where to search. The agent records each intermediate state, with a short summary, as a node in a search tree maintained by the harness. The policy is a single language model that acts in two roles. In the Reflection role, it has a global view of the tree through these summaries and picks a node to resume, together with an instruction. In the Execution role, the harness restores the path that led to that node, and the model carries out the instruction with the usual task tools until it saves a new node or proposes a solution, which Reflection then approves or sends back to another node. Through these choices, the policy decides whether to deepen the current line, branch from or revisit an earlier state, verify a proposal, or stop, without a fixed traversal order or a score for each node. We train navigation, task actions, checkpointing, and proposal review jointly with a tree-aware adaptation of GRPO, using task-level outcome rewards augmented by process rewards. After small-scale RL of a 4B model, with the same active-context limit for all methods, TreeFlex reaches 48.8% accuracy on a challenging deep-research benchmark, versus 41.5% for flat ReAct and 42.8% for FoldAgent, and its Pass@8 is about ten points higher than either. On SWE-bench Verified, with all three systems trained with RL from the same 9B model, TreeFlex resolves 54.9% of tasks, versus 43.3% for FoldAgent and 45.2% for its step-wise variant.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Web, search, and research agents, one of 16 directions in LLM agents and tool use. Builds on 33 of its 75 references that are in the map. First posted on arXiv 14 Oct 2026.

Builds on

33 of 75 references.

Closest ancestors · 2

Same direction, newest first

  1. 2025WebSailor: Navigating Super-human Reasoning for Web Agent3 Jul
  2. 2025WebDancer: Towards Autonomous Information Seeking Agency28 May

Other references · 31

  1. 2017Proximal Policy Optimization Algorithmscited by 15,215
  2. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
  3. 2025Qwen3 Technical Reportcited by 8,820
  4. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  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. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
  8. 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,810
  9. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
  10. 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learningcited by 1,444
  11. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 1,002
  12. 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 886
19 more
  1. 2023Reasoning with Language Model is Planning with World Modelcited by 861
  2. 2023Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Modelscited by 574
  3. 2024Training Software Engineering Agents and Verifiers with SWE-Gymcited by 336
  4. 2025R1-Searcher: Incentivizing the Search Capability in LLMs via Reinforcement Learningcited by 336
  5. 2025DeepResearcher: Scaling Deep Research via Reinforcement Learning in Real-world Environmentscited by 286
  6. 2025MEM1: Learning to Synergize Memory and Reasoning for Efficient Long-Horizon Agentscited by 238
  7. 2024Tree Search for Language Model Agentscited by 151
  8. 2025Scaling Long-Horizon LLM Agent via Context-Foldingcited by 148
  9. 2024Stream of Search (SoS): Learning to Search in Languagecited by 145
  10. 2024SWE-Search: Enhancing Software Agents with Monte Carlo Tree Search and Iterative Refinementcited by 132
  11. 2024Beyond A*: Better Planning with Transformers via Search Dynamics Bootstrappingcited by 90
  12. 2025Tree Search for LLM Agent Reinforcement Learningcited by 79
  13. 2024Dualformer: Controllable Fast and Slow Thinking by Learning with Randomized Reasoning Tracescited by 43
  14. 2019ELF OpenGo: An Analysis and Open Reimplementation of AlphaZerocited by 39
  15. 2025ASTRO: Teaching Language Models to Reason by Reflecting and Backtracking In-Contextcited by 13
  16. 2026MemPO: Self-Memory Policy Optimization for Long-Horizon Agentscited by 12
  17. 2026LongSeeker: Elastic Context Orchestration for Long-Horizon Search Agentscited by 10
  18. 2025Policy Guided Tree Search for Enhanced LLM Reasoningcited by 9
  19. 2026Accordion-Thinking: Self-Regulated Step Summaries for Efficient and Readable LLM Reasoningcited by 6

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Beyond Semantic Organization: Memory as Execution State Management for Long-Horizon Agents
  2. 2025ReAcTree: Hierarchical LLM Agent Trees with Control Flow for Long-Horizon Task Planning
  3. 2026Learning the ARTS of Search for Automated Discovery
  4. 2026Stateless Language Agents: Scaling Long-Horizon Automated Research
  5. 2026Arbor: Tree Search as a Cognition Layer for Autonomous Agents
  6. 2025Branch-and-Browse: Efficient and Controllable Web Exploration with Tree-Structured Reasoning and Action Memory
  7. 2026Inducing Reasoning Primitives from Agent Traces
  8. 2026Programmatic Search Agents: Extending Agentic Search Beyond Query Reformulation