What is Roubao and how does it work?
mainRoubao is an open-source AI Android automation assistant that runs natively on Android devices using Kotlin. Unlike traditional automation tools that require a computer and Python environment, Roubao performs screenshot capture, analysis, and execution locally on the phone.
Core Architecture: Tools + Skills
Inspired by Claude Code, Roubao uses a dual-layer architecture to translate natural language into phone actions:
- Tools Layer (Atomic Capabilities): Low-level functions that perform single operations, such as
search_apps,open_app,deep_link,clipboard,shell, andhttp. - Skills Layer (User Intent): High-level tasks that map natural language to specific workflows. Skills use two execution modes:
- Delegation: For high-confidence matches, Roubao uses a
deep_linkto jump directly to an AI-capable app (e.g., opening Xiaomei AI to order food). - GUI Automation: For apps without built-in AI (e.g., WeChat, Meituan), Roubao uses a Vision Language Model (VLM) to perform a "screenshot-analyze-operate" loop to navigate the interface.
- Delegation: For high-confidence matches, Roubao uses a