# kosa8 cloud rl

RL training on kosa8 Cloud: runs, their rollouts and what to do next

An RL run collects the rollouts of a training run: each one's reward, failure
class, duration and cost, recorded by the sealed grader (sandbox grade --run) or
by the trainer through the API. Its sandboxes are the ones labelled
kosa8.run=<run id> (sandbox create --count N --run ID, sandbox fork --run ID).
app.kosa8.com shows the same runs. Guide: https://docs.kosa8.com/guides/rl-training/

## Example

```
  run=$(kosa8 cloud rl runs create grpo-7 --project math --json | jq -r .run.id)
  kosa8 cloud sandbox create --count 64 --run $run --lease 10m --size 0.5x1
  kosa8 cloud rl runs get $run
  kosa8 cloud rl runs export $run -o rollouts.jsonl
  kosa8 cloud rl runs finish $run
```

## Subcommands

- [`kosa8 cloud rl runs`](https://docs.kosa8.com/reference/cloud-rl-runs.md): Make, list, inspect, finish and export RL runs

---
Source: https://docs.kosa8.com/reference/cloud-rl/
