Real robot drivers (SUPPORTED_ROBOT_DRIVERS)
Physical machines connect over loopback USB/LAN drivers in the local host (packages/runtime/local-host/robot-ops.mjs) or WebSerial in the browser workbench, using explicit world.tsx unit bindings and standing grants:
| driver | robots | transport & protocol | default port |
|---|---|---|---|
franka-fci | Franka Research 3 (FR3), Panda | libfranka FCI TCP + 1 kHz UDP | 1337 |
unitree-sdk2-rosbridge | Unitree G1, H1, Go2, Z1 | Unitree SDK2 LowCmd/LowState | 9090 |
ur-rtde | Universal Robots UR3e/5e/10e/16e | RTDE (30004) + URScript (30002) | 30004 |
xarm-tcp | UFACTORY xArm 5/6/7, Lite 6 | xArm TCP control | 502 |
ros2-rosbridge | ROS 2 Humble/Jazzy, Jackal J100 | Rosbridge WebSocket | 9090 |
feetech-sts-serial | SO-101, SO-100, LeRobot arms | Feetech STS/SCS serial bus | serial path |
centaur-link-serial | CommandAGI Centaur-001, OpenArm 2.0 | Teensy 4.1 USB serial bridge | serial path |
List registered robot drivers anytime from disk or CLI: commandagi robot drivers.
Importing URDF/MJCF and exporting industrial programs
- Import descriptions cleanly:
commandagi robot import <file.urdf|xacro|xml> [--into DIR] [--tip LINK] [--gripper J|--no-gripper] [--max-velocity RAD_S] [--decompose]converts existing URDF, xacro, or MJCF models intodevices/<name>/definition.tsxfiles ready for 240 Hz simulation or physical unit placement. - KUKA KRL & ABB RAPID exchange: Plan trajectories on the digital twin, inspect joint clearances, and compile controller files offline:
commandagi robot program export worlds/cell/world.tsx --unit arm-1 \
--run runs/20261104t1000-plan --language krl --motion linear
commandagi robot program read worlds/cell/world.tsx --unit arm-1 programs/pick.modTwin vs real trajectory inspection and run diagnosis
Compare any executed run against a simulated twin trajectory (inspectRunTrajectory) or generate an automated failure diagnostic (diagnoseRobotRun):
# Extract 3D trajectories, compute twin divergence, or project into camera space
commandagi robot trajectory runs/real-01 --compare runs/twin-01 --color error
commandagi robot trajectory runs/real-01 --camera '{"fx":610,"fy":610,"cx":320,"cy":240}'
# Diagnose stalls, missed grasps, joint/torque limit excursions, or twin drift
commandagi robot diagnose runs/real-01 --twin runs/twin-01 --bench-top 0.02 --writeRunning with --write records diagnosis.json inside runs/real-01/ naming exact timestamps, offending joints, or twin-gap divergers without mutating past streams.
Policy fine-tuning (finetune) and Gym / LeRobot
Collect successful and failed pick-and-place episodes across runs and fit updated linear/ridge policy weights (policies/*.policy.json) directly on disk:
commandagi robot finetune --runs runs/ --out policies/ --name pick-v2 --contrastive --holdout 0.2--contrastiveapplies positive/negative outcome weighting so failed contacts penalize unsafe joint velocities.- When training external VLA or RL policies in Python, install
commandagi[gym](CommandAGIEnv) orcommandagi[lerobot](commandagi.lerobot) to stream live or simulated episodes with identical observation schemas.
Versioned skill libraries (robot skill)
Promote verified trajectories or policy checkpoints into composable, robot-compatible skill manifests stored under skills/robot/:
commandagi robot skill promote --name pick-cube --runs runs/r1,runs/r2 --robots so-101,fr3 --tags grasp
commandagi robot skill list --robot so-101 --min-pass-rate 0.85
commandagi robot skill compose --name pick-and-place --steps pick-cube,place-bin --robots so-101
commandagi robot skill replay pick-cube --version 2 --time-scale 0.5Physical vs twin honesty boundary
All 7 real-robot host drivers currently report verification level loopback (0 drivers hold bench or hardware commissioning sign-off today). A physical run sets reality: "physical", requires a unit standing grant, records every command before dispatch, and opens disarmed. Use commandagi calibrate show|rezero|camera, commandagi testplan check|run, and commandagi rollout start|advance|rollback to separate bench validation strictly from twin runs.