Cua
Give AI agents computers they can use — open-source desktop automation drivers, isolated cloud desktops, local macOS VMs, and benchmarks for computer-use agents.
What is this?
Cua gives AI agents a computer they can actually use. Not a chat window, not an API — a real desktop (or VM, or cloud machine) that an agent can see, click, type, and read. 26k stars, MIT license, and it's become the default computer-use layer for a lot of agent projects.
What problem does it solve?
Here's the gap: your agent can write code, call APIs, and reason about problems. But it can't click a button, fill a form, or look at a screen. That means any task that lives inside a GUI — booking a flight, testing a web app, using desktop software — is off the table.
You could build browser automation yourself, but that's a rabbit hole. And running it on your own machine is how you end up with an agent that deletes your desktop icons.
Cua solves both: a driver that operates real apps on macOS, Windows, and Linux, plus isolated machines (cloud fleets or local VMs) so the agent works somewhere safe.
How does it work?
your agent (Claude Code, Codex, Cursor, anything)
│
│ CLI / MCP / typed SDK
▼
┌─────────────────────────┐
│ Cua Driver │
│ sees the screen, moves │
│ the cursor, clicks, │
│ types, reads results │
└───────────┬─────────────┘
│
┌──────┴──────┐
▼ ▼
Cua Fleets Lume
(cloud VMs) (local VMs on
│ Apple Silicon)
└──────┬──────┘
▼
CUA-S1 models for fast
UI decisions, Cua Bench
for measuring whether
any of this actually works
The driver is the core. It takes a screenshot, your agent decides what to do, the driver executes it, and the loop repeats. For tight decisions — "which value goes in this field" — CUA-S1 specialist models answer in milliseconds instead of calling a big model. Cua Bench gives you tasks with evaluators so you can measure whether the whole loop is actually working, not just hoping.
Repository Structure
trycua/cua/
├── libs/
│ ├── cua-driver/ # the automation driver (macOS/Win/Linux)
│ ├── cua-bench/ # task creation, evaluation, trajectories
│ ├── cua-bench-s1/ # bench variant for S1 decisions
│ ├── cua-s1/ # specialist System 1 model code + training
│ ├── lume/ # local macOS/Linux VMs on Apple Silicon
│ ├── lumier/ # Lume companion tooling
│ ├── fleet/ # cloud fleet orchestration
│ ├── kasm/ # containerized desktops (third-party, MIT)
│ ├── python/ # Python SDKs
│ └── typescript/ # TypeScript SDKs
├── samples/ # driver and SDK examples
├── skills/ # gui-automation, jev-use agent skills
├── docs/ # full documentation site
├── tests/ # integration + agent-loop tests
├── infra/ # cloud infrastructure definitions
└── rfcs/ # design proposals
Key Features
- Cua Driver — inspect and operate native desktop apps and browsers on macOS, Windows, and Linux. Connect through CLI, MCP, or typed SDKs. Background delivery means the agent can work without stealing your mouse.
- Cua Fleets — isolated cloud desktops you provision on demand. Your code claims one from a pool, runs inside it, and releases it. The agent never touches your actual machine.
- Lume — local macOS and Linux VMs on Apple Silicon using Apple's Virtualization.Framework. One curl to install, then you can spin up a macOS VM and SSH into it.
- CUA-S1 — small, specialized models for fast, bounded UI decisions. Includes training code, synthetic data generation, and evaluation. Weights on Hugging Face.
- Cua Bench — build computer-use tasks, evaluate agents, export trajectories for training. The first task needs no VM, no Docker, no API key.
- Bring your own agent — works with Claude Code, Codex, Cursor, OpenClaw, or anything MCP-capable. Cua provides the computer; you keep your model and workflow.
What You'll Learn
- How computer-use agents drive real desktop UIs — screenshots in, decisions out, actions executed
- How to isolate agent execution in cloud fleets and local VMs so a rogue agent can't wreck your laptop
- How to build a cross-OS automation driver with CLI, MCP, and SDK interfaces
- How to evaluate agent behavior with reproducible tasks and trajectory exports
- How specialist small models handle bounded UI decisions alongside a larger agent
- How macOS virtualization works on Apple Silicon with Virtualization.Framework
See it in action
# macOS / Linux
/bin/bash -c "$(curl -fsSL https://cua.ai/driver/install.sh)"
# Windows (PowerShell)
irm https://cua.ai/driver/install.ps1 | iex
Then let your agent compute 6 x 7 in Calculator and verify the app shows 42. Or provision a cloud desktop and run a command inside it:
uv tool install 'cua-bench[browser]'
uv tool run --from 'cua-bench[browser]' playwright install chromium
Watch the 50-second driver demo, then work through the docs at cua.ai for your first Fleet, Lume VM, and bench task.
Want to learn more about this project?
Have questions or want to understand this technology more deeply? Send me a message.
Related Projects
OpenDots: AI Agent Workspace
OpenDots is a MIT-licensed template for persistent AI agents that each get their own computer, workspace and permissions. 5,579 stars. Covers per-Dot sandboxing, human-in-the-loop approval gates, MCP and Composio tools, voice calls and Slack.
The Ultimate Guide to Ghidra
Ghidra is the NSA's free, Apache-2.0 open-source software reverse engineering framework. 89,844 stars. Learn how to set it up, analyse binaries, decompile code and compare it against IDA Pro and AI agent tooling.
Reverse Engineer Anything (REA)
Reverse Engineer Anything (REA) is a viral open-source MCP server with 195,625 stars that connects Claude Code, Codex and Cursor to Ghidra, Hopper and IDA Pro. Learn how to decompile software with AI, connect Ghidra to Claude Code via MCP, and analyze ELF, PE, Mach-O, APK, Electron and WASM targets.
Discussion
Loading comments...