> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tryreflex.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# CLI overview

> Three primary commands. Small on purpose.

The supported public CLI surface is small:

* [`rfx record`](/cli/record) — collect observations into a dataset
* [`rfx deploy`](/cli/deploy) — run a trained policy on a robot
* [`rfx doctor`](/cli/doctor) — check your environment

These sit on top of the middleware primitives. Simulation and collection are
part of the framework contract, not optional side workflows.

## Through `uv run`

All commands work with `uv run` — no global install needed:

```bash theme={null}
uv run rfx record --robot so101 --repo-id demos --episodes 10
uv run rfx deploy runs/my-policy --robot so101
uv run rfx doctor
```

Or directly if rfx is installed:

```bash theme={null}
rfx record ...
rfx deploy ...
rfx doctor
```

## Secondary commands

`rfx train` and `rfx runs` remain available for lightweight workflow metadata
and artifact lineage:

```bash theme={null}
rfx runs list --limit 20
rfx runs show <run_id>
```

They are secondary to the core SDK / runtime loop — the primary path is the
three commands above plus the SDK.
