From the source
Published on March 31, 2025 by Francesco Bonacci In this first blogpost, we'll learn how to build our own Computer-Use Operator using OpenAI's computer-use-preview model.
But first, let's understand what some common terms mean: A Virtual Machine (VM) is like a computer within your computer - a safe, isolated environment where the AI can work without affecting your main system. computer-use-preview is OpenAI's specialized language model trained to understand and interact with computer interfaces through screenshots.
A Computer-Use Agent is an AI agent that can control a computer just like a human would - clicking buttons, typing text, and interacting with applications.
Our Operator will run in an isolated macOS VM, by making use of our cua-computer package and lume virtualization CLI .
Check out what it looks like to use your own Operator from a Gradio app: By the end of this tutorial, you'll be able to: Set up a macOS virtual machine for AI automation Connect OpenAI's computer-use model to your VM Create a basic loop for the AI to interact with your VM Handle different types of computer actions (clicking, typing, etc.)
Implement safety checks and error handling …





