AgentFlow
AgentFlow is a trainable, tool-integrated agent framework developed by lupantech, designed to overcome the scalability and generalization limitations of tool-augmented reasoning methods. It adopts a modular design comprising four specialized modules: Planner, Executor, Verifier, and Generator, which work collaboratively across multiple rounds of interaction through evolving memory and integrated tools. The framework uses Flow-based Group Refined Policy Optimization (Flow-GRPO) to optimize the Planner online, performing excellently on 10 benchmarks spanning search, agentic reasoning, mathematics, and science, with a 7B model even surpassing GPT-4o with around 200B parameters. The framework supports multi-tool integration (such as Python coding, Google search, Wikipedia search, etc.) and provides inference and training pipelines. The project has been accepted by ICLR 2026 and the NeurIPS 2025 workshop, and ranked second in HuggingFace Daily Paper.