Skip to content
Boris Truyens

A computer in your pocket

A home PC that runs AI agents I steer from my phone, privately reachable from anywhere. Plus a public kit so a friend can do the same.

My PC stays at home. I don’t always. The question was: how do I make that PC usable from anywhere, with only a phone, without exposing it to the open internet?

The parts

  • My own chat page for the DeepSeek language model. It runs on the PC, shows the answer while it is being written, shows the model’s reasoning, and shows the remaining balance. The API key stays on the PC; the browser never sees it.
  • Coding agents I steer from my phone. With Paseo, an agent runs on the PC that can read files and run commands. The “hands” are Claude Code, the “brain” is DeepSeek. I give an instruction on my phone, the PC does the work.
  • A private network with Tailscale. Phone, laptop and PC sit in one encrypted network, with HTTPS, without opening ports on the router.
  • Tunnels for the few things that may be public, like the bird flock and the mixer. Every project gets its own tunnel and its own subdomain.

What went wrong, and what stayed

Self-built infrastructure mostly teaches you humility.

The flashing window. Every five minutes, a task checked whether all services were still running. Every time, a PowerShell window flashed on screen. “Hidden” turned out not to be hidden enough. The fix was a console without a window. A small annoyance, but a detail like that decides whether you trust a system or just put up with it.

Services that heal themselves. Every project got a script with ensure, status and restart. ensure doesn’t just check that the process runs, but that a request gets an answer end to end. A running process that answers nothing is not a working service.

The language-model API. The model “thinks” in hidden tokens that count against the maximum length. With too low a limit, I got an empty answer, with a note that the limit was reached. Switch thinking off for simple tasks and it takes six seconds instead of a minute and a half, with the same result. On hard tasks, without thinking, it made up errors with great confidence.

The phone itself

I also wanted the other direction: to look into the phone from the PC. Wireless debugging with adb works, but the port changes on every restart and automatic discovery found nothing on my network. The fix was blunt and effective: scan the phone’s ports 30000 to 49999 in parallel until one answers. Since then the PC connects without a new pairing code.

A kit for a friend

A friend wanted the same. So it became a public kit: a few Node scripts that work on Windows, macOS and Linux, with a one-command setup, autostart, and optional Tailscale. Personal details were deliberately left out. There is even a separate guide for Arch Linux.

Why it matters

A CNC machine is also a computer you don’t take with you. You program at the machine or in the office, and you want to know what it is doing when you are not standing next to it. A system that checks itself, heals itself and only bothers you when it really has to: in the workshop that is just as valuable as at home.

The kit on GitHub →

Where this leads

This project shares threads with others. Follow one.