A cross-platform desktop app (Electron + React) for managing and controlling LeRobot SO-100 / SO-101 arms.
rebel_lerobot_gui_demo_under10MB.mp4
The app on a real SO-101 follower, in 53 seconds: live motor readings and the motion test, keyboard control, replay of a dataset episode, and the virtual arm.
Built by the RebelDot Physical AI department. MIT licensed — clone it, use it, change it; keep the copyright notice, and say where it came from.
- Seven workflow panels: Configure, 3D View, Teleoperate, Replay, Infer, Demos, Settings — plus an About tab.
- Guided setup of a Python environment and a LeRobot install, with the version window LeRobot actually supports enforced up front.
- An annotated arm view with live motor positions, and per-motor editing of IDs and travel limits straight to EEPROM.
- A virtual arm that needs no hardware, no serial port and no Python: try every panel, fly it from the keyboard, replay a recording onto it.
- Keyboard and gamepad teleoperation: the keys or sticks command where the tool goes and the app solves the joint angles, with no extra dependencies.
- Write a motor ID on a live chain without unplugging the other motors.
- Test motion and auto-calibration that drive the arm themselves, with a cancellable warning and a Stop button that cannot be dismissed mid-move.
- A 3D view of the selected follower, built in Blender from the official URDFs and posed live from the motor readings.
- Demos: your own shell scripts saved as cards and run with one click, with the selected arms' ports and ids handed to the script as environment variables.
- ROS 2 telemetry through rosbridge: joint states, joint commands, the URDF and motor diagnostics, with nothing ROS installed next to the app.
- Every panel shows the exact
lerobot-*command it will run, and streams its output into a real terminal — interactive prompts become buttons. - Light and dark themes, resizable columns, and per-panel layout that persists.
- Runs on macOS, Windows and Linux; installers for all three build from one command each.
It wraps the LeRobot CLI in seven panels — Configure, 3D View, Teleoperate, Replay, Infer, Demos and Settings — so a port, device id and calibration path are entered once and reused everywhere, instead of being retyped into ten-flag commands.
Installers for macOS (Apple Silicon), Windows and Linux are on the
Releases
page. They are not signed with a developer certificate, so macOS and Windows
warn on first launch; Signing says how to get past that. On Ubuntu
and Debian, use the .deb.
The installer does not include Python or LeRobot. On first launch the app opens Settings and sets both up, as described from step 1 below. The virtual arm works before any of that.
To run from source instead of an installer:
npm install # also rebuilds node-pty for Electron
npm run devOn first launch the app opens Settings, because nothing works until a Python environment with LeRobot is configured. From there:
- Pick a Python interpreter — 3.12 or 3.13. Anything outside that window is
listed but flagged: older releases cannot install LeRobot, and on 3.14 every
lerobot-*command aborts in its argument parser withTypeError: str | None is not callable(draccus does not support 3.14 yet). - Choose an environment folder and either Create environment here, or point at an existing venv/conda env and Use this environment.
- Install LeRobot. The default extras are
core_scripts,feetech:core_scriptsprovides record/replay/teleoperate,feetechis the motor SDK the SO arms need. The install is pinned tolerobot<0.7. LeRobot 0.7.0 moved the Feetech motor bus onto a different library, and the app's own motor functions (Configure, keyboard and gamepad control, the motion test) have not been ported to it yet. Settings warns if you adopt an environment that already has a newer LeRobot. - Check Environment status — it lists which
lerobot-*commands and Python modules the environment actually has.
Then open Configure, add a follower and a leader, pick their serial ports, and calibrate.
To look around before any of that, pick virtual_arm in Configure. It is a simulated SO-101 follower that is always there: it needs no port, no calibration and no Python environment, and it can be flown from the keyboard or a gamepad in Teleoperate and replayed onto in Replay.
Configure — the annotated arm view. Each of the six motors gets an indicator on the render and an information card in the gutter showing its ID, live position, travel limits, homing offset and gear ratio. Select a motor to edit its ID and limits (written to the motor's EEPROM), run calibration, assign motor IDs with the setup wizard, or scan the bus to see which IDs actually answer.
The Configure panel — the annotated arm view, with a card per motor and the device form in the gutter.
Three things here go beyond driving the CLI:
- Write a motor ID without unplugging the rest of the chain, and without a bus session open — pick the port, the old ID and the new one. It refuses a write that would collide with another motor or is a no-op, and offers a force override for when you meant it. The source ID always has to answer a ping first: a write to an absent ID can only ever time out.
- Test motion drives every joint through its recorded range and back to
where the arm started, after a five-second cancellable warning. It refuses to
run on an uncalibrated arm, pairs
shoulder_liftwithelbow_flexso the arm folds away from the table instead of into it, and the Stop button is on a banner that cannot be dismissed while the arm is moving. - Auto-calibration measures the ranges itself. Pose the arm mid-travel, press Continue, and it drives each joint into its own end stops — detecting a stop by the tick no longer moving towards the commanded position — then writes the limits to EEPROM and parks the arm at a home pose. Cancel at any point and the previous limits go back. The result can be saved straight to the device's LeRobot calibration file.
One device is not a profile at all. virtual_arm is a simulated SO-101 follower, offered wherever a follower is and fixed in every respect — the name and model are not editable, there is no port to choose, and it starts already calibrated, with the tick ranges its URDF's joint limits work out to. Its motors travel towards a goal rather than jumping to it, and switching its torque off leaves it where it stands, so it behaves like an arm rather than like a slider. Nothing about it goes through LeRobot, which is why it works on a fresh install.
With it selected, Device details gains a Controller — keyboard or gamepad — and Start Control appears beside the chip in the header. Fly the arm from this screen and the motor table and the diagram follow it, without changing tabs. Esc stops control, here and anywhere else the app is driving an arm.
Every other device here is a profile: name, type, model, serial port,
calibration folder. The name becomes LeRobot's --robot.id / --teleop.id, and calibration
is stored as <calibration folder>/<name>.json — which is exactly how LeRobot
addresses it, so no copying or syncing is involved. Browsing to an existing
calibration file fills in both halves.
3D View — the selected follower's own model, standing on a surface, posed from what its motors are reporting. Connect the arm and it follows every reading; without one it sits at the pose its calibration file describes. With the virtual arm selected it also gets a Controller and a Start Control button, which is the easiest place to learn the keys: what you press moves the thing on screen.
The 3D View panel — the follower's own model, posed from the motor readings, with the joint table beside it.
The scene is built offline in Blender from the URDF and STL parts in
assets/simulation and shipped as a glTF binary, so the app only loads a model
and writes one rotation per joint. Ticks become angles the way LeRobot does it —
MotorsBus._normalize in DEGREES mode reports (ticks - mid) * 360 / 4095, and
RobotKinematics.forward_kinematics feeds exactly that into the same URDF — so
the view and lerobot-teleoperate describe the same arm. The gripper is the one
exception: LeRobot drives it as 0–100 % of its own travel, so its calibrated
range is stretched over the jaw's instead.
Which way a joint turns, and where its zero sits, is not in the URDF or the
calibration file — it depends on how the servo is keyed in. Those facts are named
in src/shared/sim.ts (REVERSED_JOINTS, JOINT_OFFSETS,
CONTINUOUS_JOINTS) and each is a one-line change. wrist_roll needs all three
kinds of help: LeRobot calls it the full_turn_motor and records 0–4095 for it
without ever measuring where it stops, so its zero is wherever the wrist was
during calibration, and the URDF's limits for it describe cable length rather
than anything the encoder knows.
Teleoperate — drive a follower three ways.
- Leader arm, single or bimanual, optionally with cameras and the Rerun
dashboard: this is
lerobot-teleoperate, and turning on Record switches the run tolerobot-record. While recording, click the output pane and use →/n to keep an episode, ←/r to redo it, Esc/q to finish. - Keyboard — WASD and R/F fly the tool around, IJKL and U/O turn it, ,/. work the jaws. Hold Shift for a quarter speed, press 0 to return to the middle of every range.
- Gamepad — left stick and triggers for position, right stick and d-pad for orientation, bumpers for the jaws. Read through the browser's own Gamepad API, so any controller the OS recognises works with nothing to install.
The Teleoperate panel — leader, keyboard or gamepad, with the command it will run and its live output.
Esc gives up control, in this panel and in the two below that offer it.
The last two command the tool rather than the joints: six axes for where it is and which way it points, plus the jaws. The arm has five joints below the gripper, so holding an orientation and hitting a position is generally impossible — the solver trades a radian of orientation against two centimetres of position, which keeps the translation keys tracking to well under a millimetre and gives the wrist up when the two conflict. The panel shows the tool's pose, how far the last solve fell short, and which joints are against a stop. The arm's own model is shown alongside, following the positions it actually reports.
Both work on a real follower and on the virtual one. A real leader can also drive the virtual follower, which is a way to check a leader arm and its calibration with nothing else plugged in.
Replay — play a recorded episode back on an arm. LeRobot addresses datasets
by repo_id rather than path, so the panel takes a dataset folder, derives the
id, and reads meta/info.json to offer a real episode list. On a real follower
this is lerobot-replay; on the virtual one the app steps through the episode
itself, with start/pause/stop and a frame counter, and shows the model following
it.
The Replay panel — a dataset folder, the episode list read from meta/info.json, and the arm to play it on.
Infer — run a trained policy. The command shape follows the installed
LeRobot: newer builds use lerobot-rollout, older ones drive the policy through
lerobot-record (which additionally requires an eval_ dataset prefix, added
automatically). The panel states which path it is taking.
The Infer panel — a policy checkpoint or Hugging Face model id, the task, and the cameras the policy expects.
Demos — a place for everything you have already worked out at a prompt and want a button for. A demo is a shell script with a name, a description, a picture and the devices it needs. Each one gets a card on the grid, showing its thumbnail, description, devices and whether it is running; the last card adds a new one.
The Demos panel — one card per saved script, with its thumbnail, description and devices.
The edit dialog holds the name (up to 60 characters, unique across demos), the
devices to hand the script, the script itself, a one- or two-line description
for the card, and a thumbnail. The image is copied into the app's own data
folder, so the card keeps it after the original is moved or deleted. A demo can
be deleted from the same dialog. Devices are optional: a script that only calls
lerobot-* commands with fixed flags is a perfectly good demo.
Editing a demo — name, devices, script, description and thumbnail.
The devices you pick are exported to the script, so it never has to hard-code a serial port that changes between machines:
DEMO_ROBOT_PORT,DEMO_ROBOT_ID,DEMO_ROBOT_TYPE,DEMO_ROBOT_MODELandDEMO_ROBOT_CALIBRATION_DIRfor the first follower, and the same withDEMO_LEADER_for the first leader.DEMO_DEVICE_0_*,DEMO_DEVICE_1_*and so on for every device picked, in order, withDEMO_DEVICE_COUNTsaying how many.DEMO_DEVICESwith the whole list as JSON, andDEMO_NAME/DEMO_UIDfor the demo itself.
A device that was picked and has since been deleted is left out rather than exported empty, and the card flags it. So a teleoperation demo can be as short as:
lerobot-teleoperate \ --robot.type="$DEMO_ROBOT_TYPE" --robot.port="$DEMO_ROBOT_PORT" --robot.id="$DEMO_ROBOT_ID" \ --teleop.type="$DEMO_LEADER_TYPE" --teleop.port="$DEMO_LEADER_PORT" --teleop.id="$DEMO_LEADER_ID"
Clicking a card opens its run dialog. The script is written to a file and run by
this machine's own shell: your login shell on macOS and Linux, PowerShell on
Windows. The configured environment's scripts are first on PATH, so
lerobot-* commands resolve without a full path. The app adds set -e (or
$ErrorActionPreference = "Stop" in PowerShell) in front of the script, so a
demo whose first command fails is reported as failed instead of running on and
exiting cleanly.
Running a demo — its status, the devices it was given, and the script's live output.
The output streams into a real terminal, so a script that prompts can be
answered by typing into it, and the log can be copied or cleared. Stop sends
SIGINT, as everywhere else in the app, and Restart waits for the script to
exit before starting it again. Closing the dialog leaves the demo running, and
its card keeps showing the status.
Settings — appearance, Python discovery, venv creation, LeRobot install, installed package list, and the default calibration/dataset folders.
The Settings panel — theme, Python interpreter, environment, LeRobot install, and what the environment actually has.
About — who made this, and what it is for.
Every panel shows the exact command it will run, with a copy button, and streams the process output into a real terminal pane. Each two-column panel has a draggable divider that remembers its width per panel, and the whole app follows a light or dark theme — set explicitly, or left on system to follow the OS while it runs.
Each panel also keeps its own selections while you are on another tab — the arm, the controller, the dataset, the episode, the policy. What was read from a device is not kept: a snapshot, a stream, a console are re-established on the way back in, and control of an arm is never left running by a panel you have left. The list of what survives is one declaration in src/renderer/lib/panel-selections.ts; anything absent from it is deliberately transient.
Two channels, deliberately separate:
-
CLI subprocesses for the real workflows —
lerobot-calibrate,lerobot-setup-motors,lerobot-teleoperate,lerobot-record,lerobot-replay,lerobot-rollout. These run in a pty, because LeRobot draws live tables with ANSI cursor moves, blocks on bareinput()prompts (which the app surfaces as buttons), and reads recording keys from the terminal. Stop sendsSIGINT, never a hard kill, so LeRobot disconnects the motors and finalizes the dataset itself. Pause isSIGSTOP/SIGCONT, and is therefore unavailable on Windows. -
A Python sidecar (
resources/bridge/lerobot_gui_bridge.py) for what the CLI cannot express: live motor positions, per-motor ID/limit writes, torque control, serial-port and camera enumeration, and reading one episode's actions out of a dataset. It runs inside the configured venv and speaks newline-delimited JSON-RPC over stdio — stdout is protocol only, all logging goes to stderr.
Three things the app drives itself, because no LeRobot command can:
keyboard and gamepad teleoperation, teleoperating the virtual arm, and replaying
onto it. lerobot-teleoperate has no device for a simulated arm, and its
keyboard and gamepad teleoperators emit three-axis position deltas that nothing
in the shipped release converts into joint angles. So the forward and inverse
kinematics are in the app, in src/shared/kinematics.ts:
a few hundred lines of dependency-free arithmetic over the same URDFs the 3D view
is built from, rather than LeRobot's own RobotKinematics, which needs a
compiled solver (placo) that no lerobot extra installs.
The app probes the environment rather than assuming a LeRobot version, because
the CLI surface has changed across releases (lerobot-rollout is new; the
calibration subdirectory was renamed when the SO arms were consolidated).
The app can publish what it reads and writes to ROS 2 through rosbridge, which is JSON over a websocket. Nothing ROS has to be installed on the machine the app runs on. Start rosbridge wherever ROS 2 runs,
ros2 launch rosbridge_server rosbridge_websocket_launch.xml
set its address in Settings (the default is ws://localhost:9090), and turn
on Publish to ROS 2 in a panel that drives an arm. Topics are published under a
namespace made from the device's name:
| Topic | Type | When |
|---|---|---|
/<device>/joint_states |
sensor_msgs/JointState |
every position frame |
/<device>/joint_command |
sensor_msgs/JointState |
every goal the app writes |
/<device>/robot_description |
std_msgs/String, latched |
once, the URDF |
/<device>/diagnostics |
diagnostic_msgs/DiagnosticArray |
once a second |
/<device>/session |
std_msgs/String, latched |
JSON describing the run |
Joint names are the URDF's and angles are in radians, converted the same way the 3D view poses its model. Publishing works while the app itself drives the arm: the virtual arm, and keyboard or gamepad control. While a LeRobot command holds the serial port (a leader arm, replay on a real follower, a policy) the app has no readings to publish. The app does not subscribe to commands.
Hugging Face publishes its own GUI, LeLab, a web app that covers calibration, leader-arm teleoperation, recording, training and inference. This app has no training panel. It is a desktop app that leans toward the bench: live motor readings, motor IDs and limits, the motion test, auto-calibration, keyboard and gamepad control without a leader arm, the virtual arm, ROS 2 telemetry, and the SO-100 alongside the SO-101.
npm run dev # run with hot reload npm run typecheck # main/preload and renderer projects npm run test # unit tests (command builders, prompts, layout, datasets) npm run build # bundle main, preload and renderer into out/ npm run smoke # boot the built app headless and check IPC + renderer npm run verify # typecheck + test + build + smoke npm run build:sim # rebuild the 3D scenes (needs Blender)
build:sim is only needed after editing the URDFs or
tools/blender/build_sim_scene.py; the built
scenes are committed, so nobody else needs Blender installed. It looks for
Blender in the usual place for the platform — set BLENDER to override — and
takes --model SO101 to build just one.
npm run smoke optionally exercises the Python sidecar:
SMOKE_VENV=/path/to/venv npm run smoke
Any venv with pyserial is enough to test port enumeration; LeRobot itself is
only needed for the motor calls.
The most valuable tests are in tests/commands.test.ts: they pin the draccus flag nesting against the commands published in the LeRobot docs. A wrong flag name is the easiest way to break this app and the one class of bug catchable without hardware attached.
npm run pack # unpacked app in dist/, for checking a build quickly npm run dist:mac # .dmg + .zip npm run dist:win # NSIS .exe installer npm run dist:linux # .AppImage + .deb
Everything lands in dist/. All three are configured in
electron-builder.yml and need no arguments.
There is no reliable cross-compile here, for two reasons: node-pty is a native
module that has to be rebuilt against the target's Electron ABI, and the macOS
and Windows installers want their own toolchains. npm install runs
electron-builder install-app-deps for you, which rebuilds node-pty for
whichever platform you are on.
So use one machine per platform, or the included GitHub Actions workflow
(.github/workflows/build.yml) which runs the test
suite and builds installers on macos-latest, windows-latest and
ubuntu-22.04 (the oldest image, so the Linux installers also run on Ubuntu
22.04 and 24.04), then uploads them as artifacts. Trigger it from the Actions tab
or push a v* tag. A tag also creates a draft GitHub Release with the installers
attached, for a maintainer to review and publish. It builds without
certificates; the workflow comments say which secrets to add to change that. The macOS build is
for Apple Silicon only.
If you would rather not use CI, electron-builder can sometimes reach across:
Windows targets build on macOS/Linux with Wine
installed, and Linux targets build on macOS through Docker. Both are slower and
neither rebuilds node-pty for the target, so treat them as a convenience, not a
release path.
| Platform | Needs |
|---|---|
| all | Node ^20.19 or >=22.12, and a C/C++ toolchain for node-pty |
| macOS | Xcode command line tools (xcode-select --install) |
| Windows | Visual Studio Build Tools with the "Desktop development with C++" workload |
| Linux | build-essential, plus libx11-dev libxkbfile-dev for node-pty |
Builds without a certificate work, and are what you get by default:
- macOS — the app is signed ad hoc, so Gatekeeper blocks the first launch of
a downloaded copy. Open System Settings → Privacy & Security and press
Open Anyway, or run
xattr -dr com.apple.quarantine "/Applications/LeRobot Control.app". To sign, removeidentityandhardenedRuntimefromelectron-builder.ymland setCSC_LINKandCSC_KEY_PASSWORDto a Developer ID certificate; to notarize as well, addAPPLE_ID,APPLE_APP_SPECIFIC_PASSWORDandAPPLE_TEAM_IDand setmac.notarize: true. SetCSC_IDENTITY_AUTO_DISCOVERY=falseto skip signing deliberately — worth doing on a machine that has unrelated certificates in its keychain, which electron-builder may otherwise pick up. - Windows — SmartScreen will warn until the installer builds reputation.
CSC_LINK/CSC_KEY_PASSWORDwork the same way for an Authenticode certificate.
The builds use Electron's default icon until you add artwork. Drop a 1024×1024
build/icon.png in and electron-builder derives the macOS and Windows formats
from it — see build/README.md.
The .asar contains only out/, package.json, the licence and the production
node_modules; the Python bridge and assets/ ride alongside it as unpacked
resources, because the bridge is spawned as a real file and the assets are served
over the app's arm:// scheme. node-pty is unpacked too, so its native binding
can be dlopen'd. env/ — the Python environment the app builds, easily 1.5 GB
— is excluded explicitly; shipping it would be both enormous and useless, since
it is full of paths and binaries for the machine that made it.
One easy saving if installer size matters: three, react and @xterm/* are
dependencies, so electron-builder copies them into the package even though vite
has already bundled them into out/renderer. Only node-pty is genuinely needed
at runtime. Moving the rest to devDependencies takes about 28 MB off every
installer.
The installer does not bundle Python or LeRobot. On first launch the app opens Settings and walks the user through picking an interpreter, creating an environment and installing LeRobot — the same flow as the Quick start above. That is deliberate: LeRobot pulls in torch, and which build of it you want depends on the machine.
- Linux — serial access usually needs permission. The app detects
EACCESand shows the fix (usermod -aG dialout $USER, orchmod 666on the port). - macOS — enumerating cameras triggers the camera permission prompt. RealSense support is unstable here; the app never lets a RealSense failure hide the OpenCV results.
- Windows — Pause is disabled, since there is no
SIGSTOPequivalent. Use Stop instead.
resources/bridge/lerobot_gui_bridge.py Python sidecar (JSON-RPC over stdio)
src/shared/ motor tables, IPC types, diagram geometry, joint mapping,
forward/inverse kinematics, the control mappings, the
virtual arm's identity
src/main/ Electron main: IPC, process runner, bridge client, env setup
src/preload/ the typed contextBridge API
src/renderer/ React UI — components/ and panels/
assets/ SO-101 renders, brand marks, and the simulation models
assets/simulation/ URDFs and STL parts, plus the generated/ glTF scenes
tools/blender/ the script that builds those scenes, run inside Blender
scripts/ the smoke test and the Blender build wrapper
tests/ vitest suites (node environment — no DOM)
build/ electron-builder resources; drop icons here
calibration/ default calibration folder
samples/ default dataset folder
Motor indicator positions live in src/shared/motor-layout.ts as normalized coordinates, so nudging a dot is a one-line change. The 3D view's equivalent is the scene manifest each model is built with: it names the glTF node and rotation axis for every joint, so src/shared/sim.ts never has to know what the rig looks like.
What each key and stick does is a table in src/shared/teleop-input.ts, and the on-screen legend is rendered from it — a remapped key cannot end up documented wrong. The kinematic chain is read from the same URDF the 3D scene was built from, so neither view can drift from the other.
LeRobot Control was built to make LeRobot arms quicker to get running and easier to live with: one place to prepare the Python environment, give each arm an identity, calibrate it, and then teleoperate, record, replay and run policies — without assembling command lines by hand.
- Created by RebelDot — Physical AI department
- Contributors Andrei Brumboiu <[email protected]>
- Built August – September 2026
- Built with Claude Code, Anthropic's agentic coding tool — the app was written with it, start to finish
- Inspired by LeRobot, Hugging Face's robotics library, which does the actual driving of the arms
The same credits are in the app's About tab.
MIT — see LICENSE. You are free to use, copy, modify and redistribute this, including commercially. The one condition is attribution: keep the copyright notice and the licence text with any copy or substantial portion.
If you publish a modified version, say so and link back to this repository, so people can tell your changes from ours. That is a request rather than a licence term, and it costs you a sentence.
Some things in this repository are not ours to license: the SO-ARM100 URDFs and
meshes under assets/simulation/, LeRobot itself, and the RebelDot wordmarks
under assets/logo/. NOTICE says which is which — read it before
publishing a build, and swap the wordmarks for your own.








