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.

Rename c/ua - cua

Morgan Dean350795615f19
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index aa2b82a6e3..88113b84a4 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -1,5 +1,5 @@
{
- "name": "C/ua - OSS",
+ "name": "Cua - OSS",
"build": {
"dockerfile": "../Dockerfile"
},
@@ -10,7 +10,7 @@
"forwardPorts": [7860],
"portsAttributes": {
"7860": {
- "label": "C/ua web client (Gradio)",
+ "label": "Cua web client (Gradio)",
"onAutoForward": "silent"
}
},
diff --git a/README.md b/README.md
index cb83cfd7ae..e43e4c7465 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@
<a href="https://trendshift.io/repositories/13685" target="_blank"><img src="https://trendshift.io/api/badge/repositories/13685" alt="trycua%2Fcua | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
</div>
-**c/ua** ("koo-ah") is Docker for [Computer-Use Agents](https://www.oneusefulthing.org/p/when-you-give-a-claude-a-mouse) - it enables AI agents to control full operating systems in virtual containers and deploy them locally or to the cloud.
+**cua** ("koo-ah") is Docker for [Computer-Use Agents](https://www.oneusefulthing.org/p/when-you-give-a-claude-a-mouse) - it enables AI agents to control full operating systems in virtual containers and deploy them locally or to the cloud.
<div align="center">
<video src="https://github.com/user-attachments/assets/c619b4ea-bb8e-4382-860e-f3757e36af20" width="800" controls></video>
@@ -52,8 +52,8 @@
Read our guide on getting started with a Computer-Use Agent:
[Computer-Use Agent Quickstart](https://docs.trycua.com/home/guides/usage-guide)
-Get started using C/ua services on your machine:
-[C/ua Usage Guide](https://docs.trycua.com/home/guides/cua-usage-guide)
+Get started using Cua services on your machine:
+[Cua Usage Guide](https://docs.trycua.com/home/guides/cua-usage-guide)
Set up a development environment with the Dev Container:
[Dev Container Setup](https://docs.trycua.com/home/guides/dev-container-setup)
@@ -104,10 +104,10 @@ docker run -it --rm \
# Resources
-- [How to use the MCP Server with Claude Desktop or other MCP clients](./libs/python/mcp-server/README.md) - One of the easiest ways to get started with C/ua
+- [How to use the MCP Server with Claude Desktop or other MCP clients](./libs/python/mcp-server/README.md) - 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](./libs/python/agent/README.md)
- [How to use Lume CLI for managing desktops](./libs/lume/README.md)
-- [Training Computer-Use Models: Collecting Human Trajectories with C/ua (Part 1)](https://www.trycua.com/blog/training-computer-use-models-trajectories-1)
+- [Training Computer-Use Models: Collecting Human Trajectories with Cua (Part 1)](https://www.trycua.com/blog/training-computer-use-models-trajectories-1)
- [Build Your Own Operator on macOS (Part 1)](https://www.trycua.com/blog/build-your-own-operator-on-macos-1)
# Modules
diff --git a/docs/content/docs/api/computer/index.mdx b/docs/content/docs/api/computer/index.mdx
index 60612f97da..13af9358d0 100644
--- a/docs/content/docs/api/computer/index.mdx
+++ b/docs/content/docs/api/computer/index.mdx
@@ -80,7 +80,7 @@ await computer.venv_install("demo_venv", ["requests", "macos-pyxa"]) # Install p
await computer.venv_cmd("demo_venv", "python -c 'import requests; print(requests.get(`https://httpbin.org/ip`).json())'") # Run a shell command in a virtual environment
await computer.venv_exec("demo_venv", python_function_or_code, *args, **kwargs) # Run a Python function in a virtual environment and return the result / raise an exception
-# Example: Use sandboxed functions to execute code in a C/ua Container
+# Example: Use sandboxed functions to execute code in a Cua Container
from computer.helpers import sandboxed
@sandboxed("demo_venv")
@@ -93,8 +93,8 @@ def greet_and_print(name):
return {"greeted": name, "safari_html": html}
# When a @sandboxed function is called, it will execute in the container
-result = await greet_and_print("C/ua")
-# Result: {"greeted": "C/ua", "safari_html": "<html>...</html>"}
+result = await greet_and_print("Cua")
+# Result: {"greeted": "Cua", "safari_html": "<html>...</html>"}
# stdout and stderr are also captured and printed / raised
print("Result from sandboxed function:", result)
```
diff --git a/docs/content/docs/home/compatibility.mdx b/docs/content/docs/home/compatibility.mdx
index 81b39ed605..85b0b4e16e 100644
--- a/docs/content/docs/home/compatibility.mdx
+++ b/docs/content/docs/home/compatibility.mdx
@@ -1,12 +1,12 @@
---
title: Compatibility
-description: Compatibility information for running c/ua services.
+description: Compatibility information for running cua services.
icon: MonitorCheck
---
# Host OS Compatibility
-_This section shows compatibility based on your **host operating system** (the OS you're running C/ua on)._
+_This section shows compatibility based on your **host operating system** (the OS you're running Cua on)._
## macOS Host
diff --git a/docs/content/docs/home/faq.mdx b/docs/content/docs/home/faq.mdx
index ef3b10980c..cb04629322 100644
--- a/docs/content/docs/home/faq.mdx
+++ b/docs/content/docs/home/faq.mdx
@@ -1,6 +1,6 @@
---
title: FAQ
-description: Find answers to the most common issues or questions when using C/ua tools.
+description: Find answers to the most common issues or questions when using Cua tools.
icon: CircleQuestionMark
---
diff --git a/docs/content/docs/home/guides/cua-usage-guide.mdx b/docs/content/docs/home/guides/cua-usage-guide.mdx
index f82e2151ac..f04dddf76e 100644
--- a/docs/content/docs/home/guides/cua-usage-guide.mdx
+++ b/docs/content/docs/home/guides/cua-usage-guide.mdx
@@ -1,6 +1,6 @@
---
-title: C/ua Usage Guide
-descrption: Follow these steps to use C/ua in your own Python code.
+title: Cua Usage Guide
+descrption: Follow these steps to use Cua in your own Python code.
---
import { Step, Steps } from 'fumadocs-ui/components/steps';
@@ -51,7 +51,7 @@ async def main():
computer = Computer(os_type="macos")
await computer.run()
- # Or with C/ua Cloud Container
+ # Or with Cua Cloud Container
computer = Computer(
os_type="linux",
api_key="your_cua_api_key_here",
diff --git a/docs/content/docs/home/index.mdx b/docs/content/docs/home/index.mdx
index 80588f1de7..f8fce53f63 100644
--- a/docs/content/docs/home/index.mdx
+++ b/docs/content/docs/home/index.mdx
@@ -7,9 +7,9 @@ import { buttonVariants } from 'fumadocs-ui/components/ui/button';
import { cn } from 'fumadocs-ui/utils/cn';
import { ChevronRight } from 'lucide-react';
-## What is C/ua?
+## What is Cua?
-C/ua is a collection of cross-platform libraries and tools for building Computer-Use AI agents.
+Cua is a collection of cross-platform libraries and tools for building Computer-Use AI agents.
## Quick Start
@@ -20,8 +20,8 @@ C/ua is a collection of cross-platform libraries and tools for building Computer
Read our guide on getting started with a Computer-Use Agent.
</Card>
-<Card href="./home/guides/cua-usage-guide" title="C/ua Usage Guide">
- Get started using C/ua services on your machine.
+<Card href="./home/guides/cua-usage-guide" title="Cua Usage Guide">
+ Get started using Cua services on your machine.
</Card>
<Card href="./home/guides/dev-container-setup" title="Dev Container Setup">
@@ -53,10 +53,10 @@ C/ua is a collection of cross-platform libraries and tools for building Computer
## Resources
-- [How to use the MCP Server with Claude Desktop or other MCP clients](./libraries/mcp-server) - One of the easiest ways to get started with C/ua
+- [How to use the MCP Server with Claude Desktop or other MCP clients](./libraries/mcp-server) - 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](./libraries/agent)
- [How to use Lume CLI for managing desktops](./libraries/lume)
-- [Training Computer-Use Models: Collecting Human Trajectories with C/ua (Part 1)](https://www.trycua.com/blog/training-computer-use-models-trajectories-1)
+- [Training Computer-Use Models: Collecting Human Trajectories with Cua (Part 1)](https://www.trycua.com/blog/training-computer-use-models-trajectories-1)
- [Build Your Own Operator on macOS (Part 1)](https://www.trycua.com/blog/build-your-own-operator-on-macos-1)
## Modules
diff --git a/docs/content/docs/home/libraries/agent/index.mdx b/docs/content/docs/home/libraries/agent/index.mdx
index 56ccde371e..a91958e82a 100644
--- a/docs/content/docs/home/libraries/agent/index.mdx
+++ b/docs/content/docs/home/libraries/agent/index.mdx
@@ -13,7 +13,7 @@ import { buttonVariants } from 'fumadocs-ui/components/ui/button';
import { cn } from 'fumadocs-ui/utils/cn';
import { ChevronRight } from 'lucide-react';
-**Agent** is a powerful Computer-Use framework that enables AI agents to interact with desktop applications and perform complex multi-step workflows across macOS, Linux, and Windows environments. Built on the C/ua platform, it supports both local models (via Ollama) and cloud providers (OpenAI, Anthropic, Groq, DeepSeek, Qwen).
+**Agent** is a powerful Computer-Use framework that enables AI agents to interact with desktop applications and perform complex multi-step workflows across macOS, Linux, and Windows environments. Built on the Cua platform, it supports both local models (via Ollama) and cloud providers (OpenAI, Anthropic, Groq, DeepSeek, Qwen).
## Installation
diff --git a/docs/content/docs/home/libraries/computer/index.mdx b/docs/content/docs/home/libraries/computer/index.mdx
index a591d97d9c..8a52199951 100644
--- a/docs/content/docs/home/libraries/computer/index.mdx
+++ b/docs/content/docs/home/libraries/computer/index.mdx
@@ -16,7 +16,7 @@ import { buttonVariants } from 'fumadocs-ui/components/ui/button';
import { cn } from 'fumadocs-ui/utils/cn';
import { ChevronRight } from 'lucide-react';
-Computer, when paired with [Computer Server](../computer-server.mdx) enables programatic interaction with cross-platform sandboxes. It powers C/ua systems and is PyAutoGUI-compatible and pluggable with any AI agent system (Cua, Langchain, CrewAI, AutoGen).
+Computer, when paired with [Computer Server](../computer-server.mdx) enables programatic interaction with cross-platform sandboxes. It powers Cua systems and is PyAutoGUI-compatible and pluggable with any AI agent system (Cua, Langchain, CrewAI, AutoGen).
The Python version relies on [Lume](./lume.mdx) for creating and managing sandbox environments.
@@ -85,7 +85,7 @@ The Python version relies on [Lume](./lume.mdx) for creating and managing sandbo
```typescript
import { Computer, OSType } from '@trycua/computer';
- // This creates and interfaces with a cloud-based c/ua container.
+ // This creates and interfaces with a cloud-based cua container.
const main = async () => {
// Create a cloud-based computer
const computer = new Computer({
@@ -157,7 +157,7 @@ The Python version relies on [Lume](./lume.mdx) for creating and managing sandbo
<Card
href="https://github.com/trycua/cua/tree/main/examples/computer-example-ts"
title="Computer Cloud OpenAI">
- Use C/ua Cloud Containers with OpenAI's API to execute tasks in a sandbox
+ Use Cua Cloud Containers with OpenAI's API to execute tasks in a sandbox
</Card>
</Cards>
</Tab>
diff --git a/docs/content/docs/home/libraries/index.mdx b/docs/content/docs/home/libraries/index.mdx
index d6fbaacf3e..8bf2cb59c3 100644
--- a/docs/content/docs/home/libraries/index.mdx
+++ b/docs/content/docs/home/libraries/index.mdx
@@ -1,11 +1,11 @@
---
title: Getting Started
-description: Getting started with the C/ua libraries
+description: Getting started with the Cua libraries
---
## Overview
-The C/ua project provides several libraries for building Computer-Use AI agents.
+The Cua project provides several libraries for building Computer-Use AI agents.
| Library | Description | Installation |
| -------------------------------------------- | -------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
diff --git a/docs/content/docs/home/libraries/lume/index.mdx b/docs/content/docs/home/libraries/lume/index.mdx
index 38d6c9cfe0..9f66822bba 100644
--- a/docs/content/docs/home/libraries/lume/index.mdx
+++ b/docs/content/docs/home/libraries/lume/index.mdx
@@ -294,7 +294,7 @@ lume serve
## Development
-If you're working on Lume in the context of the C/ua monorepo, we recommend using the dedicated VS Code workspace configuration:
+If you're working on Lume in the context of the Cua monorepo, we recommend using the dedicated VS Code workspace configuration:
```bash
# Open VS Code workspace from the root of the monorepo
diff --git a/docs/content/docs/home/libraries/mcp-server.mdx b/docs/content/docs/home/libraries/mcp-server.mdx
index 7061e8a99d..3e539d53d7 100644
--- a/docs/content/docs/home/libraries/mcp-server.mdx
+++ b/docs/content/docs/home/libraries/mcp-server.mdx
@@ -34,7 +34,7 @@ Before installing the MCP server, ensure you have:
3. **Python 3.10+** installed on your system
<Callout type="info">
- Follow our [C/ua Usage Guide](../guides/cua-usage-guide.mdx) for help setting
+ Follow our [Cua Usage Guide](../guides/cua-usage-guide.mdx) for help setting
everything up.
</Callout>
@@ -183,7 +183,7 @@ tail -n 20 -f ~/Library/Logs/Claude/mcp*.log
---
<Callout type="info">
- **Need detailed API documentation?**
+ **Need detailed API documentation?**
<span className="w-full">
Explore the complete API reference with detailed class documentation, and
method signatures.
diff --git a/docs/src/app/(home)/[[...slug]]/page.tsx b/docs/src/app/(home)/[[...slug]]/page.tsx
index 4048cb8bac..695a8bf26c 100644
--- a/docs/src/app/(home)/[[...slug]]/page.tsx
+++ b/docs/src/app/(home)/[[...slug]]/page.tsx
@@ -286,10 +286,10 @@ export async function generateMetadata(props: {
const page = source.getPage(params.slug);
if (!page) notFound();
- let title = `${page.data.title} | C/ua Docs`;
- if (page.url.includes('api')) title = `${page.data.title} | C/ua API Docs`;
+ let title = `${page.data.title} | Cua Docs`;
+ if (page.url.includes('api')) title = `${page.data.title} | Cua API Docs`;
if (page.url.includes('guide'))
- title = ` Guide: ${page.data.title} | C/ua Docs`;
+ title = ` Guide: ${page.data.title} | Cua Docs`;
return {
title,
@@ -298,7 +298,7 @@ export async function generateMetadata(props: {
title,
description: page.data.description,
type: 'article',
- siteName: 'C/ua Docs',
+ siteName: 'Cua Docs',
url: 'https://trycua.com/docs',
},
};
diff --git a/docs/src/app/layout.config.tsx b/docs/src/app/layout.config.tsx
index 7b1d4bacba..8bc4b5cd6b 100644
--- a/docs/src/app/layout.config.tsx
+++ b/docs/src/app/layout.config.tsx
@@ -1,11 +1,11 @@
-import type { BaseLayoutProps } from "fumadocs-ui/layouts/shared";
+import type { BaseLayoutProps } from 'fumadocs-ui/layouts/shared';
-import Image from "next/image";
-import LogoBlack from "@/assets/logo-black.svg";
-import LogoWhite from "@/assets/logo-white.svg";
-import DiscordWhite from "@/assets/discord-white.svg";
-import DiscordBlack from "@/assets/discord-black.svg";
-import { HomeIcon } from "lucide-react";
+import Image from 'next/image';
+import LogoBlack from '@/assets/logo-black.svg';
+import LogoWhite from '@/assets/logo-white.svg';
+import DiscordWhite from '@/assets/discord-white.svg';
+import DiscordBlack from '@/assets/discord-black.svg';
+import { HomeIcon } from 'lucide-react';
/**
* Shared layout configurations
@@ -38,18 +38,18 @@ export const baseOptions: BaseLayoutProps = {
</>
),
},
- githubUrl: "https://github.com/trycua/cua",
+ githubUrl: 'https://github.com/trycua/cua',
links: [
{
- url: "https://trycua.com",
- text: "c/ua home",
- type: "icon",
+ url: 'https://trycua.com',
+ text: 'cua home',
+ type: 'icon',
icon: <HomeIcon />,
},
{
- url: "https://discord.com/invite/mVnXXpdE85",
- text: "c/ua discord",
- type: "icon",
+ url: 'https://discord.com/invite/mVnXXpdE85',
+ text: 'cua discord',
+ type: 'icon',
icon: (
<>
<Image
diff --git a/examples/agent_examples.py b/examples/agent_examples.py
index 6257307750..a83ab83aac 100644
--- a/examples/agent_examples.py
+++ b/examples/agent_examples.py
@@ -29,7 +29,7 @@ async def run_agent_example():
verbosity=logging.DEBUG,
)
- # Create a remote Linux computer with C/ua
+ # Create a remote Linux computer with Cua
# computer = Computer(
# os_type="linux",
# api_key=os.getenv("CUA_API_KEY"),
diff --git a/examples/computer-example-ts/README.md b/examples/computer-example-ts/README.md
index 1e61eab0a0..935588aa38 100644
--- a/examples/computer-example-ts/README.md
+++ b/examples/computer-example-ts/README.md
@@ -1,10 +1,10 @@
# cua-cloud-openai Example
-This example demonstrates how to control a c/ua Cloud container using the OpenAI `computer-use-preview` model and the `@trycua/computer` TypeScript library.
+This example demonstrates how to control a cua Cloud container using the OpenAI `computer-use-preview` model and the `@trycua/computer` TypeScript library.
## Overview
-- Connects to a c/ua Cloud container via the `@trycua/computer` library
+- Connects to a cua Cloud container via the `@trycua/computer` library
- Sends screenshots and instructions to OpenAI's computer-use model
- Executes AI-generated actions (clicks, typing, etc.) inside the container
- Designed for Linux containers, but can be adapted for other OS types
@@ -20,7 +20,7 @@ This example demonstrates how to control a c/ua Cloud container using the OpenAI
2. **Set up environment variables:**
Create a `.env` file with the following variables:
- `OPENAI_KEY` — your OpenAI API key
- - `CUA_KEY` — your c/ua Cloud API key
+ - `CUA_KEY` — your cua Cloud API key
- `CUA_CONTAINER_NAME` — the name of your provisioned container
3. **Run the example:**
@@ -38,7 +38,7 @@ This example demonstrates how to control a c/ua Cloud container using the OpenAI
For a step-by-step tutorial and more detailed explanation, see the accompanying blog post:
-➡️ [Controlling a c/ua Cloud Container with JavaScript](https://placeholder-url-to-blog-post.com)
+➡️ [Controlling a cua Cloud Container with JavaScript](https://placeholder-url-to-blog-post.com)
_(This link will be updated once the article is published.)_
diff --git a/examples/computer_examples.py b/examples/computer_examples.py
index 227beb8c26..bb9e7ad9db 100644
--- a/examples/computer_examples.py
+++ b/examples/computer_examples.py
@@ -43,7 +43,7 @@ async def main():
ephemeral=False,
)
- # Create a remote Linux computer with C/ua
+ # Create a remote Linux computer with Cua
# computer = Computer(
# os_type="linux",
# api_key=os.getenv("CUA_API_KEY"),
diff --git a/examples/sandboxed_functions_examples.py b/examples/sandboxed_functions_examples.py
index caa733b99f..93d9302186 100644
--- a/examples/sandboxed_functions_examples.py
+++ b/examples/sandboxed_functions_examples.py
@@ -22,7 +22,7 @@ from computer.computer import Computer
from computer.helpers import sandboxed
async def main():
- # Initialize the computer in a C/ua Container
+ # Initialize the computer in a Cua Container
computer = Computer()
await computer.run()
@@ -34,7 +34,7 @@ async def main():
await asyncio.sleep(2)
# Define a sandboxed function
- # This function will run inside the C/ua Container
+ # This function will run inside the Cua Container
@sandboxed("demo_venv")
def greet_and_print(name):
# get .html of the current Safari tab
@@ -47,7 +47,7 @@ async def main():
return {"greeted": name, "safari_html_length": len(html), "safari_html_snippet": html[:200]}
# Call with args and kwargs
- result = await greet_and_print("C/ua")
+ result = await greet_and_print("Cua")
print("Result from sandboxed function:", result)
if __name__ == "__main__":
diff --git a/libs/python/computer/computer/ui/gradio/app.py b/libs/python/computer/computer/ui/gradio/app.py
index 8c3708dbf2..d8c5c513e7 100644
--- a/libs/python/computer/computer/ui/gradio/app.py
+++ b/libs/python/computer/computer/ui/gradio/app.py
@@ -302,7 +302,7 @@ def upload_to_huggingface(dataset_name, visibility, filter_tags=None):
)
card = DatasetCard.from_template(
card_data=card_data,
- template_str="---\n{{ card_data }}\n---\n\n# Uploaded computer interface trajectories\n\nThese trajectories were generated and uploaded using [c/ua](https://github.com/trycua/cua)"
+ template_str="---\n{{ card_data }}\n---\n\n# Uploaded computer interface trajectories\n\nThese trajectories were generated and uploaded using [cua](https://github.com/trycua/cua)"
)
card.push_to_hub(
dataset_name,
diff --git a/libs/typescript/README.md b/libs/typescript/README.md
index 78fda2e793..9474f49d5d 100644
--- a/libs/typescript/README.md
+++ b/libs/typescript/README.md
@@ -1,6 +1,6 @@
-# C/UA TypeScript Libraries
+# CUA TypeScript Libraries
-This repository contains TypeScript implementations of the C/UA libraries:
+This repository contains TypeScript implementations of the CUA libraries:
- `@trycua/core`: Core functionality including telemetry and logging
- `@trycua/computer`: Computer interaction SDK for VM management and control
@@ -90,7 +90,7 @@ pnpm lint:fix:all
### @trycua/core
-Core functionality for C/UA libraries including:
+Core functionality for CUA libraries including:
- Telemetry with PostHog integration
- Common utilities and types
diff --git a/libs/typescript/computer/LICENSE b/libs/typescript/computer/LICENSE
index 7ff04379f6..0d9333db65 100644
--- a/libs/typescript/computer/LICENSE
+++ b/libs/typescript/computer/LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)
-Copyright © 2025 C/UA
+Copyright © 2025 CUA
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/libs/typescript/computer/README.md b/libs/typescript/computer/README.md
index a9d42740a1..b51713c264 100644
--- a/libs/typescript/computer/README.md
+++ b/libs/typescript/computer/README.md
@@ -1,4 +1,4 @@
-# C/ua Computer TypeScript Library
+# Cua Computer TypeScript Library
The TypeScript library for C/cua Computer - a powerful computer control and automation library.
@@ -87,4 +87,4 @@ pnpm typecheck
## License
-[MIT](./LICENSE) License 2025 [C/UA](https://github.com/trycua)
+[MIT](./LICENSE) License 2025 [CUA](https://github.com/trycua)
diff --git a/libs/typescript/computer/package.json b/libs/typescript/computer/package.json
index ba9c0934da..b9d3b76ed1 100644
--- a/libs/typescript/computer/package.json
+++ b/libs/typescript/computer/package.json
@@ -2,7 +2,7 @@
"name": "@trycua/computer",
"version": "0.1.3",
"packageManager": "[email protected]",
- "description": "Typescript SDK for c/ua computer interaction",
+ "description": "Typescript SDK for cua computer interaction",
"type": "module",
"license": "MIT",
"homepage": "https://github.com/trycua/cua/tree/feature/computer/typescript/libs/typescript/computer",
@@ -13,7 +13,7 @@
"type": "git",
"url": "git+https://github.com/trycua/cua.git"
},
- "author": "c/ua",
+ "author": "cua",
"files": [
"dist"
],
diff --git a/libs/typescript/core/LICENSE b/libs/typescript/core/LICENSE
index 7498716645..93914d8bf2 100644
--- a/libs/typescript/core/LICENSE
+++ b/libs/typescript/core/LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)
-Copyright © 2025 C/ua
+Copyright © 2025 Cua
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/libs/typescript/core/README.md b/libs/typescript/core/README.md
index 20a77b2638..bc585ce8d4 100644
--- a/libs/typescript/core/README.md
+++ b/libs/typescript/core/README.md
@@ -1,6 +1,6 @@
-# C/ua Core TypeScript Library
+# Cua Core TypeScript Library
-The core c/ua library with support for telemetry and other utilities.
+The core cua library with support for telemetry and other utilities.
## Development
@@ -24,4 +24,4 @@ pnpm build
## License
-[MIT](./LICENSE) License 2025 [C/UA](https://github.com/trycua)
+[MIT](./LICENSE) License 2025 [CUA](https://github.com/trycua)
diff --git a/libs/typescript/core/package.json b/libs/typescript/core/package.json
index d15d413842..21b592d92b 100644
--- a/libs/typescript/core/package.json
+++ b/libs/typescript/core/package.json
@@ -2,7 +2,7 @@
"name": "@trycua/core",
"version": "0.1.3",
"packageManager": "[email protected]",
- "description": "Typescript SDK for c/ua core.",
+ "description": "Typescript SDK for cua core.",
"type": "module",
"license": "MIT",
"homepage": "https://github.com/trycua/cua/tree/feature/computer/typescript/libs/typescript/computer",
@@ -13,7 +13,7 @@
"type": "git",
"url": "git+https://github.com/trycua/cua.git"
},
- "author": "c/ua",
+ "author": "cua",
"files": [
"dist"
],
diff --git a/libs/typescript/package.json b/libs/typescript/package.json
index 0e0d6ce168..76d313ec38 100644
--- a/libs/typescript/package.json
+++ b/libs/typescript/package.json
@@ -1,9 +1,9 @@
{
"name": "cua-ts",
"version": "1.0.0",
- "description": "The c/ua typescript libs.",
+ "description": "The cua typescript libs.",
"keywords": [],
- "author": "c/ua",
+ "author": "cua",
"license": "MIT",
"scripts": {
"lint": "biome check",
diff --git a/notebooks/agent_nb.ipynb b/notebooks/agent_nb.ipynb
index e4f6df843f..d219457309 100644
--- a/notebooks/agent_nb.ipynb
+++ b/notebooks/agent_nb.ipynb
@@ -6,7 +6,7 @@
"source": [
"## Agent\n",
"\n",
- "This notebook demonstrates how to use Cua's Agent to run workflows in virtual sandboxes, either using C/ua Cloud Containers or local VMs on Apple Silicon Macs."
+ "This notebook demonstrates how to use Cua's Agent to run workflows in virtual sandboxes, either using Cua Cloud Containers or local VMs on Apple Silicon Macs."
]
},
{
@@ -103,7 +103,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Option 1: Agent with C/ua Cloud Containers\n",
+ "## Option 1: Agent with Cua Cloud Containers\n",
"\n",
"Use cloud containers for running agents from any system without local setup."
]
@@ -114,7 +114,7 @@
"source": [
"### Prerequisites for Cloud Containers\n",
"\n",
- "To use C/ua Cloud Containers, you need to:\n",
+ "To use Cua Cloud Containers, you need to:\n",
"1. Sign up at https://trycua.com\n",
"2. Create a Cloud Container\n",
"3. Generate an API Key\n",
@@ -126,7 +126,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "Get C/ua API credentials and container details"
+ "Get Cua API credentials and container details"
]
},
{
@@ -136,7 +136,7 @@
"outputs": [],
"source": [
"cua_api_key = os.getenv(\"CUA_API_KEY\") or \\\n",
- " input(\"Enter your C/ua API Key: \")\n",
+ " input(\"Enter your Cua API Key: \")\n",
"container_name = os.getenv(\"CONTAINER_NAME\") or \\\n",
" input(\"Enter your Cloud Container name: \")"
]
diff --git a/notebooks/blog/build-your-own-operator-on-macos-2.ipynb b/notebooks/blog/build-your-own-operator-on-macos-2.ipynb
index d52a303825..a3bed25efc 100644
--- a/notebooks/blog/build-your-own-operator-on-macos-2.ipynb
+++ b/notebooks/blog/build-your-own-operator-on-macos-2.ipynb
@@ -85,7 +85,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Running a c/ua Agent"
+ "## Running a cua Agent"
]
},
{
diff --git a/notebooks/computer_nb.ipynb b/notebooks/computer_nb.ipynb
index c95d37f20a..d1d97d12d2 100644
--- a/notebooks/computer_nb.ipynb
+++ b/notebooks/computer_nb.ipynb
@@ -6,7 +6,7 @@
"source": [
"## Computer\n",
"\n",
- "This notebook demonstrates how to use Computer to operate sandbox VMs programmatically, either using C/ua Cloud Containers or local Lume VMs on Apple Silicon macOS systems."
+ "This notebook demonstrates how to use Computer to operate sandbox VMs programmatically, either using Cua Cloud Containers or local Lume VMs on Apple Silicon macOS systems."
]
},
{
@@ -53,9 +53,9 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Option 1: C/ua Cloud Containers\n",
+ "## Option 1: Cua Cloud Containers\n",
"\n",
- "C/ua Cloud Containers provide remote VMs that can be accessed from any system without local setup."
+ "Cua Cloud Containers provide remote VMs that can be accessed from any system without local setup."
]
},
{
@@ -64,7 +64,7 @@
"source": [
"### Prerequisites for Cloud Containers\n",
"\n",
- "To use C/ua Cloud Containers, you need to:\n",
+ "To use Cua Cloud Containers, you need to:\n",
"1. Sign up at https://trycua.com\n",
"2. Create a Cloud Container\n",
"3. Generate an API Key\n",
@@ -82,7 +82,7 @@
"import os\n",
"\n",
"cua_api_key = os.getenv(\"CUA_API_KEY\") or \\\n",
- " input(\"Enter your C/ua API Key: \")\n",
+ " input(\"Enter your Cua API Key: \")\n",
"container_name = os.getenv(\"CONTAINER_NAME\") or \\\n",
" input(\"Enter your Cloud Container name: \")"
]
@@ -123,7 +123,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "Connect to your existing C/ua Cloud Container"
+ "Connect to your existing Cua Cloud Container"
]
},
{
diff --git a/scripts/playground-docker.sh b/scripts/playground-docker.sh
index 61b5790154..5cfae57407 100644
--- a/scripts/playground-docker.sh
+++ b/scripts/playground-docker.sh
@@ -26,13 +26,13 @@ print_warning() {
echo -e "${YELLOW}==> $1${NC}"
}
-echo "🚀 Launching C/ua Computer-Use Agent UI..."
+echo "🚀 Launching Cua Computer-Use Agent UI..."
# Check if Docker is installed
if ! command -v docker &> /dev/null; then
print_error "Docker is not installed!"
echo ""
- echo "To use C/ua with Docker containers, you need to install Docker first:"
+ echo "To use Cua with Docker containers, you need to install Docker first:"
echo ""
echo "📦 Install Docker:"
echo " • macOS: Download Docker Desktop from https://docker.com/products/docker-desktop"
@@ -63,7 +63,7 @@ mkdir -p "$DEMO_DIR"
# Check if we're already in the cua repository
# Look for the specific trycua identifier in pyproject.toml
if [[ -f "pyproject.toml" ]] && grep -q "[email protected]" "pyproject.toml"; then
- print_success "Already in C/ua repository - using current directory"
+ print_success "Already in Cua repository - using current directory"
REPO_DIR="$ORIGINAL_DIR"
USE_EXISTING_REPO=true
else
@@ -79,17 +79,17 @@ cleanup() {
trap cleanup EXIT
echo ""
-echo "Choose your C/ua setup:"
-echo "1) ☁️ C/ua Cloud Containers (works on any system)"
+echo "Choose your Cua setup:"
+echo "1) ☁️ Cua Cloud Containers (works on any system)"
echo "2) 🖥️ Local macOS VMs (requires Apple Silicon Mac + macOS 15+)"
echo "3) 🖥️ Local Windows VMs (requires Windows 10 / 11)"
echo ""
read -p "Enter your choice (1, 2, or 3): " CHOICE
if [[ "$CHOICE" == "1" ]]; then
- # C/ua Cloud Container setup
+ # Cua Cloud Container setup
echo ""
- print_info "Setting up C/ua Cloud Containers..."
+ print_info "Setting up Cua Cloud Containers..."
echo ""
# Check if existing .env.local already has CUA_API_KEY
@@ -116,15 +116,15 @@ if [[ "$CHOICE" == "1" ]]; then
# If no valid API key found, prompt for one
if [[ -z "$CUA_API_KEY" ]]; then
- echo "To use C/ua Cloud Containers, you need to:"
+ echo "To use Cua Cloud Containers, you need to:"
echo "1. Sign up at https://trycua.com"
echo "2. Create a Cloud Container"
echo "3. Generate an Api Key"
echo ""
- read -p "Enter your C/ua Api Key: " CUA_API_KEY
+ read -p "Enter your Cua Api Key: " CUA_API_KEY
if [[ -z "$CUA_API_KEY" ]]; then
- print_error "C/ua Api Key is required for Cloud Containers."
+ print_error "Cua Api Key is required for Cloud Containers."
exit 1
fi
else
@@ -142,7 +142,7 @@ elif [[ "$CHOICE" == "2" ]]; then
# Check for Apple Silicon Mac
if [[ $(uname -s) != "Darwin" || $(uname -m) != "arm64" ]]; then
print_error "Local macOS VMs require an Apple Silicon Mac (M1/M2/M3/M4)."
- echo "💡 Consider using C/ua Cloud Containers instead (option 1)."
+ echo "💡 Consider using Cua Cloud Containers instead (option 1)."
exit 1
fi
@@ -150,7 +150,7 @@ elif [[ "$CHOICE" == "2" ]]; then
OSVERSION=$(sw_vers -productVersion)
if [[ $(echo "$OSVERSION 15.0" | tr " " "\n" | sort -V | head -n 1) != "15.0" ]]; then
print_error "Local macOS VMs require macOS 15 (Sequoia) or newer. You have $OSVERSION."
- echo "💡 Consider using C/ua Cloud Containers instead (option 1)."
+ echo "💡 Consider using Cua Cloud Containers instead (option 1)."
exit 1
fi
@@ -165,7 +165,7 @@ elif [[ "$CHOICE" == "3" ]]; then
# Check if we're on Windows
if [[ $(uname -s) != MINGW* && $(uname -s) != CYGWIN* && $(uname -s) != MSYS* ]]; then
print_error "Local Windows VMs require Windows 10 or 11."
- echo "💡 Consider using C/ua Cloud Containers instead (option 1)."
+ echo "💡 Consider using Cua Cloud Containers instead (option 1)."
echo ""
echo "🔗 If you are using WSL, refer to the blog post to get started: https://www.trycua.com/blog/windows-sandbox"
exit 1
@@ -188,11 +188,11 @@ if [[ "$USE_EXISTING_REPO" == "true" ]]; then
else
# Clone or update the repository
if [[ ! -d "$REPO_DIR" ]]; then
- print_info "Cloning C/ua repository..."
+ print_info "Cloning Cua repository..."
cd "$DEMO_DIR"
git clone https://github.com/trycua/cua.git
else
- print_info "Updating C/ua repository..."
+ print_info "Updating Cua repository..."
cd "$REPO_DIR"
git pull origin main
fi
@@ -303,9 +303,9 @@ chmod +x "$DEMO_DIR/start_ui.sh"
print_success "Setup complete!"
if [[ "$USE_CLOUD" == "true" ]]; then
- echo "☁️ C/ua Cloud Container setup complete!"
+ echo "☁️ Cua Cloud Container setup complete!"
else
- echo "🖥️ C/ua Local VM setup complete!"
+ echo "🖥️ Cua Local VM setup complete!"
fi
echo "📝 Edit $ENV_FILE to update your API keys"
@@ -313,10 +313,10 @@ echo "🖥️ Start the playground by running: $DEMO_DIR/start_ui.sh"
# Start the demo automatically
echo
-print_info "Starting the C/ua Computer-Use Agent UI..."
+print_info "Starting the Cua Computer-Use Agent UI..."
echo ""
-print_success "C/ua Computer-Use Agent UI is now running at http://localhost:7860/"
+print_success "Cua Computer-Use Agent UI is now running at http://localhost:7860/"
echo
echo "🌐 Open your browser and go to: http://localhost:7860/"
echo
diff --git a/scripts/playground.sh b/scripts/playground.sh
index 9be712d289..39710e4c64 100755
--- a/scripts/playground.sh
+++ b/scripts/playground.sh
@@ -2,7 +2,7 @@
set -e
-echo "🚀 Launching C/ua Computer-Use Agent UI..."
+echo "🚀 Launching Cua Computer-Use Agent UI..."
# Save the original working directory
ORIGINAL_DIR="$(pwd)"
@@ -22,18 +22,18 @@ TMP_DIR=$(mktemp -d)
cd "$TMP_DIR"
trap cleanup EXIT
-# Ask user to choose between local macOS VMs or C/ua Cloud Containers
+# Ask user to choose between local macOS VMs or Cua Cloud Containers
echo ""
-echo "Choose your C/ua setup:"
-echo "1) ☁️ C/ua Cloud Containers (works on any system)"
+echo "Choose your Cua setup:"
+echo "1) ☁️ Cua Cloud Containers (works on any system)"
echo "2) 🖥️ Local macOS VMs (requires Apple Silicon Mac + macOS 15+)"
echo ""
read -p "Enter your choice (1 or 2): " CHOICE
if [[ "$CHOICE" == "1" ]]; then
- # C/ua Cloud Container setup
+ # Cua Cloud Container setup
echo ""
- echo "☁️ Setting up C/ua Cloud Containers..."
+ echo "☁️ Setting up Cua Cloud Containers..."
echo ""
# Check if existing .env.local already has CUA_API_KEY (check current dir and demo dir)
@@ -61,15 +61,15 @@ if [[ "$CHOICE" == "1" ]]; then
# If no valid API key found, prompt for one
if [[ -z "$CUA_API_KEY" ]]; then
- echo "To use C/ua Cloud Containers, you need to:"
+ echo "To use Cua Cloud Containers, you need to:"
echo "1. Sign up at https://trycua.com"
echo "2. Create a Cloud Container"
echo "3. Generate an Api Key"
echo ""
- read -p "Enter your C/ua Api Key: " CUA_API_KEY
+ read -p "Enter your Cua Api Key: " CUA_API_KEY
if [[ -z "$CUA_API_KEY" ]]; then
- echo "❌ C/ua Api Key is required for Cloud Containers."
+ echo "❌ Cua Api Key is required for Cloud Containers."
exit 1
fi
fi
@@ -84,7 +84,7 @@ elif [[ "$CHOICE" == "2" ]]; then
# Check for Apple Silicon Mac
if [[ $(uname -s) != "Darwin" || $(uname -m) != "arm64" ]]; then
echo "❌ Local macOS VMs require an Apple Silicon Mac (M1/M2/M3/M4)."
- echo "💡 Consider using C/ua Cloud Containers instead (option 1)."
+ echo "💡 Consider using Cua Cloud Containers instead (option 1)."
exit 1
fi
@@ -92,7 +92,7 @@ elif [[ "$CHOICE" == "2" ]]; then
OSVERSION=$(sw_vers -productVersion)
if [[ $(echo "$OSVERSION 15.0" | tr " " "\n" | sort -V | head -n 1) != "15.0" ]]; then
echo "❌ Local macOS VMs require macOS 15 (Sequoia) or newer. You have $OSVERSION."
- echo "💡 Consider using C/ua Cloud Containers instead (option 1)."
+ echo "💡 Consider using Cua Cloud Containers instead (option 1)."
exit 1
fi
@@ -205,7 +205,7 @@ fi
source "$VENV_DIR/bin/activate"
# Install required packages
-echo "📦 Updating C/ua packages..."
+echo "📦 Updating Cua packages..."
pip install -U pip setuptools wheel Cmake
pip install -U cua-computer "cua-agent[all]"
@@ -336,10 +336,10 @@ fi
# Ask if the user wants to start the demo now
echo
-read -p "Would you like to start the C/ua Computer-Use Agent UI now? (y/n) " -n 1 -r
+read -p "Would you like to start the Cua Computer-Use Agent UI now? (y/n) " -n 1 -r
echo
if [[ $REPLY =~ ^[Yy]$ ]]; then
- echo "🚀 Starting the C/ua Computer-Use Agent UI..."
+ echo "🚀 Starting the Cua Computer-Use Agent UI..."
echo ""
"$DEMO_DIR/start_ui.sh"
fi
diff --git a/tests/files.py b/tests/files.py
index bcfbb4f513..b0ae9c60a7 100644
--- a/tests/files.py
+++ b/tests/files.py
@@ -2,7 +2,7 @@
File System Interface Tests
Tests for the file system methods of the Computer interface (macOS).
Required environment variables:
-- CUA_API_KEY: API key for C/ua cloud provider
+- CUA_API_KEY: API key for Cua cloud provider
- CUA_CONTAINER_NAME: Name of the container to use
"""
@@ -33,7 +33,7 @@ from computer import Computer, VMProviderType
@pytest.fixture(scope="session")
async def computer():
"""Shared Computer instance for all test cases."""
- # Create a remote Linux computer with C/ua
+ # Create a remote Linux computer with Cua
computer = Computer(
os_type="linux",
api_key=os.getenv("CUA_API_KEY"),
@@ -41,7 +41,7 @@ async def computer():
provider_type=VMProviderType.CLOUD,
)
- # Create a local macOS computer with C/ua
+ # Create a local macOS computer with Cua
# computer = Computer()
# Connect to host computer
diff --git a/tests/shell_bash.py b/tests/shell_bash.py
index af34ff0e87..ca7f8e1fc6 100644
--- a/tests/shell_bash.py
+++ b/tests/shell_bash.py
@@ -2,7 +2,7 @@
Shell Command Tests (Bash)
Tests for the run_command method of the Computer interface using bash commands.
Required environment variables:
-- CUA_API_KEY: API key for C/ua cloud provider
+- CUA_API_KEY: API key for Cua cloud provider
- CUA_CONTAINER_NAME: Name of the container to use
"""
@@ -33,7 +33,7 @@ from computer import Computer, VMProviderType
@pytest.fixture(scope="session")
async def computer():
"""Shared Computer instance for all test cases."""
- # Create a remote Linux computer with C/ua
+ # Create a remote Linux computer with Cua
computer = Computer(
os_type="linux",
api_key=os.getenv("CUA_API_KEY"),
diff --git a/tests/shell_cmd.py b/tests/shell_cmd.py
index a210e45337..6062e53e0a 100644
--- a/tests/shell_cmd.py
+++ b/tests/shell_cmd.py
@@ -2,7 +2,7 @@
Shell Command Tests (CMD)
Tests for the run_command method of the Computer interface using cmd.exe commands.
Required environment variables:
-- CUA_API_KEY: API key for C/ua cloud provider
+- CUA_API_KEY: API key for Cua cloud provider
- CUA_CONTAINER_NAME: Name of the container to use
"""
@@ -33,7 +33,7 @@ from computer import Computer, VMProviderType
@pytest.fixture(scope="session")
async def computer():
"""Shared Computer instance for all test cases."""
- # Create a remote Windows computer with C/ua
+ # Create a remote Windows computer with Cua
computer = Computer(
os_type="windows",
api_key=os.getenv("CUA_API_KEY"),
diff --git a/tests/venv.py b/tests/venv.py
index 522a47270f..8479e28f69 100644
--- a/tests/venv.py
+++ b/tests/venv.py
@@ -1,9 +1,9 @@
"""
Virtual Environment Testing Module
-This module tests the ability to execute python code in a virtual environment within C/ua Containers.
+This module tests the ability to execute python code in a virtual environment within Cua Containers.
Required environment variables:
-- CUA_API_KEY: API key for C/ua cloud provider
+- CUA_API_KEY: API key for Cua cloud provider
- CUA_CONTAINER_NAME: Name of the container to use
"""
@@ -36,7 +36,7 @@ from computer.helpers import sandboxed, set_default_computer
@pytest.fixture(scope="session")
async def computer():
"""Shared Computer instance for all test cases."""
- # Create a remote Linux computer with C/ua
+ # Create a remote Linux computer with Cua
computer = Computer(
os_type="linux",
api_key=os.getenv("CUA_API_KEY"),
@@ -44,7 +44,7 @@ async def computer():
provider_type=VMProviderType.CLOUD,
)
- # # Create a local macOS computer with C/ua
+ # # Create a local macOS computer with Cua
# computer = Computer()
try:
diff --git a/tests/watchdog.py b/tests/watchdog.py
index 24b268c2c8..c5a014e623 100644
--- a/tests/watchdog.py
+++ b/tests/watchdog.py
@@ -2,7 +2,7 @@
Watchdog Recovery Tests
Tests for the watchdog functionality to ensure server recovery after hanging commands.
Required environment variables:
-- CUA_API_KEY: API key for C/ua cloud provider
+- CUA_API_KEY: API key for Cua cloud provider
- CUA_CONTAINER_NAME: Name of the container to use
"""
@@ -34,7 +34,7 @@ from computer import Computer, VMProviderType
@pytest.fixture(scope="session")
async def computer():
"""Shared Computer instance for all test cases."""
- # Create a remote Linux computer with C/ua
+ # Create a remote Linux computer with Cua
computer = Computer(
os_type="linux",
api_key=os.getenv("CUA_API_KEY"),