CUA-GUI-Operator is an experimental, advanced computer-use agent (CUA) and visual action grounding suite designed to bridge the gap between natural language instructions and graphical user interface (GUI) interactions.
3
stars
10
commits
Python
primary language
Mar 23, 2026
updated
CUA-GUI-Operator is an experimental, advanced computer-use agent (CUA) and visual action grounding suite designed to bridge the gap between natural language instructions and graphical user interface (GUI) interactions. By leveraging a specialized roster of vision-language models—including Microsoft's Fara-7B, ByteDance's UI-TARS-1.5, Holo2-4B, and ActIO-UI-7B—this application can accurately localize UI elements, predict the next logical agentic step, and ground actions directly onto interface screenshots. The suite features a bespoke, highly interactive web frontend engineered with custom HTML, CSS, and JavaScript to support seamless drag-and-drop workflows. Upon receiving a task instruction and a screenshot, the operator not only generates the raw model response but also renders a visualized, annotated image highlighting the exact interaction coordinates. Fully GPU-accelerated, CUA-GUI-Operator provides researchers and developers with a powerful sandbox for testing and deploying intelligent, autonomous GUI agents.
Fara-7B, UI-TARS-1.5-7B, Holo2-4B, and ActIO-UI-7B..txt file.├── examples/
│ ├── 1.png
│ ├── 2.png
│ └── 3.png
├── app.py
├── LICENSE
├── pre-requirements.txt
├── README.md
└── requirements.txt
To run CUA-GUI-Operator locally, you need to configure a Python environment with the following dependencies. Ensure you have a compatible CUDA-enabled GPU for optimal performance.
1. Install Pre-requirements Run the following command to update pip to the required version:
pip install pip>=23.0.0
2. Install Core Requirements
Install the necessary machine learning and UI libraries. You can place these in a requirements.txt file and run pip install -r requirements.txt.
git+https://github.com/huggingface/transformers.git@v4.57.1
huggingface_hub
python-dotenv
sentencepiece
qwen-vl-utils
torch==2.8.0
torchvision
matplotlib
accelerate
num2words
pydantic
requests
pillow
openai
spaces
einops
peft
Once your environment is set up and the dependencies are installed, you can launch the application by running the main Python script:
python app.py
After the script initializes the interface, it will provide a local web address (usually http://127.0.0.1:7860/) which you can open in your browser to interact with the models. Note that the selected models will be downloaded and loaded into VRAM upon their first invocation. Provide a specific instruction (e.g., "Click on the search bar") alongside your UI screenshot to see the grounded interaction.
10 commits
Python
100.0%
CUA-GUI-Operator is an experimental, advanced computer-use agent (CUA) and visual action grounding suite designed to bridge the gap between natural language instructions and graphical user interface (GUI) interactions.
3
stars
10
commits
Python
primary language
Mar 23, 2026
updated
CUA-GUI-Operator is an experimental, advanced computer-use agent (CUA) and visual action grounding suite designed to bridge the gap between natural language instructions and graphical user interface (GUI) interactions. By leveraging a specialized roster of vision-language models—including Microsoft's Fara-7B, ByteDance's UI-TARS-1.5, Holo2-4B, and ActIO-UI-7B—this application can accurately localize UI elements, predict the next logical agentic step, and ground actions directly onto interface screenshots. The suite features a bespoke, highly interactive web frontend engineered with custom HTML, CSS, and JavaScript to support seamless drag-and-drop workflows. Upon receiving a task instruction and a screenshot, the operator not only generates the raw model response but also renders a visualized, annotated image highlighting the exact interaction coordinates. Fully GPU-accelerated, CUA-GUI-Operator provides researchers and developers with a powerful sandbox for testing and deploying intelligent, autonomous GUI agents.
Fara-7B, UI-TARS-1.5-7B, Holo2-4B, and ActIO-UI-7B..txt file.├── examples/
│ ├── 1.png
│ ├── 2.png
│ └── 3.png
├── app.py
├── LICENSE
├── pre-requirements.txt
├── README.md
└── requirements.txt
To run CUA-GUI-Operator locally, you need to configure a Python environment with the following dependencies. Ensure you have a compatible CUDA-enabled GPU for optimal performance.
1. Install Pre-requirements Run the following command to update pip to the required version:
pip install pip>=23.0.0
2. Install Core Requirements
Install the necessary machine learning and UI libraries. You can place these in a requirements.txt file and run pip install -r requirements.txt.
git+https://github.com/huggingface/transformers.git@v4.57.1
huggingface_hub
python-dotenv
sentencepiece
qwen-vl-utils
torch==2.8.0
torchvision
matplotlib
accelerate
num2words
pydantic
requests
pillow
openai
spaces
einops
peft
Once your environment is set up and the dependencies are installed, you can launch the application by running the main Python script:
python app.py
After the script initializes the interface, it will provide a local web address (usually http://127.0.0.1:7860/) which you can open in your browser to interact with the models. Note that the selected models will be downloaded and loaded into VRAM upon their first invocation. Provide a specific instruction (e.g., "Click on the search bar") alongside your UI screenshot to see the grounded interaction.
10 commits
Python
100.0%