这是最简单、最薄的配件,可让您完全自由控制 Mac。
这是最简单、最薄的安全带,可让您完全自由地完成工作 在 Mac 上执行几乎任何任务。 代理程序会在任务中间写入缺失的内容。没有框架、没有配方、没有 Rails。 一个 Python 进程直接连接到 macOS、您的真实浏览器和文件。
● agent: wants to do something no helper exists for
│
● sees the app and uses raw macOS primitives
│
● writes the missing logic in ordinary Python
│
✓ task complete no app-specific tool added**您的代理现在拥有 Mac。
将此内容粘贴到 Codex 或 Claude 代码中:
Install or upgrade macOS Harness from https://github.com/browser-use/macos-harness with uv using Python 3.12. Register the skill printed by `macos-harness skill`, then run `macos-harness doctor`. Explain any missing macOS permissions and ask before requesting them. Finally, verify the harness by capturing one already-running app without bringing it to the foreground.就是这样。代理安装了软件包,自学了工作流程,检查了 权限,并验证连接。此外,还提供了 手动设置。
macos-harness <<'PY'
frame = mac.see("Spotify")
mac.key("cmd+k", app="Spotify")
mac.type("Alessia Cara", app="Spotify")
mac.click(640, 420, app="Spotify")
item = mac.ax.at(640, 420, app="Spotify")
mac.script('tell application "Spotify" to play')
print(browser.page_info())
print(list(Path.home().iterdir()))
PY考虑 see、key、type、click、ax 和 script。browser、Path 和 subprocess 在同一个 Python 进程中就已经准备好了。没有 Spotify 工具、Slack 工具或 Final Cut 工具。模型会获取原始图元并写入其余内容。
暂无开放 Issues,或尚未同步最近议题。