tencent / UI-Mate-democua-27B

huggingface.co
Total runs: 463
24-hour runs: -15
7-day runs: -17
30-day runs: 53
Model's Last Updated: August 20 2026
image-text-to-text

Introduction of UI-Mate-democua-27B

Model Details of UI-Mate-democua-27B

UI-Mate-democua-27B

UI-Mate: Advancing Open-Weight Foundation GUI Agents with In-Context Demonstrations

Show the workflow once. Let the agent adapt it to the task at hand.

Tencent HY Frontier

Project Page · GitHub · arXiv

Overview

UI-Mate-democua-27B is the demonstration-guided checkpoint of UI-Mate. It observes live screenshots, reasons over the visible state, and produces structured keyboard and mouse actions, and it can additionally take one recorded workflow as input and carry that procedure over to a new task.

It starts from the general reinforcement-learning checkpoint and is further trained with supervised fine-tuning on a mixture of general computer-use data and demonstration-augmented data. Keeping general data in the mixture is what preserves instruction-only competence: the model still runs a task from an instruction alone, and gains the ability to use a demonstration when one is supplied.

A demonstration is treated as guidance rather than a fixed action script. Recorded coordinates are never replayed, and the model re-plans from the live interface whenever the content, layout, or application state differs.

Model Details
  • Parameters: 27B
  • Base model: Qwen3.6-27B
  • Input: task instruction, screenshots, interaction history, and an optional demonstration workflow
  • Output: reasoning, a concise action description, and structured computer-use tool calls
  • Action space: mouse, keyboard, scrolling, waiting, user interaction, subtask completion, and task completion
  • Training: supervised fine-tuning, online reinforcement learning in executable GUI environments, then supervised fine-tuning on mixed general and demonstration-augmented computer-use data
  • License: Apache-2.0

UI-Mate is an agent checkpoint rather than a standalone visual-chat model. We recommend using the official prompt, response parser, and interaction harness from the UI-Mate repository .

Checkpoint Intended use
UI-Mate-27B General computer use at 27B
UI-Mate-9B General computer use at 9B
UI-Mate-democua-27B Demonstration-guided computer use
Highlights
  • One-shot procedural learning from a single demonstration.
  • Instruction-only execution retained through mixed general and demonstration training data.
  • Subtask-level guidance rather than whole-workflow injection.
  • Live-screen grounding instead of coordinate replay.
  • Trained on incomplete workflows, so milestones must be connected by reading the screen.
  • Structured actions compatible with pyautogui , served through an OpenAI-compatible interface.
Demonstration-Guided Execution

A demonstration is a recorded successful execution: every keyboard and pointer action, with screenshots immediately before and after each one. It may be recorded by a human, or taken from a successful rollout of a stronger GUI agent. The raw trace is then:

  1. normalized into a consistent action-and-frame representation;
  2. annotated by a vision-language model along four axes — screen state, intent, the action taken, and how its target was located visually;
  3. segmented into named subtasks, each with a short goal and an explicitly checkable completion criterion; and
  4. supplied at inference time as a compact view of the active subtask.

Three blocks are placed before the instruction: <workflow_progress> listing all subtasks as done, current, or upcoming; <current_subtask> carrying the sub-instruction and its completion criterion; and <current_subtask_action_list> holding the ordered steps of that subtask only. The tool schema gains a subtask_complete action, and the model reports it to advance the pointer.

Training deliberately withholds part of this guidance. The full trajectory remains the supervision target, but the workflow shown to the model keeps only key actions — focus clicks, scrolling, and popup dismissal are omitted — so the model cannot reduce the task to copying the next line and must infer the missing steps from the screenshot. The training mixture also covers three guidance-to-screen relationships: full alignment, partial misalignment where the model corrects mismatched steps from the screenshot, and irrelevance where it ignores the workflow entirely. Full alignment stays the majority case so that guidance remains useful.

At inference the complete action sequence of the current subtask is passed instead, with no key-action extraction. Once the model treats the demonstration as a fallible reference and arbitrates in favour of the screenshot, fuller guidance is simply more informative, and dropping the extraction step removes one model call and a source of silent corruption.

Evaluation

Paired evaluation in the self-demo setting, where each target is paired with a successful rollout of that same task from a stronger agent. Task instructions, initial environment states, interaction budgets, and evaluators are identical across the two conditions; only the demonstration differs. Episodes are allowed up to 1,000 interaction steps.

Evaluation set · metric Instruction only + one demonstration Change
OSWorkerBench-Subset (33) · strict success 17.17 35.35 +18.18 pp
OSWorkerBench-Subset (33) · progress 67.85 81.14 +13.29 pp
OSWorld-Subset (30) · progress 40.27 65.75 +25.48 pp
GameDev (10) · average score 76.76 81.15 +4.39 pp

Results are averaged over three runs per target on OSWorkerBench-Subset and five runs elsewhere.

OSWorkerBench-Subset (33 tasks) contains multi-application office tasks requiring coordinated interaction across three to five applications, with repeated subtask patterns and branching execution paths. Demonstrations improve 28 of the 33 tasks, and the number of tasks scoring perfectly rises from one to five. Average trajectory length also rises, from 173.3 to 216.0 steps: unguided runs often terminate after completing only part of the requested workflow, and the demonstration surfaces the remaining branches and repeated operations, producing longer but more complete trajectories.

OSWorld-Subset (30 tasks) consists of feasible tasks that the instruction-only model fails but a stronger reference agent can solve, which isolates procedural knowledge unlikely to be discovered from the instruction alone. Performance improves on 18 tasks and is unchanged on eight. Four tasks that score zero without guidance — chrome-02 , chrome-03 , multi-02 , and os-01 — are solved perfectly in every demonstration-conditioned run.

GameDev (10 tasks) is a curated set of exceptionally long-horizon tasks, each requiring more than 200 human actions on average, centered on eight Godot tasks that together cover end-to-end 2D game development from scratch. The largest gains fall on godot-04 (+18.89), godot-07 (+17.89), and qgis-01 (+11.25), all of which require long, structured sequences of fine-grained operations; the three tasks already solved perfectly are unchanged. Here demonstrations shorten the average trajectory, from 303.6 to 253.1 steps, by removing exploratory detours.

Quick Start
1. Serve the model with vLLM

vLLM automatically downloads the checkpoint from Hugging Face Hub on first launch.

pip install -U vllm openai pillow

vllm serve tencent/UI-Mate-democua-27B \
    --trust-remote-code \
    --served-model-name UI_Mate \
    --port 8000 \
    --tensor-parallel-size 2 \
    --gpu-memory-utilization 0.85 \
    --mm-encoder-tp-mode data \
    --chat-template-content-format openai \
    --limit-mm-per-prompt '{"image":6,"video":0}'

The default agent retains five screenshots in context. The server must therefore admit at least six images because the newest screenshot arrives before the oldest one is collapsed.

Confirm that the endpoint exposes the expected model name:

curl -s http://127.0.0.1:8000/v1/models
2. Guide a run with a demonstration

The UI-Mate repository on GitHub ships a real demonstration under resources/example_demonstration/ :

File What it is
task.json An OSWorld task for configuring a chroot-restricted SSH user — instruction, setup, and evaluator.
trajectory_captioned.json A run of that task scored 1.0, distilled into 12 subtasks over 42 steps. Same task, so this is the self-demo setting.
git clone https://github.com/Tencent/UI-Mate.git
cd UI-Mate

python examples/run_agent.py \
    --demo resources/example_demonstration/trajectory_captioned.json \
    --image resources/example_single_step/os_install_spotify.png \
    --instruction 'Please create an SSH user named "charles" with password "Ex@mpleP@55w0rd!" on Ubuntu who is only allowed to access the folder "/home/test1".' \
    --base-url http://127.0.0.1:8000/v1

Drop --demo and the same command runs in the instruction-only mode.

3. Use the Python agent

Pass demo= a demonstration file, or a directory holding a single trajectory_captioned*.json :

from agents.ui_mate_agent import UIMateAgent

agent = UIMateAgent(
    base_url="http://127.0.0.1:8000/v1",
    model="UI_Mate",
    demo="resources/example_demonstration/trajectory_captioned.json",
)
agent.reset()

with open("screen.png", "rb") as f:
    response, actions = agent.predict(instruction, {"screenshot": f.read()})

print(response)
print(actions)

A step where the model only reports progress comes back as WAIT . A premature finished on a non-final subtask advances the workflow instead of ending the episode, so completing one subtask cannot end the task early.

For long episodes the harness controls context growth by folding the oldest interaction steps into a compact progress note before the request exceeds the context window, keeping recent steps verbatim and the most recent screenshots intact.

Intended Use and Limitations

UI-Mate-democua-27B is intended for research and development of screenshot-based GUI agents in controlled desktop environments.

Its behavior can be affected by application versions, screen layouts, display scaling, latency, and unexpected UI state. Benchmark performance does not guarantee reliable execution in arbitrary environments, and the model requires an external runtime to execute its predicted actions.

Safety

Computer-use agents can make mistakes, encounter prompt injection, or trigger consequential actions.

  • Prefer isolated or disposable environments.
  • Avoid unattended, high-stakes, or destructive workflows.
  • Require human confirmation before sensitive operations.
  • Monitor the interaction trajectory and verify the resulting application state.
  • Do not treat a model-reported success as proof that the intended outcome was achieved.
License

UI-Mate is released under the Apache License 2.0 . Third-party components remain subject to their respective licenses. See the repository LICENSE for details.

Citation
@article{uimate2026,
  title         = {UI-Mate: Advancing Open-Weight Foundation GUI Agents with In-Context Demonstrations},
  author        = {Tencent HY Frontier Team},
  journal       = {arXiv preprint arXiv:2608.15930},
  year          = {2026},
}

Runs of tencent UI-Mate-democua-27B on huggingface.co

463
Total runs
-15
24-hour runs
-17
3-day runs
-17
7-day runs
53
30-day runs

More Information About UI-Mate-democua-27B huggingface.co Model

More UI-Mate-democua-27B license Visit here:

https://choosealicense.com/licenses/apache-2.0

UI-Mate-democua-27B huggingface.co

UI-Mate-democua-27B huggingface.co is an AI model on huggingface.co that provides UI-Mate-democua-27B's model effect (), which can be used instantly with this tencent UI-Mate-democua-27B model. huggingface.co supports a free trial of the UI-Mate-democua-27B model, and also provides paid use of the UI-Mate-democua-27B. Support call UI-Mate-democua-27B model through api, including Node.js, Python, http.

UI-Mate-democua-27B huggingface.co Url

https://huggingface.co/tencent/UI-Mate-democua-27B

tencent UI-Mate-democua-27B online free

UI-Mate-democua-27B huggingface.co is an online trial and call api platform, which integrates UI-Mate-democua-27B's modeling effects, including api services, and provides a free online trial of UI-Mate-democua-27B, you can try UI-Mate-democua-27B online for free by clicking the link below.

tencent UI-Mate-democua-27B online free url in huggingface.co:

https://huggingface.co/tencent/UI-Mate-democua-27B

UI-Mate-democua-27B install

UI-Mate-democua-27B is an open source model from GitHub that offers a free installation service, and any user can find UI-Mate-democua-27B on GitHub to install. At the same time, huggingface.co provides the effect of UI-Mate-democua-27B install, users can directly use UI-Mate-democua-27B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

UI-Mate-democua-27B install url in huggingface.co:

https://huggingface.co/tencent/UI-Mate-democua-27B

Url of UI-Mate-democua-27B

UI-Mate-democua-27B huggingface.co Url

Provider of UI-Mate-democua-27B huggingface.co

tencent
ORGANIZATIONS

Other API from tencent

huggingface.co

Total runs: 924.4K
Run Growth: 274.8K
Growth Rate: 29.73%
Updated:August 29 2026
huggingface.co

Total runs: 131.8K
Run Growth: 33.1K
Growth Rate: 25.09%
Updated:October 17 2025
huggingface.co

Total runs: 90.7K
Run Growth: -582.4K
Growth Rate: -642.43%
Updated:September 12 2025
huggingface.co

Total runs: 64.9K
Run Growth: 9.9K
Growth Rate: 15.24%
Updated:October 17 2025
huggingface.co

Total runs: 28.9K
Run Growth: 2.3K
Growth Rate: 7.80%
Updated:May 26 2026
huggingface.co

Total runs: 14.3K
Run Growth: 5.1K
Growth Rate: 35.51%
Updated:October 17 2025
huggingface.co

Total runs: 11.5K
Run Growth: -796
Growth Rate: -6.91%
Updated:July 30 2025
huggingface.co

Total runs: 10.8K
Run Growth: -2.9K
Growth Rate: -27.30%
Updated:May 26 2026
huggingface.co

Total runs: 6.8K
Run Growth: -523
Growth Rate: -7.69%
Updated:January 01 2026
huggingface.co

Total runs: 3.3K
Run Growth: -132
Growth Rate: -3.97%
Updated:May 21 2026
huggingface.co

Total runs: 3.0K
Run Growth: 1.3K
Growth Rate: 40.46%
Updated:September 10 2026
huggingface.co

Total runs: 2.9K
Run Growth: 115
Growth Rate: 3.95%
Updated:February 24 2026
huggingface.co

Total runs: 2.0K
Run Growth: -1.0K
Growth Rate: -51.94%
Updated:December 30 2025
huggingface.co

Total runs: 1.9K
Run Growth: 1.2K
Growth Rate: 60.36%
Updated:March 06 2025
huggingface.co

Total runs: 1.8K
Run Growth: 640
Growth Rate: 31.60%
Updated:September 09 2026
huggingface.co

Total runs: 1.6K
Run Growth: 522
Growth Rate: 33.53%
Updated:October 09 2026
huggingface.co

Total runs: 1.5K
Run Growth: 255
Growth Rate: 17.39%
Updated:October 17 2025
huggingface.co

Total runs: 1.1K
Run Growth: 109
Growth Rate: 9.99%
Updated:June 01 2026
huggingface.co

Total runs: 630
Run Growth: 4
Growth Rate: 0.63%
Updated:October 09 2026
huggingface.co

Total runs: 453
Run Growth: 154
Growth Rate: 34.00%
Updated:March 11 2026
huggingface.co

Total runs: 416
Run Growth: 171
Growth Rate: 41.11%
Updated:December 31 2025
huggingface.co

Total runs: 377
Run Growth: 54
Growth Rate: 14.32%
Updated:March 06 2026
huggingface.co

Total runs: 372
Run Growth: -3.0K
Growth Rate: -804.03%
Updated:September 15 2025