此页面目前仅提供英文版。

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.

Published · Updated

A small house with one lit window on a hill at night. A thin arc of light rises from its roof across a starry purple sky to a tiny glow far away over distant hills.

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:

WayCatch
Port forwarding and a domainYou open your home network to the internet and manage certificates
A VPN to your home networkEvery phone needs a VPN app that is switched on
A VPS instead of a home serverMonthly cost, and your data is no longer at home
A tunnel serviceExtra 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

  1. An address that works from any network, over HTTPS.
  2. A native app on the phone that can sign in to your server, not only a web page.
  3. Notifications that arrive when a bot needs you or finishes.
  4. An easy sign-in, since typing a long address and a password on a phone is no fun.
  5. 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

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.

Get Casama