verl-agent extends veRL to train LLM and VLM agents with reinforcement learning. It uses step-wise rollouts, customizable memory, and environments such as ALFWorld and WebShop.
Overview
verl-agent is built on veRL for reinforcement learning with large language and vision-language models. Instead of concatenating entire interaction histories each turn, it uses a step-independent multi-turn rollout design so every step can define its own inputs, history, and memory. That layout targets long-horizon tasks that may need dozens of environment steps.
A modular memory manager lets developers choose what prior context each step receives, often a current observation plus a short summary rather than the full transcript. Parallel gym-style environments speed sampling, and group environments reset to identical initial states for group-based algorithms such as GRPO and DAPO.
Supported model families include Qwen3, Qwen3-VL, Qwen2.5, Qwen2.5-VL, and LLaMA3.2, with optional LoRA training to reduce hardware needs. Environments cover ALFWorld, WebShop, search tool-calling setups, Sokoban, Gym Cards, and experimental AppWorld integration.
Training algorithms include GiGPO, the Group-in-Group Policy Optimization method for finer step credit assignment, along with GRPO, PPO, DAPO, GSPO, RLOO, REINFORCE++, and variants with dynamic sampling. GiGPO is the official implementation associated with the NeurIPS 2025 paper on agent training.
Key features
- Multi-turn agent-environment rollouts
- Custom per-step inputs and memory
- Parallel gym-style environments
- Group environments for group RL
- GiGPO and other RL algorithms
- Text and vision-language agent support
- LoRA fine-tuning option
- Bundled embodied and tool environments
Use cases
- RL training for embodied text agents
- Long-horizon WebShop-style tasks
- Search and tool-calling agent research
- Vision-language agents in games
- Reproducing GiGPO paper experiments