r/AgentsOfAI • • 14d ago

I Made This 🤖 I built an Android AI agent with real tools (bash, read, write, grep) — no root, no cloud, MCP support, GPL-3.0

Not a startup, not a product. A toy I've been poking at for six months in the evenings. It finally does what I wanted, so I'm sharing it.

It started with frustration. I ask my phone: check what's in the build log. It answers: please check the log. Which log? Where? It's in my project. At some point I realized: I don't need a conversational partner. I need someone who will open the file.

Almost every AI app in the store is an API wrapper. Nice chat, model picker, request-response inside. That's why they can't open a file: they have no hands.

I needed hands. Kotlin + Compose for the UI. The agent loop runs in a separate Node process inside the app, JSON-RPC between Kotlin and Node. Node because everything interesting about MCP and agents is already written for it.

Tools: bash, read, write, edit, grep, find, ls. Plus MCP servers over stdio and sub-agents. bash, write and edit require confirmation. Once I gave the model unbraked access to rm in my home folder. Nothing was lost, but I've been more careful since.

The environment is the nastiest part. An agent without a proper filesystem is useless, and Android doesn't have one. So there's Alpine inside the app, launched via proot, no root, no bootloader unlock. About two seconds to start. Or you can hand the agent your Termux if it's already set up.

No cloud. History stays on the phone. No account. No phone control via accessibility — I built that once, saw the permission wording, and ripped it out.

Any OpenAI-compatible endpoint works, including a local model on your home network (Ollama, llama.cpp, vLLM). Updates from GitHub releases. English and Russian UI. GPL-3.0.

Repo link in the comments. Happy to answer questions.

1 Upvotes

4 comments sorted by

1

u/AutoModerator 14d ago

Thank you for your submission! To keep our community healthy, please ensure you've followed our rules.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/codes_astro 14d ago

ah noice, and just a bit different question. How are you tracking performance of this and are you planning to scale it or just keep as fun open projects