#5252nd of 53 in Training and fine-tuning

agentflow

Agent system with an RL-trained planner, executor, verifier and generator

Stars
2.1k
License
MIT
Last commit
Jan 2026
Language
Python
Stars, last 29 weeks+373
21 Apr 2026: 1,718 stars28 Apr 2026: 1,769 stars5 May 2026: 1,787 stars12 May 2026: 1,809 stars19 May 2026: 1,831 stars26 May 2026: 1,857 stars2 Jun 2026: 1,874 stars9 Jun 2026: 1,891 stars16 Jun 2026: 1,902 stars23 Jun 2026: 1,911 stars30 Jun 2026: 1,925 stars7 Jul 2026: 1,938 stars14 Jul 2026: 1,945 stars21 Jul 2026: 1,957 stars28 Jul 2026: 1,969 stars4 Aug 2026: 1,980 stars11 Aug 2026: 1,993 stars18 Aug 2026: 1,999 stars25 Aug 2026: 2,007 stars1 Sept 2026: 2,018 stars8 Sept 2026: 2,026 stars15 Sept 2026: 2,035 stars22 Sept 2026: 2,040 stars29 Sept 2026: 2,050 stars6 Oct 2026: 2,050 stars13 Oct 2026: 2,057 stars20 Oct 2026: 2,066 stars27 Oct 2026: 2,073 stars3 Nov 2026: 2,085 stars10 Nov 2026: 2,091 stars

1,718 on 21 Apr 20262,091 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

AgentFlow is a research framework that splits an agent into Planner, Executor, Verifier and Generator modules sharing an evolving memory and a toolkit (python_coder, google_search, wikipedia_search, web_search). The planner is trained online with Flow-GRPO on verl, using NQ and DeepMath-103K. The repo includes inference scripts, benchmark runners and a 7B planner model on Hugging Face.

Who it is for: Researchers training tool-using agents with RL

Strengths

  • Trains only the planner in-system with Flow-GRPO; hyperparameters are in train/config.yaml
  • Each module can use a different engine: OpenAI, DashScope, Gemini, DeepSeek, Together or local vLLM
  • Ships a 7B planner checkpoint, benchmark scripts and a Gradio demo
  • Paper accepted at ICLR 2026; README reports gains on 10 benchmarks

Weaknesses

  • Changing the Executor, Verifier or Generator engine requires editing source files
  • Needs several API keys (OpenAI for judging, Google for search) even for basic runs
  • No tagged release and no Docker setup; install is via setup.sh
  • Research code with no general-purpose deployment or UI beyond the demo

What it needs

  • GPU optional
  • Needs OpenAI API, Google Search API, DashScope or Together API, vLLM, verl, tmux
  • Models: Qwen2.5-7B-Instruct, AgentFlow planner 7B, GPT-4o, Gemini, DeepSeek

Quick answers

Is agentflow open source?

Yes. Its code is on GitHub under the MIT license.

Does agentflow need a GPU?

No. It runs on a CPU and can use a GPU when you have one.

Also in Training and fine-tuning

See all 53
Also in Training and fine-tuning
RankProjectScore
1unslothDesktop and web app to run and fine-tune local models Live demo ↗ (opens in a new tab)79.3k stars+1,694 (+2.2%) in 30 daysApache-2.088 out of 100
2peftPython library for LoRA and other parameter-efficient fine-tuning of Transformers models Live demo ↗ (opens in a new tab)21.9k stars+133 (+0.6%) in 30 daysApache-2.088 out of 100
3deepspeedPyTorch library for distributed training of very large models with ZeRO43.3k stars+166 (+0.4%) in 30 daysApache-2.086 out of 100
#4verlReinforcement learning training library for LLM post-training with PPO and GRPO24.2k stars+391 (+1.6%) in 30 daysApache-2.086 out of 100
#5trlPost-training library with SFT, DPO, GRPO and KTO trainers19.7k stars+247 (+1.3%) in 30 daysApache-2.086 out of 100