# Repository Briefing: wangzan101/Mika
> Source: https://repoforai.com/repo/wangzan101/Mika (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/wangzan101/Mika
- **Official Docs / Website**: https://mikaphone.com
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: Kotlin
- **License**: Apache-2.0
- **Engineering Health**: A+ (99/100 · Maintenance 35/35 · Adoption 24/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v0.1.54 (2026-12-04) — https://github.com/wangzan101/Mika/releases
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: Self-Hosted, API
- **Momentum**: 10,748 ★ total (+50 24h / +656 7d) · 2,372 forks
- **Topics**: `accessibility`, `ai-agent`, `android`, `automation`, `jetpack-compose`, `kotlin`, `llm`, `mobile-agent`
- **When to Use**: Best for: Android users and teams prototyping personal workflows that span native apps, signed-in websites, and phone data without occupying the main screen. Skip if: 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.

## Overview
```text
### Architecture & 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.
```

## Key Capabilities
```text
- Background control: A paired helper opens apps on a virtual display and combines UI structure with screenshot fallback.
- Android compatibility: Chat, web, and files start at Android 10; app control starts at Android 12, with Android 14+ recommended for separate display focus.
- Model connectivity: Use a provider API key or supported account sign-in, or point Custom at a LAN model endpoint.
- Phone data access: v0.1.52 adds permission-gated reads and writes for supported data, with UI fallback and confirmation for actions such as sending SMS.
- Extensibility: Import sandboxed skills from GitHub links, ZIP archives, or files; export mini-apps as `.mikaapp` bundles and access them through MCP.
- Remote operation: v0.1.54 adds direct Telegram, Discord, and Slack messaging with user-configured bot or app credentials and no Mika relay.
```

## Quick Start / Clone
```bash
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"]
```
