← Back to Leaderboard
Ctrycua

trycua/cua

Rust-backed sandboxes and cross-OS desktop controls for computer-use agents

Engineering Health (Methodology)
A+ · 95/100
Maintenance Activity
● Updated today
Latest Release
cua-spaces-v0.41.53
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption20/25
Release Cadence20/20
License Clarity20/20
Self-HostedMCPCLIAPI
Total Stars
★ 34,112
24h Growth
+189
7d Growth
+973
Forks
2,566

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

trycua/cua Star History (2025-01-30 - 2026-12-04) ALL-TIME STAR HISTORY (2025-01 – 2026-12) +34.1k in 673d · avg +51/day 36k 18k 0 2025-01-30: ★ 12025-03-15: ★ 2,0032025-04-26: ★ 4,6892025-06-07: ★ 8,0422025-07-19: ★ 8,6272025-08-30: ★ 9,1002025-10-11: ★ 10,2602025-11-22: ★ 10,9492026-01-03: ★ 11,2762026-02-14: ★ 12,1852026-03-28: ★ 12,9892026-05-09: ★ 15,4632026-06-20: ★ 18,2072026-08-01: ★ 20,5202026-09-12: ★ 22,3162026-10-24: ★ 30,7282026-12-04: ★ 34,112 ★ 34.1k 2025-01 2026-01 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Cua is a monorepo with separate layers for environment lifecycle, desktop control, and human collaboration. The Rust core in libs/cua backs the CLI and Python, TypeScript, and Rust SDKs, which can run in-process or through a shared cua daemon. Runtime state and optional port probes determine sandbox readiness without requiring an in-guest agent. Images with cua-spacesd add a gRPC service on port 3211 for processes, files, screenshots, input via Cua Driver, and video/audio streaming.

Cua Driver also works independently on an existing desktop via CLI, MCP, or typed SDKs. Spaces adds a native macOS app and a shared core with a Tauri app for Linux and Windows. The SDK does not embed an agent loop: your harness supplies planning and model calls. The root Python workspace targets Python 3.12 or 3.13 and lists openai>=2.20.0,<3.0.0 and anthropic>=0.67.0; these workspace dependencies are not prerequisites for the standalone Rust CLI.

Key Capabilities & Differentiators

The main capability is combining shell or API work with GUI actions in one workflow. Cua Driver can inspect and operate native apps and browsers on macOS, Windows, and Linux, and can deliver input without moving the foreground pointer or taking focus where supported. The CLI can provision local environments such as an Ubuntu gVisor container, while Lume uses Apple's Virtualization.Framework to run macOS and Linux VMs on Apple Silicon. Spaces can use owned machines or run in your own AWS, Google Cloud, or Modal account. It supports separate human and agent cursors and approval-gated transfer of signed-in app sessions through the encrypted Keyvault on the Mac.

Cua Bench covers task authoring, evaluation, and trajectory export. Its simulated browser quickstart can verify a reference solution without a VM, Docker, or a model API key. CUA-S1-FORMS is a separate research model that scores candidate decisions from structured UI elements and document values rather than generating responses token by token. Application code orders the actions, Driver can optionally execute them, and model weights are distributed separately on Hugging Face.

Trade-offs & Limitations

For browser-only workflows where DOM selectors and assertions suffice, Playwright is a more direct choice. Cua earns its additional setup when a task must cross into native applications, run on a managed desktop, or allow a person to take over mid-run. Validate background input against the exact app and platform before relying on it. A functioning sandbox does not guarantee guest-level screenshots or input: those controls depend on the image and its services. Remote hosts also add network and permission considerations, especially when streaming desktops or transferring signed-in sessions.

Licensing follows component boundaries, not the repository-level MIT label. The SDK, CLI, Driver, and Lume are MIT; Spaces, including cua-spacesd, and current Cua Driver Bench releases are source-available under FSL-1.1-MIT. FSL permits self-hosting but restricts competing hosted services, and each covered release converts to MIT two years after shipment. Cua Bench and Cua Driver Bench are distinct components. Budget compute around actual guest count, apps, and streams, and account for relay or model API dependencies separately from local execution.

Hardware & Deployment Guide

Start with the smallest component that proves your workflow: use the Driver quickstart for an existing desktop, cua sb create ubuntu --name dev for the documented local gVisor path, or Cua Bench's simulated browser task for evaluation. The Cua Bench browser quickstart uses Python 3.12 or 3.13, uv, and Playwright Chromium. The macOS Spaces app requires macOS 26 or later, and Lume requires Apple Silicon. Review the installer before executing it: it always installs the cua CLI, offers optional components including Driver, and then starts cua auth login. The cua host setup path uses the cua.ai relay without port forwarding; it is not an offline path.

Measure guest boot time, peak memory, and desktop streaming under your expected concurrency; size local model inference separately if you use it. Pin versions for repeatable evaluation: Spaces 0.41.53 bundled Driver 0.73.0, and Spaces 0.41.52 bundled cua 0.31.13. Driver 0.73.1 was also published as an opt-in nightly, not a replacement for the stable channel. For migrations, remove cuabot rather than reusing it: it is deprecated and has known security issues.

Runtime control: The Rust-backed cua SDK runs in-process or through a shared daemon, with Python, TypeScript, and Rust interfaces.
Guest services: cua-spacesd exposes processes, files, screenshots, input, and video/audio streaming over gRPC on port 3211.
Desktop automation: Cua Driver supports macOS, Windows, and Linux via CLI, MCP, or typed SDKs, with background input where the platform and app allow it.
Human handoff: Spaces supports separate human and agent cursors; Teleport stores sessions encrypted on the Mac and transfers them only after approval.
Local isolation: The CLI provisions Ubuntu in gVisor, while Lume runs macOS and Linux VMs on Apple Silicon via Virtualization.Framework.
Evaluation and models: Cua Bench verifies tasks and exports trajectories; CUA-S1-FORMS scores bounded form decisions separately from action execution.
Best For

Teams bringing their own agent harness that need isolated desktops, browser-to-native workflows, human handoff, or verifiable computer-use tasks.

Skip If

Browser-only testing already meets your needs, you want an SDK with a built-in general-purpose agent, or your hosted offering requires unrestricted MIT rights to current Spaces components.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

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

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
cua ★34.1k+973RustMITRust-backed sandboxes and cross-OS desktop controls for computer-use agents
multica59.1k+891Go—A shared task board that dispatches coding agents to machines you control.
OpenHands94.8k+374TypeScriptMITSelf-hosted control plane for coding agents across local, remote, and cloud back
windmill19k+236Rust—PostgreSQL-backed orchestration for code-first workflows, apps, and AI agents

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/trycua/cua.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

trycua/cua Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about cua

How do I connect an existing agent, and do I need to install it in every guest?

Use Cua Driver over MCP, the CLI, or a typed SDK to operate apps on an existing desktop. Use the cua SDK to provision and manage environments from your own harness. A basic sandbox does not need an in-guest agent; an image with cua-spacesd exposes additional controls over gRPC on port 3211.

How should I size the host, and do I need a GPU?

There is no established minimum CPU, RAM, or VRAM figure. Budget for the host OS, each guest or container, the applications running inside them, and any concurrent desktop streams. Size local inference separately for the chosen model. On a model-API path, model inference runs off-host, but guest and streaming costs remain. Lume requires Apple Silicon.

Can I self-host Cua or offer it as a managed service?

The SDK, CLI, Driver, and Lume are MIT-licensed. Spaces, including cua-spacesd, and current Cua Driver Bench releases are FSL-1.1-MIT. That license permits self-hosting but restricts competing hosted services; each covered release converts to MIT two years after shipment. Review legal/LICENSING.md and legal/COMMERCIAL.md before offering a hosted or managed product.

When should I choose Cua over a browser automation stack like Playwright?

Choose Playwright for browser-only tests built around DOM selectors and assertions. Choose Cua Driver when a workflow crosses browser and native app boundaries. Add the Cua SDK when you also need to provision the desktop that runs the workflow. You can combine them rather than replacing precise browser assertions with GUI interactions.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining trycua/cua? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature trycua/cua on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare