Turn your robot into a coding project.
Install OpenRUA on Linux, open a project directory, and let Claude Code or Codex inspect sensors and write native ROS 2 control programs in simulation or on real hardware.
1. Install and start a simulated robot project
Create an empty directory for your robot project and launch openrua. Guided setup walks you through picking a simulator or benchmark, choosing your coding agent, checking Docker, and signing in if needed.
pip install -U openrua
mkdir my-robot-project && cd my-robot-project
openrua
The first preparation builds the container images for your chosen environment and agent, which can take a few minutes. Subsequent sessions reuse those images directly. Once the robot is ready, start with a read-only check:
Look through the cameras and describe the scene, without moving the robot.
Your agent pulls camera images into workspace files, inspects them, and waits for your next instruction. Every script, note, and reusable skill stays inside my-robot-project across sessions.
2. Ways to work with OpenRUA
OpenRUA keeps one shared session model across interactive chat, browser camera inspection, and automated single-task execution.
| Workflow | Command | Best for |
|---|---|---|
| Fullscreen terminal chat | openrua |
Interactive development with live tool output, /setup, /resume, and Esc emergency stop. |
| Browser chat & live cameras | openrua --gui |
Watching live camera feeds while sending follow-up instructions in the same session. |
| Agent's native terminal | openrua agent |
Dropping straight into Claude Code or Codex inside the ROS 2 sandbox workspace. |
| One recorded task | openrua exec "<task>" |
Running an autonomous task with full trial logs and automatic per-camera MP4 export. |
To run a benchmark scene directly from the command line, combine the robot, benchmark, and agent flags:
openrua exec panda --bench libero_pro --agent claude-code
3. Connect your own physical ROS 2 robot
Physical robots already speak ROS 2. Run openrua connect inside your project directory to pair with your coding agent beside the machine. The agent inspects live devices and topics, prepares isolated driver containers, and saves the configuration right inside your project while power, brakes, and e-stop remain strictly with you.
mkdir my-real-robot && cd my-real-robot
openrua connect
OpenRUA scaffolds four project-owned files and directories so your hardware setup travels cleanly with the rest of your code:
| Path | Purpose |
|---|---|
robot.yaml |
Declares the robot identity, ROS 2 distribution, camera topics, and driver launch lifecycle. |
driver/ |
Dockerfiles and launch scripts for your robot's ROS 2 drivers, kept separate from host packages. |
cameras/ |
Camera container definitions and topic bindings for external and wrist RGB-D sensors. |
CONNECT.md |
Step-by-step connection notes and verification checks maintained alongside the agent. |
For the full hardware walkthrough and driver maintenance guide, see docs/connect.md on GitHub ↗.
4. Authentication and diagnostics
OpenRUA automatically detects existing native logins under ~/.claude or ~/.codex without copying credentials. To sign in explicitly or verify Docker, images, and agent readiness at any time:
openrua login
openrua doctor
Full documentation covering rootless Podman, custom API providers, simulators, and all 14 benchmarks lives in the OpenRUA GitHub repository ↗.