GitHub Trending | 📄 原文链接 | 2026-11-05 收录

不看像素看控件树:给智能体一张带 ref 的桌面快照

来源:GitHub — 2026-11-05 · ⭐ 14,528 stars · Rust

📋 概述

agent-desktop 让智能体操作 macOS、Windows、Linux 上的桌面程序,但不靠截图和像素比对:它读取系统的可访问性树,把界面返回成 JSON,每个可操作元素都带一个 ref。智能体按 ref 点击或输入,再读一次界面核对结果,循环往复。

🔑 核心要点

💡 金句

It reads the accessibility tree of a desktop app and returns it as JSON, with a ref for every element the agent can act on.
← 返回 GitHub Trending 首页