2026-11-26 15:47 UTC

HarborRL releases an open-source pipeline for training tool-using agents

state: seedheat: mediumuncertainty: mediumrelevance: highagentic-rl open-source-training agent-harnessesDataMllab

What is this?

HarborRL is an MIT-licensed open-source framework from DataMLLab for training tool-using agents on verifiable, sandboxed tasks. Its GitHub README says it combines model serving, trajectory generation, tool execution, verifier rewards and policy updates in a reproducible pipeline. The project lists Qwen and GLM models, GRPO and DAPO algorithms, 200+ Harbor-format tasks and 40+ agent harnesses as supported; these are project-reported scope claims, not independently verified coverage. The README dates the release to October 2026 and describes recent configuration and deployment features. Running CPU development checks is relatively lightweight, but native training needs backend setup, and real task data must be fetched separately.

Why it matters

HarborRL targets a major bottleneck in agentic reinforcement learning: the engineering work of connecting model serving, tool-using task runs, verifiable rewards, and policy updates. If its reported integrations work as described, the MIT-licensed pipeline could make it easier for more teams to train agents on coding and other sandboxed tasks, and to compare combinations of models, algorithms, tasks, and harnesses. That could broaden access to agent training infrastructure, though the release materials do not establish independent validation, adoption, or training results.

Current assessment

DataMLLab’s GitHub repository presents HarborRL as a released, MIT-licensed framework for training tool-using agents on verifiable, sandboxed tasks. It says the pipeline combines model serving, trajectory generation, tool execution, verifier rewards, and policy updates. The README lists Qwen and GLM models, GRPO and DAPO algorithms, 200+ Harbor-format tasks, and 40+ harnesses, including Claude Code, Codex, LangGraph, and SWE-agent; these are project-reported scope claims, not independently verified coverage. The repository dates the release to October 2026 and lists October 26 additions including a configuration wizard, local web console, deployment configuration, optional OpenSandbox execution, and opt-in train/inference consistency checks. CPU development setup does not require CUDA or model weights, but native training requires backend setup; real task data must be fetched separately. The evidence establishes a repository release, not successful training across all listed combinations, benchmark gains, or user adoption. Its significance is the potential to reduce integration overhead and make agent-RL experiments more reproducible and accessible. No earlier upstream announcement or paper is established in the supplied evidence.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p0momentum: steady2 platformsage 1369h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

09-30 14:00⭐ origin echo-reconstructedThe repository README identifies HarborRL as “A lightweight agentic reinforcement learning framework for everyone” and announces “10/2026 Ha
DataMLLab on github (echo) · attributed from reddit.post.1xgslk6
—
10-27 13:31first on r/LocalLLaMA · published · +647.5h🚀 Introducing HarborRL: Agentic RL for Everyone!
Dear_Treat3688
—
10-27 13:31amplified on r/LocalLLaMA 👑reddit.post.1xgslk6
Dear_Treat3688
peak 2 · 2 comments · 97% of case engagement
10-27 14:26our radar first saw it · +648.4hdiscovery anchor: reddit.post.1xgslk6—

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟠 reddit🚀 Introducing HarborRL: Agentic RL for Everyone!
LocalLLaMA
Retrieved article excerpt

Open article · Retrieved 2026-10-27T14:29:48.580306+00:00

[HarborRL](https://github.com/datamllab/HarborRL/blob/main/assets/HarborRL-title.jpg)

# HarborRL

**A lightweight agentic reinforcement learning framework for everyone**

[Version](https://github.com/datamllab/HarborRL/blob/main/pyproject.toml)
[Python 3.10+](https://www.python.org/downloads/)
[PyTorch 2.4+](https://pytorch.org/)
[MIT License](https://github.com/datamllab/HarborRL/blob/main/LICENSE)

English · [简体中文](https://github.com/datamllab/HarborRL/blob/main/README_zh.md)

---

## News

- **2026-10-26** Added an [offline configuration wizard](https://github.com/datamllab/HarborRL/blob/main/docs/configuration-wizard.md) and a [local Web console](https://github.com/datamllab/HarborRL/blob/main/docs/web-console.md) for configuration, validation, dry-runs, training launch, and logs.
- **2026-10-26** Added [controller/GPU deployment configuration](https://github.com/datamllab/HarborRL/blob/main/docs/deployment.md), optional [OpenSandbox execution](https://github.com/datamllab/HarborRL/blob/main/docs/sandbox-rollout.md), and opt-in [train/inference consistency checks](https://github.com/datamllab/HarborRL/blob/main/docs/train-inference-consistency.md).
- **10/2026** 📣📣📣 HarborRL released

## About

HarborRL is a lightweight framework for training tool-using agents on verifiable, sandboxed tasks. It makes model serving, trajectory generation, tool execution, verifier rewards, and policy updates into a single reproducible pipeline.

HarborRL supports flexible combinations of **Models × Algorithms × Tasks × Harnesses (MATH)**:

- **Models:** RL training using Qwen and GLM as base models.
- **Algorithms:** GRPO and DAPO for RL training.
- **Tasks:** RL training on **200+** Harbor-format tasks in isolated workers, including Terminal-Bench, SWE-Bench, Deep-SWE, and more.
- **Harnesses:** RL training with **40+** harness frameworks, including Claude Code, Codex, LangGraph, SWE-agent, and more.

## AI-assisted Configure

For the offline options catalog, interactive configuration, and answer-file setup,
see the [configuration CLI guide](https://github.com/datamllab/HarborRL/blob/main/docs/configuration-wizard.md).
Start with `harborrl options` or `harborrl init --help`.

Run `harborrl web` to open the local browser console for configuration, validation,
dry-runs, training launch, and logs. See the [web console guide](https://github.com/datamllab/HarborRL/blob/main/docs/web-console.md)
for remote-controller access and lifecycle details.

If you want an AI agent to help deploy this repository and verify training,
ask it to first read and strictly follow
[docs/agents/environment-check.md](https://github.com/datamllab/HarborRL/blob/main/docs/agents/environment-check.md).

The practiced workflow is to give the agent this prompt, replacing the bracketed
values with your topology:

```
Read docs/agents/environment-check.md and follow it exactly.
Target: [CPU development only | native split CPU-rollout/GPU-training deployment]
Config: <Path to config.yaml>, or none
Topology: controller=<Your IP address>:<Port Number>;
  rollout workers=<Rollout worker IP address>:<Port Number>;
  GPU machine=<GPU machine IP address>:<Port Number>

First run read-only checks only. Return the required structured report and tell
me the smallest next command that fixes one blocker. Do not install, download,
pull an image, mount storage, or start a service without my explicit consent.
After each approved change, rerun the relevant checks. Finish with harborrl
doctor and launch_native --dry-run for a native deployment.
```

Confirm the result yourself against this checklist:

1. The agent reports one acceptance level: `cpu_development`,
   `deployment_preflight`, or `training`; it does not promote a CPU-only check
   or dry run to a higher level.
2. For CPU development, `uv run harborrl --help` and `uv run pytest` both pass.
3. For native deployment, every statically verifiable rollout-worker, GPU, and
   cross-machine check is `ready`; `harborrl doctor` has no failed checks; and
   `uv run harborrl train <Path to config.yaml> --dry-run` resolves the launch
   plan.
4. Every `unknown` item names what is deferred and why. Live gateway and
   task-image checks can legitimately remain deferred before training.
5. The agent waits for explicit consent before starting real training.

## Quick Start

The default CPU install does not need a Sandbox SDK or cluster account.
For controller placement, see [deployment](https://github.com/datamllab/HarborRL/blob/main/docs/deployment.md). For optional
standard OpenSandbox execution, see [Sandbox rollout](https://github.com/datamllab/HarborRL/blob/main/docs/sandbox-rollout.md).
The independently installed [H-cluster practice](https://github.com/datamllab/HarborRL/blob/main/practices/h_cluster/README.md)
contains Brainbox-specific deployment and restricted-network relay examples.

### Install

Use Python 3.10 or newer. Runtime dependencies, development dependencies, and the `harborrl` command are locked by [pyproject.toml](https://github.com/datamllab/HarborRL/blob/main/pyproject.toml) and [uv.lock](https://github.com/datamllab/HarborRL/blob/main/uv.lock). The CPU development install does not require CUDA, Docker, model weights, Slime, Megatron-LM, or SGLang.

Install [uv](https://docs.astral.sh/uv/) 0.9 or newer, then synchronize the locked CPU development environment:

```
uv sync --extra dev
```

Expected result: uv reads `uv.lock`, creates `.venv/`, and installs HarborRL with `pytest` and `ruff`. The command does not install CUDA kernels, Docker, model weights, Slime, Megatron-LM, or SGLang.

Run commands through the locked environment:

```
uv run harborrl --help
uv run pytest
```

Expected result: uv executes the installed entry point and tests without activating the virtual environment manually. `train` accepts command composition or a YAML file; `doctor` validates a YAML deployment.

For native training, install the pinned backend stack in a writable location:

```
bash scripts/bootstrap_backends.sh <Path to HarborRL backends>
. <Path to HarborRL backends>/harborrl-backend.env
```

### Train

After installation, choose one of the two configuration styles:

```
# Compose the four experiment dimensions.
uv run harborrl train -model qwen3-8B -harness claude-code -task terminal-bench -alg grpo

# Load a complete, reproducible experiment definition.
uv run harborrl train <Path to config.yaml>
```

For a bootstrap-aware YAML launch, use:

```
bash scripts/launch_native.sh --config <Path to config.yaml> --backends <Path to HarborRL backends>
```

The command style is a shorthand over `config.yaml` in the working directory (or the file selected with `--config`) and selects the four experiment dimensions. The YAML style is the complete launch definition: it also pins checkpoints, workers, serving settings, GPU topology, sampling limits, and output locations. Start from [examples/native/train\_qwen\_native.yaml](https://github.com/datamllab/HarborRL/blob/main/examples/native/train_qwen_native.yaml) and keep site-specific files outside the repository.

## Task Configuration

Training is configured with one YAML file that has a fixed section and field set. Relative paths resolve against the YAML file, and repeated `--set section.field=value` overrides are parsed as YAML values and validated again. Start site-specific configurations from [examples/native/train\_qwen\_native.yaml](https://github.com/datamllab/HarborRL/blob/main/examples/native/train_qwen_native.yaml). Optional [train/inference consistency checks](https://github.com/datamllab/HarborRL/blob/main/docs/train-inference-consistency.md) compare frozen rollout scores with the pre-update trainer and probe synchronized inference engines.

The configuration has three broad parts: `execution` is fixed to `harbor_job`; `harbor`, `gateway`, and `deployment` describe rollout workers, service endpoints, and GPU topology; `tasks`, `harness`, `model`, `training`, `sampling`, and `output` describe the experiment and its outputs.

HarborRL consumes Harbor-recognized native tasks directly and does not maintain private conversion formats for individual benchmarks. A typical task directory is:

```
task/
├── task.toml
├── instruction.md
├── environment/Dockerfile
└── tests/test.sh
```

Here, `task.toml` declares resources, the agent, and the verifier; `instruction.md` is the agent-facing instruction; `environment/Dockerfile` builds the isolated environment; and `tests/test.sh` verifies the result and writes `reward.json` or `reward.txt`. For training, tasks are locked into a catalog with their task ID, upstream revision, local path, content digest, and reward parsing rules; see [examples/native/catalog.json](https://github.com/datamllab/HarborRL/blob/main/examples/native/catalog.json).

The bundled runnable example is `hello_world`. Real training tasks are not repackaged by this repository: fetch Harbor-native datasets or tasks from Harbor Hub, and use the [compatibility summary](https://github.com/datamllab/HarborRL/blob/main/configs/harbor_hub/public_compatibility_summary.md) to understand validated coverage. After fetching a task root, validate it locally with `harborrl hub inspect` and lock it into your own catalog.

## License

HarborRL is released under the MIT license.

## Citation

If you use HarborRL for your research, please cite our technical report:

```

```

## Acknowledgement

We thank [Slime](https://github.com/THUDM/slime) and [Harbor](https://github.com/harbor-framework/harbor) for developing the foundational infrastructure for training and task execution.
Dear_Treat368812
🟧 echo.github ⭐The repository README identifies HarborRL as “A lightweight agentic reinforcement learning framework for everyone” and announces “10/2026 HaDataMLLab——

Interpretation history

Decision trace