OpenRLHF

Active
GitHub Python Apache-2.0

Description

OpenRLHF is a high-performance agentic RL framework based on Ray and vLLM, offering PPO, DAPO, and REINFORCE++ algorithms for large-scale training of agents and vision-language models.

Key Features

  • First production-ready open-source RLHF framework built on Ray + vLLM distributed architecture
  • Supports PPO, DAPO, REINFORCE++, GRPO, and RLOO reinforcement learning algorithms
  • Hybrid engine scheduling where all models share GPUs to minimize idle time
  • VLM (Vision-Language Model) RLHF support for training models with image inputs
  • Multi-turn agent RL with complex environment interactions and custom reward functions
  • DeepSpeed ZeRO-3 integration enabling training of 70B+ parameter models

Use Cases

💡 Training large language models with RLHF for alignment and safety
💡 Fine-tuning reasoning models using REINFORCE++ and GRPO algorithms
💡 Training vision-language models with multi-turn image interactions
💡 Building custom agent reward functions for domain-specific RL training

Strengths & Limitations

Strengths

  • Actively maintained, recent updates
  • High community interest (10.0k stars)
  • Permissive open-source license (Apache-2.0)
  • Established track record (3 years in production)

Quick Start

Install via pip: `pip install openrlhf`. Requires Ray and vLLM. Run SFT training with `ray_start.sh` and example scripts. For agent RL: define a custom reward function and use `--train.agent_func_path`. Check examples/scripts/ for ready-to-use training configurations.

Related Projects

ART

10.7k · Python
Active A+

ART (Agent Reinforcement Trainer) trains multi-step agents for real-world tasks using GRPO reinforcement learning, enabling on-the-job training for models like Qwen, Llama, and more.

reinforcement-learningagent-trainingGRPO +3
  • · GRPO-based reinforcement learning for training multi-step agents on real-world tasks
  • · W&B Training serverless RL with 40% lower cost and 28% faster training via shared inference cluster
  • · Pre-built notebooks for email search, 2048, Tic Tac Toe, Codenames, and MCP tool mastery

AgentScope

30.5k · Python
Active A+

Open-source multi-agent framework from Alibaba, enabling the construction of observable and interpretable agents with rich distributed capabilities.

agent-frameworkmulti-agentdistributed +2
  • · Built-in ReAct Agent — Create agents with reasoning and tool-use capabilities in 5 minutes
  • · Tool & Skill System — Built-in Bash, Grep, file I/O tools with custom extension support
  • · Multi-Agent Orchestration — Flexible multi-agent collaboration via Message Hub

OpenClaw-RL

5.7k · Python
Stale B

OpenClaw-RL: Train any agent simply by talking.

reinforcement-learningopenclawskill-learning +1
  • · Fully asynchronous 4-component RL architecture decoupling agent serving, rollout collection, evaluation, and policy training
  • · Self-hosted and private by design — entire stack runs on your infrastructure with no third-party API dependency
  • · Automatic training from natural conversation feedback with zero manual labeling or dataset curation