by V0val0x
Cross-platform Rust + Tauri v2 + Kotlin Shadow DOM MCP server & persistent A* symbolic UI router for autonomous Android control (Windows, Linux, macOS)
# Add to your Claude Code skills
git clone https://github.com/V0val0x/DroidPathGuides for using ai agents skills like DroidPath.
See how DroidPath compares with popular alternatives.
DroidPath is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by V0val0x. Cross-platform Rust + Tauri v2 + Kotlin Shadow DOM MCP server & persistent A* symbolic UI router for autonomous Android control (Windows, Linux, macOS). It has 103 GitHub stars.
DroidPath's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/V0val0x/DroidPath" and add it to your Claude Code skills directory (see the Installation section above).
DroidPath is primarily written in Rust. It is open-source under V0val0x on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh DroidPath against similar tools.
No comments yet. Be the first to share your thoughts!
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
High-Performance Infrastructure & API for Autonomous Android AI Agents
Sub-millisecond Shadow DOM Streaming · Persistent A* Symbolic UI Router · Standardized OpenAI/Anthropic/MCP Tool Schemas · Opt-In Hybrid Vision · Headless Docker-Android Fleets
English | Русская версия (Russian) · Agent Integrations · Benchmarks · Headless Docker Fleets · Security · Changelog

Traditional Android automation tools were built for brittle QA scripts, and pure Vision-Language Model (VLM) loops burn thousands of tokens and 10+ seconds per task taking screenshots at every tap.
DroidPath is built from the ground up as an execution layer for autonomous AI agents:
Shadow DOM) from an on-device Kotlin daemon over loopback TCP, compiles screens into a persistent Spatial Graph (shadow_graph.json), and executes multi-screen workflows locally in Rust with 1 LLM call instead of 4–10.droidpath schemas), live HTTP (GET /schemas/openai.json, /schemas/anthropic.json, /schemas/mcp.json), or static files in schemas/ — zero custom parsers required.include_vision: true to android_get_ui_tree to receive both the structured UI tree and a downscaled, heavily compressed JPEG as multimodal MCP content (text + image). Strictly off by default and hard-blocked on FLAG_SECURE screens."Error". It returns structured, PII-redacted telemetry (screen_delta, newly appeared nodes, ranked closest_candidates, and suggested_next_actions) so agents recover in 1 turn.--daemon-port 0), ADB_SERVER_SOCKET routing, sys.boot_completed synchronization, and graceful SIGTERM shutdown.requires_confirmation) gating for hazardous actions (payments, transfers, deletes), automatic FLAG_SECURE / biometric pause, on-device password masking, and Luhn card / OTP PII redaction before hashing or persistence.Measured live over USB ADB on an unlocked Google Pixel 10a (com.android.settings, 54 interactive nodes) using node scripts/benchmark_agentic.mjs --mode live --json against compiled target/release/droidpath-mcp:
Live Pixel 10a Hardware Primitives & End-to-End Suite:
0.32 ms steady-state (41.89 ms cold connect) vs 2,423.9 ms adb uiautomator dump (7,575× faster · 10.7 KB vs 29.4 KB XML)Display, Battery, About phone): 100% success (3/3) at 603 ms avg Cold-Start (Seed Graph hydration) and 561 ms avg Warm A*include_vision: true, 540×1212 JPEG q45 + 54 nodes): 452.33 ms · 38.6 KB JPEG vs 658.1 ms · 235.3 KB raw PNG from adb screencap -p (6.1× smaller payload)Multi-Step Architecture & Cost Comparison ($3.00 / 1M input tokens · Replay Model):
| Architecture | Avg LLM Calls / Task | Avg Tokens / Task | Avg Task Time | Est. Cost / 1k Tasks | Live Success Rate |
|---|---|---|---|---|---|
| DroidPath (Shadow DOM + A* Router) | 1.0 | 39 (warm A*) / ~1,135 (cold tree) | 464 ms (561 ms live) | $0.12 | 100% (3/3 live) |
| Pure Vision (Screenshots + VLM) | 4.2 | 7,673 | 9,954 ms | $23.02 (192× higher) | — |
Appium / uiautomator XML |
4.2 | 29,400 | 8,946 ms | $88.20 (735× higher) | — |
Full hardware & replay methodology and reproduction commands are in docs/benchmarks.md.
Prerequisites: Android 8.0+ (API 26+) with USB/Wireless Debugging (no root, no companion APK) and adb (brew install android-platform-tools / winget install Google.PlatformTools / sudo apt install adb).
macOS & Linux:
curl -fsSL https://raw.githubusercontent.com/V0val0x/DroidPath/main/scripts/install.sh | bash -s -- --configure-mcp all --deploy
Windows (PowerShell):
$env:DROIDPATH_DEPLOY="1"; $env:DROIDPATH_CONFIGURE_MCP="all"; irm https://raw.githubusercontent.com/V0val0x/DroidPath/main/scripts/install.ps1 | iex
Verify installation and start the agent API:
droidpath-mcp doctor # Verify ADB, devices, daemon JAR & Spatial Graph
droidpath-mcp --stdio # Run MCP server over stdio (Claude, Cursor, Gemini CLI)
droidpath-mcp --http --port 8766 # Run loopback HTTP/SSE + /schemas/* API
droidpath-mcp schemas --format openai # Print standardized OpenAI function-calling schema
langchain-mcp-adapters)from langchain_mcp_adapters.client import MultiServerMCPClient
from langgraph.prebuilt import create_react_agent
async with MultiServerMCPClient({
"droidpath": {"command": "droidpath-mcp", "args": ["--stdio"], "transport": "stdio"}
}) as client:
agent = create_react_agent("anthropic:claude-3-7-sonnet-latest", client.get_tools())
await agent.ainvoke({"messages": [("user", "Open Display settings and enable Night Light.")]})
MCPServerAdapter)from crewai import Agent, Task, Crew
from crewai_tools import MCPServerAdapter
from mcp import StdioServerParameters
with MCPServerAdapter(StdioServerParameters(command="droidpath-mcp", args=["--stdio"])) as tools:
operator = Agent(role="Android Operator", goal="Execute Android workflows", backstory="...", tools=tools)
task = Task(description="Navigate to Battery Saver via android_navigate_to_node(auto_explore=true).", expected_output="Arrival JSON", agent=operator)
Crew(agents=[operator], tasks=[task]).kickoff()
# Export static JSON schemas or fetch live from http://127.0.0.1:8766/schemas/*
droidpath-mcp schemas --format openai > openai-tools.json
droidpath-mcp schemas --format anthropic > anthropic-tools.json
See docs/integrations.md for complete Python/TypeScript examples covering OpenAI SDK, Anthropic SDK (with opt-in hybrid vision), LangChain, CrewAI, MCP, and the Self-Correcting Feedback Loop.
Run parallel autonomous Android agents without any GUI or VNC overhead:
export DROIDPATH_AUTH_TOKEN="local-dev-token"
docker compose -f docker-compose.headless.yml up --build -d
--daemon-port 0) prevent TCP collisions across parallel workers.DROIDPATH_HEADLESS=1 waits for sys.boot_completed=1 and enables exponential backoff UiAutomation retries.ADB_SERVER_SOCKET routes ADB cleanly across Docker networks or to a host ADB server.See docs/headless-docker.md for fleet scaling and macOS/CI host-ADB recipes.
All 9 tools are exposed consistently across MCP (tools/list), OpenAI (schemas/openai-tools.json), and Anthropic (schemas/anthropic-tools.json):
| Tool | Role |
|---|---|
android_navigate_to_node |
Primary multi-hop A* graph router (auto_explore: true falls back to live discovery). |
android_explore_and_click |
Live Shadow DOM semantic search + bounded auto-scroll + graph edge recording. |
android_get_ui_tree |
Live compact UI tree inspection + opt-in hybrid JPEG vision (include_vision: true, blocked on FLAG_SECURE). |
android_graph_stats |
Read-only Spatial Graph telemetry (vertices, edges, active hash, daemon status). |
android_list_devices |
Enumerates connected USB, Wi-Fi, and emulator ADB targets. |
android_tap_element |
Direct pixel or selector tap with structured feedback telemetry on miss. |
android_swipe |
Zero-fling daemon touch swipe / drag with graph recording. |
android_type_text |
ASCII & Unicode text entry (safe shell quoting / clipboard paste) + optional ENTER. |
android_keyevent |
System & hardware keyevents (HOME, BACK, ENTER, APP_SWITCH, etc.). |
┌─────────────────────────────────────────────────────────────────────────┐
│ AI Agents (LangChain · CrewAI · Claude · Cursor · OpenAI · Anthropic) │
└───────────────────────────────┬─────────────────────────────────────────┘
│ MCP (stdio / HTTP+SSE) + /schemas/*.json