From the source
Published on May 1, 2025 by Dillon DuPont In our previous posts, we covered building your own Computer-Use Operator and using the Agent framework to simplify development.
Today, we'll focus on a critical aspect of improving computer-use agents and models: gathering high-quality demonstration data using Cua's Computer-Use Interface (CUI) and its Gradio UI to create and share human-generated trajectories.
Why is this important?
Underlying models used by Computer-use agents need examples of how humans interact with computers to learn effectively.
By creating a dataset of diverse, well-executed tasks, we can help train better models that understand how to navigate user interfaces and accomplish real tasks.
By the end of this tutorial, you'll be able to: Set up the Computer-Use Interface (CUI) with Gradio UI support Record your own computer interaction trajectories Organize and tag your demonstrations Upload your datasets to Hugging Face for community sharing Contribute to improving computer-use AI for everyone Prerequisites: macOS Sonoma (14.0) or later Python 3.10+ Basic familiarity with Python and terminal commands A Hugging Face account (for uploading datasets) …





