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

> ## Agent Instructions
> Treat the Dreamscale CLI and Python SDK as the supported public integration surfaces.
> Prefer `dreamscale run <robot>` for supported robots and `dreamscale.connect(model)` with `predict` or `next_action` in Python.
> Do not infer or recommend internal control-plane APIs.

# Simulations

> Run a model in simulation with no robot: LIBERO, RoboCasa365 and ABC on your computer, or RoboLab's tabletop tasks on our simulators.

`dreamscale sim` runs a simulator's tasks with a model in the cloud. No robot
needed. In your browser, the dashboard's
[Sim](https://app.dreamscalelabs.com/dashboard/sim) needs nothing installed.

| Simulator | Runs on | Models |
| - | - | - |
| `libero` | Your computer | `pi0.5-libero`, `gr00t-n1.7-libero`, `long-wam-libero`, `flexpi-libero`, `isaac-0.5-libero`, `verne-v0.5-libero` |
| `robocasa365` | Your computer | `xiaomi-robotics-1-robocasa365`, `long-wam-robocasa365` |
| `abc` | Your computer | `abc-vla-yam` |
| `robolab` | Our simulators | `molmoact2-droid`, `pi0.5-droid`, `praxis-1-droid`, `flux-3-action-droid` |

## What you need

* The latest CLI: `uv tool upgrade dreamscale`.
* `dreamscale login`, and credits on your account.

## Run a task

```bash theme={null}
dreamscale sim libero --model pi0.5-libero --task-id libero_spatial/0
```

The first run of a simulator downloads it to your computer (LIBERO: several GB
on Linux). A window opens and the model drives the arm. The run ends with
`result: success condition reached`.

Give one of `--task-id` (one task), `--task-suite` (a suite), `--all` or
`--random`. Several tasks run one after another, then print their success rate.
`dreamscale sim libero --list` lists a simulator's suites,
`dreamscale sim libero --task-suite libero_object --list` a suite's tasks, and
`dreamscale sim libero --all --list` every task.

## RoboLab, on our simulators

`dreamscale sim robolab` runs RoboLab's Franka tabletop tasks on our simulators.
Nothing installs on your computer.

```bash theme={null}
dreamscale sim robolab --model molmoact2-droid --task-id BananaInBowl --episodes 1
```

The CLI prints each stage, from `Getting a simulator` to `Running`, and a window
shows the simulation live. It ends with the task's score, such as
`BananaInBowl  1/1 (100%)`, and `Success rate: 1/1 (100%)`.

```bash theme={null}
dreamscale sim robolab --model molmoact2-droid --task-suite relational --max-units 4
```

The suites are RoboLab's competency axes: `visual` (84 tasks: color, semantics,
size), `relational` (42: spatial, counting, conjunction) and `procedural` (34:
affordance, reorientation, sorting, stacking). A task can be in more than one.
`--all` runs all 120 tasks, and `--random` one of them.

`--model` takes any DROID model your organization can run: `molmoact2-droid`, `pi0.5-droid`, `praxis-1-droid` and `flux-3-action-droid`, and in beta `cosmos3-nano-policy-droid` and `cosmos3-edge-policy-droid`.

* `--episodes N` sets the episodes per task (default 4).
* `--max-units N` runs up to N tasks at once, 1 to 4.
* `--no-view` skips the live window.
* `--output-root DIR` saves each episode's video and result.
* Ctrl+C cancels the run.

A run you start within 15 minutes of your last one reuses its simulator and
starts in seconds.

## From Python

This runs as it is, with no simulator: it sends blank frames to `pi0.5-libero`.

```python theme={null}
import numpy as np

import dreamscale

policy = dreamscale.connect("pi0.5-libero")
frame = np.zeros((256, 256, 3), dtype=np.uint8)  # H×W×3 uint8 RGB
observation = dreamscale.libero.observation(
    agent_frame=frame,   # agentview_image
    wrist_frame=frame,   # robot0_eye_in_hand_image
    state=[0.0] * 8,
)
chunk = policy.predict(observation, instruction="pick up the black bowl")
print(len(chunk.actions), "x", len(chunk.actions[0]))
```

It prints `20 x 7`: 20 actions of 7 values.

* State: end-effector position (3), axis-angle rotation (3), then both
  gripper joint positions.
* Pass frames as LIBERO renders them: the SDK flips them.
* Actions are LIBERO deltas: `dx`, `dy`, `dz`, three axis-angle rotation
  deltas, then the gripper (−1 open, +1 close).

## Pricing

Simulators are free. The model is billed as on a robot (see
[Pricing](https://docs.dreamscalelabs.com/index.md#pricing)). A RoboLab run is refused before it starts if your
account has no credits.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.