How do I run AI agents on my own server from my phone?
Run the agent software on a computer you own, give that computer an address your phone can reach, and sign in from a phone app. The hard part used to be the address. Some agents now offer a relay that does it with no domain, port forwarding or VPN.

Why it's awkward
A server on your laptop or in a cupboard at home sits behind your router. Your phone, out on a mobile network, can't reach it. The usual fixes all have a catch:
| Way | Catch |
|---|---|
| Port forwarding and a domain | You open your home network to the internet and manage certificates |
| A VPN to your home network | Every phone needs a VPN app that is switched on |
| A VPS instead of a home server | Monthly cost, and your data is no longer at home |
| A tunnel service | Extra setup, and another company in the path |
And reaching the server is only half of it. A real phone app also needs push notifications, which only work through Apple's and Google's services, tied to the app in the store.
What you need for it to feel like a normal app
- An address that works from any network, over HTTPS.
- A native app on the phone that can sign in to your server, not only a web page.
- Notifications that arrive when a bot needs you or finishes.
- An easy sign-in, since typing a long address and a password on a phone is no fun.
- Your data staying home. Traffic should pass through to your machine, not be stored along the way.
What to look for in an agent
Check that the agent has a phone app that can connect to your own server, that it can send push notifications, and that it explains how to reach the server from outside your home network. Some apps only talk to the vendor's cloud.
Good to know
- The computer must be on. A laptop that sleeps takes your bots with it. A small always-on machine, or a VPS, avoids that.
- Your data stays with you only if traffic goes straight to your machine and isn't stored along the way. Read what any relay keeps.
Casama
A self-hosted Casama server can use Casama Link, which gives it an address your phone can reach with no domain and no open ports. You sign in by scanning a QR code, and notifications reach the Casama apps from Google Play, or from TestFlight on iPhone (public beta). Self-hosting is free for personal use. See use your server on your phone. With Casama Cloud there is nothing to set up.