Mindket

Mage-VL-Cowork Computer Use

Newversion 1 · updated

Overview

Lets you give a task to the Mage-VL-Cowork model and watch it click, type, scroll and use a terminal on a disposable Linux desktop. It suits developers studying computer use agents.

Mage-VL-Cowork Computer Use is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • Python 3.12
  • Python packages from requirements.txt, with Gradio 6.31.0
  • HF_TOKEN set as a secret, with permission to run Jobs, because sandboxes are billed to its namespace
  • Optional settings: SANDBOX_NAMESPACE to bill an organisation, DESKTOP_IMAGE to pick the desktop image, SANDBOX_FLAVOR for sandbox hardware, which defaults to cpu-upgrade
Runs in
  • A web browser, on the Space's page at Hugging Face
  • Python 3.12 on your own Windows, macOS or Linux computer, using a downloaded copy
Start with
pip install -U huggingface_hub
hf download nielsr/mage-vl-cowork-computer-use --repo-type space --local-dir mage-vl-cowork-computer-use
cd mage-vl-cowork-computer-use

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

Mage-VL-Cowork Computer Use is a Gradio app that shows a 4B parameter agent working a Linux desktop. You give the microsoft/Mage-VL-Cowork model a task, and it clicks, types, scrolls and uses the terminal. Each run starts its own throwaway desktop in a Hugging Face Sandbox.

Who it suits

Developers and researchers who want to watch a computer use agent at work and read how the pieces connect.

IndustryWho uses itHow they use itExample
AI engineeringAgent buildersWatch a small model drive a desktopA short desktop task
ResearchML researchersStudy how screenshots and action summaries form its memoryReading agent.py and prompt.py
SoftwareDevelopersRead how a desktop sandbox is wired to a modelOpening desktop.py
EducationInstructorsDemonstrate computer use agents liveA classroom demo

If you only want a chat model, you can skip it, since this app needs a sandbox and a token to run a copy.

Where to use it

  • A web browser, on the Space's page at Hugging Face
  • Python 3.12 on your own Windows, macOS or Linux computer, using a downloaded copy
Use caseWhoWhat they get back
Watching an agentDevelopersA live view of clicks, typing and scrolling
Terminal tasksResearchersAn agent that also runs commands in a bash terminal
Code studyLearnersSeparate files for the agent, desktop, model and prompt

How to set it up

  • Python 3.12
  • Python packages from requirements.txt, with Gradio 6.31.0
  • HF_TOKEN set as a secret, with permission to run Jobs, because sandboxes are billed to its namespace
  • Optional settings: SANDBOX_NAMESPACE to bill an organisation, DESKTOP_IMAGE to pick the desktop image, SANDBOX_FLAVOR for sandbox hardware, which defaults to cpu-upgrade
  1. Install the Hugging Face hub package.
  2. Download the Space with the hf command.
  3. Move into the downloaded folder.
  4. Install Gradio 6.31.0, then the requirements.
  5. Set the token secret, then start app.py.
pip install -U huggingface_hub
hf download nielsr/mage-vl-cowork-computer-use --repo-type space --local-dir mage-vl-cowork-computer-use
cd mage-vl-cowork-computer-use
pip install gradio==6.31.0
pip install -r requirements.txt
python app.py

How to use it

Online, open the Space page, give the agent a task and watch it work on the desktop. On your own computer, start the app with the command below once the token is set.

python app.py
ToolWhat it does
app.pyThe main Gradio file that starts the app
agent.pyAgent logic, as the file name suggests
desktop.pyCode for the sandbox desktop
model.py and prompt.pyModel loading and the system prompt files

Example

You type a task for the agent and start the run. A fresh Linux desktop opens in a sandbox and you watch the model click, type and scroll, and use the terminal, until it finishes or stops.

For newcomers and experts

Open the Space page and give the agent a short, harmless task first. You can follow each click on the desktop, which makes it easy to see what the model is doing.

The model is served through the Transformers library on its own L4 graphics card, and its system prompt mixes two modes, computer_use and bash. Its working memory holds the three most recent screenshots, while older steps shrink into one line Action summaries. The desktop is Xvfb, XFCE and Firefox, driven with xdotool. If sandboxes fail with an image not found error, the source says to factory reboot the desktop image Space.

  1. You give the agent a task
  2. A disposable Linux desktop boots in a sandbox
  3. The model reads screenshots and picks actions
  4. xdotool carries them out on the desktop

Good to know

  • Each run boots its own disposable desktop, so nothing lasts between runs
  • Model: runs on a dedicated L4 GPU through Transformers
  • License: apache-2
  • Cost to run: HF_TOKEN is needed, sandboxes are billed to the token owner or the chosen organisation, and the model uses a dedicated L4 GPU
  • Data it reaches: a Linux desktop with Firefox and a terminal, plus the task you type
  • Not for: the source names no limits

README and files

README

Mage-VL-Cowork Computer Use

Lets you give a task to the Mage-VL-Cowork model and watch it click, type, scroll and use a terminal on a disposable Linux desktop. It suits developers studying computer use agents.

Made by nielsr on Hugging Face. These notes are Mindket's, written from its Space page and README; the app's own files and license are on Hugging Face.

About

What it is: Mage-VL-Cowork Computer Use is a Gradio app that shows a 4B parameter agent working a Linux desktop. You give the microsoft/Mage-VL-Cowork model a task, and it clicks, types, scrolls and uses the terminal. Each run starts its own throwaway desktop in a Hugging Face Sandbox.

Who it suits: Developers and researchers who want to watch a computer use agent at work and read how the pieces connect.

Industry | Who uses it | How they use it | Example
AI engineering | Agent builders | Watch a small model drive a desktop | A short desktop task
Research | ML researchers | Study how screenshots and action summaries form its memory | Reading agent.py and prompt.py
Software | Developers | Read how a desktop sandbox is wired to a model | Opening desktop.py
Education | Instructors | Demonstrate computer use agents live | A classroom demo

If you only want a chat model, you can skip it, since this app needs a sandbox and a token to run a copy.

Where to use it:

  • A web browser, on the Space's page at Hugging Face
  • Python 3.12 on your own Windows, macOS or Linux computer, using a downloaded copy
Use case | Who | What they get back
Watching an agent | Developers | A live view of clicks, typing and scrolling
Terminal tasks | Researchers | An agent that also runs commands in a bash terminal
Code study | Learners | Separate files for the agent, desktop, model and prompt

How to set it up:

  • Python 3.12
  • Python packages from requirements.txt, with Gradio 6.31.0
  • HF_TOKEN set as a secret, with permission to run Jobs, because sandboxes are billed to its namespace
  • Optional settings: SANDBOX_NAMESPACE to bill an organisation, DESKTOP_IMAGE to pick the desktop image, SANDBOX_FLAVOR for sandbox hardware, which defaults to cpu-upgrade
  1. Install the Hugging Face hub package.
  2. Download the Space with the hf command.
  3. Move into the downloaded folder.
  4. Install Gradio 6.31.0, then the requirements.
  5. Set the token secret, then start app.py.
pip install -U huggingface_hub
hf download nielsr/mage-vl-cowork-computer-use --repo-type space --local-dir mage-vl-cowork-computer-use
cd mage-vl-cowork-computer-use
pip install gradio==6.31.0
pip install -r requirements.txt
python app.py

How to use it: Online, open the Space page, give the agent a task and watch it work on the desktop. On your own computer, start the app with the command below once the token is set.

python app.py
Tool | What it does
app.py | The main Gradio file that starts the app
agent.py | Agent logic, as the file name suggests
desktop.py | Code for the sandbox desktop
model.py and prompt.py | Model loading and the system prompt files

Example: You type a task for the agent and start the run. A fresh Linux desktop opens in a sandbox and you watch the model click, type and scroll, and use the terminal, until it finishes or stops.

For newcomers and experts: Open the Space page and give the agent a short, harmless task first. You can follow each click on the desktop, which makes it easy to see what the model is doing.

The model is served through the Transformers library on its own L4 graphics card, and its system prompt mixes two modes, computer_use and bash. Its working memory holds the three most recent screenshots, while older steps shrink into one line Action summaries. The desktop is Xvfb, XFCE and Firefox, driven with xdotool. If sandboxes fail with an image not found error, the source says to factory reboot the desktop image Space.

You give the agent a task
A disposable Linux desktop boots in a sandbox
The model reads screenshots and picks actions
xdotool carries them out on the desktop

Good to know:

  • Each run boots its own disposable desktop, so nothing lasts between runs
  • Model: runs on a dedicated L4 GPU through Transformers
  • License: apache-2
  • Cost to run: HF_TOKEN is needed, sandboxes are billed to the token owner or the chosen organisation, and the model uses a dedicated L4 GPU
  • Data it reaches: a Linux desktop with Firefox and a terminal, plus the task you type
  • Not for: the source names no limits

On Hugging Face, 13 November 2026

  • Likes: 1
  • Built with: gradio
  • License: apache-2.0

Links

Try it

Open the Space in your browser, or copy it to your own Hugging Face account from its page. Nothing in this kit runs by itself.

Files
README.md  5 KB

1 file, 5 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-12

Compare with similar

Listed Hugging Face Spaces in the same category that share the most tags with this one.

ProductLikesBuilt withLicenseLast change
Mage-VL-Cowork Computer Use This page1gradioapache-2.0
FLUX.1 [dev]Shares gradio9,583gradiomit
InstantIDShares gradio3,659gradioapache-2.0
Chat With Janus-Pro-7BShares gradio2,036gradiomit
PhotoMakerShares gradio1,960gradioapache-2.0
Z Image TurboShares gradio1,940gradioapache-2.0
Numbers as Mindket last read them, on 2026-11-12.

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

upscaler

uwg · Kit

Holds a set of image upscaling models gathered from the OpenModelDB community, for people who want to enlarge low-resolution pictures with AI on their own comp…

New

Pixel Art XL

nerijs · Kit

A pixel art style add-on for Stable Diffusion XL that turns text prompts into pixel-style images, with an optional LCM LoRA for faster runs. For game makers, d…

New

VibeVoice-1.5B

microsoft · Kit

Turns written conversations into spoken audio with up to four speakers and about 90 minutes of speech, an open Microsoft text-to-speech model for research on p…

New

Similar in Developer

See all in Developer

voicetut-egyptian-tashkeel

masterofaudio2077 · Kit

Reads Egyptian Arabic text aloud and follows the short vowel marks you write into it. A fine-tune of VoiceTut-TTS that keeps its 19 built-in voices and voice c…

New

Runs Meta's Llama 3.1 8B Instruct chat model in 4-bit AWQ form, so it fits on a GPU with about 4 GiB of free memory for the weights. For developers who want a…

New

Ru-Jev

besktech · Kit

Scores a Russian-first decision from a context and a list of options, giving a probability for yes/no, choice or rating questions. Runs on a plain CPU, for tea…

New