OpenRLHF

OpenRLHF/OpenRLHF

An Easy-to-use, Scalable and High-performance Agentic RL Framework based on Ray

9.8k
Stars
981
Forks
342
Open issues
52
Watchers
Python Apache-2.0Last pushed Jul 6, 2026

Overview

OpenRLHF is a production-ready reinforcement learning framework focused on human feedback (RLHF) that combines the Ray distributed computing platform with vLLM architecture. It provides scalable reinforcement learning solutions following a unified agent-based design paradigm.

Categories

Tags

Similar tools

Install

pip install OpenRLHF

README

GitHub Contributors Issues Issues GitHub pull requests GitHub stars Ask DeepWiki
Open-source / Comprehensive / Lightweight / Easy-to-use


[ English | δΈ­ζ–‡ | ζ—₯本θͺž ]

OpenRLHF is the first high-performance, production-ready open-source RLHF framework that combines Ray + vLLM distributed architecture with a unified agent-based design paradigm for scalable and extensible reinforcement learning from human feedback.

πŸ“š Learn More: Documentation | Slides | Technical Report | Video

πŸ“– Table of Contents

  • πŸ—žοΈ News
  • πŸ—οΈ Architecture Foundation - Ray + vLLM + DeepSpeed distributed infrastructure
  • 🎯 Design Paradigm - Unified agent-based execution pipeline
  • πŸš€ RL Algorithms - PPO, REINFORCE++, GRPO, RLOO
  • πŸ“‹ Features Overview - Complete RLHF pipeline capabilities
  • 🎬 Quick Start - Installation and typical workflow
  • πŸŽ“ Training Guide - SFT, Reward Model, RL Training
  • 🎯 Single-Turn Agent - Custom reward functions
  • πŸ€– Multi-Turn Agent - Complex environments
  • πŸ”§ Advanced Topics - LoRA, performance tuning

News

Show News
  • [2026/4] OpenRLHF 0.10 adds Multi-Turn VLM RL β€” multi-step interactions with images in both prompts and environment feedback (e.g. screenshots). Example: vlm_multiturn_agent.py
  • [2026/4] OpenRLHF 0.10 adds VLM (Vision-Language Model) RLHF support β€” train VLMs like Qwen3.5 with image inputs end-to-end. Training script: train_vlm_math_hybrid_engine.sh
  • [2026/2] ProRL V2 uses REINFORCE++-baseline to train a state-of-the-art 1.5B reasoning model with prolonged RL training. Training script: train_prorlv2_math_hybrid_engine.sh
  • [2025/10] ScaleRL validates the effectiveness of REINFORCE++-baseline in large-scale training scenarios. Releases [REINFORCE++ slides](https://docs.google.com/present