cua gives AI its own window to use your computer

2 months ago

When an AI uses your computer, it grabs your mouse. You sit and watch. cua is the version where it never touches your screen. It's open-source plumbing for letting an agent drive a real machine.

Ask

Ask about this presentation

Answers are generated from this presentation.

Chapters

  1. 0:00cua gives AI its own window to use your computer
  2. 0:12It lets an AI operate a real computer.
  3. 0:31The old way drives your real mouse, on your one screen.
  4. 0:47cua's driver flips all three.
  5. 1:22That driver is one layer of three.
  6. 1:53One more piece closes the loop.
  7. 2:11Get it.
  8. 2:30The interesting part was never the model.
Show transcript

cua gives AI its own window to use your computer

GitHub Trending · Ep 17 · Jul 21, 2026
the open-source plumbing for AI that uses a computer.
Rust + Python MIT macOS / Windows / Linux

When an AI uses your computer, it grabs your mouse. You sit and watch. cua is the version where it never touches your screen. It's open-source plumbing for letting an agent drive a real machine.

It lets an AI operate a real computer.

a cua agent placing notes in the CUA JUKEBOX music app on Windows, showing 1 parts at 94 bpm and an Elec. Piano (Classic) pitch grid
an agent playing a Windows music app, on its own
the headline piece: a driver that works in the background
it clicks, types, and verifies, and it never grabs your screen.
That last part is the whole story.
trycua/cua — docs/public/videos/agents-play-windows-piano.mp4

cua is an open-source stack that lets an AI agent actually operate a real computer. Here's one driving a Windows app on its own, start to finish. Its headline piece is a driver that works in the background. It clicks, types, and verifies. And it never grabs your screen. That last part is the whole story. Think about the demos you already know.

The old way drives your real mouse, on your one screen.

takes over your mouse
so you're locked out. While it works, you can't touch your own machine.
one session per screen
so you run them one at a time. There's only one mouse to go around.
accessibility tree only
a canvas, a Blender window, a game: all invisible to it.
the shape of computer-use demos you've already seen

The demos you've watched drive your real mouse on your one screen. So while the agent works, you're locked out. You can't touch your own machine. You run them one at a time, since there's only one mouse to go around. And they only see what the accessibility tree hands them. A canvas, a Blender window, a game: all invisible.

cua's driver flips all three.

drive apps in the background — without stealing the cursor or focus
in the background → you keep working
it runs without stealing your cursor or focus, so your machine stays yours.
nothing fights over one mouse → a fleet at once
a whole fleet of agents runs in parallel.
past the accessibility tree → to the pixels
it drives the real web page inside a browser, the part the old way can't see.
The project pitches it reaching canvas tools too, like a Blender or a game engine.
one command + an MCP server
Claude Code, Cursor, or your own client can drive it — every session replays as a trajectory.
macOS Windows Linux
trycua/cua — libs/cua-driver · img/card-cua-driver.gif

cua's driver flips all three. It works in the background, without stealing your cursor or focus, so you keep using your machine while it runs. Nothing fights over one mouse, so a whole fleet of agents runs at once. And it reaches past the accessibility tree to the pixels. It drives the real web page inside a browser, the part the old way can't see. The project pitches it reaching canvas tools too, a Blender or a game engine. It's one command and an MCP server, so Claude Code, Cursor, or your own client can drive it. Every session replays as a trajectory. It runs on macOS, Windows, and Linux.

That driver is one layer of three.

Agent Framework
Intelligence
pick the model — 100+ VLM options.
Computer Framework
Execution
one Python and TypeScript SDK, driving all of them through a single API.
Desktop Sandboxes
Environment
Linux · Windows · macOS · Android — on your own hardware or their cloud.
So one agent runs on any operating system, and you spin up clean throwaway machines by the rack.
$ lume run macos-tahoe
# boots a macOS VM on Apple Silicon
macOS VMs via Lume — the project says near-native, on Apple's Virtualization.Framework
trycua/cua — img/cua-architecture.png · Lume (README)

That driver is just one layer of three. At the bottom is the machine itself. A sandbox running Linux, Windows, macOS, or Android, on your own hardware or their cloud. In the middle, one Python and TypeScript SDK drives all of them through a single API. At the top, you pick the model, from over a hundred vision-language models. So one agent runs on any operating system, and you spin up clean throwaway machines by the rack. The macOS ones boot with Lume. The project says it runs them near-native on Apple Silicon, on Apple's own virtualization framework.

One more piece closes the loop.

runs them on the suites the project targets
like Windows Arena, the standard computer-use task suite.
every run exports as a trajectory
replay it, and train on it.
build the agent
with the background driver
→
run it on any machine
one API over any OS
→
grade it
all in the same stack
trycua/cua — libs/cua-bench

And one more piece closes the loop. It's a harness to grade the agents you build. It runs them on the standard computer-use suites the project targets, like Windows Arena. Every run exports as a trajectory you can replay and train on. So you build an agent, run it on any machine, and grade it, all in the same stack.

Get it.

agent = ComputerAgent(provider=Provider.ANTHROPIC)

task = """
1. Search the ai-gradio repo on GitHub.
2. Clone it to the desktop.
3. Open the repo with the Cursor app.
4. Work with Cursor to add a new provider for Cua.
"""

await agent.run(task)
point it at a provider, hand it a plain-English task
a small Rust daemon under the hood
wrapped for Python and TypeScript, and driven over MCP.
MIT pre-1.0 · shipping fast
# driver — one line (mac/Linux)
bash -c "$(curl -fsSL https://cua.ai/driver/install.sh)"
# Windows
irm https://cua.ai/driver/install.ps1 | iex
# SDK · Python 3.11+
pip install cua
# macOS VMs
bash -c "$(curl -fsSL https://cua.ai/lume/install.sh)"
trycua/cua — README · img/agent.png

Under the hood, the driver is a small Rust daemon, wrapped for Python and TypeScript and driven over MCP. It's MIT-licensed. The driver installs with one line. The SDK is a single pip install on Python 3.11 and up, and Lume brings its own installer. The commands are all on screen. It's pre-1.0 and shipping fast, so expect it to keep moving.

The interesting part was never the model.

cua — the koala mark
github.com/trycua/cua
New repo tomorrow.

So if you figured that AI using a computer meant handing over your mouse and watching, this is the one where you don't. The interesting part was never the model. It's the plumbing underneath it. The link's on screen. New repo tomorrow.