cua README

README проекта с github.com/trycua/cua. Одним файлом markdown: README.md.

Cua logo

Combine your existing computers into one supercomputer.
Cua Spaces: your computers, shared by your team and its agents. This repository also holds Cua Driver for desktop automation, Lume for local VMs, CUA-S1 decision models and Cua Bench for evaluating computer-use agents.

Get Cua Spaces

cua.ai Discord Twitter Documentation
trycua/cua | GitHub Trending on Star History

Choose your path

Cua Spaces: full desktops for your agents. macOS and Linux Spaces on computers you own.
Cua Driver: inspect and operate apps on macOS, Windows, and Linux Lume: local macOS and Linux VMs on Apple Silicon Cua Bench: create tasks, evaluate agents, and export trajectories

Bring your own agent and model, or explore CUA-S1 for specialized decisions. Cua provides the computer and automation tools. Computer-Use 2.0 describes an agent moving between code, APIs, and graphical interfaces within the same task.


Cua Spaces

Combine your existing computers into one supercomputer. Your computers, shared by your team and its agents.

Cua Spaces is a desktop app that gives your agents full desktops. Each desktop is a Space: a macOS VM built locally on your Mac, or a Linux or Omarchy image. Spaces run on your Mac, on other computers you own, and in your own cloud account (AWS, Google Cloud or Modal), and the app keeps them in your menu bar and notch.

https://github.com/user-attachments/assets/a2ccc86b-10d0-48c0-bee6-7ae652ba1c59

Install on macOS 26 or later

curl -fsSL https://cua.ai/install.sh | sh

On macOS the installer selects the Cua Spaces app by default and adds the cua CLI. You can also download the signed .dmg, or get the .pkg from the Cua Spaces 0.9.4 release.

Spaces is free for individuals. Pro is $18 a month and Teams is $30 per seat a month, available now from 1 seat. See pricing. The app is source-available under FSL-1.1-MIT.

Quickstart | Teleport an app | Share a Space | Host Spaces on a spare Mac (relay, Tailscale or SSH) | Your own cloud | App source


Cua Driver

Give your agent tools to inspect and operate native desktop apps and browsers on macOS, Windows, and Linux. Connect through the CLI, MCP, or typed SDKs. Background delivery lets agents work without moving your pointer or taking focus when the app and platform support it; see platform support for the boundaries.

macOS / Linux

/bin/bash -c "$(curl -fsSL https://cua.ai/driver/install.sh)"

Windows (PowerShell)

irm https://cua.ai/driver/install.ps1 | iex

Your first result: connect your agent, ask it to compute 6 × 7 in Calculator, and have it verify that the app displays 42. The tutorial covers platform setup, permissions, and agent connection.

Drive your first app | Installation | CLI Reference

Using Claude Code, Codex, Cursor, OpenClaw, or another agent? Find your integration. Source documentation and architecture notes live in libs/cua-driver/README.md.

See Cua Driver in action

Two Cua Driver sessions select cells in LibreOffice Calc and objects in Inkscape on an Omarchy desktop while a terminal stays in the foreground. Watch the 50-second demo.

https://github.com/user-attachments/assets/b4e5517c-d2db-4758-b4cf-07131b0753b2


Lume

Create and manage local macOS and Linux VMs on Apple Silicon using Apple's Virtualization.Framework.

/bin/bash -c "$(curl -fsSL https://cua.ai/lume/install.sh)"

Your first result: create a vanilla macOS Tahoe VM from an Apple restore image, start it, and connect over SSH. The tutorial uses the Lume CLI directly and explains the unattended setup defaults.

Create your first Lume VM | Installation | CLI reference


Cua SDK and CLI

One SDK and one cua command for local VMs and containers, and for any computer that runs cua-spacesd.

macOS / Linux

curl -fsSL https://cua.ai/install.sh | sh

Windows (PowerShell)

irm https://cua.ai/install.ps1 | iex

In a terminal the script first says what Cua Spaces is. The command-line tools (the cua program) are always installed; you choose whether to add the Cua Spaces app (on by default) and Cua Driver, which lets AI agents use your apps while you keep working (off by default). It then runs cua auth login, which signs you in and offers to set up your AI coding agents (Claude Code, Codex, Cursor, and others). The app asks on its first run whether your other devices may use this computer. Add Cua Driver with sh -s -- --select cua-driver, or skip the choice with --only cua-driver. See the installer options.

cua sb create ubuntu --name dev          # a gVisor container, set up on first use
cua sb exec dev uname -a
cua sb screenshot dev
cua sb rm dev

The same sandbox from Python:

from cua_sandbox import Image, Sandbox

async with Sandbox.ephemeral(Image.linux(), local=True) as sb:
    print((await sb.shell.run("uname -a")).stdout)

SDK README | Quickstart | CLI reference | Sandbox SDK reference


CUA-S1

CUA-S1 is our family of small, specialized System 1 models for computer use. We use "System 1" as an engineering analogy for fast, bounded decisions, such as choosing which value belongs in a field or whether to leave an element alone. It is not a strict classification of model architectures or a replacement for a general-purpose agent's planning and reasoning.

The first research profile focuses on forms: scoring decisions from structured interface elements and document values rather than generating a response token by token. Application code orders the actions, and the optional Cua Driver integration handles execution with explicit action boundaries.

The project includes Python model code, synthetic-data generation, training, and evaluation. The GitHub component is an early, source-only research release; model weights are hosted separately on Hugging Face. The source is MIT-licensed. Check each model and dataset card for its scope, limitations, and artifact-specific license.

Explore CUA-S1 | Model card | Safety and deployment guidance

CUA-S1-FORMS on Hugging Face: Model weights | Dataset


Cua Bench

Build computer-use tasks, evaluate agents, and export trajectories for training. Start with a simulated task that requires no VM, Docker, or model API key.

With Python 3.12 or 3.13 and uv installed:

uv tool install 'cua-bench[browser]'
uv tool run --from 'cua-bench[browser]' playwright install chromium

Your first result: create a small task, run its reference solution, and verify that its evaluator reports a reward of 1.0. Then try the same task yourself.

Build your first task | What is Cua-Bench? | CLI reference | Partner with us


Packages

Package Description
cua-driver Background computer-use agent for macOS, Windows, and Linux
cua SDK and CLI Rust core and the cua command: sandboxes, local runtimes, images, Spaces
cua (Python) The cua SDK for Python (pip install cua)
@trycua/cua The cua SDK for Node and the browser, plus @trycua/cua/spaces
Cua (Swift) The cua SDK for Swift (SwiftPM, XCFramework; not yet released)
cua-sandbox High-level Python Sandbox/Image/Pool API, a thin wrapper over the cua SDK
cua-spacesd In-sandbox daemon on port 3211: processes, files, desktop, streaming (gRPC)
Cua Spaces for macOS The Spaces app on macOS: menu bar and notch, live streams, teleport, agent threads
Cua Spaces core The shared Spaces app core, and the Tauri app for Linux and Windows
cua-bench Benchmarks and RL environments for computer-use
lume macOS/Linux VM management on Apple Silicon

Deprecated packages

Cua no longer maintains these. They will not receive updates or fixes, their CI/CD is switched off, and existing releases and image tags stay on npm, PyPI and Docker Hub. See Migrate from deprecated packages.

Package Registry Use instead
cuabot npm Do not run it: it has known security issues. Stop it and uninstall it (how), then use Cua Driver or the cua CLI.
cua-computer PyPI The cua SDK for sandboxes, Cua Driver for the computer you are on
cua-computer-server PyPI Images that ship cua-spacesd, or Cua Driver
cua-agent PyPI A coding agent with the Cua Driver MCP, or sandbox.agents() in the cua SDK
cua-som PyPI Cua Driver
cua-core PyPI Cua Driver or the cua SDK; cua-bench still uses the last release
cua-bench-ui PyPI Nothing: only cua-bench uses it, at its last release
cua-sandbox-apps PyPI The cua SDK
@trycua/core, @trycua/playground npm @trycua/cua
lumier Docker Hub Lume, or a sandbox from the cua SDK
xfce, xfce-cua, kasm, qemu-docker images Docker Hub The images in libs/images (ghcr.io/trycua/linux, windows, macos) through the cua SDK

Resources

Citation

If Cua supports your research, please cite the software:

@software{cua2025,
  author  = {{Cua AI, Inc.}},
  title   = {Cua},
  year    = {2025},
  url     = {https://github.com/trycua/cua},
  license = {MIT}
}

For reproducibility, include the Cua release or commit used in your experiments. Citation metadata is also available in CITATION.cff.

Contributing

We welcome contributions. See our Contributing Guidelines for details.

Licensing

Everything outside Cua Spaces and Cua Driver Bench is MIT-licensed (LICENSE): the cua SDK and its Python, TypeScript, Swift and Kotlin packages, the cua command and cua daemon, Cua Driver, Lume and the rest of this repository unless a directory says otherwise. Cua Spaces is source-available under FSL-1.1-MIT: the Spaces apps, cua-spacesd, the Cua Keyvault, teleport, Cua Volume (cua-volume) and the streaming client, codecs and viewers. The streaming wire protocol stays MIT. It is free to use, self-host and build on, with no competing hosted service, and each release becomes MIT two years after it ships. Cua Driver Bench (libs/cua-driver-bench) is under the same FSL-1.1-MIT; versions published before 11 Oct 2026 (#4973, #4978) were MIT. The MIT parts never depend on the FSL parts. Some subdirectories carry their own licence; LICENSING.md lists each one and how the two fit together. Offering Spaces, or Cua Driver Bench, as a hosted or managed service? See COMMERCIAL.md. For use of our names and logo, see TRADEMARKS.md.

Third-party components have their own licenses:

Trademarks

Apple, macOS, Ubuntu, Canonical, and Microsoft are trademarks of their respective owners. This project is not affiliated with or endorsed by these companies.


Sponsors

Thank you to all our GitHub Sponsors.

CodeRabbit
CodeRabbit

cua (trycua/cua)

Ищем в базе…

33.6K ·GitHub
Что это такое?Набор инструментов с открытым исходным кодом для ИИ-агентов, работающих с компьютером: драйверы автоматизации рабочего стола, изолированные облачные десктопы, локальные виртуальные машины на macOS, небольшие специализированные модели для принятия решений, а также бенчмарки для обучения, оценки и генерации данных.
Это один продукт или набор отдельных инструментов?Это набор из пяти частей, из которых вы выбираете нужные: Cua Fleets (облачные десктопы), Cua Driver (автоматизация рабочего стола), CUA-S1 (модели для принятия решений), Lume (локальные виртуальные машины) и Cua Bench (создание задач и их оценка).
С чего мне начать?Для каждого варианта есть своё руководство: Fleets разворачиваются на run.cua.ai, а Cua Driver подключается через CLI, MCP или типизированные SDK после установки под свою операционную систему.
Мне нужен какой-то конкретный ИИ-агент или API-ключ?Нет — вы используете своего агента и свою модель. Есть готовые интеграции с Claude Code, Codex, Cursor и OpenClaw.
Агент забирает себе управление моей мышью и клавиатурой, пока работает?Не обязательно: благодаря фоновому режиму агенты могут работать, не двигая ваш указатель и не перехватывая фокус, но лишь там, где это поддерживают приложение и платформа — на странице platform support в документации перечислены все ограничения.
Какими операционными системами он может управлять?Cua Driver изучает нативные десктоп-приложения и браузеры и управляет ими на macOS, Windows и Linux; локальные виртуальные машины Lume работают только на Apple Silicon.
Может ли всё работать полностью локально, или придётся пользоваться их облаком?Возможны оба варианта: Lume создаёт локальные виртуальные машины с macOS и Linux на Apple Silicon через Apple Virtualization.Framework, а локальные песочницы используют тот же Sandbox SDK, что и облачные Fleets.
Всё распространяется под лицензией MIT, или есть нюансы?Ядро — под MIT, но необязательный пакет cua-agent[omni] подтягивает ultralytics под AGPL-3.0, OmniParser распространяется под CC-BY-4.0, а веса моделей CUA-S1 и датасеты на Hugging Face имеют собственные лицензии.
Что значит Computer-Use 2.0?Это описание агента, который в рамках одной задачи переключается между кодом, API и графическими интерфейсами, вместо того чтобы только кликать по GUI. Cua предоставляет для этого сам компьютер и инструменты автоматизации.
Что такое CUA-S1?Семейство небольших специализированных моделей System 1 для быстрых и ограниченных по объёму решений при работе с компьютером — первый исследовательский профиль ориентирован на формы: модель оценивает варианты по структурированным элементам интерфейса и значениям из документов. Это ранняя исследовательская версия, доступная только в виде исходного кода: код под MIT на GitHub, веса моделей на Hugging Face.
Есть ли что-то, что можно попробовать без виртуальной машины и API-ключей?Да — первая симулированная задача в Cua Bench не требует ни виртуальной машины, ни Docker, ни API-ключа для модели: установив Python 3.12 или 3.13 и uv, вы создаёте небольшую задачу, запускаете её эталонное решение и проверяете, что оценщик выдаёт награду 1.0.
Облачная часть платная?Код открыт, но Fleets предполагают платные мощности — пулы могут удерживать оплаченную ёмкость и после завершения клейма, поэтому в руководстве отдельно разбирается очистка облачных ресурсов.
Какие есть похожие проекты?open-computer-use, Agent-S, midscene, fara, agent-desktop, tart, vphone-cli, typesafe-computer-use
Автор
trycua
Размер
807.4 MB
Звёзды
33.6K
Возраст
1 г
Коммиты · 90 дней