✦ RL environments

RL environmentsfor coding and STEM agents

An RL environment is a task a model can practise on and be scored by code. Ours are built as verifiable tasks in Harbor format: a brief, a container, an expert solution that scores 100% and a hidden verifier that turns the end state into a reward. The container is the packaging. The value is in the brief, the solution, the verifier and the difficulty check.

Talk to usSee a task folder
✦ Anatomy

One Harbor folder
per task

A lab can run any task against any agent with one command and get a reward back, with no setup on our side.

my-task/Harbor format

my-task/

my-task/instruction.md
1# instruction.md23

The brief

4

What the agent sees, written like a real ticket.

1 / 5
The container is the packaging. The value is in the brief, the solution, the verifier and the difficulty check.
✦ Inside a task

Where the work
actually goes

Most of the effort goes into four parts: the brief, the reference solution, the verifier and the difficulty check.

  1. Brief

    instruction.md

    States the goal and the constraints an expert would be given, and nothing that gives away the method. Specification files the agent must follow ship inside the environment.

  2. Environment

    environment/

    Pinned images, offline package mirrors where needed, and local stand-ins for cloud services, so runs are reproducible and never touch live accounts.

  3. Reference solution

    solution/

    A complete expert solution. It is re-run on every version of the task, and if it ever scores below 100%, the task does not ship.

  4. Verifier

    tests/

    Runs as a separate user, and for complex tasks in a separate container. Grades the final state of the system and writes a machine-readable report beside the reward.

  5. Metadata

    task.toml

    Category, difficulty, timeouts with a written worst-case budget, resource limits and version tag, so a lab can schedule and track runs at scale.

✦ Task categories

What agents
work on inside

Terminal and systems environments cover long-horizon technical work that an expert would need hours to finish, judged only on the state the agent leaves behind.

  • Software engineering and debugging

    Diagnose and repair failing builds, services and engines, resolve dependency and release problems, and rebuild lost components from archived behaviour.

  • Systems and operations

    Configure servers, networks and storage, recover broken system state, harden services and manage processes across containers.

  • Data, ETL and databases

    Build and repair pipelines, validation gates and migrations, query and transform large datasets, and reconcile records exactly.

  • ML training and serving

    Train, fine-tune and evaluate models, reproduce a retired model's outputs exactly, debug distributed training and checkpoints, and write GPU kernels.

  • Hardware and embedded

    Design and debug RTL, run simulations, and work with firmware, binaries and low-level interfaces.

  • Mathematics, games and formal reasoning

    Produce exact answers, proofs and complete enumerations, and solve puzzles, games and simulations with strict, checkable outcomes.

  • Science and engineering

    Graduate-level problems that take an expert 16 to 20 hours: qualify numerical solvers, model physical systems, prove results and enumerate complete solution sets.

  • Security and forensics

    Investigate, consolidate and seal evidence, find and fix vulnerabilities, and reverse-engineer formats and specs.

  • Regulated business work

    Finance, tax, legal and medical workflows where every amount and decision must follow the written rules, to the cent.

✦ The setup

What the agent faces,
and what it leaves behind

Agent faces

A real working setup

A brief written the way a senior engineer, scientist or analyst hands over work, with a time budget, inside a real environment.

  • One container
  • Multi-container network
  • GPUs
  • Database snapshots
  • Checkpoints
  • RTL
  • CAD files
  • Binaries
Must produce

A verifiable end state

  • A repaired build or service
  • A migrated database
  • A trained or recovered model
  • A passing hardware simulation
  • A qualified numerical solver
  • A complete proof or census
  • Business decisions that follow the rules exactly
✦ Task families

Environments across
five task families

Every family is delivered as Harbor tasks, in single- and multi-container environments with GPUs where needed, with test-graded, rubric-graded or judge-graded verifiers. Each one has its own bar a task must clear.

  1. Terminal and systems

    Long-horizon work inside real containers: repair and ship software, run data and ML pipelines, design hardware, and solve science and engineering problems.

    Frontier models solve 1 to 2 of 5 independent attempts
  2. Codebase investigation

    Investigate a large codebase pinned to one commit and answer an engineer's plain-language question, using source reading and runtime evidence.

    Best of 5 independent trials scores below 70%
  3. Code review

    Review a real, runnable pull request like a senior engineer: find every high and medium defect, rate its severity, and report nothing that is not there.

    At most 2 of 8 review runs pass
  4. Algorithms and data structures

    Design a provably correct and efficient program for an original contest-level problem under tight limits.

    Solved in at least 1 and at most 3 of 8 attempts
  5. Cloud and DevOps incidents

    Take over a broken, production-like cloud system, recover it without losing an acknowledged record, re-deploy and tear down cleanly.

    At most 1 of 6 panel runs passes
✦ Reward signal

Rewards stable enough
to train on

A lab runs each environment many times. The reward has to mean the same thing on every run, on every host.

  1. Rule 01

    Observe, do not trust reports.

    On complex tasks most of the score comes from the verifier driving the system itself: sending real traffic, reading state back and re-running deploys.

  2. Rule 02

    Agent failure is not infrastructure failure.

    A submission that breaks its own rules scores 0 and the result stands. An outage in the grading harness marks the trial invalid instead, so labs never train on noise.

  3. Rule 03

    Count each root cause once.

    Checks that depend on a broken step are reported as blocked, so one mistake does not look like five. Capped failures are never excused this way.

  4. Rule 04

    Deterministic and time-boxed.

    Each check has its own deadline, and the verifier timeout is set from a written worst-case budget, so a slow host never turns a pass into a fail.

✦ Example

One environment
up close

Cloud and DevOps incident tasks test how an agent behaves when a live system is broken and customer data is at stake. We designed and built 20 of them end to end.

cloud and devops incident

incident/

incident/agent-faces.md
1# agent-faces.md23

Agent faces

4

A broken, production-like system on a local cloud stand-in, a set of specification documents, and no live cloud accounts.

1 / 7
● reference solution: 100% on every version● panel runs passing: at most 1 of 6
✦ Pass bars

Hard but learnable

A task no model ever solves gives a reward of zero and teaches nothing. Our pass bars keep frontier models failing most attempts while still solving some, so the reward signal is never zero.

1 to 2 of 5
Attempts in which a terminal task must still be solved
1 to 3 of 8
Attempts in which an algorithm problem must still be solved
These bars keep tasks learnable for RL training. See the bar for each family on software tasks and STEM tasks.
Learnable on purpose
  • Tasks are re-run for stability, so a pass never comes from a flaky or timed-out run.
  • A model failure only counts if it is a real failure, not a timeout or setup error.
  • Terminal tasks pass a short screen first, then five independent attempts in separate sandboxes.
✦ Deliverables

What a lab gets
per task

  1. The Harbor task folder
    Version-tagged, in a private repository.
  2. Difficulty results
    Models tested, attempts, pass rate, and why each failure was a real failure.
  3. Verifier audit records
    The wrong and alternative solutions the verifier was tested against.
  4. The task proposal
    What makes it hard, the expert approach and the time an expert needs.
  5. Expert sign-off
    Given after two independent expert reviews.
✦ FAQ

Questions about
RL environments

What is a verifiable task?

A task whose result can be checked by code: a brief, an expert solution that scores 100%, and a hidden verifier that turns the end state into a score.

What format do you deliver in?

Harbor format by default, with a container, a brief, a reference solution and hidden tests. We can match other formats on request.

Can the same tasks be used for evaluation?

Yes. Each task ships in Harbor format with its own container, so it runs as an RL environment or as an evaluation with no extra setup.

Which fields do your environments cover?

Software and systems, cloud and DevOps, data and ML, security, hardware, mathematics and statistics, engineering, the physical, life and earth sciences, and finance, tax and regulated business work.

How do we start?

Most work starts with a small pilot batch in your format, so you can measure quality before committing to volume.

✦ Ready to talk?

Talk to us about
custom RL environments

Talk to usAll services