About Android Agent
Android Agent is an MCP server published by ghost-in-the-droid in the Data category: give any AI agent a real phone: Android over ADB, iPhone over WebDriverAgent. 66 MCP tools, a Skill Hub with 117 skills for 113 apps, and human-in-the-loop steps (a person solves the captcha, the agent carries on). Conduid read 66 tools from its source: app_state, browser_back, classify_screen, clear_notifications, clipboard_get, clipboard_set and 60 more. It is published to PyPI as ghost-in-the-droid and runs with uvx.
The repository has 438 stars and 53 forks, is licensed MIT, and its last commit was on 15 Nov 2026. The latest release is v1.6.0 (14 Nov 2026): Ghost in the Droid v1.6.0: Skill System v2 and the Ghost Skill Hub Ghost 1.6 replaces the v1 skill runtime with a declarative, content-pinned Skill System v2 and ships t… It follows v1.5.1 (31 Jul 2026), and the 5 most recent releases go back to v1.3.1 (19 Jul 2026). It passes all 4 static checks Conduid ran on the repository. Its topics include android, automation, browser-use, mobile, mobile-security and ocs-deployment.
Install
uvx ghost-in-the-droidpip install ghost-in-the-droidgit clone https://github.com/ghost-in-the-droid/android-agentTools (66)
app_stateCheck whether an Android package or iOS bundle id is installed, running, or foreground.| Parameter | Type | Description |
|---|---|---|
| device * | string | |
| package * | string |
browser_backNavigate back in the current browser/app context.| Parameter | Type | Description |
|---|---|---|
| device * | string |
classify_screenClassify the current screen: what app, what type of screen (home, search, profile,| Parameter | Type | Description |
|---|---|---|
| device * | string |
clear_notificationsDismiss visible notifications when the platform exposes a clear control.| Parameter | Type | Description |
|---|---|---|
| device * | string |
clipboard_getGet the current clipboard text from the device.| Parameter | Type | Description |
|---|---|---|
| device * | string |
clipboard_setSet clipboard text on the device. Use with press_key(PASTE) to paste into fields.| Parameter | Type | Description |
|---|---|---|
| device * | string | |
| text * | string |
create_skillCreate a new reusable skill from a JSON list of recorded steps.| Parameter | Type | Description |
|---|---|---|
| app_package * | string | |
| elements_android | string | |
| elements_ios | string | |
| ios_bundle_id | string | |
| name * | string | |
| platforms | string | |
| steps * | string |
device_healthRun a comprehensive device health check.| Parameter | Type | Description |
|---|---|---|
| device * | string |
draft_skillDistil the device's most recent chat conversation into draft replayable steps for a HARD skill.| Parameter | Type | Description |
|---|---|---|
| device * | string |
explore_appExplore an app's UI autonomously using BFS.| Parameter | Type | Description |
|---|---|---|
| device * | string | |
| max_depth | integer | |
| max_states | integer | |
| package * | string |
extract_articlesExtract likely visible article/headline candidates from the current browser page.| Parameter | Type | Description |
|---|---|---|
| device * | string | |
| max_items | integer |
extract_visible_textExtract visible text from the current screen with browser chrome filtered by default.| Parameter | Type | Description |
|---|---|---|
| device * | string | |
| include_controls | boolean | |
| max_lines | integer |
find_on_screenFind specific text on the screen and return its location.| Parameter | Type | Description |
|---|---|---|
| device * | string | |
| text * | string |
find_skillFind the installed skill action that matches a natural-language intent.| Parameter | Type | Description |
|---|---|---|
| intent * | string | |
| top | integer |
fix_device_healthApply a recovery action returned by device_health.recommended_fix.| Parameter | Type | Description |
|---|---|---|
| device * | string | |
| issue * | string |
force_stopForce-stop an Android package or terminate an iOS bundle id.| Parameter | Type | Description |
|---|---|---|
| device * | string | |
| package * | string |
get_crashReturn the full stack trace of the MOST RECENT crash (from the crash buffer).| Parameter | Type | Description |
|---|---|---|
| device * | string | |
| package | string |
get_current_urlGet the current browser URL when the platform exposes it.| Parameter | Type | Description |
|---|---|---|
| device * | string |
get_elementsGet all UI elements on the current screen as a JSON array.| Parameter | Type | Description |
|---|---|---|
| device * | string | |
| interactive_only | boolean |
get_notificationsGet active notifications. Returns JSON array of {package, title, text}.| Parameter | Type | Description |
|---|---|---|
| device * | string |
get_phone_stateGet current app, activity, keyboard state, and focused element.| Parameter | Type | Description |
|---|---|---|
| device * | string |
get_screen_treeGet an LLM-friendly indented UI hierarchy of the current screen.| Parameter | Type | Description |
|---|---|---|
| device * | string |
get_screen_xmlGet the raw normalized UI XML dump from the device.| Parameter | Type | Description |
|---|---|---|
| device * | string |
get_skill_notesReturn the SOFT.md reference notes of a skill (app layout, ids, first-launch dialogs, failure modes).| Parameter | Type | Description |
|---|---|---|
| name * | string |
get_stream_infoReturn effective stream metadata without opening the stream.| Parameter | Type | Description |
|---|---|---|
| device * | string | |
| fps | integer | |
| mode | string | |
| quality | integer |
launch_appLaunch an app by Android package name or iOS bundle id. Use search_apps() to find it.| Parameter | Type | Description |
|---|---|---|
| device * | string | ADB serial or ios:<udid>. |
| fresh | boolean | If True, force-stop the app first (cold start, clears in-memory state — back stack, unsaved drafts, login flow position, etc.). If False (default), reuses any existing background instance (warm start — resumes wherever the user left off). Use fresh=True for benchmarks, fresh start of a flow, or when the current app state would interfere with the task. |
| package * | string | App package name or iOS bundle id, e.g. "com.android.chrome" or "com.google.chrome.ios". |
launch_intentLaunch a full Android intent. More powerful than launch_app().| Parameter | Type | Description |
|---|---|---|
| action | string | |
| data | string | |
| device * | string | |
| extras | string | |
| package | string |
list_appsList installed apps with human-readable names and package names or bundle ids.| Parameter | Type | Description |
|---|---|---|
| device * | string |
list_crashesList recent app crashes and ANRs (from the logcat crash buffer, no root).| Parameter | Type | Description |
|---|---|---|
| device * | string | |
| limit | integer | |
| package | string |
list_devicesList connected Android ADB devices and configured iOS Appium devices.list_packagesList raw Android package names or iOS bundle ids. Prefer list_apps() for display names.| Parameter | Type | Description |
|---|---|---|
| device * | string |
list_skillsList all installed mobile automation skills with their actions, workflows, and platform support.| Parameter | Type | Description |
|---|---|---|
| device | string | |
| supported_only | boolean |
long_pressLong press at coordinates. Use for context menus, drag initiation, etc.| Parameter | Type | Description |
|---|---|---|
| device * | string | |
| duration_ms | integer | |
| x * | integer | |
| y * | integer |
ocr_regionOCR a specific region of the screen. Coordinates in device pixels.| Parameter | Type | Description |
|---|---|---|
| device * | string | |
| x1 * | integer | |
| x2 * | integer | |
| y1 * | integer | |
| y2 * | integer |
ocr_screenOCR the entire device screen using RapidOCR. Returns all visible text with positions.| Parameter | Type | Description |
|---|---|---|
| device * | string |
open_cameraOpen the platform camera app in a specific mode.| Parameter | Type | Description |
|---|---|---|
| device * | string | ADB serial or ios:<udid>. |
| mode | string | One of: "photo" — rear camera, photo mode (default) "video" — rear camera, video/record mode "selfie" — front camera, photo mode "selfie_video" — front camera, video mode |
| timer_s | integer | Self-timer delay in seconds. Supported: 0 (off), 2, 3, 5, 10. Uses UI automation — snaps to the closest value the device supports (ASUS: 3s/10s, Samsung: 2s/5s/10s). 0 = no timer (default). |
open_notificationsPull down the notification shade or iOS Notification Center.| Parameter | Type | Description |
|---|---|---|
| device * | string |
open_urlOpen a URL in the platform browser.| Parameter | Type | Description |
|---|---|---|
| bundle_id | string | |
| device * | string | |
| url * | string |
paste_textSet clipboard text and immediately paste it into the currently focused field.| Parameter | Type | Description |
|---|---|---|
| device * | string | |
| text * | string |
press_backPress Back on Android or the best available iOS browser/navigation back action.| Parameter | Type | Description |
|---|---|---|
| device * | string |
press_homePress the platform Home button. Returns to the home screen.| Parameter | Type | Description |
|---|---|---|
| device * | string |
press_keySend a platform key event.| Parameter | Type | Description |
|---|---|---|
| device * | string | |
| key * | string |
read_newsOpen a news page and return structured headlines plus article snippets.| Parameter | Type | Description |
|---|---|---|
| bundle_id | string | |
| device * | string | |
| max_articles | integer | |
| max_headlines | integer | |
| save_screenshots | boolean | |
| url | string | |
| wait_s | number |
run_actionRun a single skill action on the device.| Parameter | Type | Description |
|---|---|---|
| action * | string | |
| device * | string | |
| params | string | |
| skill * | string |
run_flowRun an ordered batch of tool calls server-side in ONE round-trip.| Parameter | Type | Description |
|---|---|---|
| device * | string | |
| steps * | string |
run_skillRun a v2 skill; needs_input returns a token for run_skill_resume.| Parameter | Type | Description |
|---|---|---|
| action * | string | |
| device | string | |
| name * | string | |
| params | any | |
| state_params | any |
run_skill_resumeContinue a paused skill using a schema-typed JSON answer.| Parameter | Type | Description |
|---|---|---|
| answer * | string | |
| secrets | string | |
| token * | string |
run_workflowRun an installed skill workflow on the device.| Parameter | Type | Description |
|---|---|---|
| device * | string | |
| params | string | |
| skill * | string | |
| workflow * | string |
save_skillSave the device's current chat conversation as a reusable skill.| Parameter | Type | Description |
|---|---|---|
| app_package | string | |
| description | string | |
| device * | string | |
| guidance | string | |
| kind | string | |
| name * | string | |
| steps | string |
screen_recording_statusReturn active screen recording status for a device.| Parameter | Type | Description |
|---|---|---|
| device * | string |
screenshotTake a screenshot of the device screen. Returns a base64-encoded JPEG.| Parameter | Type | Description |
|---|---|---|
| device * | string |
screenshot_annotatedTake a screenshot with numbered element labels overlaid on interactive elements.| Parameter | Type | Description |
|---|---|---|
| device * | string |
screenshot_croppedTake a screenshot of a specific region of the screen.| Parameter | Type | Description |
|---|---|---|
| device * | string | |
| x1 * | integer | |
| x2 * | integer | |
| y1 * | integer | |
| y2 * | integer |
search_appsSearch installed apps by name. Case-insensitive. Returns Android packages or iOS bundle ids.| Parameter | Type | Description |
|---|---|---|
| device * | string | |
| query * | string |
speak_textMake the phone speak text aloud using its built-in TTS engine.| Parameter | Type | Description |
|---|---|---|
| device * | string | ADB serial. This tool is Android-only. |
| rate | number | Speech rate multiplier (0.5 = slow, 1.0 = normal, 1.5 = fast). |
| text * | string | Text to speak. |
start_screen_recordingStart recording the device screen.| Parameter | Type | Description |
|---|---|---|
| device * | string | |
| filename | string |
stop_screen_recordingStop a running device screen recording and save the MP4.| Parameter | Type | Description |
|---|---|---|
| device * | string |
swipeSwipe from (x1,y1) to (x2,y2). Use for scrolling, pulling down notifications, etc.| Parameter | Type | Description |
|---|---|---|
| device * | string | |
| duration_ms | integer | |
| x1 * | integer | |
| x2 * | integer | |
| y1 * | integer | |
| y2 * | integer |
tapTap at exact pixel coordinates (x, y) on the device screen.| Parameter | Type | Description |
|---|---|---|
| device * | string | |
| x * | integer | |
| y * | integer |
tap_elementTap a UI element by its index from get_elements().| Parameter | Type | Description |
|---|---|---|
| device * | string | |
| idx * | integer |
toggle_overlayToggle the numbered element overlay on the device screen.| Parameter | Type | Description |
|---|---|---|
| device * | string | |
| visible | boolean |
type_textType text into the currently focused input field.| Parameter | Type | Description |
|---|---|---|
| device * | string | |
| text * | string |
type_unicodeType unicode text into the focused field.| Parameter | Type | Description |
|---|---|---|
| device * | string | |
| text * | string |
waitPause execution for a fixed number of seconds.| Parameter | Type | Description |
|---|---|---|
| seconds | number |
wait_for_textWait until text appears on screen and return visible text context.| Parameter | Type | Description |
|---|---|---|
| device * | string | |
| text * | string | |
| timeout | number |
web_searchOpen a web search in whatever browser is on the device.| Parameter | Type | Description |
|---|---|---|
| bundle_id | string | Optional iOS browser bundle id override, e.g. com.google.chrome.ios. |
| device * | string | ADB serial or ios:<udid>. |
| engine | string | "google" (default), "ddg" / "duckduckgo", "bing", or "brave". |
| query * | string | Free-text search terms (don't pre-escape — handled here). |
Security checks
Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 3.3K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by frontend/package-lock.json and site/package-lock.json.
2 checks have not been run yet.
Releases
README
The repository's README runs to about 3.3K words, fetched 2 days ago. The original in the repository is authoritative.
Read full README