How-to · 17 Nov
How-to · 3 min read
How to edit code on Android without setting up Termux
You want to fix a bug or change a file in your project from an Android phone, without first turning the phone into a Linux box with Termux. Maybe you are on a train, or the laptop is at home and the fix is two lines. Termux can do it, but only after you install packages, set up an editor and sort out file access. And typing code on a touchscreen is slow even when everything works.
- Published
- 30 Oct 2026
- Delivery
- No. 9
- Topic
- AI and agents
- Evidence
- 10 claims quoted from its GitHub page
01
Why it's hard
Termux gives you a real Linux userland, which is great, and it is also a project of its own. You install tools one package at a time, grant storage access so it can see your files, find an editor that behaves with a phone keyboard and keep it all updated. Then you still have to type code on glass, where brackets and indentation are a pain. Remote options like SSH into a server or a cloud editor need a machine running somewhere and a steady connection to it. For a small change, the setup costs more than the fix, and by the time it is ready you have often forgotten what you wanted to change.
This part describes the usual way. It makes no claims about Rivet, so nothing is quoted here.
02
How Rivet does it
Rivet is an Android app that works as a chat-based coding agent. You pick a project folder, pick a model and describe the change in plain words. The agent reads and searches your files, makes the edits and runs commands on the phone while you watch the output, and you can stop a command halfway. How much it does without asking depends on the mode you choose, and checkpoints let you undo a change that went wrong. It uses your own API key from OpenAI, Anthropic, Gemini, OpenRouter or any OpenAI-compatible API, or you sign in with a ChatGPT plan.
No laptop. No Termux setup. Pick a project folder, pick a model, tell Rivet what to change.Quoted from its GitHub page
Runs commands on the phone. You see them live and can stop them.Quoted from its GitHub page
Three modes: Ask (asks before everything), Basic YOLO (small stuff runs on its own), YOLO (no prompts).Quoted from its GitHub page
03
Step by step
- 1Download the APK from the project's GitHub Releases page and allow the install when Android asks.
- 2Add your API key, or sign in with a ChatGPT plan.
- 3Pick the project folder Rivet is allowed to work in.
- 4Choose a mode: Ask, Basic YOLO or YOLO.
- 5Describe the change in the chat and watch the edits and commands as they run.
- 6Undo from a checkpoint if the result is wrong, and keep your real backup in Git.
04
Tips
Put an AGENTS.md file in the project root with your conventions, such as the test command and the code style you follow. Rivet reads it, so you don't have to repeat the rules in every chat.
Reads AGENTS.md in your project, so your rules stick.Quoted from its GitHub page
Start in Ask mode until you trust how the agent behaves in your project. Commands run with the same access as any other app on the phone, so read each one before you approve it.
Commands run like a normal app on your phone. There is no sandbox. Read what you approve.Quoted from its GitHub page
Keep the project in Git or copied somewhere off the phone. Checkpoints take back a bad edit, but they won't save you if the folder itself is lost.
Undo is not a backup. Keep your project in Git or copied somewhere safe.Quoted from its GitHub page
Use a cheaper model for small edits and switch to a stronger one when the task gets harder. You can change provider, model or thinking level in the middle of a chat without starting over.
Switch provider, model, or thinking level mid-chat. No restart.Quoted from its GitHub page
05
Questions
Do I need Termux installed?
No. Rivet runs as its own Android app, and it is not part of Termux.
Rivet is not part of Termux.Quoted from its GitHub page
Does Rivet cost anything?
No. The app is free and open source; the only cost is whatever your model provider charges for the API key you use.
Your own API key. Your provider may charge you. Rivet doesn't.Quoted from its GitHub page
Which Android version do I need?
Android 8 or newer. It works on phones and tablets.
Android 8 or newer.Quoted from its GitHub page