# AgentFlow
**Repository Path**: computerhong/AgentFlow
## Basic Information
- **Project Name**: AgentFlow
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2026-07-27
- **Last Updated**: 2026-07-27
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
AgentFlow: In-the-Flow Agentic System Optimization
## π£ News
- **[2026.01.26]** π Our paper has been accepted by [**ICLR 2026**](https://iclr.cc/Conferences/2026)! See you in Rio de Janeiro!
- **[2025.10.26]** π Our project introduction has been featured on **[DeepWiki](https://deepwiki.com/lupantech/AgentFlow)**!
- **[2025.10.16]** π Our paper has been accepted by [**NeurIPS 2025 Efficient Reasoning Workshop**](https://efficient-reasoning.github.io/)!
- **[2025.10.13]** πΈ Excited to have a tutorial video for AgentFlow covered by Discover AI on **[YouTube](https://www.youtube.com/watch?v=kIQbCQIH1SI)**!
- **[2025.10.10]** π Our X [post](https://x.com/lupantech/status/1976016000345919803) received **1K+ likes**! Feel free to check out the post and join the discussion! π¬
- **[2025.10.08]** π₯ We are honored to be featured as π€ HuggingFace **[Daily Paper #2](https://huggingface.co/papers/2510.05592)**.
## π Why AgentFlow?
AgentFlow is a **trainable, tool-integrated agentic framework** designed to overcome the **scalability** and **generalization limits** of todayβs tool-augmented reasoning approaches.
Unlike prevailing approaches such as [Search-R1](https://github.com/PeterGriffinJin/Search-R1) which train a **single LLM** to interleave reasoning steps with tool calls, **AgentFlow** introduces a **modular agentic system** with four specialized modules: π§ **Planner**, π **Executor**, β **Verifier**, and βοΈ **Generator**.

For effective planning and tool use, the framework directly **optimizes planner agent within the system** in an **online fashion** using **Flow-based Group Refined Policy Optimization (Flow-GRPO)**, achieving superior performance across diverse domains with improved tool-calling reliability and long-horizon reasoning capabilities.

## πΊ YouTube Tutorial
Excited to have a tutorial video for AgentFlow covered by [Discover AI](https://www.youtube.com/@code4AI) on YouTube!
## π Acknowledgements
We thank the following open-source projects:
- [verl](https://github.com/volcengine/verl) for the excellent RL framework design.
- [vLLM ](https://github.com/vllm-project/vllm) for fast LLM inference support.
- [Verl-Tool](https://github.com/TIGER-AI-Lab/verl-tool) and [agent-lightning](https://github.com/microsoft/agent-lightning) for their early-stage exploration in agentic RL Training.
We thank [Lambda](https://lambda.ai/careers) for GPU support!
## π Contributing
We are truly looking forward to open-source contributions to AgentFlow! If youβre interested in contributing, collaborating, or reporting issues, please feel free to open an issue or submit a pull request (PR). You can also reach us at [zhuofengli12345@gmail.com](mailto:zhuofengli12345@gmail.com), [isaacpfino@gmail.com](mailto:isaacpfino@gmail.com), [lupantech@gmail.com](mailto:lupantech@gmail.com) or join our Slack community: [AgentFlow](https://join.slack.com/t/agentflow-co/shared_invite/zt-3f712xngl-LfxS4gmftAeKvcxR3nSkWQ).
We are also looking forward to your feedback and suggestions!
## π Citation
```bibtex
@inproceedings{li2026flow,
title = {In-the-Flow Agentic System Optimization for Effective Planning and Tool Use},
author = {Li, Zhuofeng and Zhang, Haoxiang and Han, Seungju and Liu, Sheng and Xie, Jianwen and Zhang, Yu and Choi, Yejin and Zou, James and Lu, Pan},
booktitle = {International Conference on Learning Representations (ICLR)},
year = {2026}
}
```
## β Star History
[](https://star-history.com/#lupantech/AgentFlow&Date)