RAGEN
RAGEN is a framework for training LLM agents with multi-turn reinforcement learning, supporting the StarPO algorithm and inference crash diagnosis.
- Region
- Overseas
- Pricing
- Free
- Open source
- Yes
- GitHub Stars
- ★ 2.8k
- Views
- 1
- Source
- GitHub
- Added
- 2026-08-25
- Last verified
- 2026-08-25

Overview
RAGEN is a flexible reinforcement learning framework designed for training LLM agents with multi-turn reinforcement learning capabilities. It is based on the StarPO algorithm, supports trajectory-level optimization, and provides multiple built-in environments. The RAGEN-2 version introduces SNR adaptive filtering and inference crash diagnosis to address template collapse issues. The framework is suitable for training agents requiring multi-turn dialogue or task processing, helping developers better understand and improve the reinforcement learning training process.
Key features
- ▪Supports multi-turn reinforcement learning
- ▪Built-in 10 environments
- ▪StarPO algorithm optimization
- ▪Inference crash diagnosis
Use cases
Pros
- +Flexible multi-turn training
- +Rich built-in environments
- +Detailed diagnostic tools
Limitations / notes
- -Requires some reinforcement learning background
- -Higher learning curve
Who it's for
This overview was compiled by AI from public sources and may contain inaccuracies — please refer to the official site.
FAQ
Is it free?
Yes, RAGEN is an open-source project and can be used freely.
Does it support Chinese?
The documentation is primarily in English, but the code and examples support multiple languages.
Can it be used commercially?
Yes, RAGEN is an open-source project and is licensed under the corresponding open-source license agreement.
Similar agents
Cursor
FeaturedAI-powered code editor with Agent mode
Dify
FeaturedOpen-source LLMOps + Agent orchestration platform
扣子 Coze
FeaturedByteDance's no-code Agent/Bot building platform
Trae
FeaturedAI IDE (with Agent) from ByteDance
LangChain
FeaturedThe most mainstream LLM/Agent orchestration framework
Devin
FeaturedAutonomous software engineer Agent by Cognition
Something wrong? Let us know on the About page and we'll fix it.