Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

docs: align README with current product paths and tutorials (#3649)

Francesco Bonacci4bc38a79237c
diff --git a/README.md b/README.md
index daa67f4ec2..f12c5660aa 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@
</picture>
</a>
- <p align="center">Scale computer-use 2.0 with open-source drivers, cross-OS fleets, and benchmarks for training, evaluation, and data generation.</p>
+ <p align="center"><strong>Give AI agents computers they can use.</strong><br>Cua provides open-source desktop automation, isolated cloud desktops, local macOS VMs, and benchmarks for evaluating computer-use agents.</p>
<p align="center"><strong><a href="https://run.cua.ai/?utm_source=github&utm_medium=referral&utm_campaign=fleet_activation&content_id=repo_readme" target="_blank" rel="noopener noreferrer">Try Cua Fleets now at run.cua.ai</a></strong></p>
@@ -22,154 +22,119 @@
</div>
-## Choose Your Path
+## Choose your path
<div align="center">
- <table>
+ <table width="100%">
<tr>
<td colspan="3" align="center">
- <a href="#cua-drivers---background-computer-use-on-macos-and-windows-with-linux-pre-release">
- <img src="img/card-cua-driver.gif" alt="Cua Drivers — background computer-use for any agent" width="790">
+ <a href="#cua-fleets">
+ <img src="img/card-cua-fleets.gif" alt="Cua Fleets: isolated cloud desktops for your agents" width="100%">
</a>
</td>
</tr>
<tr>
- <td align="center">
- <a href="#cua---agent-ready-sandboxes-for-any-os">
- <img src="img/card-cua-sandbox.gif" alt="Cua &amp; Cua Sandbox" width="246">
+ <td align="center" width="33%">
+ <a href="#cua-driver">
+ <img src="img/card-cua-driver.gif" alt="Cua Driver: inspect and operate apps on macOS, Windows, and Linux" width="100%">
</a>
</td>
- <td align="center">
- <a href="#cua-bench---benchmarks--rl-environments">
- <img src="img/card-cua-bench.gif" alt="Cua Bench" width="246">
+ <td align="center" width="33%">
+ <a href="#lume">
+ <img src="img/card-cua-lume.gif" alt="Lume: local macOS and Linux VMs on Apple Silicon" width="100%">
</a>
</td>
- <td align="center">
- <a href="#lume---macos-virtualization">
- <img src="img/card-cua-lume.gif" alt="Lume" width="246">
+ <td align="center" width="33%">
+ <a href="#cua-bench">
+ <img src="img/card-cua-bench.gif" alt="Cua Bench: create tasks, evaluate agents, and export trajectories" width="100%">
</a>
</td>
</tr>
</table>
- <p>
- <strong>Building your own agent?</strong> Start with <a href="#cua---agent-ready-sandboxes-for-any-os">Cua</a> ·
- <strong>Giving a coding agent a computer?</strong> <a href="#cua-drivers---background-computer-use-on-macos-and-windows-with-linux-pre-release">Cua Drivers</a> ·
- <strong>Evaluating or training models?</strong> <a href="#cua-bench---benchmarks--rl-environments">Cua Bench</a> ·
- <strong>Need macOS VMs?</strong> <a href="#lume---macos-virtualization">Lume</a>
- </p>
</div>
----
+- **Cua Fleets:** [Provision a Linux desktop, run a command, and save a screenshot](https://cua.ai/docs/tutorials/your-first-cloud-fleet).
+- **Cua Driver:** [Operate Calculator and verify its result](https://cua.ai/docs/tutorials/drive-your-first-app).
+- **Lume:** [Create a Tahoe VM and connect over SSH](https://cua.ai/docs/tutorials/create-your-first-lume-vm).
+- **Cua Bench:** [Create and verify a simulated task](https://cua.ai/docs/tutorials/your-first-cua-bench-task).
-## Cua Drivers - Background computer-use on macOS, Windows, and Linux
+You bring the agent and model. Cua provides the computer and automation tools. [Computer-Use 2.0](https://cua.ai/docs/concepts/what-is-computer-use) describes an agent moving between code, APIs, and graphical interfaces within the same task.
-Drive native desktop apps **in the background**. Agents click, type, and verify without stealing the cursor or focus. Use the same CLI and MCP server on macOS, Windows, and Linux from Claude Code, Cursor, Codex, OpenClaw, and custom clients. Linux supports X11 and compositor-specific Wayland routes with explicit limits for raw background input.
+## See Cua Driver in action
-**macOS / Linux**
+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, then explore [Omarchy on Fleet](https://cua.ai/docs/how-to-guides/sandbox/run-omarchy-on-cloud-fleet).
-```sh
-/bin/bash -c "$(curl -fsSL https://cua.ai/driver/install.sh)"
-```
+https://github.com/user-attachments/assets/b4e5517c-d2db-4758-b4cf-07131b0753b2
-**Windows (PowerShell)**
+---
-```powershell
-irm https://cua.ai/driver/install.ps1 | iex
-```
+## Cua Fleets
-Then follow the post-install instructions.
+Provision isolated cloud desktops at [run.cua.ai](https://run.cua.ai/?utm_source=github&utm_medium=referral&utm_campaign=fleet_activation&content_id=repo_readme). A Fleet maintains sandbox capacity; your code claims a desktop from a pool and uses the Sandbox SDK to run commands, capture screenshots, and interact with apps inside it.
-**[Drive your first app](https://cua.ai/docs/tutorials/drive-your-first-app)** | **[Installation](https://cua.ai/docs/how-to-guides/driver/install)** | **[CLI Reference](https://cua.ai/docs/reference/cua-driver/cli-reference)**
+**Your first result:** provision a Linux desktop, run `uname -a`, save a screenshot, and delete the cloud resources. The tutorial covers Fleet credentials, dependencies, and cleanup. Pools can retain paid capacity after a claim ends, so follow its cleanup steps.
-Source documentation, architecture notes, and the optional agent skill pack live in [`libs/cua-driver/README.md`](libs/cua-driver/README.md).
+Local sandboxes and Fleets share the Sandbox SDK, but credentials, images, operations, and runtime requirements differ. Use the [runtime support reference](https://cua.ai/docs/reference/sandbox-sdk/runtime-support) to choose an environment. For your own hardware, see [Manage local sandbox lifecycle](https://cua.ai/docs/how-to-guides/sandbox/manage-local-lifecycle).
+
+**[Your first Cloud Fleet](https://cua.ai/docs/tutorials/your-first-cloud-fleet)** | **[Fleet overview](https://cua.ai/docs/cloud-fleets)** | **[Sandbox SDK reference](https://cua.ai/docs/reference/sandbox-sdk)**
---
-## Cua - Agent-Ready Sandboxes for Any OS
+## 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](https://cua.ai/docs/reference/cua-driver/platform-support) for the boundaries.
-Build agents that see screens, click buttons, and complete tasks autonomously. One API for any VM or container image — cloud or local.
+**macOS / Linux**
```sh
-pip install cua
+/bin/bash -c "$(curl -fsSL https://cua.ai/driver/install.sh)"
```
-```python
-# 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
+**Windows (PowerShell)**
+
+```powershell
+irm https://cua.ai/driver/install.ps1 | iex
```
-| | Linux container | Linux VM | macOS | Windows | Android | BYOI (.qcow2, .iso) |
-| ------------------ | --------------- | -------- | ----- | ------- | ------- | ------------------- |
-| **Cloud (cua.ai)** | ✅ | ✅ | ✅ | ✅ | ✅ | 🔜 soon |
-| **Local (QEMU)** | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
+**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.
-**[Get Started](https://cua.ai/docs/cua/guide/get-started/set-up-sandbox)** | **[Examples](https://cua.ai/docs/cua/examples)** | **[API Reference](https://cua.ai/docs/cua/reference/agent-sdk)**
+**[Drive your first app](https://cua.ai/docs/tutorials/drive-your-first-app)** | **[Installation](https://cua.ai/docs/how-to-guides/driver/install)** | **[CLI Reference](https://cua.ai/docs/reference/cua-driver/cli-reference)**
+
+Using Claude Code, Codex, Cursor, OpenClaw, or another agent? [Find your integration](https://cua.ai/docs/how-to-guides/driver/connect-your-agent). Source documentation and architecture notes live in [`libs/cua-driver/README.md`](libs/cua-driver/README.md).
---
-## Cua-Bench - Benchmarks & RL Environments
+## Lume
-Evaluate computer-use agents on OSWorld, ScreenSpot, Windows Arena, and custom tasks. Export trajectories for training.
+Create and manage local macOS and Linux VMs on Apple Silicon using Apple's Virtualization.Framework.
```bash
-# Clone, install, and create base image
-git clone https://github.com/trycua/cua && cd cua/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
+/bin/bash -c "$(curl -fsSL https://cua.ai/lume/install.sh)"
```
-**[Get Started](https://cua.ai/docs/cuabench/guide/getting-started/first-steps)** | **[Partner With Us](https://cuabench.ai/)** | **[Registry](https://cuabench.ai/registry)** | **[CLI Reference](https://cua.ai/docs/cuabench/reference/cli-reference)**
+**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](https://cua.ai/docs/tutorials/create-your-first-lume-vm)** | **[Installation](https://cua.ai/docs/how-to-guides/lume/install-lume)** | **[CLI reference](https://cua.ai/docs/reference/lume/cli-reference)**
---
-## Lume - macOS Virtualization
+## Cua Bench
-Create and manage macOS/Linux VMs with near-native performance on Apple Silicon using Apple's Virtualization.Framework.
+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.
-```bash
-# Install Lume
-/bin/bash -c "$(curl -fsSL https://cua.ai/lume/install.sh)"
+With Python 3.12 or 3.13 and [uv](https://docs.astral.sh/uv/) installed:
-# Create and start a vanilla macOS VM from an Apple restore image
-curl -L "$(lume ipsw | tail -n 1)" -o ~/Downloads/macos-tahoe.ipsw
-lume create macos-tahoe --ipsw ~/Downloads/macos-tahoe.ipsw --unattended tahoe
-lume run macos-tahoe
+```bash
+uv tool install 'cua-bench[browser]'
+uv tool run --from 'cua-bench[browser]' playwright install chromium
```
-The `--unattended` option prepares the installed guest offline. The built-in
-`sequoia` and `tahoe` presets create the `lume` user, enable SSH, configure
-autologin, and disable sleep and screen locking. The default credentials are
-`lume` / `lume`.
+**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.
-The Tahoe flow is E2E verified. Sequoia may still open the Accessibility step
-of Setup Assistant on its first display boot; see [issue #2155](https://github.com/trycua/cua/issues/2155).
-
-**[Get Started](https://cua.ai/docs/lume)** | **[FAQ](https://cua.ai/docs/lume/guide/getting-started/faq)** | **[CLI Reference](https://cua.ai/docs/lume/reference/cli-reference)**
+**[Build your first task](https://cua.ai/docs/tutorials/your-first-cua-bench-task)** | **[What is Cua-Bench?](https://cua.ai/docs/concepts/what-is-cua-bench)** | **[CLI reference](https://cua.ai/docs/reference/cua-bench/cli-reference)** | **[Partner with us](https://cuabench.ai/)**
---
-## Packages
-
-| Package | Description |
-| -------------------------------------------------------------------- | ----------------------------------------------------------- |
-| [cua-driver](libs/cua-driver/README.md) | Background computer-use agent for macOS, Windows, and Linux |
-| [cua-agent](https://cua.ai/docs/cua/reference/agent-sdk) | AI agent framework for computer-use tasks |
-| [cua-sandbox](https://cua.ai/docs/cua/reference/sandbox-sdk) | SDK for creating and controlling sandboxes |
-| [cua-computer-server](https://cua.ai/docs/cua/reference/sandbox-sdk) | Driver for UI interactions and code execution in sandboxes |
-| [cua-bench](https://cua.ai/docs/cuabench) | Benchmarks and RL environments for computer-use |
-| [lume](https://cua.ai/docs/lume) | macOS/Linux VM management on Apple Silicon |
-| [lumier](https://cua.ai/docs/lume/guide/advanced/lumier) | Docker-compatible interface for Lume VMs |
-
## Resources
- [Documentation](https://cua.ai/docs) — Guides, examples, and API reference
@@ -214,10 +179,14 @@ Apple, macOS, Ubuntu, Canonical, and Microsoft are trademarks of their respectiv
---
+## Sponsors
+
<div align="center">
Thank you to all our [GitHub Sponsors](https://github.com/sponsors/trycua)!
-<img width="300" alt="coderabbit-cli" src="https://github.com/user-attachments/assets/23a98e38-7897-4043-8ef7-eb990520dccc" />
+| [Adam Cohen Hillel](https://github.com/adamcohenhillel) | [CodeRabbit](https://github.com/coderabbitai) | [Zephyr Cloud IO](https://github.com/ZephyrCloudIO) |
+| :------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------: |
+| <a href="https://github.com/adamcohenhillel"><img src="https://avatars.githubusercontent.com/u/633840?s=128&v=4" alt="Adam Cohen Hillel" width="64" height="64"></a> | <a href="https://github.com/coderabbitai"><img src="https://avatars.githubusercontent.com/u/132028505?s=128&v=4" alt="CodeRabbit" width="64" height="64"></a> | <a href="https://github.com/ZephyrCloudIO"><img src="https://avatars.githubusercontent.com/u/144168943?s=128&v=4" alt="Zephyr Cloud IO" width="64" height="64"></a> |
</div>
diff --git a/img/card-cua-bench.gif b/img/card-cua-bench.gif
index 8c0a4b01b5..6ca539c7a0 100644
Binary files a/img/card-cua-bench.gif and b/img/card-cua-bench.gif differ
diff --git a/img/card-cua-bench.png b/img/card-cua-bench.png
index 113b0bd136..5a0455c6e4 100644
Binary files a/img/card-cua-bench.png and b/img/card-cua-bench.png differ
diff --git a/img/card-cua-driver.gif b/img/card-cua-driver.gif
index 77ab8150dc..06b1dcd941 100644
Binary files a/img/card-cua-driver.gif and b/img/card-cua-driver.gif differ
diff --git a/img/card-cua-driver.png b/img/card-cua-driver.png
index 8920c1828d..1db461706f 100644
Binary files a/img/card-cua-driver.png and b/img/card-cua-driver.png differ
diff --git a/img/card-cua-fleets.gif b/img/card-cua-fleets.gif
new file mode 100644
index 0000000000..0a27b7a988
Binary files /dev/null and b/img/card-cua-fleets.gif differ
diff --git a/img/card-cua-fleets.png b/img/card-cua-fleets.png
new file mode 100644
index 0000000000..ad74cb2331
Binary files /dev/null and b/img/card-cua-fleets.png differ
diff --git a/img/card-cua-lume.gif b/img/card-cua-lume.gif
index 5cc598cb50..6566e364f1 100644
Binary files a/img/card-cua-lume.gif and b/img/card-cua-lume.gif differ
diff --git a/img/card-cua-lume.png b/img/card-cua-lume.png
index 637967a236..c9d141b3af 100644
Binary files a/img/card-cua-lume.png and b/img/card-cua-lume.png differ
diff --git a/img/card-cua-products.gif b/img/card-cua-products.gif
new file mode 100644
index 0000000000..9390d7d3ba
Binary files /dev/null and b/img/card-cua-products.gif differ
diff --git a/img/card-cua-products.png b/img/card-cua-products.png
new file mode 100644
index 0000000000..387dfd8d26
Binary files /dev/null and b/img/card-cua-products.png differ