File size: 3,907 Bytes
ec2d95e
 
 
 
 
 
 
 
 
 
 
 
 
 
2d07fba
c898708
 
 
 
 
 
 
 
 
734906b
 
c898708
 
 
 
 
734906b
c898708
ae316b9
c898708
 
 
 
 
 
43c590b
c898708
43c590b
 
 
 
c898708
43c590b
 
 
 
 
 
 
 
 
 
 
c898708
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ae316b9
c898708
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
---
license: cc-by-nc-4.0
task_categories:
- visual-question-answering
- text-generation
language:
- zh
tags:
- gui grounding
- gui agent
- chinese app
pretty_name: CAGUI
size_categories:
- 1K<n<10K
viewer: false
---


# CAGUI: **C**hinese **A**ndroid **GUI** Benchmark  
A real-world Chinese Android GUI benchmark designed to evaluate **GUI agent models** on two complementary capabilities:

* **Grounding** – understanding individual GUI components and linking them to semantics.
* **Agent** – planning and executing multi-step actions to complete user goals on Chinese Android apps.

See [AgentCPM-GUI](https://github.com/OpenBMB/AgentCPM-GUI) for more details.

---

## 🌟 Key Features
| Aspect | Grounding | Agent |
|--------|-----------|-------|
| **Objective** | GUI widgets grounding / OCR text | Follow natural-language instructions to operate an app |
| **Data** | 2 × JSONL files (`cap.jsonl`, `ocr.jsonl`) + screenshots | Per-episode JSON + step-level screenshots |
| **Actions** | _n/a_ | Tap, long-tap, text-input, scroll, etc. (`result_action_type`, see [here](https://github.com/OpenBMB/AgentCPM-GUI/blob/main/eval/utils/action_type.py)) |

---

## 🗂️ Repository Structure
```
CAGUI
├─ CAGUI_agent
│  └─ domestic/
│     └─ <episode_id>/
│        ├─ <episode_id>.json       # episode file
│        ├─ <episode_id>_0.jpeg     # step-0 screenshot
│        ├─ <episode_id>_1.jpeg
│        └─ ...
└─ CAGUI_grounding
   ├─ code/
   │  ├─ cap.jsonl                  # function to point & text to point
   │  └─ ocr.jsonl                  # bbox to text
   └─ images/
      ├─ cap/
      │   ├─ 0.jpeg
      │   └─ ...
      └─ ocr/
          ├─ 0.jpeg
          └─ ...
````

---

## 📑 Data Format

### 1. Agent episodes (`CAGUI_agent/domestic/<episode_id>/<episode_id>.json`)
Each file is a **list of steps**:

| Field | Type | Description |
|-------|------|-------------|
| `episode_id` | str | Unique id |
| `episode_length` | int | Total steps |
| `step_id` | int | Step index (0-based) |
| `instruction` | str | user goal |
| `image_path` | str | Relative path to screenshot |
| `image_width` / `image_height` | int | Raw resolution |
| `ui_positions` | str (JSON list) | Normalised \[[y, x, h, w], …] UI element boxes |
| `result_action_type` | int | Action code, see [here](https://github.com/OpenBMB/AgentCPM-GUI/blob/main/eval/utils/action_type.py) |
| `result_action_text` | str | Text typed (if any) |
| `result_touch_yx` / `result_lift_yx` | str | Normalised touch coords, `[-1,-1]` if no touch |
| `duration` | float \| null | Action time (s) |

### 2. Grounding annotations (`cap.jsonl`, `ocr.jsonl`)
One JSON object per line:

| Field | Example | Description |
|-------|---------|-------------|
| `task` | `"bbox2function"` / `"bbox2text"` | Sub-task type |
| `image` | `"grounding_eval/dataset/images/0.jpeg"` | Screenshot path |
| `id` | `0` | Unique int id |
| `abs_position` | `"<x1, y1, x2, y2>"` | Pixel-level bbox |
| `rel_position` | `"<x1, y1, x2, y2>"` | Normalised bbox |
| `text` | `"UI元素是一个菜单按钮…"` | Target description / OCR string |


---

## 📜 License

CAGUI is released under the **CC-BY-NC 4.0** license for **non-commercial research**.
Screenshots originate from publicly available Chinese apps and are used under fair-use for research purposes only. Remove them if local regulations require.

---

## ✏️ Citation

This benchmark is used for evaluating [AgentCPM-GUI](https://github.com/OpenBMB/AgentCPM-GUI). If our model and benchmark are useful for your research, please cite:

```bibtex
@misc{2025,
  author       = {THUNLP},
  title        = {AgentCPM-GUI},
  year         = {2025},
  publisher    = {GitHub},
  journal      = {GitHub repository},
  howpublished = {\url{https://github.com/OpenBMB/AgentCPM-GUI}}
}
```

---