Minimal Coding Harness, General Robot Agents
Abstract摘要
The rise of large language models (LLMs) has opened a path toward generalist embodied AI, raising the question of how LLMs can act in the physical world. We argue that coding agents can directly control robots and generalize across diverse embodiments. All they need is a simple yet effective robot harness. We present RoboHarness: a minimal design paradigm for robot harnesses that enables robot agents to generalize across hardware, tasks, scenes, and toolsets. With a minimal coding harness, trajectories from different embodiments and toolsets can be pooled to scale up training, and the harness can keep evolving alongside the model, showing the potential for multi-task and open-ended scaling.
大语言模型(LLM)的发展开辟了通向通用具身智能的新路径。我们提出:通用编程智能体(Coding Agent)完全可以直接控制机器人并泛化到异构本体,所需要的只是一套极简而有效的机器人 harness。本文提出 RoboHarness——一种极简的机器人工作空间设计范式,使智能体能够跨硬件、跨任务、跨场景与跨工具集泛化;同时,不同本体与工具集的轨迹可以无冲突地聚合训练,并支持 harness 与模型持续协同迭代,展现出多任务缩放与开放式演化的潜力。
(R1 Pro humanoid)RoboCoder-27B · BEHAVIOR
(R1 Pro 人形双臂)
(ARX X5 dual-arm)RoboCoder-27B · RoboDojo
(ARX X5 桌面双臂)
(Panda mobile)RoboCoder-27B · RoboCasa365
(Panda 移动单臂)
(5 robot × harness splits)跨本体/工具集 SFT 数据
(5 域混合 token)
skills/, perception/, tools/, robot_config/); trajectories from all embodiments train one model (RoboCoder), co-trained with its harness. Top: RoboCoder-27B scores against VLA/WAM/agent baselines on BEHAVIOR, RoboDojo, and RoboCasa365. Middle: R1 Pro and ARX X5 rollouts where the agent writes and runs its own IK scripts. Bottom: the ~200M-token data mixture. (Click any figure to zoom.)
图 1. RoboHarness 极简设计契约与核心成绩。左:每个本体即一个工作空间(skills/、perception/、tools/、robot_config/),跨本体轨迹联合训练同一模型(RoboCoder)并与 harness 协同进化。上:RoboCoder-27B 在 BEHAVIOR、RoboDojo 与 RoboCasa365 上与主流系统的对比。中:R1 Pro 与 ARX X5 上 agent 自写并执行 IK 控制脚本的实测轨迹。下:约 200M token 混合数据。(点击任意图片可放大查看。)
Task = task + harness: A Robot Is a Coding ProjectTask = task + harness:每个机器人都是编程工程
Task = task + harness)。与将工具写死在 agent 侧不同,RoboHarness 把可读可改的工作空间移到任务侧,通用编程智能体直接进入目录阅读文档、调用或修补工具、甚至自写控制器。
Minimal Joint Contract极简关节级硬件契约
Each robot exposes only its low-level joint command interface (27 values for R1 Pro, 14 scalars for dual-arm ARX X5, joint-actuator boundary for Panda). Higher abstractions narrow reachable motions; joint commands cover the full embodiment space.
每个本体只固定最底层关节指令接口(R1 Pro 27 维、双臂 ARX X5 14 维、Panda 关节执行器边界),避免高层抽象锁死可达动作空间,并让同本体的不同工具集共享同一底座。
Tools as a Ladder, Not a Fence工具是梯子而非围栏
Perception, grasp planning, pose execution, and IK are exposed as readable Python scripts under tools/. When a helper fails or a primitive gets stuck, the agent patches the script in one line or writes an ad-hoc joint-level controller.
感知、抓取规划、位姿执行与 IK 均以可读 Python 源码放在 tools/。当高层工具报错或卡点时,agent 可以直接改源码修 bug,或下钻编写自定义 IK / 关节控制脚本。
Disk Sensor Streams & Servo Loops传感器落盘与闭环伺服
RGB, depth, keypoints, and proprioception are archived under perception/ with latest.json instead of flooding the context window. Long actions run asynchronously in shell, and agents can wire perceptors directly into closed-loop servo scripts.
RGB-D、关键点与本体状态归档在 perception/ 按需读取,避免 ReAct 堆图稀释注意力;耗时动作可后台执行,且 agent 能直接串联感知与控制脚本形成闭环伺服。
Table 1. Comparison of Robot Harnesses表 1. 机器人 Harness 系统对比
| Harness for robot agent | OpenRUA | RAX | HexaShell | Auriga | uni-robot-agent | PyRUA-Lean | ASPIRE | TinyAstral | RoboRSI | ReKep | CoPa | Ours |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| By design, the harness can: | ||||||||||||
| Support any coding agent | ✓ | ✓ | ✗ | ✗ | ✓ | ✓ | ✓ | ✗ | ✓ | ✗ | ✗ | ✓ |
| Support any robot embodiment | ✓ | ✓ | ✓ | ✗ | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ | ✗ | ✓ |
| At run time, the agent is able to: | ||||||||||||
| Learn a new robot from its description | ✓ | ✗ | ✗ | ✓ | ✓ | ✗ | ✓† | ✗ | ✗ | ✗ | ✗ | ✓ |
| Read, edit and create its own tools | ✓† | ✗ | ✗ | ✗ | ✓† | ✗ | ✓† | ✗ | ✗ | ✗ | ✗ | ✓ |
| Offload sensor streams to save context | ✓ | ✓† | ✓ | ✗ | ✓† | ✓† | ✓† | ✗ | ✗ | ✗ | ✗ | ✓ |
| Deploy on-demand sensor trackers | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓† | ✗ | ✗ | ✗ | ✗ | ✓ |
| Build fallback joint-level controllers | ✓ | ✓† | ✗ | ✗ | ✗ | ✗ | ✓ | ✗ | ✓† | ✗ | ✗ | ✓ |
| In training, the framework can: | ||||||||||||
| Support harness–model co-training | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✓† | ✗ | ✗ | ✓ |
| Support cross-embodiment training | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✓† | ✗ | ✗ | ✗ | ✓ |
✓ supported; ✗ not supported; ✓† supported with conditions or caveats. Runtime entries follow released-code audits in the paper; training entries follow Sec. 5.2.
Zero-Shot Expressiveness, Cross-Embodiment SFT & Co-Training零样本表达力、跨本体训练与协同演化
43.27), RoboDojo (31.64), and RoboCasa365 (46.0). (b) Five-domain SFT token shares. (c–d) Multi-domain SFT vs. single-split SFT and base model. (e–f) Zero-shot cross-toolset (−8.8% val loss) and cross-embodiment (−8.9% val loss) transfer.
图 9. 基准综合对比、约 200M token 混合数据与缩放消融。(a) RoboCoder-27B 在 BEHAVIOR(43.27)、RoboDojo(31.64)与 RoboCasa365(46.0)上与主流系统对比。(b) 五域跨本体/工具集数据占比。(c–d) 全量混合 SFT 相对单域 SFT 与基座的显著提升。(e–f) 跨工具集(验证损失 −8.8%)与跨本体(验证损失 −8.9%)零样本迁移。
Porting Third-Party Harnesses (Table 2)第三方 Harness 零样本移植(表 2)
Moving third-party toolsets into the RoboHarness contract preserves or improves zero-shot performance across three heterogeneous robot types: uni-robot-agent on RoboDojo ARX X5 (31.39% native vs. 30.78% in RoboHarness), HexaShell on RoboCasa365 Panda (42% native vs. 48% turn-matched / 62% uncapped), and R1 Pro on BEHAVIOR (45.7% GPT-6 Astra on 100 tasks; 44.5% Qwen3.8-Flash-Next subset).
将第三方工具集迁入 RoboHarness 契约后不掉点甚至反超:RoboDojo 双臂 ARX X5 上 uni-robot-agent 原生 31.39% vs. 移植 30.78%;RoboCasa365 移动单臂 Panda 上 HexaShell 原生 42% vs. 同轮次对齐 48%(不限轮次 62%);BEHAVIOR 人形双臂 R1 Pro 上 GPT-6 Astra 100 任务零样本达 45.7%。
Multi-Domain SFT & Zero-Shot Transfer多域混合 SFT 与零样本迁移
Pooling all 5 splits (~200M tokens: R1 Pro, ARX X5 Agent-dev, ARX X5 URA, Panda Agent-dev, Panda HexaShell) outperforms single-split SFT by +14.0 pts on RoboCasa365 (0.20 → 0.34, base 0.15) and +7.5 pts on RoboDojo (0.151 → 0.226, base 0.100). Training solely on ARX X5 Agent-dev lowers validation loss by 8.8% on the unseen URA toolset and 8.9% on the unseen Panda embodiment.
聚合 5 域约 200M token SFT 数据后,全量混合 SFT 相比单域 SFT 在 RoboCasa365 提升 +14.0 分(0.20 → 0.34,基座 0.15),在 RoboDojo 提升 +7.5 分(0.151 → 0.226,基座 0.100);仅在 ARX X5 Agent-dev 上训练即可在未见工具集(URA)与未见本体(Panda)上分别降低 8.8% 与 8.9% 验证损失。
Qwen3.8-27B and an empty task workspace (only robot docs + joint contract), a meta-agent synthesizes tools and skills, filters suboptimal turns (mistake masking), and applies harness pruning across iterations. Because trajectories from distinct toolsets remain compatible under RoboHarness, historical data pool across harness revisions without invalidation, driving RoboDojo performance steadily to 0.2012.
从空 Harness 起步的协同训练(Co-Training): 从 Qwen3.8-27B 与空任务工作空间出发,meta-agent 自主构建并迭代工具与技能,结合错误掩码(mistake masking)与 harness 剪枝防过拟合;由于同一底层契约下各版本工具集轨迹完全兼容,历史数据无需作废即可持续复用,在 RoboDojo 上稳步推进至 0.2012。
Three Workspaces, Unified 3rd_party/ Simulators三大工作空间与自包含评测器
| Embodiment & Benchmark | Workspace & Prompts | Simulator (3rd_party/) |
Evaluator |
|---|---|---|---|
| R1 Pro · BEHAVIOR-1K (9×5) | harness/R1_pro · prompt/R1_pro |
3rd_party/BEHAVIOR |
eval/behavior_r1pro |
| ARX X5 · RoboDojo (42×3) | harness/ARX_X5_Agent-dev · prompt/ARX_X5_Agent-dev |
3rd_party/RoboDojo |
eval/fullmix317 |
| Panda · RoboCasa365 OOD (50×2) | harness/Panda_HexaShell_port · prompt/Panda_HexaShell_port |
3rd_party/robocasa |
eval/robocasa_hexashell |
Citation引用
@misc{qu2026roboharness,
title = {RoboHarness: Minimal Coding Harness, General Robot Agents},
author = {Bince Qu and Xiyan Jiang and Zheng Liu and Wei Chen and Bo Zhang},
year = {2026},
eprint = {2610.14018},
archivePrefix = {arXiv},
primaryClass = {cs.RO},
doi = {10.48550/arXiv.2610.14018},
url = {https://arxiv.org/abs/2610.14018}
}