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.
- [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 DexJoCoclick_mousewith 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.
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_bowlsTip
- Read a paradigm's prototype first, then its agent for your benchmark.
- To add a tool or change how an agent decides, edit its
@Toolmethods or itsRUAgent. - Environments have no tools or models, and their own check decides success.
- Evaluate an agent over several seeds with
cleanrua_utils.benchmark.
| Algorithm | Description | Prototype | Variants implemented |
|---|---|---|---|
| Direct | An MLLM moves the arms with motion tools. |
direct.py |
direct_robodojo.py |
| CaP | An MLLM writes Python programs that move the arms through a robot API. |
cap.py |
cap_robodojo.pycap_delegate_robodojo.pycap_delegate_dexjoco.pycap_explore_dexjoco.py |
| Delegate | An MLLM gives sub-task instructions to Pi0.5 and can also move the arms itself. |
delegate.py |
delegate_robodojo.pydelegate_dexjoco.py |
| Monitor | Pi0.5 does the task; an MLLM watches it and corrects failures with motion tools. |
monitor.py |
monitor_robodojo.pymonitor_dexjoco.py |
@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}},
}CleanRUA builds on many open projects, listed in ACKNOWLEDGEMENTS.md. We thank their authors.
CleanRUA is released under the MIT License.
