Overview
ClawGUI is a research framework that covers the whole lifecycle of a GUI agent — online reinforcement-learning training, standardized evaluation, and deployment onto real devices. Its premise is that these three problems are tightly coupled but rarely solved together: you need an environment to train the agent online, rigorous benchmarks to measure what it learned, and a production path to run it on a real phone.
The repository is five independent modules, each with its own environment and README. ClawGUI-RL trains agents online across dozens of Docker-based Android emulators in parallel or directly on physical and cloud devices, replacing standard GRPO with GiGPO plus a Process Reward Model for step-level rewards, with spare-server rotation for failover and trajectory replay. ClawGUI-Eval is a three-stage Infer → Judge → Metric pipeline covering six grounding benchmarks — ScreenSpot-Pro, ScreenSpot-V2, UIVision, MMBench-GUI, OSWorld-G and AndroidControl — and 11+ models, with a reported 95.8% reproduction rate against official results, so numbers from different papers become comparable.
The remaining modules handle deployment. ClawGUI-Agent, built on OpenClaw and nanobot, drives Android over ADB, HarmonyOS over HDC and iOS over XCTest from 12+ chat platforms, and can kick off the full evaluation pipeline from a single sentence. ClawGUI-Skills implements the training-free skill-evolution architecture from the project's paper, storing procedural knowledge as structured packages that agents retrieve, inject, diagnose and revise, with four modes (`off`, `trace`, `reuse`, `evolve`) and disabled by default to avoid context cost. ClawGUI-APP runs the brain and GUI agent entirely on one Android phone using Shizuku for high-privilege control, with no desktop coordinator. ClawGUI-2B, a 2B agent trained end to end with this pipeline, is published as the validation case.
What it does
- Online RL training across dozens of parallel Docker Android environments or on physical and cloud devices
- GiGPO plus a Process Reward Model for fine-grained step-level rewards instead of standard GRPO
- Evaluation across six GUI grounding benchmarks and 11+ models with a reported 95.8% reproduction rate
- Local GPU (transformers) or remote OpenAI-compatible API backends, with multi-GPU, multi-thread inference and automatic resume
- Real-device deployment on Android (ADB), HarmonyOS (HDC) and iOS (XCTest) from 12+ chat platforms
- Training-free self-evolving skills: structured packages with retrieval, failure diagnosis and restricted revision
- Phone-only mode via Shizuku that runs the brain and the GUI agent on a single Android device
Getting started
ClawGUI is a monorepo of independent modules; each has its own environment and installation instructions. Clone it first, then work in the module you need — RL for training, Eval for measurement, Agent or APP for deployment. Python 3.12 is the target.
Clone the repository
Everything hangs off the top-level clone; each module lives in its own directory.
git clone https://github.com/ZJU-REAL/ClawGUI.git
cd ClawGUIPick a module
clawgui-rl/ trains agents online with RL. clawgui-eval/ measures them across six benchmarks. clawgui-agent/ deploys them onto real devices. clawgui-skills/ adds self-evolving skill packages. clawgui-app/ runs the whole stack on one Android phone. Follow the README in the directory you chose for its full install steps.
Evaluate an existing model first
ClawGUI-Eval is the cheapest way to see the framework work: run its Infer → Judge → Metric pipeline against a model you already have, using either a local GPU backend through transformers or a remote OpenAI-compatible endpoint. Multi-GPU runs resume automatically if interrupted.
Drive a real device
ClawGUI-Agent connects to an Android device over ADB, HarmonyOS over HDC or iOS over XCTest, and exposes a Gradio web UI for device management, task execution and memory inspection. It can also trigger the whole benchmark pipeline in one sentence — for example, asking it to benchmark a model on ScreenSpot-Pro.
Commands and code are distilled from the project's own documentation — always check the official repo for the latest.
When to use it
- Train a GUI agent with online reinforcement learning against real Android apps instead of static screenshots
- Reproduce and compare published GUI-grounding results across models with one measurement pipeline
- Ship a phone-controlling agent that users talk to from an existing chat platform
- Run an agent entirely on-device, with no desktop coordinator, using Shizuku for privileged control
How ClawGUI compares
ClawGUI alongside other open-source computer & browser use tools AI/TLDR tracks, ranked by GitHub stars.
| Tool | Stars | What it does |
|---|---|---|
| Browser Use | ★ 115k | A Python library that lets agents control a real browser to read pages and complete tasks online from natural-language instructions. |
| Open Interpreter | ★ 68.4k | A lightweight coding agent that runs code on your own computer to carry out tasks from natural-language requests. |
| Chrome DevTools MCP | ★ 52.3k | The Chrome team's MCP server that lets a coding agent control and inspect a live Chrome browser — performance traces, network requests, console messages and Puppeteer-backed automation. |
| UI-TARS Desktop | ★ 39.1k | ByteDance's multimodal agent stack and desktop app that controls a computer's graphical interface using vision-language models. |
| AIHawk | ★ 31.6k | Browser agent on a stealth Firefox that takes plain-language tasks and clicks, types and reads real pages - usable as an MCP server from Claude Code, Codex or Gemini CLI, or via its own web UI. |
| CloakBrowser | ★ 31.6k | Stealth Chromium build with source-level fingerprint patches that drops into Playwright or Puppeteer code, so agents and scrapers browse without tripping bot detection. |
| OpenCLI | ★ 29.5k | Turns websites into deterministic CLI commands and lets agents drive your already-logged-in Chrome through a browser bridge extension, with adapters for sites and local binaries. |
| ClawGUI | ★ 1.3k | Train, evaluate and deploy GUI agents on real phones from one framework |