Remote script. The installer pipes a script from Cua.ai into your shell and runs Cua auth login; read it first if you prefer.
Who it is forA developer who wants agents to run commands somewhere other than their own machine.
The problemLetting an agent run shell commands on your laptop risks your files and setup.
The outcomeA disposable sandbox you can exec into, screenshot and delete, from the CLI or Python.
What you need first
- macOS 26 or later for Cua Spaces
- Apple Silicon for Lume VMs
- macOS, Linux or Windows for the cua CLI and Cua Driver
- Spaces is free for individuals; Pro and Teams are paid
Steps
- Install with
curl -fsSL https://cua.ai/install.sh | sh(Windows uses the PowerShell installer) - Create a sandbox:
cua sb create ubuntu --name dev - Run a command inside:
cua sb exec dev uname -a - Take a screenshot with
cua sb screenshot dev - Remove it when done with
cua sb rm dev
Prompt for your agent
Using trycua/cua, create a sandbox named dev, run <commands> inside it with cua sb exec, capture a screenshot, return the outputs to me, and then remove the sandbox.
Caveat.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for trycua/cua and "Spin up a disposable Linux sandbox for an agent"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer