Mobile Harness
Turns an ARM64 Android phone into a rootless Ubuntu coding workspace where CLI agents chat, run Linux commands, edit files, and build APKs.
- Source repo
- techjarves/Mobile-Harness
- Stars
- ★ 1k
- Last updated
- 4d ago
- FARS reviewed
- Dec 04, 2026
- License
- MIT
- Primary language
- Kotlin
- FA score
- 43/100 · Major gaps
At a glance
- How it runs
- Works with
- Platform-specificClaude Code · Claude API
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- A solo developer commuting with only an Android phone who wants to keep editing a repo and run a build before getting back to a desk.
- Not a fit if
- Users on 32-bit or x86 Android phones
- Teams that need Docker, KVM, or systemd on the device
- Anyone who must run untrusted code inside a hardened sandbox
- Website
- techjarves.github.io/Mobile-Harness ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-30
- Source review
- 43/100 · Major gaps
What does this agent do, and when should you use it?
Mobile Harness is a native Android app (Kotlin plus Jetpack Compose) that packs an AI coding-agent workspace together with a private Ubuntu 20.04 ARM64 userland running under PRoot — no root, no unlocked bootloader, no Termux. An agent registry drives Claude Code, DeepSeek Harness, and the official Antigravity CLI, each with its own driver, settings, and resumable per-project conversation. Through a C++ JNI process bridge those agents execute real Linux commands, read and edit project files, and review diffs inside the PRoot environment, with output streamed back into the in-app terminal. Vite, Next.js, or Express servers can be previewed in a sandboxed WebView with console telemetry, and once the Android toolchain is installed the workspace play button builds a debug APK and hands it straight to the system package installer, skipping USB or wireless ADB pairing. API keys are sealed with Android Keystore-backed AES-256-GCM and requests go directly to the chosen endpoint with no relay or telemetry. It is arm64-v8a and Android 9+ only, and the project itself warns that PRoot is not a hardened isolation boundary, so only trusted code should be run.
On first launch a guided bootstrap checks storage, CPU architecture, and background-service permissions, downloads the Core runtime plus any optional toolchains (Python, Android/JVM, C/C++, PHP), and stores provider credentials in Android Keystore. In the AI Workspace the agent registry selects an isolated driver for Claude Code, DeepSeek Harness, or Antigravity CLI; the agent inspects project files, drafts code, runs commands, reviews diffs, and writes changes back to the local workspace and its Git history. Every command travels through the C++ JNI process bridge into the PRoot Ubuntu 20.04 ARM64 environment — Node.js, npm, Git, OpenSSL, curl, and GNU coreutils available out of the box — and stdout streams into the Terminal screen. When a Vite, Next.js, or Express server is running, the app renders it in a restricted WebView and collects console output. If the Android toolchain was installed, the workspace play button builds the project and passes the resulting debug APK to Android's system package installer, launching it after installation. The Files tab also exposes Files → Analyze with REA: REA runs on-device (first analysis downloads pinned packages) for archive and APK inventory, JavaScript/Electron, SQLite schema, .NET/PE metadata, Go/Rust metadata, and saved HAR/SAZ/qlog recordings, or switches to Companion mode and sends the artifact to a paired desktop host over an adb reverse tunnel.
- A solo developer commuting with only an Android phone who wants to keep editing a repo and run a build before getting back to a desk.
- A frontend developer who needs to start a real Vite or Next.js dev server on the phone and preview the page immediately.
- A mobile developer who must compile, install, and smoke-test their own debug APK without a laptop or ADB pairing.
- A heavy Claude Code or DeepSeek Harness user who wants project sessions, files, and task context to travel with them and resume across app restarts.
- A security analyst doing a first-pass inventory of a suspicious APK, HAR, SQLite file, or Electron directory without uploading it to an external service.
- A tinkerer who wants to try an Ubuntu toolchain plus a coding agent on a spare phone without rooting, flashing, or hand-configuring Termux.
How do you install or deploy this agent?
The documented distribution path is the signed APK, for arm64-v8a devices on Android 9.0 (API 28) or newer:
Download : https://github.com/techjarves/Mobile-Harness/releases/latest/download/mobile-harness-online.apk
Size : 89.1 MB (Core, Python, and Android runtime bundles download on demand)
Verify : each release publishes a .sha256 checksumUninstall any older build from another source first — Android refuses to update an app signed with a different key. Launch the app and follow the wizard to pull the Core runtime and toolchains (roughly ten minutes) and enter a provider key.
Building from source requires Android Studio Ladybug/Hedgehog or newer, compileSdk 36, JDK 17, NDK 26.1.10909125, and CMake 3.22.1:
git clone https://github.com/techjarves/Mobile-Harness.git
cd Mobile-Harness
./gradlew assembleDebug
adb install -r app/build/outputs/apk/debug/app-debug.apkTests, lint, and the Play-compliance variant./gradlew testDebugUnitTest
./gradlew lintDebug
./gradlew -PplayBuild=true assembleDebugHow do you use this agent?
Three steps after installing:
- Let the bootstrap verify system readiness (storage, CPU architecture, background-service permission) and pick toolchains. Core is mandatory; Python, Android/JVM, C/C++, and PHP download only if selected.
- In the AI Provider step choose Anthropic API, OpenRouter, DeepSeek, Kimi, OpenCode Go, or a custom endpoint and paste the key. For Antigravity, select Antigravity CLI, install it, then tap Sign in with Google — the official
agyCLI starts the login, the app opens the generated Google URL in the system browser and returns the one-time code to that waiting process. - Tap New Project or launch a Quick Project, then describe the task in the AI Workspace; the agent inspects files, writes code, runs builds, and spins up local web previews when needed.
For analyses the phone cannot run alone (JADX class inspection, Mach-O work on macOS), start REA Companion on a macOS/Linux host with the phone attached over USB:
adb reverse tcp:8765 tcp:8765
python3 scripts/rea-companion.pyThen enter http://127.0.0.1:8765 and the printed pairing token in the app, pick a file and an analysis, and run it. The companion receives the selected file (256 MiB upload cap), so it does leave the phone.
During on-device Android builds, Android still asks you to allow installs from Mobile Harness and to confirm each install; it is also worth exempting the app from battery optimization so long compiles are not throttled.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- Delivers a full Ubuntu 20.04 ARM64 userland and a working terminal on arm64 Android with no root, no ADB pairing, and no Termux dependency.
- The agent registry gives Claude Code, DeepSeek Harness, and the official Antigravity CLI separate drivers and settings, with project sessions and chat history that survive app restarts.
- Broad provider coverage over the Anthropic-compatible protocol: Anthropic direct, OpenRouter gateway, DeepSeek, Kimi, OpenCode Go subscription, and a custom endpoint override.
- The built debug APK goes directly to Android's package installer and auto-launches, collapsing code-edit, build, and install onto one device.
- Secrets are AES-256-GCM encrypted through Android Keystore, rootfs and CLI packages are SHA-256 verified before extraction, and there are no telemetry or relay servers.
- Toolchains download on demand, so skipping Python, Android, C/C++, or PHP costs no storage.
- arm64-v8a only on Android 9 or newer; 32-bit and x86 phones cannot install it at all.
- PRoot maps paths and IDs in user space and is explicitly not a virtualization or security boundary — untrusted code should not be run.
- Kernel-level tooling such as Docker, KVM, systemd services, and nested hardware emulators is unsupported.
- The terminal is a process bridge rather than a full PTY emulator, so full-screen ncurses applications may render incorrectly.
- The base runtime alone needs about 2.5 GB plus a large initial download, multi-language setups want 8 GB+, and big builds are slow and memory-hungry under PRoot.
- Distribution is currently signed-APK sideloading and private testing; a Google Play release would need a dedicated policy declaration and approval.
How does this agent compare with similar options?
The README positions Mobile Harness against Termux: Mobile Harness ships its own Ubuntu 20.04 rootfs, a Jetpack Compose interface, and agent drivers, so no separate external app like Termux is required, and the result is an integrated chat-IDE-plus-terminal product. Termux on its own is a general-purpose terminal environment where you assemble the distro, install the coding agent, and wire up the plumbing yourself — more flexible, but with a much higher setup cost. If all you want is a shell on your phone, Termux is lighter; if you want agent sessions, project management, and on-device APK builds in one app, Mobile Harness matches that need more directly.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Mobile Harness This agent | 43 · Major gaps | Desktop appFree + model costs | ★ 1k | 4d ago | Kotlin | Claude Code · Claude API |
| TermFold Debian Coding Terminal | 62 · Some gaps | Desktop appFree + model costs | ★ 40 | 2mo ago | Kotlin | Codex · Claude Code |
| DSHA — DeepSeek Harness Launcher for Android | 65 · Some gaps | Desktop appFree + model costs | ★ 3.8k | 7d ago | Java | — |
| Claude Code for Android | 80 · Good | CLIFree + model costs | ★ 389 | 1mo ago | Shell | Claude Code · Claude API |
How does FollowAgents rate this agent?
Why each dimension lost points
Only README and LICENSE are available; AndroidManifest, source, dependency manifests, and tests are absent. README claims SAF-scoped storage, Keystore AES-256-GCM, SHA-256 verification, no telemetry, direct model endpoints, and warns that PRoot is not a hardened jail, Antigravity uses --dangerously-skip-permissions, and APK installs require user confirmation. These are documentation claims, not verifiable implementation, so least_privilege, user_confirmation, data_flow_transparency, sensitive_data_handling, dependency_security, and external_effects each score 1; rollback scores 1 because only an architecture-diagram 'Checkpoints' mention exists with no recovery procedure; source_attribution scores 2 for trademark and third-party license notes.
README is broadly self-consistent, but there is no source, test, or lockfile evidence; dependency availability is only listed in prose; failure information covers install troubleshooting but not runtime error handling. self_consistency scores 2; dependency_availability and failure_messages score 1 each.
Audience and scenarios are clear; capability boundaries, system requirements, and PRoot limits are detailed; however agent triggering/selection is only described through UI flow, with no manifest or skill definition; environment fit is documented for Android 9+/ARM64/PRoot. audience_and_scenarios, capability_boundaries, and environment_fit score 2; trigger_precision scores 1.
README is well structured, install notes and limitations are substantial, and the MIT LICENSE is complete; examples/FAQ are thin, versioning mentions latest and v1.0.11 but no changelog, and maintenance responsibility is only a copyright line with an unverified publisher. information_architecture, install_notes, naming_stability, and known_limitations score 2; examples_and_faq, versioning_changelog, and maintenance_responsibility score 1; license scores 3.
README describes usable outputs (code, terminal, APK, preview), but there is no source or execution evidence; the value proposition is clear but lacks comparison or benchmarks; costs (storage, RAM, API, PRoot performance) are disclosed but not quantified. output_usability, marginal_value, and cost_benefit each score 1.
README provides links and limitation notes, but substantive claims cannot be traced within the packet; only the LICENSE cross-corroborates licensing, with no second source for product claims; marketing and factual statements are not strictly separated. claim_traceability scores 1, cross_source_corroboration scores 0, and fact_inference_separation scores 1.
- The packet contains only README and LICENSE; AndroidManifest, source, dependency manifests, and tests are absent, so security claims such as Keystore encryption, no telemetry, and SHA-256 verification cannot be statically verified.
- Antigravity tasks use --dangerously-skip-permissions, and PRoot is explicitly not a hardened isolation boundary; the agent can run commands and tools, so use it only with trusted projects and prompts.
- The app requests permission to install user-built APKs, downloads runtimes, and executes Linux commands; obtain it only from official Releases and verify SHA-256 checksums, avoiding third-party mirrors.
- Publisher identity is unverified, and there is no changelog or clear maintenance contact; treat maintenance status and update path as unknown.
FAQ
Does it need root, an unlocked bootloader, or ADB?
Is it free, and what will I actually pay?
Why do antivirus tools or third-party stores flag the APK?
Can it run Docker, database servers, or systemd?
Does my code or API key leave the phone?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.