Skip to content

NVIDIA-NeMo/ProRL-Agent-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4,402 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polar rollout architecture

Apache 2.0 License

Polar is a RL rollout framework for real-world agent harnesses.

  1. Harness as Environment. Bring your agent harnesses as RL-ready environments without code change.
  2. Smart Rollout Pipeline. Save GPU hours with Polar's parallel rollout staging & runtime prewarm.
  3. Rollout as a Service. Server mode by design -- scaling Async RL with any training frameworks.

Architecture Overview

Polar rollout architecture

The Rollout Server manages and dispatches client requests into distributed Gateway Nodes, which asynchronously prepare runtime, execute agents, build trajectories and evaluate them. Agent harnesses are listened by a proxy that sits between agnostic agent execution processes and local inference servers.

Installation

Install the Rollout Server (Polar):

uv venv
uv pip install -e .

Install the Inference Server (SGLang):

uv pip install --prerelease=allow sglang==0.5.10
bash scripts/patch/patch_sglang.sh

The patch applies necessary TITO and prompt token id emission on pinned sglang version. We'll remove this once upstream supports go through. vllm integration is on the way.

Polar is trainer agnostic. So choice of Trainer and Training Backend are highly flexible given Polar's server boundaries.

Currently, we provide a demo-purpose Slime integration in Slime bridge installation guide.

(Optional) For SWE-bench official evaluation harness:

uv pip install -e ".[swebench]"

(Optional) To enable polar dashboard UI, build the frontend once.

cd web && npm install && npm run build

Usage Guide

CLI Interface

A typical local run uses five commands. Each takes the same topology.yaml.

polar serve_rollout   -c topology.yaml                            # central orchestrator (port 8080)
polar serve_gateway   -c topology.yaml --node-id <node>           # one per gateway node (port 8100+)
polar dashboard       -c topology.yaml [--port 8090]              # observability & monitoring dashboard
polar submit          <task.json|yaml> -c topology.yaml           # submit a task and tail it
polar status          -c topology.yaml                            # one-shot health / topology check

Examples

Polar rollout architecture

This project is under active development. We are adding new examples for different tasks / models on diverse hardware setups. Contributions are welcome!

Roadmap

Our development goal for Polar is low-intrusion and neutral, finding the lowest common ancestor to cover and support diverse training and inference frameworks.

  • Initial release & tech report.
  • Slime bridge & RL example.
  • CUA (VLM / VLA) Support.
  • More built-in evaluators (eg. self distillation with textual feedback).
  • vLLM dual inference support.
  • More trainer bridges (NemoRL, VERL, etc.).
Polar rollout architecture

📖 Reference

Important

If you find it useful, please consider citing our work:

@article{zhang2026prorl,
  title={ProRL Agent: Rollout-as-a-Service for RL Training of Multi-Turn LLM Agents},
  author={Zhang, Hao and Liu, Mingjie and Zhang, Shaokun and Han, Songyang and Hu, Jian and Jin, Zhenghui and Zhang, Yuchi and Diao, Shizhe and Lu, Ximing and Xu, Binfeng and others},
  journal={arXiv preprint arXiv:2603.18815},
  year={2026}
}

About

Agentic RL on Any Harness at Scale

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors