OpenViSTAI · Agents · Blockchain · Crypto
Menu
Agent Frameworks

Ragen

Ragen is a Python framework for training reasoning-oriented LLM agents through multi-turn reinforcement learning. It is built around StarPO, which optimizes agent trajectories, and includes environments and diagnostics for studying agent-training behavior.

Independent OpenViST project profile, based on linked sources.

Ragen — OpenViST project profile in Agent Frameworks.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Ragen when a project requires training and analyzing LLM agents that take multiple actions in an environment, particularly when reasoning behavior during reinforcement learning is part of the research question.

Who it is for

  • Researchers studying reinforcement learning for reasoning-capable LLM agents.
  • Developers experimenting with multi-turn agent training in task environments.
  • Teams investigating reasoning collapse or other agent-training failure modes.

Documented uses

  • Train LLM agents to interact with an environment over multiple turns.
  • Compare trajectory-level and turn-wise training approaches using StarPO.
  • Inspect whether reasoning remains distinguishable across different inputs during training.
  • Add a custom environment through the documented Gym-compatible interface.
Before you choose

Requirements & limits

The project repository is public and specifies an MIT license. The README documents a Conda-based Python 3.12 setup.

  • Ragen is a training framework, not a hosted agent service; its README documents a self-managed development workflow.
  • StarPO supports trajectory-level and turn-wise training, with PPO and GRPO listed as update options.
  • RAGEN-2 adds SNR-Adaptive Filtering and mutual-information proxy metrics for examining reasoning collapse.
  • The README lists 10 built-in environments and a Gym-compatible interface for custom environments.
  • The documented setup uses Python 3.12, Conda and a shell installation script.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Set up Ragen and start a Sokoban training run

Create the documented Conda environment, install the project dependencies, and launch the README’s Sokoban training command.

Before you start

  • Python 3.12 through Conda
  • A shell environment with Git and Conda

Steps

  1. Clone the Ragen repository and change into its directory.

  2. Create and activate a Conda environment named ragen with Python 3.12.

  3. Run the setup script with bash scripts/setup_ragen.sh.

  4. Start training with python train.py --config-name _2_sokoban.

Expected outcome

The documented setup is followed by a training run using the _2_sokoban configuration.

Guide limitations

  • The README does not specify hardware requirements or expected run time.
  • For WebShop, the README points to a separate experiment guide.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
14 October 2026
Original website title
mll-lab-nu/RAGEN · Official homepage title · retained in its source language