π Welcome to the M3A Agent Powered by Aria-UI for AndroidWorld!
Weβre thrilled to release the M3A Agent powered by Aria-UI! π This integration enhances task success rates and brings seamless grounding instruction understanding to AndroidWorld. Follow the steps below to get started. π
π οΈ How to Use M3A Agent with AndroidWorld
1οΈβ£ Clone AndroidWorld and Set Up the Environment
First, clone the latest version of AndroidWorld and install the required dependencies:
git clone https://github.com/google-research/android_world.git
cd android_world
For more details, check out the official AndroidWorld GitHub repository.
2οΈβ£ Merge M3A Agent Files with AndroidWorld
Weβve organized our files to match AndroidWorldβs directory structure. To integrate:
- Merge the provided
agents/andenv/directories with the respective directories in AndroidWorld. - Place
run_aria_ui.pyin the root directory of AndroidWorld.
After merging, your directory structure should look like this:
AndroidWorld/
βββ agents/
β βββ aria_ui_utils.py
β βββ m3a_aria_ui.py
βββ env/
β βββ json_action.py
βββ run_aria_ui.py
...
3οΈβ£ Deploy Aria-UI API π
Under AndroidWorld/agents/aria_ui_utils.py, youβll find how we connect to Aria-UI using an API. Follow these steps to set it up:
- Deploy Aria-UI with vLLM to serve an OpenAI-style API. Reference the vLLM OpenAI-Compatible Server.
- Update the API key and base URL in
aria_ui_utils.pyto match your deployment. Replace the placeholders with your values:
ariaui_api_key = "ariaui_api_key"
ariaui_api_base = "ariaui_api_base"
Note: You may also set up a simple API server with the vLLM inference script and FastAPI.
4οΈβ£ Run the M3A Agent π
Once everything is set up, run the agent with the following command:
python run_aria_ui.py
Sit back and watch Aria-UI in action! π
π‘ Additional Notes
For troubleshooting or further customization, explore aria_ui_utils.py and m3a_aria_ui.py to understand how Aria-UI is integrated.
Enjoy using the M3A Agent powered by Aria-UI! π