๐Ÿค– Mobile AI Agents & Automation ๐Ÿ“ฑ GitHub Breakout ยท +889โ˜…/day

Mika AI Agent: Complete Setup Guide, On-Device Architecture & Cloud Scaling (2026)

Quick Answer (TL;DR for AI Search):
Mika (wangzan101/Mika) is a breakout open-source on-device AI agent for Android that executes natural language tasks by operating third-party apps and the web on a hidden background virtual displayโ€”allowing users to continue browsing their phones uninterrupted. Built on Kotlin, Jetpack Compose, an arm64 Linux sandbox, and wireless ADB automation, Mika pairs directly with multi-modal LLMs via OpenRouter (Claude 3.5 Sonnet, GPT-4o, DeepSeek-V3). For developers running 24/7 autonomous mobile scraping or agent fleets without draining local phone batteries, headless Android instances can be provisioned on RunPod or Vast.ai cloud GPUs.

Best Tools to Run Mobile AI Agents & Vision-Language Models (2026 Stack)


Side-by-Side Comparison: Mobile Agent Architectures

FeatureMika (wangzan101/Mika)ByteDance UI-TARSMobile-Agent v2 (Alibaba)AppAgent (Tencent)Cloud Headless Playwright
Execution EnvironmentOn-Device Android (Virtual Display)Local / Server GUI + ModelPython Host + ADB BridgePython Host + ADB BridgeLinux Headless Browser
User InterruptionZero (Runs on hidden background screen)Full (Takes over desktop screen)Full (Takes over physical phone)Full (Takes over physical phone)Zero (Headless cloud server)
App CompatibilityNative Android Apps + Built-in BrowserDesktop OS, Web, Mobile EmulatorsNative Android AppsNative Android AppsWeb applications only
LLM InferenceBYOK API (OpenAI / Claude / OpenRouter)Self-hosted UI-TARS 7B/72B VLMGPT-4o / Qwen-VL APIsGPT-4V / Gemini APIsAny LLM / Claude Computer Use
Local Script SandboxBuilt-in arm64 Linux sandboxOS TerminalPython Host ProcessPython Host ProcessDocker Container
LicenseApache-2.0 (Open Source)Apache-2.0Apache-2.0MIT LicenseApache-2.0

Mika Technical Architecture: How Background Execution Works

Traditional mobile automation frameworks (such as Appium or standard accessibility services) seize control of the user's active screen, causing jarring input collisions whenever the user attempts to tap another app. Mika circumvents this using a 4-layer architecture:

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                      User Prompts                      โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                           โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚           Mika App Coordinator (Kotlin / Compose)       โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚  Wireless ADB Service    โ”‚     arm64 Linux Sandbox     โ”‚
โ”‚  (Virtual Display Mgr)   โ”‚     (Local Script Runner)   โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
             โ–ผ                            โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Hidden Background Screen โ”‚ โ”‚ Vision-Language Inference โ”‚
โ”‚ (Runs WeChat, Chrome,    โ”‚ โ”‚ (OpenRouter / Claude /    โ”‚
โ”‚  Taobao, RedNote, etc.)  โ”‚ โ”‚  GPT-4o Vision Endpoints) โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
  1. Virtual Display Allocation: Via wireless ADB, Mika creates a private secondary virtual display (Presentation / VirtualDisplay). Targeted applications are launched directly inside this display without rendering over the user's primary viewport.
  2. Deterministic UI State Reflection: Mika captures accessibility node hierarchies and layout bounds, falling back to pixel screenshots only when dynamic canvasses or web views require multimodal vision grounding.
  3. Local arm64 Sandbox: Includes a self-contained Linux shell environment on the device, allowing the agent to parse JSON payloads, execute curl requests, and format text outputs without round-tripping to an external server.
  4. Privacy-First Zero Server Footprint: Mika does not host a centralized intermediary server. All vision-action prompts stream directly from your device to your configured model endpoint (e.g., OpenRouter).

Step-by-Step Setup: Installing & Configuring Mika

Step 1: Install APK and Enable Wireless Debugging

  1. Download the latest release APK from the official wangzan101/Mika Releases.
  2. Open Android Developer Options on your device (Android 13+ required, Android 14+ recommended).
  3. Toggle on Wireless Debugging, tap Pair device with pairing code, and follow the in-app pairing wizard to enter the 6-digit PIN and port.

Step 2: Configure Vision Model Routing via OpenRouter

To prevent high latency and rate-limit drops during long multi-step workflows, configure OpenRouter as your model provider:

  1. Obtain an API key from OpenRouter.
  2. In Mika Settings โ†’ Model Provider, select OpenAI-Compatible Endpoint:
    • Base URL: https://openrouter.ai/api/v1
    • API Key: sk-or-v1-...
    • Model Name: anthropic/claude-3.5-sonnet (for highest GUI instruction-following precision) or openai/gpt-4o-mini (for low-cost routine queries).

Running Mika on Headless Cloud GPUs (RunPod & Vast.ai)

While running Mika on a personal phone is ideal for daily personal tasks, production workflows (such as continuous social monitoring, automated price tracking, or feeding intelligence into WaveWeaver for creator content ops) require dedicated 24/7 cloud infrastructure:

Why Deploy Android Agents on Cloud GPUs?

# Example docker run on RunPod Ubuntu 22.04 + NVIDIA Container Toolkit
docker run -itd --rm --privileged \
  --pull always \
  -v /data:/data \
  -p 5555:5555 \
  redroid/redroid:14.0.0-latest \
  androidboot.hardware=mt6895 \
  ro.secure=0 \
  ro.boot.hwc=DRM_GRALLOC \
  ro.opengles.version=196610

# Connect remote ADB and install Mika
adb connect localhost:5555
adb install Mika-latest.apk

Troubleshooting Common Mika Runtime Issues

  1. Wireless ADB Port Shifts on Wi-Fi Reconnect: Android scrambles the wireless debugging port each time the device reconnects to a Wi-Fi network. Workaround: For static home or office environments, run adb tcpip 5555 once over USB to pin ADB to port 5555.
  2. App Crash on Android 12 or Below: Mika's virtual display management and arm64 sandbox primitives rely on API level 33 (Android 13)+. Devices running Android 11 or 12 can only run basic foreground tasks.
  3. Context Window Exhaustion during Long Web Browsing Tasks: When Mika navigates deeply nested web pages, DOM token size explodes. Switch your model configuration to anthropic/claude-3.5-sonnet via OpenRouter to leverage its 200k context window and precise vision grounding.

Frequently Asked Questions (FAQ)

What is wangzan101 Mika?

wangzan101/Mika is an open-source on-device AI agent for Android devices that carries out complex multi-step tasks across installed apps and web pages on a hidden background virtual display without interrupting the user's primary screen.

Does Mika require root access?

No. Mika operates without root access. It uses standard Android Wireless Debugging (ADB pairing) and an embedded arm64 Linux sandbox to execute commands and manage background virtual displays.

What LLM backends does Mika support?

Mika supports any OpenAI-compatible API endpoint, Anthropic Claude, Google Gemini, and OpenAI Responses endpoints. Developers can route traffic through OpenRouter to switch between models like Claude 3.5 Sonnet, GPT-4o, and DeepSeek.

Can I run Mika 24/7 on cloud servers?

Yes. By deploying a containerized Android emulator like Redroid on GPU-accelerated cloud instances such as RunPod or Vast.ai, you can run automated Mika agent tasks 24/7 without consuming your personal phone's battery.


โšก RunPod Cloud GPUs

5% Lifetime Referral ยท Instant CUDA 13 Pods

Rent CUDA 13 GPU on RunPod โ†’

๐Ÿ’ป Vast.ai GPU Cloud

Lowest Cost Bare-Metal GPUs

Check GPU Prices on Vast.ai โ†’

๐ŸŽ™ ElevenLabs Voice AI

Ultra-Realistic AI Dubbing & Cloning

Try ElevenLabs Free โ†’

๐Ÿ”— Related Open-Source AI Benchmarks & Deployment Guides

  • deepseek-ai/DeepInfer โ€” DeepSeek's production inference engine for DeepSeek-V4.1-Flash. Compare DeepInfer vs. vLLM & SGLang, understand SM100/CUDA 13 hardware locks, and deploy on cloud GPUs.
  • designfuchen/word-atlas โ€” Illustrated IELTS vocabulary app with 7,298 words, dual UK/US audio, WebGL2 3D vocabulary galaxy, and FSRS spaced repetition (MIT code + CC BY 4.0 dataset).
  • Zagitta/gpu-unlock โ€” Unlock 2x FP16/BF16/TF32 Tensor Core throughput on GeForce RTX 20/30/40 series GPUs on Linux without VBIOS flashing, or compare with unthrottled cloud GPUs.
  • mistralai/Mistral-Large-4-1T-A52B โ€” Mistral's 1-trillion-parameter (52B active) multimodal MoE with 1M context and DSpark 1.9x speculative decoding. Compare BF16 vs NVFP4 VRAM requirements and deploy on cloud GPUs.
  • BuildRun Radar Hub โ€” Browse all breakout GitHub AI benchmarks and cloud GPU guides.