CoolFace
Apppublic

likhonsheikh/open-computer-use-agent

sourceHugging Facemitupdated 10mo agoView on Hugging Face
1likes
App README

Open Computer Use Agent

An open-source alternative to OpenAI's Operator and Anthropic's Computer Use.

Features

  • โ€”๐Ÿ–ฅ๏ธ Full Linux desktop (Xfce) running in the browser
  • โ€”๐Ÿ–ฑ๏ธ Mouse control (click, double-click, right-click)
  • โ€”โŒจ๏ธ Keyboard input (typing, key combinations)
  • โ€”๐Ÿ“ท Real-time screenshots
  • โ€”๐ŸŒ Firefox ESR browser included

How It Works

This Space runs a virtual X11 desktop using:

  • โ€”Xvfb: Virtual framebuffer for headless display
  • โ€”Xfce4: Lightweight desktop environment
  • โ€”xdotool: Mouse and keyboard automation
  • โ€”Gradio: Web UI for control

Usage

  1. 1.Click "Take Screenshot" to see the current desktop
  2. 2.Use the action controls to interact:
  3. 3.Enter X,Y coordinates and click
  4. 4.Type text
  5. 5.Press keyboard shortcuts
  6. 6.Scroll up/down

Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  HuggingFace Spaces Container   โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”‚
โ”‚  โ”‚   Xvfb    โ”‚โ—„โ”€โ”‚   Xfce4    โ”‚  โ”‚
โ”‚  โ”‚   :99     โ”‚  โ”‚  Desktop   โ”‚  โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ”‚
โ”‚        โ”‚                        โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”‚
โ”‚  โ”‚  xdotool  โ”‚โ—„โ”€โ”‚  Gradio    โ”‚  โ”‚
โ”‚  โ”‚  control  โ”‚  โ”‚  UI :7860  โ”‚  โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

License

MIT