# Cua — Sandboxed Python Execution: Run Code Safely in Cua Containers

- Company: Cua (cua.ai)
- Announced: 2025-06-23
- Category: capability-change
- Coverage: not counted
- Announcement: yes
- Group: announcements
- Source: https://cua.ai/blog/sandboxed-python-execution
- Record: https://forck.live/items/16838-sandboxed-python-execution-run-code-safely-in-cua-containers
- Subject: Cua Driver / Lume / Cua Bench / Cua Fleets

Cua introduced a @sandboxed decorator that allows AI agents to run Python code inside the same virtual environment as their UI automation, enabling data processing, API calls, and complex logic alongside desktop interactions.

## Evidence

Verbatim from https://cua.ai/blog/sandboxed-python-execution:

> That's where Cua's @sandboxed decorator comes in. While Cua handles the clicking and typing, sandboxed execution lets you run full Python code inside the same virtual environment.

---

Record: https://forck.live/items/16838-sandboxed-python-execution-run-code-safely-in-cua-containers
Catalogue: https://forck.live/llms.txt
Current issue: https://forck.live/feed.md
