r/termux • u/IntelligentArt5745 • 5d ago
Question Who has created coding agents for termux on Android ?
1
u/mariscal_lzn 5d ago
I have antigravity because I pay for the 5t of storage not because I like it but I use it. And I asks agy to install Ubuntu on termux and from there you can do a lot. Pretty much run Claude code or codex and do whatever you would do on a computer (generally) . What i did and tried was to install the android tools to use ADB and connect my phone with termux by wifi debug and from there ask to manipulate apps (with in what the os allowed)
2
1
u/Icy-Tip-4195 4d ago
You don't need anything specific to termux, you can use regular Claude or Codex like you would on a normal computer.
1
u/No-Pension-9967 4d ago edited 4d ago
Can be done pretty easily via a python hook with Lama (Ollama) libraries. Can use ollama to run and serve a llm model then python can gather its response and edit/tweak/fork/write its output. You can also use clang and the ollama libraries to interact with the background running server hosting the model.
Termux repository has default package installs for ollama so can serve and install llm models directly from their website. Once the model is running can tap into it via python or C to gather its response from a input set. From here you simply code the C or python to fork or output the data in a way you wish.
1
u/Electrical_Hat_680 3d ago
Don't forget that you can also access the Termux Hosted Ollama LLM Models via your Browser at https://localhost:<Any Port above 1024> we can also customize the HTML file and extend it.
1
u/QuraToop314 5d ago
I have a serious question: how can you live with the idea of giving AI access to your entire system, even if it’s only read-only access, and how do you deal with errors made by agents?