I built AndroidHarness, an open-source AI coding agent that runs directly on your Android phone. No PC required.

Wait 5 sec.

Hey everyone! For the past couple of months, I've been building something called AndroidHarness. The idea was pretty simple. We have tools like Claude Code, OpenCode, and other AI coding agents on desktops, but why can't we have that kind of experience directly on Android? And I don't mean a chatbot that generates code for you to copy somewhere else. I mean an actual coding agent that can read and modify projects, execute commands, manage Git repositories, run tests, and work on real development tasks. So I started building one. AndroidHarness is a native Android app built with Kotlin and Jetpack Compose. It's completely open source under the MIT licence. Here's what it can do so far: AI coding agent Read, write, edit, search, and manage project files. Execute real shell commands with Bash, Git, Python, Node.js, and other Linux tools. Run builds, tests, and lint checks, then attempt to fix failures. Spawn parallel subagents for independent tasks, with configurable models. Use separate models for planning and execution. Connect to MCP servers, use custom skills, and maintain persistent memory. Track tool calls, live task progress, code changes, and token usage. Keep working when the screen is off, with task recovery after interruptions. A separate Chat section (new in v2.7) I recently added a dedicated Chat section alongside the coding agent. You can use it for normal conversations, research, brainstorming, writing, and general questions without opening a coding workspace. It supports: Automatic read-only web and GitHub tools. Multiple research depth levels with source citations. Image, text, and PDF attachments. Rich replies, thinking blocks, and answer regeneration. Shared memory between Chat and Code. A Continue in Code option that lets you carry a conversation or plan into an actual coding workspace. The idea is that you can research or discuss something first, then move into development when you're ready. Built-in development environment A tabbed code editor with syntax highlighting, search and replace, and offline code intelligence. File manager with batch operations. Inline and side-by-side Git diffs. Full-file and selective undo for AI changes. Recoverable editor drafts and file history. Integrated terminal and Build & Test dashboard. Live previews for websites and local development servers. Browser DevTools, console inspection, and browser automation. GitHub and remote development Connect your GitHub account and import repositories. Commit, push, pull, and manage branches directly from Android. Review and selectively commit changed files. Connect to remote machines through SSH. Edit remote files over SFTP and execute commands remotely. Control coding sessions through a Telegram bot, including approving tools and responding to questions. Models and providers I didn't want the app locked to a single AI provider. It supports multiple cloud providers, custom OpenAI-compatible endpoints, model-specific reasoning settings, model fallback chains, and usage/cost tracking. There's also a built-in keyless provider with free models, so you can start without adding an API key. You can even download and run compatible GGUF models locally on your phone for offline AI. Automations You can schedule agent tasks to run once or repeatedly, select the model and workspace, and review execution history. There are also GitHub push automations that don't require an AI model. Device access Root isn't required. AndroidHarness supports a normal app-level shell, a bundled Linux environment, and optional Shizuku integration. Rooted users can also enable direct root access, with separate permission controls. The agent has workspace restrictions, tool approvals, and safeguards around file modifications. I know this sounds like a lot for a phone app, but that's exactly what I've been trying to build: something that makes Android a genuinely useful development environment rather than just a way to remotely access one. It's still actively being developed, and I'm constantly working on improving the agent, reliability, interface, and overall experience. I'd really appreciate feedback from people who actually code on Android or use AI coding agents. What would make something like this genuinely useful for you? And what do you think is still missing from mobile development tools? GitHub: https://github.com/Sanuu7/AndroidHarness Google Play: https://play.google.com/store/apps/details?id=com.androidharness.app You can also install it through GitHub Releases. Thanks for checking it out!   submitted by   /u/Present-Tree-7698 [link]   [comments]