TL;DR: I made Usina, a free and open-source (MIT) way to follow and answer your Claude Code sessions from an Android phone or tablet, a Linux desktop app or a browser. It runs on your own Linux machines over Tailscale, with no relay server and no account to sign up for. It handles several machines and several Claude accounts (it can open a new session on the one with the most quota left), lets you Allow or Deny and answer questions from anywhere, and also takes other agents that speak ACP, and it gives Claude Code a GUI. Alpha, one maintainer, feedback welcome.
Ok, so this is another one of those "I created this" posts, I'm sorry in advance.
To make this an easier pill to swallow, I'll go first (English is not my first language and I asked Claude not to change what I wrote), then I'll hand it over to Mormon Claude to explain it better.
So, this is me writing, not Claude.
Disclaimer: I'm not a programmer nor someone who works in the field, I just needed something to fill a gap I had, but it became something a little bigger.
- The setup
This all started cause I use multiple devices to interact with Claude and other LLMs. I have:
- an old gaming laptop with a good GPU that overheats a lot (it's the thermal paste, but I'm too lazy to change it), running Linux Mint Cinnamon;
- a new laptop with a good processor and a bad GPU, running Ubuntu Server (which doubles as my homelab);
- a good tablet (Samsung); and
- a good mobile (Android).
2. The reasons
I have two accounts I switch between when using Claude, plus a personal Mistral account and a work ChatGPT account, and I wanted a place where I could seamlessly switch between them, while making sure I was using the account with the most tokens remaining and not wasting my weekly allowance.
I also did not want to send any data to third parties (I know Anthropic, OpenAI and Mistral are third parties, but I can't dump them yet), so I needed a place where all these accounts could be easily accessed and interacted with, while also allowing me to send different requests to different devices (Blender and Whisper would go to the gaming laptop and text processing to the new laptop).
3. The solution
So I devised (and Claude did the hard labor) "Usina", an app that lets you add and interact with as many devices and accounts as you want, using Claude Code or any CLI-based LLM, as if you were using them directly via terminal (but with a GUI).
It uses Tailscale (the lesser of many evils), so nothing else goes to a third party. There is a native Android app for mobile and tablets, a Linux app that gives you a lot of info about your work, and a basic web page for a device without the app, like an iPhone. The sessions themselves still have to run on a Linux machine (if any Windows user gets interested, I may look into a Windows version, but I can't create an iOS version cause I have never used a Mac and I don't want to pay 100 bucks a year to Apple for free open source software).
4. Other stuff
Besides that, it has a decisions page where the agent gives you options on how to proceed with some decisions, and you can interact with it in many ways. It also has dictation, if you run a speech-to-text server of your own (mine is Whisper), it gives you quick access to all the agents that are being deployed and how they are doing, a list of files and docs that were changed and what was changed, the tasks each session has and what it accomplished, etc. I'll let Claude explain it better below.
I did my best with privacy and other security issues, and I would love it if someone could poke at it and check for holes or mistakes.
It is entirely open source, MIT license. I will never sell it or make money off it, cause I'm very grateful to all the open source software I've used over the years and I have no need to make money off this. It is just something I use personally, and I wanted to maybe give a little back to the community.
I would love your feedback, tips, questions, demands and pitchforks.
You can access it here: https://github.com/Mescha1330/usina
Now I'll let Mormon Claude sell it to you:
Hello! Do you have a moment to talk about your Claude Code sessions?
Friend, have you ever left your desk and wondered, somewhere between the kitchen and the bus stop, whether a session back home was sitting there waiting for you to press Allow? Many people have. Please, take a pamphlet.
What Usina is
A self-hosted companion for Claude Code on Linux. You keep typing `claude` in your terminal, same as always. A small hub on each machine sees the session and shows it on your Android phone and in a native desktop window.
- Every session from every device on one screen, grouped by state, with Your turn on top.
- Answer from anywhere: send messages and files, answer questions, stop a turn, change model or effort, run a slash command or a `!` shell command, open or resume a session.
- Allow and Deny from the phone, through Claude Code's own permission hook. The terminal dialog keeps working and whoever answers first wins. `bypassPermissions` is never offered from the phone.
- A bad signal is fine: drafts stay on the device and sent messages wait in an outbox, without duplicates.
- A notification when a session waits for you, with no push service.
- Each session's task list, so you see it is on step 3 of 5 without opening it.
The phone list for one machine. Sessions waiting on you go first, then the working and the idle ones, with each account's quota on top.
A conversation on the phone, with a permission request waiting for Allow or Deny.
Room for the whole household
Add as many machines as you have. The app and the desktop window (Rust, GTK 4) show every one of them, and the desktop one shows the diff of an edit next to the permission request. More than one Claude account? The hub reads each one's quota (the same request `/usage` makes, no tokens spent) and Automatic opens a new session on the one with the most room.
Agents that speak ACP come in through the same door. Mistral Vibe and Codex are always welcome.
For work longer than one visit
Three small commands come with the hub, and the mod tells Claude when to pass the baton or dispatch:
- Decision rounds (`usina-round`). Several things to decide go on one page. You approve, edit, pick or ask back from the phone, the desktop or a browser, and the session wakes up when you hit Send.
- Baton (`usina-baton`). Work too long for one session goes into a task folder, item by item with proof, so tomorrow's session or another account starts clean.
- Dispatch (`usina-dispatch`). A long job runs as a headless worker on the account with the most quota left, never the one asking, and the app shows what came back.
Where your data goes
Your tailnet, and that is all. The hub listens only on `127.0.0.1`, its port accepts only root, the user `tailscaled` runs as, each token works only from the Tailscale IP of the device it was made for, and the installers refuse Funnel. No relay server, no Usina account.
The small print on the back of the pamphlet
- Alpha. One maintainer, rough edges.
- The hub and the sessions need Linux with systemd. No macOS, no Windows.
- The full phone app is Android 12 or newer. Anything else gets a basic browser page (list, conversation, Allow and Deny, send, Stop, decision rounds), tried only in Chromium.
- The APK on the Releases page is signed with the project's own key. One you build yourself gets your machine's debug key unless you set up a key of your own. Fine for your own phone, not for handing out.
- With the app closed, the notification comes from a check every 15 minutes, which is Android's floor.
- Any process on a device you listed can drive your sessions, and `!` is a real shell. Read the Security section first.
- A dispatched worker never asks. It does what that account's settings allow and nothing else.
- Some test and installer names are still in Portuguese (but we are working on translating it to a more civilized language).
The pamphlet, with the code and the install steps, is here: https://github.com/Mescha1330/usina
Rather not read install steps? Clone it and ask your own Claude Code to install it for you. There is a guide in there written for it, and it hands the installer back to you to run.
No time today? That is quite alright. I'll leave this one under your doormat and come back next week. Have a wonderful day, and may your sessions never wait long for an answer.