# rl-env-use: RL Environments for Any Domain from Real Web-Mined Cases

- **ID:** 1427
- **Kind:** tool
- **URL:** https://github.com/browser-use/rl-env-use
- **Authors:** Browser Use (@browser_use)
- **Venue:** GitHub, repo created 2026-10-21
- **Published:** 2026
- **Source:** x
- **Language:** en
- **Access:** free
- **Added:** 2026-10-21
- **Verified:** 2026-10-21
- **Page:** https://papers.projxon.ai/entries/1427

## Summary

An open-source tool that builds an RL environment / eval for a skill in any domain from real cases mined from the live web. Input is one line ("predict whether a completed trial met its primary endpoint from its registered protocol; ClinicalTrials.gov"); a planner writes a spec (skill, sources, conventions, outcome-blind sampling rule), then mining rounds loop mine → write → verify → frontier panel → harden → verify → panel until the task target, the budget, or two rounds with no new tasks. A case = the materials the model reads (a trial protocol, a 10-Q) plus its true outcome, published elsewhere or later; Browser Use agents mine both. Gold answers are computed by code from expressions over numbers in the materials; mined outcome facts must be quote-verified (the agent must surface the source quote). A frontier panel (Opus 5.5, GPT Astra, Gemini) measures difficulty — all-pass tasks are rewritten harder on the same case, up to two levels — and tasks are rejected for leaked answers, memorized outcomes (closed-book memory check), or ambiguous prompts. Grading is programmatic (number / date / set / exact / contains / probability), self-tested against null, foreign, and perturbed golds. The artifact is one folder, envs/<name>/: spec.json, kb.json (materials + quote-verified outcome facts + missions), tasks.jsonl (every drafted task with gold and checks; only passing tasks are served), audit.json, reviews.jsonl (human verdicts and gold fixes), and climb-<model>/ prompt versions. `export` writes the dataset for an RL trainer; `from rl_env_use import Env` serves it in code (reset, reward). Built directly on Anthropic's "Automating eval design and hillclimbing" workflow (Lance Martin, claude.dev, 28 Sep 2026; the claude-api skill's build-eval → hillclimb method) with one change: real web-mined cases instead of synthetic ones. The hillclimb loop edits a model's SYSTEM PROMPT (the model is fixed), split by case, with A/A noise floors — edits are kept only on a paired case-bootstrap test gain. Verification comparison (first-party; also shipped as a `compare` command that reruns mining with vanilla Claude Code — WebSearch + WebFetch, same model and instructions — through the same synth + verify pipeline): 8 clinical-trial-result missions, Claude Code verified 0 of 86 facts vs Browser Use 17 verified / 4 complete cases; a same-model rerun, 0 of 43 vs 3 verified / 2 complete; 8 human-genetic-variant missions (UniProt, gnomAD, GTEx), 6 of 82 vs 40 verified. Shipped example envs/trial-forecast: 35 forecasts from 29 ClinicalTrials.gov trials whose results were posted since July 2026, after the models' training data; built for $72 ($17 of it Browser Use). A prompt-climbed open Qwen 3.6 35B-A3B goes 0.53 → 0.78 on held-out tasks it never trained on (score = 1 − Brier; +0.25, 95% CI +0.07 to +0.45), level with Opus 5.5 (0.77) and below GPT-6 Astra (0.81); the climb kept 1 of 12 proposed edits (base-rate priors per question type). The README is explicit that most of the gain is calibration: always answering 50% scores 0.75, so the base model's 0.53 sat below the constant baseline because it answered 0 or 1. Maturity: repo created the day of the announcement (2026-10-21), 10 commits, 43 stars, no releases; Python 3.11+, optional Node 18+ for HTML reports; offline pytest suite included. Human review is built into the step-by-step mode (three sign-offs: cases, tasks/grading, pilot cost); an autonomous mode is the default.

## Research notes

- Discovery: Hudson shared the @browser_use announcement thread 2026-10-21 12:47 AM ET (https://x.com/browser_use/status/2112767614468694286). Thread claims checked against the repo (canonical); two corrections: (1) cost — the thread says $8, the README documents $72 total to build the shipped env ($17 Browser Use); mining runs ~$0.15–0.40 per mission per SKILL.md, default create budget $40. (2) "16 held-out tasks" is thread-stated; the README documents 35 forecasts from 29 trials and reports the held-out gain with its CI but does not restate the test-split count. Caveats: all results are first-party from the vendor whose product is the mining agent — the Claude Code baseline is a fetch-only pipeline (WebSearch + WebFetch) that structurally cannot reach results behind tabs and search forms, which is both the paper's point and the self-serving framing; the same-model control mission and the shipped `compare` command partially answer it. The headline improvement is prompt hillclimbing, not weight training, and is mostly calibration on a small held-out set (CI spans +0.07 to +0.45). Domains demonstrated: clinical trials, human genetic variants, and (per SKILL.md's panel-saturation note) SEC-filing derivation tasks. Relevance: RL environment construction is the bottleneck queue #46 (Deep-ML, "build the environment, train with GRPO") and #25 (Gottlieb, "How to make a good RL task") both circle; the differentiator here is real, verified, post-cutoff cases mined from interactive pages a fetch pipeline cannot reach, plus the anti-saturation panel and the quote-verification gate as reusable environment-quality checks. Cluster: #46, #25, #7 (Harness Evolution — when weight training should begin; note this tool hillclimbs prompts ON an environment, the environment export is the RL artifact), ID 674 (OpenEnv).
- License: MIT (verified from repo LICENSE file)

## Similar entries

- [RL Environment Explorer — Hugging Face Hub RL Environments filter](https://papers.projxon.ai/entries/1290) (tool, #1290)
- [Open Env Arena — agent arena for RL environments](https://papers.projxon.ai/entries/1307) (tool, #1307)
- [MiMo-V2.6-RL-oss (Agentic RL Environments)](https://papers.projxon.ai/entries/1063) (dataset, #1063)
- [AgentEnv (Scale AI) — open framework for building RL agent environments](https://papers.projxon.ai/entries/1276) (code, #1276)
- [The ultimate guide to multi-harness RL](https://papers.projxon.ai/entries/839) (post, #839)
- [vime × RL-Kernel × AMD: Bitwise Train–Rollout Consistency on ROCm (RL-Kernel v0.1.0)](https://papers.projxon.ai/entries/1044) (post, #1044)
