mlsanityData to 7 Oct 2026

In-the-Flow Agentic System Optimization for Effective Planning and Tool Use

arXiv 2510.05592 ↗First posted 7 Oct 2025cs.AI cs.CL cs.LGcited by 67

On the map: LLM reasoning → Reinforcement learning for reasoning

also in 1 more
Abstract (arXiv)

Outcome-driven reinforcement learning has advanced reasoning in large language models (LLMs), but prevailing tool-augmented approaches train a single, monolithic policy that interleaves thoughts and tool calls under full context; this scales poorly with long horizons and diverse tools and generalizes weakly to new scenarios. Agentic systems offer a promising alternative by decomposing work across specialized modules, yet most remain training-free or rely on offline training decoupled from the live dynamics of multi-turn interaction. We introduce AgentFlow, a trainable, in-the-flow agentic framework that coordinates four modules (planner, executor, verifier, generator) through an evolving memory and directly optimizes its planner inside the multi-turn loop. To train on-policy in live environments, we propose Flow-based Group Refined Policy Optimization (Flow-GRPO), which tackles long-horizon, sparse-reward credit assignment by converting multi-turn optimization into a sequence of tractable single-turn policy updates. It broadcasts a single, verifiable trajectory-level outcome to every turn to align local planner decisions with global success and stabilizes learning with group-normalized advantages. Across ten benchmarks, AgentFlow with a 7B-scale backbone outperforms top-performing baselines with average accuracy gains of 14.9% on search, 14.0% on agentic, 14.5% on mathematical, and 4.1% on scientific tasks, even surpassing larger proprietary models like GPT-4o. Further analyses confirm the benefits of in-the-flow optimization, showing improved planning, enhanced tool-calling reliability, and positive scaling with model size and reasoning turns.

Key facts. Cited by 67 papers in the map (data through 7 Oct 2026). Placed in Reinforcement learning for reasoning, one of 17 directions in LLM reasoning. Builds on 49 of its 57 references that are in the map. First posted on arXiv 7 Oct 2025.

Builds on

49 of 57 references.

Closest ancestors · 8

Same direction, newest first

  1. 2025SimpleTIR: End-to-End Reinforcement Learning for Multi-Turn Tool-Integrated Reasoning2 Sep
  2. 2025General-Reasoner: Advancing LLM Reasoning Across All Domains20 May
  3. 2025Learning to Reason under Off-Policy Guidance21 Apr
  4. 2025DeepMath-103K: A Large-Scale, Challenging, Decontaminated, and Verifiable Mathematical Dataset for Advancing Reasoning15 Apr
  5. 2025Open-Reasoner-Zero: An Open Source Approach to Scaling Up Reinforcement Learning on the Base Model31 Mar
  6. 2025SimpleRL-Zoo: Investigating and Taming Zero Reinforcement Learning for Open Base Models in the Wild24 Mar
  7. 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scale18 Mar
  8. 2023Let's Verify Step by Step31 May

Other references · 41

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
  3. 2024Qwen2.5 Technical Reportcited by 4,713
  4. 2024GPT-4o System Cardcited by 4,467
  5. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
  6. 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,748
  7. 2015Trust Region Policy Optimizationcited by 2,503
  8. 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversationcited by 1,906
  9. 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,761
  10. 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learningcited by 1,371
  11. 2020What Disease does this Patient Have? A Large-scale Open Domain Question Answering Dataset from Medical Examscited by 1,324
  12. 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,259
29 more
  1. 2023GAIA: a benchmark for General AI Assistantscited by 1,084
  2. 2024Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvementcited by 1,057
  3. 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,054
  4. 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 893
  5. 2025Search-o1: Agentic Search-Enhanced Large Reasoning Modelscited by 423
  6. 2025ReTool: Reinforcement Learning for Strategic Tool Use in LLMscited by 377
  7. 2025RAGEN: Understanding Self-Evolution in LLM Agents via Multi-Turn Reinforcement Learningcited by 357
  8. 2023Enhancing Retrieval-Augmented Large Language Models with Iterative Retrieval-Generation Synergycited by 343
  9. 2025ToolRL: Reward is All Tool Learning Needscited by 342
  10. 2025R1-Searcher: Incentivizing the Search Capability in LLMs via Reinforcement Learningcited by 322
  11. 2025ZeroSearch: Incentivize the Search Capability of LLMs without Searchingcited by 203
  12. 2025ToRL: Scaling Tool-Integrated RLcited by 166
  13. 2025ReSearch: Learning to Reason with Search for LLMs via Reinforcement Learningcited by 152
  14. 2025OWL: Optimized Workforce Learning for General Multi-Agent Assistance in Real-World Task Automationcited by 129
  15. 2025VerlTool: Towards Holistic Agentic Reinforcement Learning with Tool Usecited by 92
  16. 2025StepSearch: Igniting LLMs Search Ability via Step-Wise Proximal Policy Optimizationcited by 82
  17. 2025MAPoRL: Multi-Agent Post-Co-Training for Collaborative Large Language Models with Reinforcement Learningcited by 80
  18. 2025Acting Less is Reasoning More! Teaching Model to Act Efficientlycited by 80
  19. 2024MALT: Improving Reasoning with Multi-Agent LLM Trainingcited by 71
  20. 2025OctoTools: An Agentic Framework with Extensible Tools for Complex Reasoningcited by 69
  21. 2025SPA-RL: Reinforcing LLM Agents via Stepwise Progress Attributioncited by 68
  22. 2025Tool-Star: Empowering LLM-Brained Multi-Tool Reasoner via Reinforcement Learningcited by 67
  23. 2025Agent RL Scaling Law: Agent RL with Spontaneous Code Execution for Mathematical Problem Solvingcited by 62
  24. 2025SMART: Self-Aware Agent for Tool Overuse Mitigationcited by 52
  25. 2025MARFT: Multi-Agent Reinforcement Fine-Tuningcited by 51
  26. 2024LLM-MedQA: Enhancing Medical Question Answering through Case Studies in Large Language Modelscited by 31
  27. 2025TTPA: Token-level Tool-use Preference Alignment Training Framework with Fine-grained Evaluationcited by 9
  28. 2025ToolSpectrum : Towards Personalized Tool Utilization for Large Language Modelscited by 6
  29. 2025PE-MA: Parameter-Efficient Co-Evolution of Multi-Agent Systemscited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 5; 2026: 62.

67 papers.

Sort:

By area:

  1. 2025DeepAgent: A General Reasoning Agent with Scalable Toolsetscited by 69
  2. 2025Latent Collaboration in Multi-Agent Systemscited by 67
  3. 2025The Path Not Taken: RLVR Provably Learns Off the Principalscited by 52
  4. 2026AMA-Bench: Evaluating Long-Horizon Memory for Agentic Applicationscited by 46
  5. 2026A Survey of Agent Memory in the Second Half: Towards Self-Evolving and Long-Horizon Agentscited by 40
  6. 2026Beyond Semantic Similarity: Rethinking Retrieval for Agentic Search via Direct Corpus Interactioncited by 33
  7. 2026OpenResearcher: A Fully Open Pipeline for Long-Horizon Deep Research Trajectory Synthesiscited by 32
  8. 2026OmniGAIA: Towards Native Omni-Modal AI Agentscited by 21
  9. 2025Adaptation of Agentic AI: A Survey of Post-Training, Memory, and Skillscited by 19
  10. 2026Dr. MAS: Stable Reinforcement Learning for Multi-Agent LLM Systemscited by 15
  11. 2026Exploring Reasoning Reward Model for Agentscited by 13
  12. 2026Recursive Multi-Agent Systemscited by 10
38 more
  1. 2026NEWTON: Agentic Planning for Physically Grounded Video Generationcited by 10
  2. 2026Beyond Entangled Planning: Task-Decoupled Planning for Long-Horizon Agentscited by 9
  3. 2026WideSeek-R1: Exploring Width Scaling for Broad Information Seeking via Multi-Agent Reinforcement Learningcited by 9
  4. 2026Position: Beyond Model-Centric Prediction -- Agentic Time Series Forecastingcited by 8
  5. 2026The Vision Wormhole: Latent-Space Communication in Heterogeneous Multi-Agent Systemscited by 8
  6. 2026Understanding the Challenges in Iterative Generative Optimization with LLMscited by 8
  7. 2026AgentForesight: Online Auditing for Early Failure Prediction in Multi-Agent Systemscited by 8
  8. 2026Agentic Environment Engineering for Large Language Models: A Survey of Environment Modeling, Synthesis, Evaluation, and Applicationcited by 8
  9. 2026SQL-Trail: Multi-Turn Reinforcement Learning with Interleaved Feedback for Text-to-SQLcited by 7
  10. 2026FlowSteer: Towards Agents Designing Agentic Workflows via Reinforced Progressive Canvas Editingcited by 7
  11. 2026Harnessing LLM Agents with Skill Programscited by 7
  12. 2026Seg-ReSearch: Segmentation with Interleaved Reasoning and External Searchcited by 6
  13. 2026PrivAct: Internalizing Contextual Privacy Preservation via Multi-Agent Preference Trainingcited by 6
  14. 2026RadAgent: A tool-using AI agent for stepwise interpretation of chest computed tomographycited by 6
  15. 2026SkillFlow: Flow-Driven Recursive Skill Evolution for Agentic Orchestrationcited by 6
  16. 2026MoCo: A One-Stop Shop for Model Collaboration Researchcited by 5
  17. 2025PORTool: Importance-Aware Policy Optimization with Rewarded Tree for Multi-Tool-Integrated Reasoningcited by 4
  18. 2026Masking Stale Observations Helps Search Agents -- Until It Doesn't: A Regime Map and Its Mechanismcited by 4
  19. 2026Experience-Driven Multi-Agent Systems Are Training-free Context-aware Earth Observerscited by 3
  20. 2026ReviewGrounder: Improving Review Substantiveness with Rubric-Guided, Tool-Integrated Agentscited by 3
  21. 2026Planner Matters! An Efficient and Unbalanced Multi-agent Collaboration Framework for Long-horizon Planningcited by 3
  22. 2026When Planning Fails Despite Correct Execution: On Epistemic Calibration for LLM-Based Multi-Agent Systemscited by 3
  23. 2026Can Agents Generalize to the Open World? Unveiling the Fragility of Static Training in Tool Usecited by 3
  24. 2026ToolVerse: Unlocking Massive Environments and Long-Horizon Tasks for Agentic Reinforcement Learningcited by 3
  25. 2026Multi-Agent Computer Usecited by 2
  26. 2026Scaling Participation in Modular AI Systemscited by 2
  27. 2026Beyond Absolute Imitation: Anchored Residual Guidance for Privileged On-Policy Distillationcited by 2
  28. 2026Multi-Modal Multi-Agent Reinforcement Learning for Radiology Report Generationcited by 1
  29. 2026ZEBRAARENA: A Diagnostic Simulation Environment for Studying Reasoning-Action Coupling in Tool-Augmented LLMscited by 1
  30. 2026Tools as Continuous Flow for Evolving Agentic Reasoningcited by 1
  31. 2026Improving Retrieval-Augmented Generation without Taxonomy-based Error Categorizationcited by 1
  32. 2026Auto-Configuring Scientific Simulators with Lightweight Coding-Agent Adapterscited by 1
  33. 2026Trident : How to Break Deep Reinforcement Learning Cyber Defenses (Agentic)cited by 1
  34. 2026SwarmBench: Can Large Language Models Act as Agent Swarm Orchestrators?cited by 1
  35. 2026DeliveryGym: An RL Environment for Long-Horizon Embodied Agent Planning with Adaptive Curriculumcited by 1
  36. 2026S2SServiceBench: A Multimodal Benchmark for Last-Mile S2S Climate Servicescited by 0
  37. 2026JigsawRL: Assembling RL Pipelines for Efficient LLM Post-Trainingcited by 0
  38. 2026DeepTutor: Towards Agentic Personalized Tutoringcited by 0

50 most cited of 67 All 67 (JSON)

Similar, not cited

Close in wording, no citation either way

  1. 2026APPO: Agentic Procedural Policy Optimization
  2. 2026AstraFlow: Dataflow-Oriented Reinforcement Learning for Agentic LLMs
  3. 2026Workflow-R1: Group Sub-sequence Policy Optimization for Multi-turn Workflow Construction
  4. 2026ArenaFlow: From Trajectory Ranking to Hierarchical Credit Propagation for Open-Ended Agent RL
  5. 2025Agentic Reinforced Policy Optimization
  6. 2026SEED: Self-Evolving On-Policy Distillation for Agentic Reinforcement Learning
  7. 2026PlanPO: Group Planning-Aware Policy Optimization for Multi-Turn Agentic LLMs
  8. 2026Tool-Aware Optimization with Entropy Guidance for Efficient Agentic Reinforcement Learning