[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116988":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":23,"topics":24,"createdAt":10,"pushedAt":31,"updatedAt":32,"readmeContent":33,"aiSummary":10,"trendingCount":15,"starSnapshotCount":15,"syncStatus":14,"lastSyncTime":34,"discoverSource":35},116988,"CleanRUA","Agentic-Intelligence-Lab\u002FCleanRUA","Agentic-Intelligence-Lab","CleanRUA: Clean Implementations of Robot-Use Agents","http:\u002F\u002Fagentic-intelligence-lab.org\u002FCleanRUA\u002F",null,"Python",91,3,2,0,5,40,23,75.81,"MIT License",false,"main",true,[25,26,27,28,29,30],"benchmark","embodied-ai","harness-engineering","recursive-self-improvement","robot-use-agents","robotics","2026-11-24 19:53:59","2026-11-24 14:26:18","# CleanRUA (Clean Implementations of Robot-Use Agents)\n\nFollowing the [CleanRL](https:\u002F\u002Fgithub.com\u002Fvwxyzjn\u002Fcleanrl) 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.\n\n\u003Cimg alt=\"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\" src=\"docs\u002Fdemo.gif\" width=\"100%\" \u002F>\n\n### News\n- **[2026\u002F11\u002F21]** Add [delegate_memory_dexjoco.py](cleanrua\u002Fdelegate_memory_dexjoco.py), which keeps a playbook of lessons per task across episodes. With playbooks learned on other seeds, it succeeded in 10 of 30 test episodes, against 17 for Delegate. Add [cap_explore_dexjoco.py](cleanrua\u002Fcap_explore_dexjoco.py), which learns a task over episodes and compiles it into one program, following RAX. After 16 learning episodes, its program solved `click_mouse` on all 10 test seeds without the MLLM, against 9 for Delegate and 5 for Pi0.5 alone. The Code paradigm is now CaP (Code as Policies), and its files are `cap_*.py`.\n- **[2026\u002F11\u002F20]** Add [DexJoCo](https:\u002F\u002Fgithub.com\u002Fbrave-eai\u002Fdexjoco), with dexterous Allegro hands, and three agents for it: [delegate_dexjoco.py](cleanrua\u002Fdelegate_dexjoco.py), [monitor_dexjoco.py](cleanrua\u002Fmonitor_dexjoco.py) and [cap_delegate_dexjoco.py](cleanrua\u002Fcap_delegate_dexjoco.py). Over 50 episodes on five tasks, Delegate succeeded in 36 and Pi0.5 alone in 28 ([evaluation](https:\u002F\u002Fcleanrua.agentic-intelligence-lab.org\u002Fget-started\u002Fevaluation\u002F)). [monitor_check_dexjoco.py](cleanrua\u002Fmonitor_check_dexjoco.py) makes Monitor judge every stretch and correct stalls; it succeeded less often than Monitor.\n- **[2026\u002F11\u002F19]** Add two variants of [cap_robodojo.py](cleanrua\u002Fcap_robodojo.py): [cap_delegate_robodojo.py](cleanrua\u002Fcap_delegate_robodojo.py), whose programs can also hand phases to Pi0.5, and [cap_jev_robodojo.py](cleanrua\u002Fcap_jev_robodojo.py), which keeps its whole history and lets Jev drop the parts no longer needed. [direct_jev_robodojo.py](cleanrua\u002Fdirect_jev_robodojo.py) does the same for Direct.\n- **[2026\u002F11\u002F18]** Add [cap_robodojo.py](cleanrua\u002Fcap_robodojo.py) and [monitor_robodojo.py](cleanrua\u002Fmonitor_robodojo.py), and rename `hybrid_robodojo.py` to [delegate_robodojo.py](cleanrua\u002Fdelegate_robodojo.py).\n- **[2026\u002F11\u002F17]** Add [hybrid_robodojo.py](cleanrua\u002Fdelegate_robodojo.py) that uses a MLLM moves the robot with motion tools and hands local phases to Pi0.5.\n- **[2026\u002F11\u002F16]** Add [direct_robodojo.py](cleanrua\u002Fdirect_robodojo.py) that uses a MLLM moves the robot with motion tools.\n\n### Get started\n\nInstall the dependencies by following the installation guide for [RoboDojo](examples\u002Finstallation_robodojo.md) or [DexJoCo](examples\u002Finstallation_dexjoco.md). Then set the model and run an agent:\n\n```sh\nexport CLEANRUA_MODEL_NAME=YOUR_MODEL\nexport CLEANRUA_BASE_URL=https:\u002F\u002FYOUR_PROVIDER\u002Fv1\nexport CLEANRUA_API_KEY=YOUR_API_KEY\npython -m cleanrua.direct_robodojo --native-root \u002Fpath\u002Fto\u002FRoboDojo --task stack_bowls\n```\n\nTips:\n1. To add a tool, write a `@Tool` method in the agent's wrapper. To change how the agent decides, edit its `RUAgent`.\n2. The environment has no tools and no models. Each agent adds them with a `gym.Wrapper`.\n3. `finish` only ends the episode. The environment's own check decides success.\n4. A variant adds a word to its algorithm's name, such as `cap_jev_robodojo.py`, and is still one self-contained file.\n\n### Algorithms implemented\n\nEach algorithm links to a short prototype that shows it without an environment. In the diagrams, the solid arrows show what the MLLM sends each turn, and the dashed arrow brings images and state back.\n\n| Algorithm | Description | Variants implemented |\n|---|---|---|\n| [Direct](cleanrua\u002Fdirect.py) | \u003Cimg src=\"docs\u002Fparadigms\u002Fdirect.svg\" width=\"360\" alt=\"Direct: the MLLM sends a target pose to inverse kinematics, which moves the robot.\" \u002F>\u003Cbr>An MLLM moves the arms with motion tools. | [`direct_robodojo.py`](cleanrua\u002Fdirect_robodojo.py)\u003Cbr>[`direct_jev_robodojo.py`](cleanrua\u002Fdirect_jev_robodojo.py) |\n| [CaP](cleanrua\u002Fcap.py) | \u003Cimg src=\"docs\u002Fparadigms\u002Fcap.svg\" width=\"360\" alt=\"CaP: the MLLM sends a program to a Python robot API, which moves the robot.\" \u002F>\u003Cbr>An MLLM writes Python programs that move the arms through a robot API. | [`cap_robodojo.py`](cleanrua\u002Fcap_robodojo.py)\u003Cbr>[`cap_delegate_robodojo.py`](cleanrua\u002Fcap_delegate_robodojo.py)\u003Cbr>[`cap_jev_robodojo.py`](cleanrua\u002Fcap_jev_robodojo.py)\u003Cbr>[`cap_delegate_dexjoco.py`](cleanrua\u002Fcap_delegate_dexjoco.py)\u003Cbr>[`cap_explore_dexjoco.py`](cleanrua\u002Fcap_explore_dexjoco.py) |\n| [Delegate](cleanrua\u002Fdelegate.py) | \u003Cimg src=\"docs\u002Fparadigms\u002Fdelegate.svg\" width=\"360\" alt=\"Delegate: the MLLM sends an instruction to a VLA, Pi0.5, which moves the robot.\" \u002F>\u003Cbr>An MLLM gives sub-task instructions to Pi0.5 and can also move the arms itself. | [`delegate_robodojo.py`](cleanrua\u002Fdelegate_robodojo.py)\u003Cbr>[`delegate_dexjoco.py`](cleanrua\u002Fdelegate_dexjoco.py)\u003Cbr>[`delegate_memory_dexjoco.py`](cleanrua\u002Fdelegate_memory_dexjoco.py) |\n| [Monitor](cleanrua\u002Fmonitor.py) | \u003Cimg src=\"docs\u002Fparadigms\u002Fmonitor.svg\" width=\"360\" alt=\"Monitor: a VLA works on the task instruction while the MLLM lets it go on or corrects the robot.\" \u002F>\u003Cbr>Pi0.5 does the task; an MLLM watches it and corrects failures with motion tools. | [`monitor_robodojo.py`](cleanrua\u002Fmonitor_robodojo.py)\u003Cbr>[`monitor_dexjoco.py`](cleanrua\u002Fmonitor_dexjoco.py)\u003Cbr>[`monitor_check_dexjoco.py`](cleanrua\u002Fmonitor_check_dexjoco.py) |\n\n### Cite Us\n\n```bibtex\n@misc{cleanrua2026yuan,\n  title        = {CleanRUA: Clean Implementations of Robot-Use Agents},\n  author       = {Mingqi Yuan, Xudong Wu, Jiayu Chen},\n  year         = {2026},\n  howpublished = {\\url{https:\u002F\u002Fgithub.com\u002FAgentic-Intelligence-Lab\u002FCleanRUA}},\n}\n```\n\n### Acknowledgements\n\nCleanRUA is inspired by [CleanRL](https:\u002F\u002Fgithub.com\u002Fvwxyzjn\u002Fcleanrl),\n[RoboSimStudio](https:\u002F\u002Fgithub.com\u002Frobosimstudio\u002Frobosimstudio) and\n[uni-robot-agent](https:\u002F\u002Fgithub.com\u002FOpen-RUA\u002Funi-robot-agent). It uses\n[RoboDojo](https:\u002F\u002Fgithub.com\u002FRoboDojo-Benchmark\u002FRoboDojo) and [DexJoCo](https:\u002F\u002Fgithub.com\u002Fbrave-eai\u002Fdexjoco)\nfor simulation, and [XPolicyLab](https:\u002F\u002Fgithub.com\u002FXPolicyLab\u002FXPolicyLab) and DexJoCo's OpenPI server for action\nmodels. We thank their authors.\n\n### License\n\nCleanRUA is released under the [MIT License](LICENSE).\n","2026-11-25 05:00:19","CREATED_QUERY"]