wangzan101/Mika
On-device Android agent that operates apps and the web on a background display
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Mika is a Kotlin Android app that runs the task loop on the phone and calls a user-selected model endpoint for reasoning. For app control, a helper paired over wireless debugging launches Android apps on a virtual display. Mika reads the accessibility UI structure first, uses screenshots when the structure is insufficient, and chooses the next interaction from that context. The virtual display separates task execution from the foreground screen; Android 14+ is recommended because separate display focus reduces interference with foreground typing and supports concurrent tasks from different conversations.
The execution paths extend beyond UI control: a built-in browser keeps site sessions and supports downloads and uploads, permission-gated tools access phone data directly, and an arm64 Linux sandbox handles local code execution. The repository has Gradle build files and separate app/, core/, companions/, and plugins/ directories, with an architecture reference at docs/dev/architecture.md. MCP works in both directions: Mika can connect to external MCP servers, and desktop agents can use MCP to list, query, and operate Mika mini-apps.
Key Capabilities & Differentiators
Mika combines native app and web interaction with scheduled tasks, reusable templates, multi-step workflows, and step-by-step replay of taps and text entry. It can read supported data such as notifications, contacts, calendars, and usage history, and write supported data such as contacts and calendar entries when granted permission. Direct access avoids a UI round trip; when permissions are missing, Mika falls back to operating the interface. Sending SMS, uninstalling apps, and clearing app data still require confirmation. For file work, the arm64 sandbox can run Python to produce artifacts such as charts, while Mika can also assemble receipt images into a PDF.
Model setup supports API keys, ChatGPT, xAI, and OpenRouter account sign-in, plus a Custom provider for a reachable LAN endpoint. Offline speech packs support dictation without a network connection; that does not make model inference offline. Mini-apps can ingest scheduled, web, or notification data, undo individual writes, restore an earlier version, and move between installations as .mikaapp packages. Imported skills can come from GitHub links, ZIP archives, or files, with scripts run in a sandbox. Call handling depends on the device's call-audio support; on some phones the other party cannot hear the AI.
Trade-offs & Limitations
Compared with a browser-only agent, Mika can continue a task across native Android apps and phone data without an API integration for every app. Compared with fixed Android automation scripts, model-driven UI interpretation is better suited to variable requests, but it is less predictable for a stable workflow that needs reproducible tests. Protected password and payment screens can block capture and require takeover, while device-specific Android behavior can complicate pairing and background execution. Default Ask mode focuses on spending approval rather than review of every action, so use task replay and verify the results of consequential runs.
Local orchestration removes the need for a Mika backend, not necessarily the need to share data off-device. Chats and run records are kept on the phone, but the selected inference provider can receive prompts and screen content. Hosted models add provider billing and network dependence; a LAN model keeps the inference path under your control but shifts model serving and capacity planning to you. Apache-2.0 permits commercial use and redistribution under its conditions, but it does not grant permission to automate a third-party app or bypass its terms.
Hardware & Deployment Guide
Install the release APK, configure a model in Settings, and pair wireless debugging with the phone-control wizard if native app operation is needed. Normal use needs neither root nor a permanently tethered computer. Chat, web, and files work on Android 10+ without pairing; native control requires Android 12+, Android 14+ is recommended, and the Linux sandbox requires arm64. If wireless debugging is unavailable, the helper can be started over USB. Wi-Fi changes or reboots can interrupt the wireless connection; run the built-in compatibility check before relying on unattended tasks and be prepared to reconnect or re-pair.
There is no Mika server to provision. A hosted model is billed by its provider; self-hosted inference goes through a LAN endpoint configured under Custom, with compute sized separately from the Android app. The recent releases expand the operational surface: v0.1.52 added offline speech packs and direct phone-data access; v0.1.53 added mini-apps and sandboxed skill imports; and v0.1.54 added direct Telegram, Discord, and Slack messaging with user-configured credentials and no Mika relay. Treat those remote messaging credentials as access to a device-capable agent, not as ordinary chat-only tokens.
.mikaapp bundles and access them through MCP.Android users and teams prototyping personal workflows that span native apps, signed-in websites, and phone data without occupying the main screen.
You need deterministic unattended execution, consistent behavior across a mixed device fleet, or a deployment that sends no screen data off-device but cannot host its own inference endpoint.
Quick Start & Installation
flowchart LR
you["What you say"] --> mika["Mika<br/>(on your phone)"]
mika <--> model["Model provider you pick"]
mika --> screen["Background screen<br/>phone helper + accessibility"] --> apps["Apps on the phone"]
mika --> web["Built-in browser"] --> sites["Websites"]
mika --> data["Phone data<br/>SMS, calendar, contacts…"]
mika --> box["Linux sandbox"]
mika --> call["Calls<br/>real-time voice"]Comparison vs. Top Agents & Frameworks Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| Mika ★ | 10.7k | +656 | Kotlin | Apache-2.0 | On-device Android agent that operates apps and the web on a background display |
| cua | 34.1k | +973 | Rust | MIT | Rust-backed sandboxes and cross-OS desktop controls for computer-use agents |
| n8n | 213.1k | +787 | TypeScript | — | Visual Node.js platform for self-hosted workflows and multi-step AI agents |
| dify | 162.4k | +370 | Python | — | Visual workflow and RAG workspace for building and serving LLM apps |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/wangzan101/Mika.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about Mika
How does Mika control Android apps, and how can I integrate it with a desktop agent?
Do I need a GPU, and what hardware should I provision?
Can we use Mika commercially and keep the deployment under our control?
When is Mika a better fit than Android scripts or browser-only agents?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy