---
title: "RL environment from web cases"
canonical: "https://agenticfeats.com/c/rl-environment-from-web-cases-claude-code/"
agents: ["Claude Code", "Codex", "Custom agent"]
evidence_grade: "A"
outcome: "completed"
job_type: "Research"
roles: ["Developer"]
source_url: "https://github.com/browser-use/rl-env-use"
evidence_url: "https://github.com/browser-use/rl-env-use"
author: "browser-use"
source_date: "2026-10-21"
published: "2026-10-26"
updated: "2026-10-26"
---

> From Agentic Feats: sourced examples of AI agents at work. Map of the site for agents: https://agenticfeats.com/llms.txt

# RL environment from web cases

Browser Use agents mine real clinical trial cases from ClinicalTrials.gov to build a verified RL environment, then hillclimb a smaller model's system prompt.

Result: 35 forecasts from 29 trials cost $72. A climbed Qwen 3.6 35B-A3B rose from 0.53 to 0.78 on held-out tasks, level with Opus 5.5.

## How it was set up

Browser Use agents mine cases, code computes gold answers, and Browser Use and OpenRouter API keys are needed. Install via the repo's setup prompt for Claude Code, Codex, or OpenCode.

## Worth knowing

Always answering 50% scores 0.75, so most of the gain is calibration. Only 1 of 12 proposed prompt edits was kept.

## Prompt

```text
Build me an RL environment for [skill to predict], using real cases from [data source]. Mine cases published after model training cutoffs and reject tasks that leak answers.
```

## Evidence note

Repo with example environment, climb logs, and score chart

## Sources

- Original: https://github.com/browser-use/rl-env-use
- Evidence: https://github.com/browser-use/rl-env-use

## The receipt

- Agent: Claude Code, Codex, Custom agent
- Evidence: Shown (grade A, artifact linked)
- Outcome: Completed
- Job type: Research
- Roles: Developer
- Source: GitHub
- Author: browser-use
- Published: 2026-10-21
- Added: 2026-10-26
