Build, benchmark, and deploy agents that use computers
选择你的道路
______________________________________________________________________
Cua驱动程序-macOS上的后台计算机使用
驱动任何本机macOS应用程序 在后台 --即使在Chromium网络内容和基于画布的工具(Blender、Figma、DAW、游戏引擎)等非AX表面上,代理也可以点击、键入和验证,而不会窃取光标、焦点或空间。与Claude Code、Cursor和自定义客户端的CLI或MCP服务器一起使用。每个会话都记录为可回放的轨迹。
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/trycua/cua/main/libs/cua-driver/scripts/install.sh)"完整的工具参考、架构说明和Claude Code技能随软件包一起提供: libs/cua-driver/README.md.
______________________________________________________________________
Cua-适用于任何操作系统的代理就绪沙盒
构建能够看到屏幕、点击按钮并自主完成任务的代理。一个API用于任何虚拟机或容器映像-云或本地。
pip install cua# Requires Python 3.11 or later
from cua import Sandbox, Image
# Same API regardless of OS or runtime
async with Sandbox.ephemeral(Image.linux()) as sb: # or .macos() .windows() .android()
result = await sb.shell.run("echo hello")
screenshot = await sb.screenshot()
await sb.mouse.click(100, 200)
await sb.keyboard.type("Hello from Cua!")
await sb.mobile.gesture((100, 500), (100, 200)) # multi-touch gestures| Linux容器 | Linux VM | macOS | Windows | Android | BYOI(.qcow2、.iso) | |
|---|---|---|---|---|---|---|
| 云(cua.ai) | ✅ | ✅ | ✅ | ✅ | ✅ | 🔜 很快 |
| 本地(QEMU) | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
______________________________________________________________________
CuaBot-任何代理的合作电脑使用
cuabot 为任何编码代理提供了一个无缝的沙盒供计算机使用。单个窗口以H.265、共享剪贴板和音频的形式原生显示在您的桌面上。
npx cuabot # Setup onboarding# Run any agent in a sandbox
cuabot claude # Claude Code
cuabot openclaw # OpenClaw in the sandbox
# Run any GUI workflow in a sandbox
cuabot chromium
cuabot --screenshot
cuabot --type "hello"
cuabot --click [button]内置支持 agent-browser 和 agent-device (iOS、Android)开箱即用。
______________________________________________________________________
Cua Bench-基准测试和强化学习环境
评估OSWorld、ScreenSpot、Windows Arena和自定义任务上的计算机使用代理。出口培训轨迹。
# Install and create base image
cd cua-bench
uv tool install -e . && cb image create linux-docker
# Run benchmark with agent
cb run dataset datasets/cua-bench-basic --agent cua-agent --max-parallel 4______________________________________________________________________
Lume-macOS虚拟化
使用Apple的虚拟化在Apple Silicon上创建和管理具有接近本机性能的macOS/Linux虚拟机。框架。
# Install Lume
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/trycua/cua/main/libs/lume/scripts/install.sh)"
# Pull & start a macOS VM
lume run macos-sequoia-vanilla:latest______________________________________________________________________
包裹
| 包装 | 描述 |
|---|---|
| cuabot | 多代理计算机使用沙盒CLI |
| cua代理人 | 用于计算机使用任务的AI代理框架 |
| cua沙箱 | 用于创建和控制沙盒的SDK |
| cua计算机服务器 | 沙盒中UI交互和代码执行的驱动程序 |
| cua长凳 | 计算机使用的基准和强化学习环境 |
| 流明 | 苹果Silicon上的macOS/Linux虚拟机管理 |
| 流明 | Lume虚拟机的Docker兼容接口 |
资源
- 文档 -指南、示例和API参考资料
- 博客 --教程、更新和研究
- Discord 的中文翻译是“不和谐”或“纷争”。 --社区支持和讨论
- --Bug报告和功能请求
贡献
我们欢迎捐款!查看我们的 贡献指南 了解详情。
许可证
MIT许可证——见 许可证 了解详情。
第三方组件有自己的许可证:
- Kasm (MIT)
- OmniParser (立方厘米乘以4.0)
- 可选的
cua-agent[omni]包括超电解质(AGPL-3.0)
商标
Apple、macOS、Ubuntu、Canonical和Microsoft是其各自所有者的商标。该项目不隶属于这些公司或得到这些公司的认可。
______________________________________________________________________

感谢我们所有人 !
