Skip to content

HarborRL

Auditable agentic reinforcement learning

HarborRL connects verifiable Harbor tasks, a tool-using agent harness, model serving, trajectory evidence, and GRPO updates in one reproducible pipeline. Start on a CPU, then carry the same contracts into a native GPU deployment.

Run the CPU walkthrough Understand the architecture

What is implemented today

HarborRL validates combinations before launch. The current registry is intentionally small and explicit:

MATH dimension Registered implementation Contract
Model Qwen (qwen) Qwen tool calls served by SGLang
Algorithm GRPO (grpo) Slime v0.3.2 native hooks
Tasks Native Harbor JSON and JSONL catalogs Content-digested, verifier-backed tasks
Harness Claude Code (claude_code) Harbor 0.23.0, Anthropic Messages v1

The registry is the support boundary

Names mentioned by upstream task collections or roadmap material are not supported merely because they exist elsewhere. Use harborrl list ... or harborrl options ... to query the running installation.

CPU-first onboarding

Run a real verifier and export a two-sample GRPO batch without model weights, CUDA, Docker, Harbor, Slime, or SGLang.

Hello World

Strict configuration

Training schema 2 and deployment schema 1 reject unknown fields and inconsistent MATH, topology, GPU, and protocol selections.

Configuration

Evidence, not assumptions

Task digests, policy versions, response consumption, verifier receipts, and token evidence are checked before a trajectory reaches training.

Run artifacts

First five minutes

git clone https://github.com/datamllab/HarborRL.git
cd HarborRL
uv sync --extra dev
uv run harborrl hello --out-dir ./harborrl-hello

The walkthrough creates a native task, executes one failing and one passing scripted attempt, runs the actual verifier, and exports training-batch.json. Its token evidence is a fixture: it does not perform inference or update model weights.

Continue with the quick start, or inspect the exact CLI surface.

Pipeline at a glance

locked Harbor tasks
        │
        ▼
Claude Code harness ──► Harbor runner ──► verifier reward
        │                     │
        ▼                     ▼
policy gateway / SGLang   audited trajectory evidence
                              │
                              ▼
                    complete GRPO groups
                              │
                              ▼
                    Slime native training

--dry-run, offline validation, CPU tests, and live training establish different levels of evidence. The deployment guides label those boundaries instead of treating a parsed configuration as proof that a GPU run will succeed.