Skip to content
Agentic-Intelligence-LabPublic

Repository files navigation

CleanRUA (Clean Implementations of Robot-Use Agents)

Following the CleanRL design philosophy, CleanRUA provides single-file, high-quality implementations of robot-use agents for reproducible research. Each code file contains a whole agent, including the prompt, tools, and the interaction loop. The environments are plain Gymnasium environments.

Successful episodes. Top, RoboDojo head camera: delegate stacking bowls, direct stacking blocks and direct lifting scissors. Bottom, DexJoCo ego camera: delegate clicking the mouse on its pad, delegate hammering the nail and monitor lifting the bucket with the boxed food inside

News

  • [2026/11/23] Add a prototype of about 100 lines for each paradigm, and move unproven variants to cleanrua/experimental/.
  • [2026/11/21] Add cap_explore, which compiles its exploration into one program: 10 of 10 on DexJoCo click_mouse with no model calls at test time. Code is renamed CaP.
  • [2026/11/20] Add DexJoCo with dexterous hands. Delegate succeeded in 36 of 50 episodes, Pi0.5 alone in 28 (evaluation).
  • [2026/11/19] Add cap_delegate, whose programs can call Pi0.5, and history compaction with Jev.
  • [2026/11/18] Add CaP and Monitor, and rename Hybrid to Delegate.
  • [2026/11/17] Add Hybrid: an MLLM hands local phases to Pi0.5.
  • [2026/11/16] Add Direct: an MLLM moves the robot with motion tools.

Get started

Install the dependencies by following the installation guide for RoboDojo or DexJoCo. Then set the model and run an agent:

export CLEANRUA_MODEL_NAME=YOUR_MODEL
export CLEANRUA_BASE_URL=https://YOUR_PROVIDER/v1
export CLEANRUA_API_KEY=YOUR_API_KEY
python -m cleanrua.direct_robodojo --native-root /path/to/RoboDojo --task stack_bowls

Tip

  1. Read a paradigm's prototype first, then its agent for your benchmark.
  2. To add a tool or change how an agent decides, edit its @Tool methods or its RUAgent.
  3. Environments have no tools or models, and their own check decides success.
  4. Evaluate an agent over several seeds with cleanrua_utils.benchmark.

Algorithms implemented

Algorithm Description Prototype Variants implemented
Direct Direct: the MLLM sends a target pose to inverse kinematics, which moves the robot.
An MLLM moves the arms with motion tools.
direct.py direct_robodojo.py
CaP CaP: the MLLM sends a program to a Python robot API, which moves the robot.
An MLLM writes Python programs that move the arms through a robot API.
cap.py cap_robodojo.py
cap_delegate_robodojo.py
cap_delegate_dexjoco.py
cap_explore_dexjoco.py
Delegate Delegate: the MLLM sends an instruction to a VLA, Pi0.5, which moves the robot.
An MLLM gives sub-task instructions to Pi0.5 and can also move the arms itself.
delegate.py delegate_robodojo.py
delegate_dexjoco.py
Monitor Monitor: a VLA works on the task instruction while the MLLM lets it go on or corrects the robot.
Pi0.5 does the task; an MLLM watches it and corrects failures with motion tools.
monitor.py monitor_robodojo.py
monitor_dexjoco.py

Cite Us

@misc{cleanrua2026yuan,
  title        = {CleanRUA: Clean Implementations of Robot-Use Agents},
  author       = {Mingqi Yuan, Xudong Wu, Jiayu Chen},
  year         = {2026},
  howpublished = {\url{https://github.com/Agentic-Intelligence-Lab/CleanRUA}},
}

Acknowledgements

CleanRUA builds on many open projects, listed in ACKNOWLEDGEMENTS.md. We thank their authors.

License

CleanRUA is released under the MIT License.

Releases

Packages

Contributors

Languages