I’m currently experimenting with running local LLMs directly on Android (mostly via Termux + apps like MNN Chat).
What I’m trying to figure out:
Is there any way to run something like an offline agent (e.g. OpenClaw or similar) fully locally on a smartphone?
Main constraints:
- no cloud
- no API calls
- fully offline
- ideally controllable via CLI or scripts (Termux)
So far:
- I can run local models (GGUF etc.)
- I can log inputs/outputs via SQLite
- but there’s no real “agent layer” (tool use, chaining, memory)
Problem:
Most agent frameworks seem desktop-focused or depend on Python environments that are painful on Android.
Questions:
- Has anyone actually done this on-device?
- Any lightweight agent frameworks that work in Termux?
- Workarounds? (even hacky ones)
I’m especially interested in:
- tool calling
- basic automation loops
- local memory handling
Feels like mobile is still missing a proper local-first agent stack.
Would appreciate any pointers.
[link] [comments]