# OpenRUA: What if coding agents just used native ROS 2 directly?

**URL:** <https://discourse.openrobotics.org/t/openrua-what-if-coding-agents-just-used-native-ros-2-directly/60592>\
**Category:** Projects\
**Tags:** release, ros2, moveit2, tools, agent\
**Created:** [December 4, 2026, 4:12pm UTC](https://discourse.openrobotics.org/t/openrua-what-if-coding-agents-just-used-native-ros-2-directly/60592 "2026-12-04T16:12:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zhaoyang-Chu](https://avatars.discourse-cdn.com/v4/letter/z/3da27b/32.png) [@Zhaoyang-Chu](https://discourse.openrobotics.org/u/Zhaoyang-Chu)\
**Post date:** [December 4, 2026, 4:12pm UTC](https://discourse.openrobotics.org/t/openrua-what-if-coding-agents-just-used-native-ros-2-directly/60592/1 "2026-12-04T16:12:30Z")

</div>

Hi everyone,

Most LLM-for-robotics projects start by building a custom layer between the model and the robot: bespoke action primitives, hand-tuned VLA skills, or a dedicated MCP server. We wanted to test a simpler bet: what if the robot’s native ROS 2 graph is _already_ the right interface for a Robot-Use Agent (RUA)?

We open-sourced **OpenRUA** (Apache 2.0) to put that idea into practice. Instead of wrapping the robot in a new API, OpenRUA drops an off-the-shelf coding agent (Claude Code, Codex, etc.) into a plain project workspace with terminal access to ROS 2 (`ros2` CLI, `rclpy`, MoveIt 2, and local docs) and lets it operate the robot much like a ROS developer sitting at a keyboard.

- GitHub: [GitHub - terminalworld/OpenRUA: OpenRUA: Open-source robot-use agent for controlling real and simulated robots via native ROS 2 (arXiv:2610.02459) · GitHub](https://github.com/terminalworld/OpenRUA)
- Interactive browser demo & docs: [https://openrua.sh/](https://openrua.sh/)

### What the workflow actually looks like

Rather than calling pre-baked `pick()` or `place()` tools, the agent works straight through standard ROS 2 primitives:

- **Exploring the graph first** : it runs `ros2 topic list`, `ros2 action list`, and `ros2 interface show` to see what topics, frames, and controllers are actually running.
- **Perceiving through files and Python** : it dumps raw RGB-D camera frames, `/joint_states`, and force topics into the workspace, then writes short Python scripts to estimate 3D targets instead of relying on privileged simulator poses.
- **Controlling through `rclpy`** : it writes and iterates on `rclpy` scripts targeting standard interfaces (`FollowJointTrajectory`, gripper actions, MoveIt 2 IK, and Cartesian velocity servoing) with closed-loop checks between steps.

What surprised us most is how far this native ROS 2 workflow already goes on its own. Even without fine-tuning or custom skill wrappers, running off-the-shelf coding agents directly over ROS 2 hits 99.0% zero-shot on CaP-Bench and 87.0% on LIBERO-PRO in our evaluation (arXiv:2610.02459). For us, that is a strong signal that ROS 2 does not need another AI wrapper layer on top of it; the standard tooling this community built is already legible to modern coding agents.

### Trying it out (sim or real hardware)

All ROS 2 (Humble / Jazzy) and simulator dependencies live inside Docker containers so nothing touches your host setup:

```bash
pip install -U openrua
mkdir my-robot-project && cd my-robot-project
openrua

```

Out of the box, it includes Dockerized bridges for 5 simulators (robosuite, ManiSkill, RoboTwin, CALVIN, VLABench) across 14 benchmarks.

If you want to point it at a real ROS 2 robot, `openrua connect` opens a shared workspace session alongside your hardware. The agent helps inspect live topics and devices, put together isolated driver containers, and keep `robot.yaml`, `driver/`, and `cameras/` tidy inside the project, while power, brakes, and e-stop remain strictly physical and under human control.

We would really appreciate feedback from ROS 2 folks here. If you try it on a real arm, mobile base, or a quirky Nav2 / MoveIt 2 setup, we would love to hear what works well and where the agent trips over real-world ROS 2 edge cases.
