← 开源

Agentic RL on Any Harness at Scale

InfrastructureOrchestrationMake world agent-readyPython
增长势头
+124 小时新增 Star+0.1%
884
Star
100
Fork
+2
本周
100
贡献者
创建于 2025-09-24 · 更新于 2026-12-06 · 今日第 6605 名
主要开发者
README

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 Pooling.
  3. Rollout as a Service. Server mode by design -- scaling Async RL with any training frameworks.

Architecture Overview

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 inference servers.

Installation

🟩 Install the Rollout Server (Polar):

uv venv --python 3.12
uv pip install -e .
source .venv/bin/activate

🟩 Install the Inference Server (SGLang or vLLM):

Pick one (that your trainer supports). Avoid installing both under the same environment given dependency conflicts.

vLLM

uv pip install vllm --torch-backend=auto

SGLang

uv pip install "sglang==0.5.13"

🟩 Install your favorite Training Framework:

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

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

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

cd web && npm install && npm run build

Quick Start

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

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.).

📖 Reference

Important

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

@article{xu2026polar,
  title={Polar: Agentic RL on Any Harness at Scale},
  author={Xu, Binfeng and Zhang, Hao and Zhang, Shaokun and Han, Songyang and Liu, Mingjie and Hu, Jian and Diao, Shizhe and Jin, Zhenghui and Zou, Yunheng and Demoret, Michael and Kautz, Jan and Dong, Yi},
  journal={arXiv preprint arXiv:2605.24220},
  year={2026}
}
@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}
}
排名相邻
同类项目

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载