open sourceMITAndroid 8.0 and up

A real coding agent on your phone

AndroidHarness reads and edits your files, runs commands in a real Linux toolchain, pushes to GitHub and shows you every step it takes. No PC. No root. No API key to get started.

kilo-auto/free Code
Pick a prompt below
Ask for a change

Scripted demo. The real one is in the app.

$ two rooms, one app

Code builds.
Chat thinks.

Code is the agent. It works inside a project folder with files, a shell, git, tests and a browser. Chat is for questions, research and writing. It uses read-only tools, and when a conversation turns into a project it can hand the plan over to Code.

ededit_filesrc/cart.js
@@ src/cart.js
- return items.length
+ return items.reduce((n, i) => n + i.qty, 0)
Verification

npm test passed

Every write shows up as a diff. Every change can be rewound.

Is SQLite fine for a small offline-first app?

Yes. For one user on one device it is a solid default and it handles concurrent readers well in WAL mode .

1 · sqlite.org 2 · sqlite.org/wal
Continue in Code

Carry this plan into a project. Nothing runs until you send.

Answers cite their sources. Tap a number.

$ tty

A shell that is actually a shell.

The Terminal runs on a real pseudo-terminal, so the programs that take over the screen just work: nano, fzf, top, Python and Node REPLs, even git add -p. You get two rows of extra keys, hardware keyboard support and pinch to resize the text.

bash · ~/shop

$ whoami

The strongest shell your phone allows.

Commands route themselves. Tap a rung to see who runs it and what it can reach. Root is always optional and always opt-in.

A shell policy and a secret redactor sit on top, so keys stay out of the model's view.

$ task --parallel

One agent is good. A few at once is faster.

The task tool spawns subagents that work side by side on independent pieces, each on its own model if you like. They research read-only by default. Flip one setting and they can edit and run commands too, always under your current permission mode.

subagent 1 · read only

Map the payment codeworking

subagent 2 · read only

Find the flaky testsworking

subagent 3 · read only

Read the API docsworking

Tap the bubble. In the app you can drag it anywhere.

$ /context

See what is eating your context.

The context dialog splits the window into messages, tool definitions and the system prompt. Open a group to see its parts, find the biggest tool results and get real suggestions for freeing space.

0%

of the window used
measuring

Tap a group to open it.

Tool results are the biggest slice. Compacting summarizes older turns and keeps your visible chat.

Example numbers.

$ sudo? ask first

Nothing risky happens behind your back.

Sensitive actions stop and ask. Say Always and the approval is saved for that workspace until you revoke it. Installs, pushes and open-ended commands are never saved, so they ask every run.

  • Confirm everything
  • Confirm risky actions
  • Full auto
  • Full access needs your fingerprint, face or PIN

Waiting for the agent

  • Stays in the workspace. The agent cannot read or write outside the project folder.
  • Diffs for everything. Review any change and undo a whole file or a single section.
  • Secrets stay secret. Keys are redacted before they reach a model.

$ model --any

Bring any model. Or bring none.

Start free with the built-in provider, no account needed. Add Anthropic, Gemini, a ChatGPT account or any OpenAI-compatible endpoint when you want more. Or download a GGUF model and keep going with no connection at all.

Switch provider

Next message goes to Harness.

Fallback chains

Pick up to four backup models across providers. When yours fails, the next one takes over, and a partial reply is never sent twice.

$ plug it in

MCP, plugins and skills.

Connect Model Context Protocol servers over stdio or HTTP, with OAuth sign-in when a server needs it. Paste a Claude config or a claude mcp add command and the server shows up. Plugins install from npm, GitHub, Claude marketplaces, an archive or a folder on your phone.

Paste a command

  • codegraphstdioconnected
  • docshttpconnected
gitplanreviewsystematic-debuggingtest-driven-developmentandroid-buildweb-design

Skills are plain markdown. Edit them or write your own.

$ git push

From idea to pull request without a laptop.

Sign in to GitHub with a device code, import a repository, commit and push, then open a pull request from the chat. It never force-pushes, and each pushed commit is checked against the remote branch.

  1. importclone into a private workspace
  2. editthe agent changes files
  3. commitpick the files in a tree
  4. pushverified against remote
  5. pull requestwritten from your commits

$ nohup

Lock the screen. It keeps working.

A foreground service keeps the agent and your terminals alive with the screen off. Approve or deny from the notification shade. If a run gets interrupted it comes back as a Resume card, and finished tool calls are never repeated.

  • Queue follow-up messages. The queue survives restarts.
  • Send a message mid-task to steer the agent without stopping it.
  • Ask a side question with /btw while it works.

AndroidHarness

Approval needed

git_push: publish 2 commits to main

Running in the background

step 4 of 6 · screen off

$ ls features/

And then there is everything else.

  • Scheduled automations

    Run a prompt once, hourly, daily or on demand, in the chat and workspace you pick.

    oncehourlydailymanual
  • Live Mode

    Talk an idea through hands-free. It listens, answers out loud and saves the exchange to the chat.

  • AH Rumble

    Haptic pulses as a turn moves: thinking, tool start, tool done, answer finished.

  • Telegram remote

    Pair a private bot to continue chats, approve tools and answer the agent's questions from Telegram.

  • Browser control

    The agent drives a real page: navigate, click, type, scroll and take screenshots. Pick an element and send it over as a fix request.

  • SSH workspaces

    Point a workspace at a remote Linux machine. Files, diffs, shell and git all run over the connection.

  • Build APKs on the phone

    One approval sets up the Android build tools. Then compile, sign and install without a computer.

  • Plan first

    Plan mode only inspects and ends with a plan. Dual planning plans on one model and executes on another.

  • Shared memory

    Chat and Code remember the same facts. You can see which ones were used, then edit or forget them.

  • A proper editor

    Tabs, syntax highlighting, project search and replace, a side-by-side diff viewer and offline language tools.

  • CodeGraph

    Index a workspace locally and the agent can follow symbols, callers and the impact of a change.

  • Yours to theme

    Custom palettes, a photo backdrop, phone and desktop layouts, and the app in many languages.

$ screencap

The real thing.

No mockups here. These are straight from the app.

The Code agent running tools while building an app
Code agent at work
An approval card asking before Linux packages are installed
Approve before installs
The provider switcher listing several model providers
Switch providers
The Code chat menu with Plan mode, Dual planning, Terminal and Web preview
Chat tools and modes
The plugin manager with its Discover tab
Plugins and skills
The Local models page showing RAM, storage and GPU support
Offline local models
The Coding settings page
Coding settings

$ man harness

Fair questions.

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.

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. The app has no analytics, advertising, crash reporting or telemetry.

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.

$ install

get it

Open source, MIT licensed and free to start with the built-in provider. Install it, grant storage access, pick a model and ask for a change.