PrimeIntellect-ai/prime-rl

Agentic RL Training at Scale

What it solves

prime-rl provides a framework for training large-scale AI models using reinforcement learning (RL). It addresses the complexity of scaling RL training to massive clusters, allowing developers to perform end-to-end post-training—including Supervised Fine-Tuning (SFT), RL, and evaluation—on everything from single GPUs to clusters with over 1,000 GPUs.

How it works

The framework uses a fully asynchronous approach to RL, which enables high-throughput training. It is built to handle massive models, including Mixture-of-Experts (MoE) architectures, by leveraging advanced techniques like Fully Sharded Data Parallelism (FSDP2), Expert Parallelism (EP), and Context Parallelism (CP). It integrates with vLLM for high-performance inference and supports deployment on Slurm-managed clusters.

Who it’s for

This framework is designed for researchers and engineers who need to train or fine-tune large language models (LLMs) and vision-language models (VLMs) at scale. It is intended for users who require a modular, hackable system that can handle complex agentic tasks, tool use, and reasoning benchmarks.

Highlights

  • Fully asynchronous RL training for high-throughput performance.
  • Native support for agentic and software engineering (SWE) environments.
  • Built-in support for multimodal models like Qwen3.5 and Qwen3.8 VLMs.
  • Optimized for massive scale, supporting 1T+ parameter MoE models on 1000+ GPUs.
  • Includes one-line Slurm deployment for frontier models.
  • Modular design that allows for custom modeling and algorithm experimentation.

Related

  • Project
  • Project
  • Project
  • Project
  • Project