Datasets:

Modalities:
Tabular
Text
Formats:
json
Size:
< 1K
ArXiv:
Libraries:
Datasets
pandas
License:
File size: 3,541 Bytes
f2d4314
 
b022e3d
 
 
 
 
 
 
 
f2d4314
b022e3d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---

license: cc-by-nc-sa-4.0
language:
- en
- zh
tags:
- GUI
- Agent
size_categories:
- n<1K
---


<div align="center">
<img src="./assets/title.png"></img> 

<img src="./assets/overview.png" width="500em" ></img>

**๐ŸŽฎ MobA manipulates mobile phones just like how you would.**

๐ŸŒ [Website](https://github.com/OpenDFM/MobA) | ๐Ÿ“ƒ [Paper](https://arxiv.org/abs/2410.13757/) | ๐Ÿค— [MobBench](https://huggingface.co/datasets/OpenDFM/MobA-MobBench) | ๐Ÿ—ƒ๏ธ [Code](https://github.com/OpenDFM/MobA)

[็ฎ€ไฝ“ไธญๆ–‡](./README_zh.md) | English

</div>


## ๐Ÿ”ฅ News

- **[2024.10.18]** We open-source MobA on [GitHub](https://github.com/OpenDFM/MobA), and our paper is available on [arXiv](https://arxiv.org/abs/2410.13757).

## ๐Ÿ“– Introduction

Current mobile assistants are limited by dependence on system APIs or struggle with complex user instructions and diverse interfaces due to restricted comprehension and decision-making abilities. To address these challenges, we propose MobA, a novel Mobile phone Agent powered by multimodal large language models that enhances comprehension and planning capabilities through a sophisticated two-level agent architecture. The high-level Global Agent (GA) is responsible for understanding user commands, tracking history memories, and planning tasks. The low-level Local Agent (LA) predicts detailed actions in the form of function calls, guided by sub-tasks and memory from the GA. Integrating a Reflection Module allows for efficient task completion and enables the system to handle previously unseen complex tasks. MobA demonstrates significant improvements in task execution efficiency and completion rate in real-life evaluations, underscoring the potential of MLLM-empowered mobile assistants. 

## ๐Ÿ”ง Deployment

> MobA is still under development, and we are keeping updating the code. Please stay tuned!

### System Requirements

Make sure you have installed [Android Debug Bridge (ADB)](https://developer.android.google.cn/tools/adb), and you have connected your Android device to your computer. You should be able to see your devides with command `adb devices`.

### Environment Setup

```shell

conda create -n moba python=3.12

conda activate moba

pip install numpy opencv-python openai generativeai pillow colorama

```

You may also use `requirements.txt` to install the required packages (However it is not recommended since there are many unused packages).

### Run MobA

You need to specify the configuration file in `config.yaml` before running MobA. You can find the configuration file in the `moba` folder.

```bash

vim ./moba/config.yaml

cd ./moba/agent

python executor.py

```

You should be able to run MobA smoothly on Windows now. You can find MobBench, the fifty tasks we tested in the paper, on [huggingface](https://huggingface.co/datasets/OpenDFM/MobA-MobBench).

## ๐Ÿ“‘ Citation

If you find our work useful, please cite us!

```bib

@misc{zhu2024moba,

      title={MobA: A Two-Level Agent System for Efficient Mobile Task Automation}, 

      author={Zichen Zhu and Hao Tang and Yansi Li and Kunyao Lan and Yixuan Jiang and Hao Zhou and Yixiao Wang and Situo Zhang and Liangtai Sun and Lu Chen and Kai Yu},

      year={2024},

      eprint={2410.13757},

      archivePrefix={arXiv},

      primaryClass={cs.MA},

      url={https://arxiv.org/abs/2410.13757}, 

}

```

## ๐Ÿ“ง Contact Us

If you have any questions, please feel free to contact me via email `[email protected]`.