Cua's sandboxAn isolated environment where AI-generated code or agent actions run without being able to touch anything real.Full definition → Python feature lets an automation workflow combine desktop interaction with computation in the same remote environment. A developer marks a Python function for remote execution; Cua extracts its code, sends it to the container, runs it in a named Python environment and returns the result. The technical walkthrough explains how arguments, results and errors travel between the two machines.
That gives a workflow a direct way to process information obtained from an application before choosing its next action. The developer must keep the function self-contained and install its dependencies in the remote environment, where the calculation actually runs.
Terms in this piece · Glossary
sandbox — An isolated environment where AI-generated code or agent actions run without being able to touch anything real.
AI agent — An AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.