概要
Android Harness AI Coding Agent Native app for mobile, No Root No PC
開発ツールできること
- A real coding agent. File edits, shell, git, tests, browser control and subagents. Every tool call gets a card you can open to see exactly what happened.
- An assistant everywhere. Make AndroidHarness your phone's digital assistant and ask about any screen without leaving the app you are in. Models that cannot see pictures can read the text inside them on the phone.
- Goals that finish the job. /goal keeps the agent working turn after turn until a separate check agrees the task is done, with parts, a budget and a Resume that keeps its progress.
- A real shell. Commands run through Shizuku, Wireless ADB pairing, optional root, a Termux-based Linux toolchain, or a toybox fallback. A shell policy and a secret redactor sit on top.
計測したスター増加
- 24時間
- +6
- 7日間
- +39
- 15日間
- +78
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルAndroidHarness
An AI coding agent and chat assistant that runs on your Android phone.
No PC needed. No root needed.
About
AndroidHarness is a native Android app, written in Kotlin with Jetpack Compose, for working on real code projects from your phone. The agent reads and edits files, runs commands in a real Linux toolchain (bash, git, python, node), pushes to GitHub, drives a browser, and shows every step in a chat you can inspect.
The app has two sections:
- Code is the agent. It works inside a project folder with files, shell, git, tests and browser tools.
- Chat is for everyday questions, research, writing and brainstorming. It uses read-only tools and can hand work over to Code when a conversation turns into a project.
You can start for free with the built-in provider, which needs no account, or run models fully offline on the device.
Screenshots
![]() Code agent at work |
![]() Chat with rich answers |
![]() Switch providers |
![]() Approve before installs |
![]() Chat tools and modes |
![]() Settings |
![]() Coding settings |
![]() Plugins and skills |
![]() 9Router on the phone |
![]() Offline local models |
Highlights
- A real coding agent. File edits, shell, git, tests, browser control and subagents. Every tool call gets a card you can open to see exactly what happened.
- An assistant everywhere. Make AndroidHarness your phone's digital assistant and ask about any screen without leaving the app you are in. Models that cannot see pictures can read the text inside them on the phone.
- Goals that finish the job.
/goalkeeps the agent working turn after turn until a separate check agrees the task is done, with parts, a budget and a Resume that keeps its progress. - A real shell. Commands run through Shizuku, Wireless ADB pairing, optional root, a Termux-based Linux toolchain, or a toybox fallback. A shell policy and a secret redactor sit on top.
- Free to start. The built-in keyless provider works without sign-up, and local GGUF models run offline. Cloud API keys and ChatGPT accounts are optional.
- Free speech. Edge speech is built in with no key, more than 300 Microsoft voices and a sample for each. Groq, OpenAI, ElevenLabs, Deepgram, Cartesia and AssemblyAI can listen, speak or both.
- Many providers. Anthropic, Google Gemini, ChatGPT accounts, any OpenAI-compatible endpoint, and fallback chains that switch models when one fails.
- Research that reads. Turn on any of eleven search providers; the agent picks one, falls through failures, reads the top pages and returns passages. Shaky statements can be flagged, and a question can be re-run deeper.
- Plugins, skills and MCP. Install plugins from npm, GitHub, Claude marketplaces, archives or a folder on the phone, and the agent can manage them when you ask. Plugin commands, binaries and language servers run like Claude Code, and MCP servers connect over stdio or HTTP.
- Built for long runs. A foreground service, resume cards, a saved message queue and optional auto-continue keep work safe when the screen turns off or the connection drops.
- Safe by default. The agent stays inside the workspace, sensitive actions ask for approval, phone control is approved once per chat while destructive changes ask every time, and every change can be reviewed as a diff and undone.
- 21 languages. Switch the app language at any time without a restart.
What's new in 4.1
- Your assistant over any app. Set AndroidHarness as your digital assistant and ask about what is on screen, by voice or typing, without leaving the app you are in. Models that cannot see images can now read the text inside pictures on the phone.
- Goals that keep going.
/goalturns a task into a loop that keeps taking turns until a separate check agrees it is done, with a turn limit, an optional check command, a budget, named parts, a per-turn change summary and a Resume that keeps its progress. Keep improving can push past done. - Backups and setup rebuilt. Backup & restore streams one file, lets you pick chats, and now carries images and usage stats. Setup is a page-by-page flow that can restore chats and settings, and file access is optional.
- Memory you can shape. Folders with colors, trigger words, trigger-only memories, multi-select move and delete, and a zoomable map of how memories connect.
- Exa joins search. Exa searches by meaning instead of keywords and can return full page text, alongside the ten existing providers.
- A calmer chat. A floating task pill, a slash menu docked on the composer that follows the cursor, editing a sent message's photos and files, background browser screenshots, and per-item trust for workspace tools.
See CHANGELOG.md for the full release notes.
Getting started
- Install the app from Google Play or GitHub Releases, or build it from source.
- Grant file access if you want it. All files access lets the shell and file tools use real paths; without it the app works in its own folder and asks when a task needs your files.
- Pick a model. Use the built-in keyless provider, add an API key in Settings, or download a model in Settings → Local models.
- Recommended: install Shizuku, pair Wireless ADB in Settings → Terminal & device, or install the Linux environment from inside the app. This lets shell commands run with proper permissions. Rooted devices can also turn on direct root there.
Then open a workspace and ask for a change, or open Chat for anything that does not need a project. If something feels off, run /doctor to test every tool family.
Features
A short tour of what the app can do. The complete list, with every detail, is in FEATURES.md.
Code
- Streaming chat with thinking blocks, tool cards, diffs and verification cards that list every build or test that ran.
- A workspace is one folder, and a project groups workspaces for chats that need several, each editable or read only.
- Plan mode, dual planning (plan on one model, execute on another), subagents and a persistent message queue that can hold send to choose when a queued message is read.
- Goals that keep working across turns until a separate check agrees the task is done, with parts, a turn limit, a check command, a budget and Keep improving.
- Approve phone control once per chat, set reminders, alarms and timers, and schedule a message from the chat itself.
- Scheduled automations that run prompts daily, hourly or on demand.
Chat
- Web research across eleven providers, with the top pages read for passages, cited sources, claim checks and adjustable depth.
- Reminders, alarms and timers, photo paste, a single attachment tray and a full-screen gallery.
- Personal Chat agents with their own instructions, model, tools and knowledge files.
- Rich answers with tables, charts, diagrams, images and interactive previews.
- Shared memory with Code, saved answers and voice input and output.
Assistant
- Ask about any screen from the phone's assistant gesture, over other apps, by voice or typing, with screen text sent only when the question is about it.
- Read text in images on the phone for models that cannot see pictures.
Files, editor and Git
- File manager, tabbed code editor with syntax highlighting, search and replace, and offline language tools.
- Side-by-side diff viewer, per-chat change tracking with undo, and a Build & Test dashboard.
- GitHub sign-in, repository import, commit and push, and pull requests from the app.
- SSH workspaces and FTP or SFTP sync.
Models
- Built-in free provider, ChatGPT accounts, Anthropic, Gemini and any OpenAI-compatible API.
- Up to 20 rotating API keys per provider, proxies, custom headers, key testing and fallback chains.
- Voice providers for listening and speaking, including free Edge speech with more than 300 voices.
- On-device GGUF models with optional GPU acceleration, plus 9Router as a local model router.
Personalization
- Custom color palettes, a background canvas, experimental glass effects and haptic feedback.
- Expressive settings in named sections, custom settings sections you build yourself, and motion blur on long lists.
- Phone and desktop layouts with keyboard shortcuts.
Shell access
Commands always run in the strongest environment the device allows.
| Command target | Runs as | Environment |
|---|---|---|
| Privileged commands | shell uid via Shizuku | system access, like adb shell |
| Privileged commands, no Shizuku | shell uid (2000) via Wireless ADB | system access, like adb shell |
| Explicit root requests | UID 0 via the verified root service | full device access, when root is enabled |
| Workspace commands | app uid | Linux toolchain with bash, git, python and node |
| Fallback | app uid | toybox sh when nothing else is installed |
Root is always optional and opt-in. More detail is in FEATURES.md.
FAQ
Do I need a PC? No. Editing, shell, git, GitHub, SSH, the models, and even building and signing APKs all happen on the phone.
Do I need an API key? No. The built-in provider offers free models without an account, and local models run offline. Keys are only needed for cloud providers.
Do I need root? No. Shizuku or the built-in Wireless ADB pairing gives shell-level access without unlocking the bootloader. Root is supported if you have it.
Does it work offline? Local models do, once downloaded. Web search, page reading and GitHub need a connection.
Which languages are supported? English, Simplified Chinese, Traditional Chinese, Russian, Arabic, Persian, Brazilian Portuguese, German, Spanish, Japanese, Indonesian, Sinhala, Vietnamese, Turkish, Malay, Thai, French, Hindi, Korean, Tamil, Bengali and Filipino.
Where do my chats and keys go? Chat traffic goes only to the provider you choose. Credentials are stored encrypted on the device, and secrets are redacted before they reach a model. Settings backups include API keys only if you ask, and ChatGPT sign-ins are never included.
Can it damage my files? The agent is limited to the workspace, every write shows up as a diff, and changes can be rewound or undone.
Which devices are supported? Android 8.0 and newer. Local models need a compatible 64-bit device.
Build from source
You need JDK 17 and the Android SDK.
./gradlew :app:assembleDebug
adb install -r app/build/outputs/apk/debug/app-debug.apk
Run the unit tests:
./gradlew :app:testDebugUnitTest
Debug APKs are also built on every push to main and nightly in the Actions tab. See CONTRIBUTING.md for the full setup.
GitHub setup
In Settings → GitHub, choose Sign in with GitHub or Use a personal access token.
- Device sign-in shows a code that you enter on GitHub in your browser.
- Only enable workflow access if you need to edit GitHub Actions files.
- Fine-grained tokens need the target repositories and Contents: read and write. Editing workflows also needs Workflows access.
- Organizations may require approval or SSO authorization.
Importing a repository needs the Linux environment. Clones go into private app storage, so broad storage permission is not required. Pushes never force-push, and each pushed commit is checked against the remote branch.
If a push automation fails, open its history to see the real cause. Common ones are the wrong workspace, missing Git, an SSH remote, missing token permissions, newer commits on the remote, or branch protection. A failed push can be retried with Push existing commits.
Building with your own OAuth app
Register a GitHub OAuth app, turn on Enable Device Flow, and set GITHUB_CLIENT_ID in the ignored local.properties file. Local debug and release builds include that value. The Client ID is not stored in the repository source, docs or public workflows, and no client secret or auth server is used. Builds without it still support token login. Keep a token as a backup, since GitHub rate limits Device Flow for shared OAuth apps.
Documentation
- FEATURES.md: the complete feature reference
- Configuration guide and JSON Schema for
harness.json - Plugin guide
- Developer repo wiki: architecture of the agent engine, tools, providers, MCP and workspaces
- CHANGELOG.md, PRIVACY.md and SECURITY.md
Contributing
Bug reports, fixes, tests and documentation are all welcome. Start with CONTRIBUTING.md and use the issue forms for bugs and feature requests. Please follow the Code of Conduct. Translations are handled on POEditor.
Acknowledgements
AndroidHarness takes ideas and design inspiration from these open source projects:
Hermes Agent, Aider, pi (ohmypi), OpenCode, Claude Code, Roo Code, Cline, browser-use, Termux, Shizuku, CodeGraph, Caveman, llama.cpp, sora-editor and Eruda.
License
Released under the MIT License.
関連プロジェクトを探す
読み込み中…













