OS-Helix:在原生计算机使用智能体中统一GUI交互与代码执行

·

研究论文 · 2026/10/19

真实桌面自动化既非纯视觉也非纯编程,智能体需理解用户界面并高效操作文件、脚本和系统状态。然而,原生GUI/代码协调无法通过提示级工具组合获得;初步实验表明,简单添加代码工具会降低GUI智能体性能,揭示GUI/代码路由必须通过高质量混合数据训练内化。我们提出OS-Helix,一个端到端训练的多模态计算机使用智能体,在单一动作空间中统一GUI动作和代码执行。为构建所需监督,我们引入应用-工件组合(将桌面应用与真实文件工件配对以实例化可执行Ubuntu状态)和解耦的指令/评估器生成流水线(生成环境接地任务,其最终状态可独立于解决方案模态验证)。我们通过过滤混合数据上的SFT冷启动策略,并在实时桌面环境中通过在线RL进一步改进。对于RL,我们提出Step-balanced GSPO,按动作步骤而非原始助手令牌聚合重要性权重,以防止长代码动作主导异构动作优化。在OSWorld-Verified上,OS-Helix-27B和OS-Helix-35B-A3B相对于匹配的Qwen3.5混合基线分别实现35.0%和33.7%的相对改进,而OS-Helix-27B-RL进一步改进42.9%达到66.44%成功率。消融实验提供了与学习到的GUI/代码协调、可扩展可验证监督和动作步骤平衡优化贡献一致的证据,同时展示了在WindowsAgentArena上的跨平台迁移。项目主页:https://os-copilot.github.io/OS-Helix/。

该论文解决了桌面自动化中GUI与代码协调的关键难题,提出了端到端训练的统一智能体OS-Helix,在OSWorld-Verified上取得显著性能提升,并开源了项目主页,对构建实用计算机使用智能体具有重要参考价值。

Real desktop automation is neither purely visual nor purely programmatic. Agents must understand user-facing interfaces while efficiently manipulating files, scripts, and system state. However, native GUI/code coordination cannot be obtained by prompt-level tool composition. In our preliminary experiments, naively adding a code tool degrades a GUI agent, revealing that GUI/code routing must be internalized through training on high-quality hybrid data. We present OS-Helix, an end-to-end trained multimodal computer-using agent that unifies GUI actions and code execution in one action space. To construct the required supervision, we introduce application-artifact composition, pairing desktop applications with authentic file artifacts to instantiate executable Ubuntu states, and a decoupled instruction/evaluator generation pipeline that produces environment-grounded tasks whose final states can be verified regardless of the solution modality. We cold-start the policy with SFT on filtered hybrid data and further improve it through online RL in live desktop environments. For RL, we propose Step-balanced GSPO, which aggregates importance weight by action step rather than raw assistant tokens to prevent long code actions from dominating heterogeneous-action optimization. On OSWorld-Verified, OS-Helix-27B and OS-Helix-35B-A3B achieve relative improvements of 35.0% and 33.7% over their matched Qwen3.5 hybrid baselines, while OS-Helix-27B-RL further improves by 42.9% to reach 66.44% success. Ablations provide evidence consistent with contributions from learned GUI/code coordination, scalable verifiable supervision, and action step balanced optimization, while demonstrating cross-platform transfer on WindowsAgentArena. Our project homepage is at https://os-copilot.github.io/OS-Helix/.

阅读原文

参与讨论