trycua/cua
Weโre hosting the Computer-Use Agents SOTA Challenge at Hack the North and online!
Track A (On-site @ UWaterloo): Reserved for participants accepted to Hack the North. ๐ Prize: YC interview guaranteed.
Track B (Remote): Open to everyone worldwide. ๐ Prize: Cash award.๐ Sign up here: trycua.com/hackathon
cua (“koo-ah”) is Docker for Computer-Use Agents - it enables AI agents to control full operating systems in virtual containers and deploy them locally or to the cloud.
With the Computer SDK, you can:
- automate Windows, Linux, and macOS VMs with a consistent, pyautogui-like API
- create & manage VMs locally or using cua cloud
With the Agent SDK, you can:
- run computer-use models with a consistent schema
- benchmark on OSWorld-Verified, SheetBench-V2, and more with a single line of code using HUD (Notebook)
- combine UI grounding models with any LLM using composed agents
- use new UI agent models and UI grounding models from the Model Zoo below with just a model string (e.g.,
ComputerAgent(model="openai/computer-use-preview")) - use API or local inference by changing a prefix (e.g.,
openai/,openrouter/,ollama/,huggingface-local/,mlx/, etc.)
CUA Model Zoo ๐จ
| All-in-one CUAs | UI Grounding Models | UI Planning Models |
|---|---|---|
anthropic/claude-sonnet-4-5-20250929 |
huggingface-local/xlangai/OpenCUA-{7B,32B} |
any all-in-one CUA |
openai/computer-use-preview |
huggingface-local/HelloKKMe/GTA1-{7B,32B,72B} |
any VLM (using liteLLM, requires tools parameter) |
openrouter/z-ai/glm-4.5v |
huggingface-local/Hcompany/Holo1.5-{3B,7B,72B} |
any LLM (using liteLLM, requires moondream3+ prefix ) |
huggingface-local/OpenGVLab/InternVL3_5-{1B,2B,4B,8B,...} |
any all-in-one CUA | |
huggingface-local/ByteDance-Seed/UI-TARS-1.5-7B |
||
moondream3+{ui planning} (supports text-only models) |
||
omniparser+{ui planning} |
||
{ui grounding}+{ui planning} |
human/humanโ Human-in-the-Loop
Missing a model? Raise a feature request or contribute!
Quick Start
- Get started with a Computer-Use Agent UI
- Get started with the Computer-Use Agent CLI
- Get started with the Python SDKs
Usage (Docs)
|
|
|
|
Output format (OpenAI Agent Responses Format):
|
|
Computer (Docs)
|
|
|
|
Resources
- How to use the MCP Server with Claude Desktop or other MCP clients - One of the easiest ways to get started with Cua
- How to use OpenAI Computer-Use, Anthropic, OmniParser, or UI-TARS for your Computer-Use Agent
- How to use Lume CLI for managing desktops
- Training Computer-Use Models: Collecting Human Trajectories with Cua (Part 1)
Modules
| Module | Description | Installation |
|---|---|---|
| Lume | VM management for macOS/Linux using Apple’s Virtualization.Framework | curl -fsSL https://raw.githubusercontent.com/trycua/cua/main/libs/lume/scripts/install.sh | bash |
| Lumier | Docker interface for macOS and Linux VMs | docker pull trycua/lumier:latest |
| Computer (Python) | Python Interface for controlling virtual machines | pip install "cua-computer[all]" |
| Computer (Typescript) | Typescript Interface for controlling virtual machines | npm install @trycua/computer |
| Agent | AI agent framework for automating tasks | pip install "cua-agent[all]" |
| MCP Server | MCP server for using CUA with Claude Desktop | pip install cua-mcp-server |
| SOM | Self-of-Mark library for Agent | pip install cua-som |
| Computer Server | Server component for Computer | pip install cua-computer-server |
| Core (Python) | Python Core utilities | pip install cua-core |
| Core (Typescript) | Typescript Core utilities | npm install @trycua/core |
Community
Join our Discord community to discuss ideas, get assistance, or share your demos!
License
Cua is open-sourced under the MIT License - see the LICENSE file for details.
Portions of this project, specifically components adapted from Kasm Technologies Inc., are also licensed under the MIT License. See libs/kasm/LICENSE for details.
Microsoft’s OmniParser, which is used in this project, is licensed under the Creative Commons Attribution 4.0 International License (CC-BY-4.0). See the OmniParser LICENSE for details.
Third-Party Licenses and Optional Components
Some optional extras for this project depend on third-party packages that are licensed under terms different from the MIT License.
- The optional “omni” extra (installed via
pip install "cua-agent[omni]") installs thecua-sommodule, which includesultralyticsand is licensed under the AGPL-3.0.
When you choose to install and use such optional extras, your use, modification, and distribution of those third-party components are governed by their respective licenses (e.g., AGPL-3.0 for ultralytics).
Contributing
We welcome contributions to Cua! Please refer to our Contributing Guidelines for details.
Trademarks
Apple, macOS, and Apple Silicon are trademarks of Apple Inc.
Ubuntu and Canonical are registered trademarks of Canonical Ltd.
Microsoft is a registered trademark of Microsoft Corporation.
This project is not affiliated with, endorsed by, or sponsored by Apple Inc., Canonical Ltd., Microsoft Corporation, or Kasm Technologies.
Stargazers
Thank you to all our supporters!