Quickstart
You need an invited rsibox account, a project with compute enabled, and team credits. This walkthrough uses a CPU box.
1. Install the client
Section titled “1. Install the client”Requires Python 3.14 or newer on Linux x86-64, Linux ARM64, or macOS ARM64:
python -m venv .venvsource .venv/bin/activatepython -m pip install --upgrade rsiboxrsi versionThe rsibox package installs both the CLI (rsi, also available as rsibox) and the Python SDK.
2. Sign in
Section titled “2. Sign in”rsi loginOpen the printed URL, sign in, and approve the displayed code.
For CI or scripts, set RSIBOX_API_KEY from your secret store. When it is set, rsi login verifies the key instead of starting browser login; unset it to sign in via browser again. See Authentication.
3. Choose a project
Section titled “3. Choose a project”rsi project listrsi project use defaultReplace default with any slug from rsi project list. Project-scoped API keys can only access their assigned project. See Project selection.
4. Create a CPU box
Section titled “4. Create a CPU box”Generate an idempotency key so you can safely retry an interrupted create without starting a duplicate box:
create_key=$(python -c 'import uuid; print(uuid.uuid4().hex)')box=$(rsi box create \ --name first-run \ --cores 2 --memory-mb 4096 --disk-mb 20480 \ --network none --life 10m \ --idempotency-key "$create_key")The CLI waits until the box is running and prints its ID. If waiting times out, rerun the same command with the same $create_key and project—never regenerate the key on retry, and always generate a new key for a new box.
life starts counting once the box first reaches running (queueing and startup do not count). Creation is rejected if the requested duration exceeds your team’s limit or what your credits can pay for; the error tells you how much time is allowed.
5. Execute and inspect
Section titled “5. Execute and inspect”rsi box exec --timeout 60 "$box" -- uname -srsi box get "$box"rsi box lsexec waits for the command to finish, prints stdout and stderr, and returns its exit code. Commands are passed as argument vectors; invoke a shell explicitly for pipes or redirection (for example, -- sh -c 'echo hello > /tmp/result.txt').
6. Stop it
Section titled “6. Stop it”rsi box stop "$box"Always stop boxes when finished, even if your job fails. Stopping releases resources and discards the disk, so download any needed files first. The stop request may return before shutdown completes; billing stops when resources are released.
- Connect with VS Code: use
rsi codeto create or reopen a development Box and open the editor. - Run tasks with Harbor: run Harbor tasks and collect scores, logs, and artifacts.
- Authentication: browser login, API keys, and logout.
- Teams and projects: roles, invitations, and project precedence.
- Python SDK: create, wait, execute, transfer files, and clean up in Python.
- RSI Boxes: GPU names, file transfers, network rules, and limits.
- Credits and pricing: rates and credit usage.