Understanding the ReAct Agent system in DroidRun
Goal Setting
Reasoning
Action Selection
Execution
Observation
Further Reasoning
UI Interaction
tap(index)
- Tap on a UI element by its indexswipe(start_x, start_y, end_x, end_y)
- Swipe from one point to anotherinput_text(text)
- Type text into the current fieldpress_key(keycode)
- Press a specific key (e.g., HOME, BACK)App Management
start_app(package)
- Launch an app by package namelist_packages()
- List installed packagesinstall_app(apk_path)
- Install an app from APKuninstall_app(package)
- Uninstall an appUI Analysis
take_screenshot()
- Capture the current screen (vision mode only)get_clickables()
- Identify clickable elements on screenextract(filename)
- Save complete UI state to a JSON fileTask Management
complete(result)
- Mark the task as complete with a summary