Hybrid Computer Use (HCU) is an open-source Model Context Protocol server that empowers AI agents to seamlessly interact with desktop environments across Linux, macOS, and Windows. By providing dual tools for semantic accessibility tree inspection (`AX`) and visual pixel/pointer control (`GUI`) alongside an agent's native shell and file capabilities, HCU enables models to choose the optimal interaction channel at every step. It features live layout guards to prevent stale misclicks, supports batching up to 64 actions with in-call waits, and returns compact accessibility diffs to maximize task success rates while significantly reducing token consumption and latency.
主要功能
01Live target and layout guards that reject stale actions before sending input to changed desktop layouts
02Tri-channel control combining programmatic CLI access, semantic accessibility trees, and visual GUI actions
03Action batching capable of executing up to 64 semantic actions and conditional waits in a single call
04Cross-platform support with native providers for Linux (AT-SPI2), macOS (AXUIElement), and Windows (UI Automation)
05Ready-to-use integrations for agent frameworks like Claude Code, Codex, Gemini CLI, and a Python SDK
0674 GitHub stars
使用案例
01Enabling autonomous coding agents to interact with desktop applications and verify visual UI states
02Automating complex end-to-end desktop workflows across software lacking command-line interfaces or APIs
03Benchmarking multimodal foundation models on desktop agent evaluation suites like OSWorld and Windows Agent Arena