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

> ## Agent Instructions
> To build and serve your own model, start at /deploy/development/quickstart and /deploy/development/overview. Authenticate with reactor auth login, scaffold with reactor init, then run reactor deploy production from the workspace. Deploy builds remotely by default, creates a missing workspace project and its production environment, and waits for rollout. No local Docker or model.version bump is needed. Projects own images and weight sets; environments select the image, weights, GPU, instance count, and variables. Create staging explicitly with reactor environment create staging before deploying to it. Use reactor scale for capacity and reactor rollback for an earlier revision’s image and weights. See /deploy/platform/projects and /deploy/platform/deploy. Client SDK modelName remains account-qualified and selects production by default. Model code imports reactor_runtime; Python client code imports reactor_sdk. Local testing is optional; /deploy/development/local-testing covers reactor run, which needs Docker.
> Reactor hosts multiple models, each with its own connect slug (modelName) and command/event schema. The video model catalog — slug, typed SDK package, and links to its schema — is at /model-api-reference/overview. Robotics policy documentation starts at /robotics/overview; The launch policies are Cosmos Nano DROID (/robotics/cosmos/nano-policy-droid/), DreamZero DROID (/robotics/dreamzero/droid/), and FLUX Action DROID (/robotics/flux-action/droid/), organized by model family and embodiment. Some models expose one slug per experience (e.g. HappyOyster); always take the slug from the model's own pages, never guess it.
> Fastest path to a working app: `npx create-reactor-app my-app --model=<slug>` scaffolds a complete app with secure auth wired up. Typed TypeScript SDKs are published as @reactor-models/<model>; Python uses the base reactor-sdk package.
> Auth: exchange an API key (rk_...) for a JWT via POST https://api.reactor.inc/tokens from your server. Never put the API key in client-side code.
> Append .md to any docs URL for clean Markdown. Search these docs via the MCP server at https://docs.reactor.inc/mcp.

# Deploy Waypoint

> Deploy Overworld's Waypoint 1.5 world model on an RTX PRO 6000 and explore it with keyboard and mouse controls.

Deploy [Overworld's Waypoint 1.5](https://huggingface.co/Overworld/Waypoint-1.5-1B) on 1 RTX PRO 6000 and explore it
from the Reactor Sandbox. Waypoint starts a world from one image, and you move through that world with keyboard and mouse
controls.

<video controls playsInline preload="metadata" poster="/images/waypoint/waypoint-demo-poster.jpg" aria-label="Waypoint 1.5 demo showing a walk through a generated forest and a snowy valley">
  <source src="https://mintcdn.com/reactortechnologiesinc/O-hxY_QEby1JdaCf/images/waypoint/waypoint-demo.mp4?fit=max&auto=format&n=O-hxY_QEby1JdaCf&q=85&s=7762028c9075c492415e705075474d6e" type="video/mp4" />

  Your browser does not support embedded video.
</video>

Overworld's Waypoint 1.5 demo: a world explored with keyboard and mouse controls.

| Item | Value |
| - | - |
| Model | Overworld Waypoint-1.5-1B, 1.2B parameters, [Apache 2.0 license](https://huggingface.co/Overworld/Waypoint-1.5-1B) |
| Deployment GPU | 1 NVIDIA RTX PRO 6000 |
| Inputs | 1 seed image, keyboard keys, mouse movement, and scroll |
| Output per step | 4 frames at 1280x720 on the `main_video` track |
| Reference frame rate | [About 56 frames per second](https://huggingface.co/Overworld/Waypoint-1.5-1B#performance) on 1 RTX 5090 |

## What the model does

The model is a world model. It starts a world from a seed image: the image that becomes the first frame of the world.
On each step, it reads the current controls and makes the next 4 frames of that world.

### Inputs and outputs

![The client sends commands to Waypoint on Reactor: set\_image, set\_action, set\_buttons, set\_mouse\_x, set\_mouse\_y, set\_scroll\_wheel, set\_paused, and reset. Waypoint sends back the main\_video track and the waypoint\_status message.](https://mintcdn.com/reactortechnologiesinc/AFS5VXMUwc0tUo4V/diagrams/waypoint-inputs-outputs.svg?fit=max\&auto=format\&n=AFS5VXMUwc0tUo4V\&q=85\&s=154ba8a57e4c3b9ef6d327beef3d519a)

The client sends:

* The seed image, with `set_image`. The model fits the image to 1280x720 and starts a new world from it.
* The keys, with `set_action` and `set_buttons`. `set_action` takes a direction, such as `forward` or `back_left`.
  `set_buttons` adds other keycodes.

Each control stays in effect until the client changes it, like a held key. To stop moving, send `idle`.

### The step loop

The runtime runs the model in a loop of steps. Each step calls 3 methods in order:

![A clockwise loop inside the Waypoint model class. Commands update the session state. process\_input() reads the controls, generate() makes 4 frames, and process\_output() sends them to clients on main\_video. Then the next step starts. A step is skipped while the session is paused or has no seed image.](https://mintcdn.com/reactortechnologiesinc/AFS5VXMUwc0tUo4V/diagrams/waypoint-step-loop.svg?fit=max\&auto=format\&n=AFS5VXMUwc0tUo4V\&q=85\&s=5804fd085a88a944d0add1d2bac2b8c7)

* **`process_input()`** reads the controls from the session state and returns a `WaypointInput`. While the session is
  paused, or before a seed image arrives, it skips the step. The runtime then calls it again on the next step.
* **`generate()`** passes the `WaypointInput` to the model. The model makes 4 frames and returns a `WaypointResult`.
* **`process_output()`** sends the 4 frames on `main_video`. Every 50 steps, it also sends `waypoint_status`.

Commands change the session state between steps. A new control value applies from the next step.
[Model walkthrough](https://docs.reactor.inc/deploy/development/video/waypoint/model-walkthrough.md#the-step) has the code for each method.

## Requirements

* A Reactor account with Serve access, [remote builds](https://docs.reactor.inc/deploy/platform/build.md), and capacity for 1 RTX PRO 6000 instance.
* The latest [Reactor CLI](https://docs.reactor.inc/deploy/platform/installation#install-the-latest-release).
* An [API key](https://reactor.inc/account/api-keys) for the account that owns the project.

## Project structure

```text examples/waypoint/ theme={"theme":{"light":"github-light","dark":"github-dark-high-contrast"}}
examples/waypoint/
├── reactor.yaml        # How Reactor builds and serves the model
├── requirements.txt
├── config.yml
├── waypoint.py
├── waypoint_model.py
└── README.md
```

[`reactor.yaml`](https://github.com/reactor-team/reactor-runtime/blob/v3.11.9/examples/waypoint/reactor.yaml)
tells Reactor which class to serve and how to build its image. These are its main settings:

```yaml reactor.yaml (main settings) theme={"theme":{"light":"github-light","dark":"github-dark-high-contrast"}}
model:
  name: your-org/waypoint      # Set this: replace your-org with your account slug

runtime:
  import: waypoint:Waypoint    # The model class to serve
  config: config.yml           # The file that load() reads
  # The weights for a local run: the Waypoint-1.5-1B checkpoint, pinned to a commit
  weights_path: hf://Overworld/Waypoint-1.5-1B@391f92827075edcf4a8b3c8a2ddae010698f8636

build:
  runtime_version: "3.11.9"    # Reactor Runtime version, the same as in requirements.txt
  cuda_version: "12.9.1"       # The engine compiles its kernels at load
  system_packages: [git]       # world_engine installs from its git tag
```

The steps below take this folder from setup to a running model on an RTX PRO 6000.

## 1. Prepare the project

The steps use the Reactor CLI. If it is not on your machine yet, [install it](https://docs.reactor.inc/deploy/platform/installation#install-the-latest-release) first.

Sign in, clone Reactor Runtime 3.11.9, and open the model workspace:

```bash Terminal theme={"theme":{"light":"github-light","dark":"github-dark-high-contrast"}}
reactor auth login
git clone --branch v3.11.9 https://github.com/reactor-team/reactor-runtime.git
cd reactor-runtime/examples/waypoint
```

In `reactor.yaml`, set `model.name` to your account-qualified project name. Replace `your-org` with your account slug:

```yaml reactor.yaml (model name only) theme={"theme":{"light":"github-light","dark":"github-dark-high-contrast"}}
model:
  name: your-org/waypoint
```

## 2. Deploy the model

One command builds the image and deploys it to the `production` environment of your project. Run it from the model
workspace, in a region where your account has an RTX PRO 6000 allocation. For example, if your allocation is in
`us-west`:

```bash Terminal theme={"theme":{"light":"github-light","dark":"github-dark-high-contrast"}}
reactor deploy production \
  --gpu NVIDIA_RTX6000_PROx1 \
  --weights hf://Overworld/Waypoint-1.5-1B@391f92827075edcf4a8b3c8a2ddae010698f8636 \
  --desired 1 \
  --require-regions us-west
```

`--weights` names the same checkpoint as `runtime.weights_path` in `reactor.yaml`. Reactor copies it from Hugging Face
into your project and syncs it to each instance, so nothing is uploaded from your machine. The model reads it from
`get_weights_path()`.

Replace `us-west` with your allocated region. Selecting a region does not grant capacity.
If deployment reports that your account has no `NVIDIA_RTX6000_PRO` allocation, check your
[account capacity](https://docs.reactor.inc/deploy/platform/gpu-capacity.md#check-account-capacity) or contact Reactor.

![Deployment lifecycle: build the image, publish it to production, start the model on 1 RTX PRO 6000, then become ready for clients. When you are done, scaling production to zero stops the GPU instance.](https://mintcdn.com/reactortechnologiesinc/AFS5VXMUwc0tUo4V/diagrams/waypoint-deploy-lifecycle.svg?fit=max\&auto=format\&n=AFS5VXMUwc0tUo4V\&q=85\&s=92c2d3985edcd7386e77e01091fb5843)

`reactor deploy` returns when the deployment reports `ready`. While it runs, follow each stage here:

* **Build and Publish:** the deploy terminal prints the build output. It can stay quiet for several minutes after the
  build ends, while the image is published.
* **Start:** `reactor status production` shows the phase of the instance. `reactor logs production --follow` shows the
  model load and the warmup.
* **Ready:** `reactor status production` reports `ready`.

Run these commands from another terminal in the model workspace:

```bash Terminal theme={"theme":{"light":"github-light","dark":"github-dark-high-contrast"}}
reactor status production
```

While the instance starts, the region reports `deploying` and the phase of the instance:

```text Starting theme={"theme":{"light":"github-light","dark":"github-dark-high-contrast"}}
Project:      your-org/waypoint
Environment:  production
Revision:     1
Status:       deploying
Regions:
  us-west     deploying: 1 loading
Image:        3f9c2a71d0e4
Weights:      8d41e07b52a3
GPU:          NVIDIA_RTX6000_PROx1
```

```text Ready theme={"theme":{"light":"github-light","dark":"github-dark-high-contrast"}}
Project:      your-org/waypoint
Environment:  production
Revision:     1
Status:       ready
Regions:
  us-west     ready: 1 ready
Image:        3f9c2a71d0e4
Weights:      8d41e07b52a3
GPU:          NVIDIA_RTX6000_PROx1
```

The instance moves through `pending`, `pulling_image`, `syncing_weights`, and `loading`. `syncing_weights` copies the
weights to the instance. `loading` covers the model load and the warmup. The deployment is ready for clients when
`Status` is `ready` and the region reports `1 ready`. `Weights` shows the short digest of the weights the deploy
pinned.

Once an instance exists, follow its startup logs:

```bash Terminal theme={"theme":{"light":"github-light","dark":"github-dark-high-contrast"}}
reactor logs production --follow
```

The runtime logs stay empty during the build and publish stages, because the model has not started yet.

## 3. Test the deployment

The [Reactor Sandbox](https://reactor-sandbox.vercel.app/) connects to a deployed model and creates a control for each
of its commands. You need an API key: `reactor auth login` signs in the CLI only.

**1. Connect**

Open the [Reactor Sandbox](https://reactor-sandbox.vercel.app/) and choose **Production** as the endpoint. Paste an
API key from the account that owns the project, choose `your-org/waypoint`, and start a session.

**2. Start a world**

Upload a PNG or JPEG image with `set_image`. The first frames appear on `main_video` on the next step.

**3. Move**

Set `set_action` to `forward` and `set_mouse_x` to a small value, such as `0.2`, to walk and turn. Set them back to
`idle` and `0` to stop.

### Commands and messages

The model accepts these commands. Each generated `set_<field>` command takes its field name as the payload key:

| Command | Payload | Behavior |
| - | - | - |
| `set_image` | `{"image": <upload>}` | Starts a new world from the image on the next step. PNG or JPEG, fitted to 1280x720. Replies with `waypoint_status`. Fails with `unsupported_media` or `undecodable_image`. |
| `set_action` | `{"action": "forward"}` | Movement keys: `idle`, `forward`, `back`, `left`, `right`, `forward_left`, `forward_right`, `back_left`, or `back_right`. Default `idle`. |
| `set_buttons` | `{"buttons": "32,16"}` | Other pressed keycodes, as a comma-separated list. Up to 128 characters. |
| `set_mouse_x`, `set_mouse_y` | `{"mouse_x": 0.2}` | Mouse velocity on each axis. `0` keeps the view still. |
| `set_scroll_wheel` | `{"scroll_wheel": 1}` | Scroll direction: `-1` down, `0` none, `1` up. |
| `set_paused` | `{"paused": true}` | Holds the world on its last frame. `false` continues it. |
| `reset` | `{}` | Starts the world again from the current seed image. Replies with `waypoint_status`. |

The model sends:

| Output | Content |
| - | - |
| `main_video` track | 4 frames per step at 1280x720. Each frame carries `{"step": n}` as metadata. |
| `waypoint_status` message | `has_image`, `paused`, and `step_index`. Sent when a client connects, as the reply to `set_image` and `reset`, and every 50 steps. |

For a client of your own, start from [Test Your Model](https://docs.reactor.inc/deploy/development/testing) and the
[Python SDK reference](https://docs.reactor.inc/sdk-reference/python/reactor.md). Upload the seed image with `upload_file()`, then pass the result
to `set_image`.

## 4. Stop the deployment

Closing the client leaves the GPU instance running. Stop it from the model workspace:

```bash Terminal theme={"theme":{"light":"github-light","dark":"github-dark-high-contrast"}}
reactor scale production --desired 0
```

The command waits for the change and prints the status. Your project and image remain available. To start the model
again, scale it back to 1:

```bash Terminal theme={"theme":{"light":"github-light","dark":"github-dark-high-contrast"}}
reactor scale production --desired 1
```

## Troubleshooting

To find the cause of a startup or session error, follow the logs from the model workspace:

```bash Terminal theme={"theme":{"light":"github-light","dark":"github-dark-high-contrast"}}
reactor logs production --follow
```

| Symptom | What to check |
| - | - |
| No GPU capacity | Your account needs Serve access and an RTX PRO 6000 allocation in the region you selected. |
| The build fails | Deploy the folder unchanged, except for `model.name`. Keep `build.runtime_version` the same as the `reactor-runtime` pin in `requirements.txt`. |
| Startup takes several minutes | This is expected on the first start. The instance syncs about 11 GB of weights, and the model runs 50 warmup steps before it reports `ready`. |
| Startup fails | Look in the logs for errors from the model load or from CUDA. |
| The client cannot connect | Use an API key from the account that owns the project. Connect to `your-org/waypoint`. |
| No video after you connect | Upload a seed image with `set_image`. The model makes no frames before it has a seed image, or while it is paused. |
| `set_image` fails | Upload a PNG or JPEG file. `unsupported_media` means the file is not an image. `undecodable_image` means the image cannot be decoded. |

## Next

> [card] [Model walkthrough](https://docs.reactor.inc/deploy/development/video/waypoint/model-walkthrough.md)
>
> Read how the model loads, runs each step, and handles its commands.

> [card] [Scaling](https://docs.reactor.inc/deploy/platform/scaling.md)
>
> Run more instances, or limit them to the regions you select.


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