Hermes Agent is a powerful personal AI assistant, but running it on a single machine limits its utility. In a recent guide, Tonbi's AI Garage demonstrates how to break free from this 'trapped-agent problem' using three simple tools: Tailscale, Termius, and tmux.
The Three-Tool Fix
- Tailscale creates a secure mesh network (tailnet) between your devices, allowing direct encrypted connections without opening public ports. It's free for personal use and works on Windows, Linux, macOS, iOS, and Android.
- Termius is a cross-platform SSH client that lets you manage remote connections from your phone or laptop. It supports SSH keys and port forwarding, making it ideal for accessing a Hermes dashboard.
- tmux is a terminal multiplexer that keeps processes running even after you disconnect. You can start a task on your PC, then reattach the same session from your phone.
Why Not Alternatives?
The video explains why port forwarding, ngrok, and Cloudflare Tunnel are less ideal: they expose public IPs or require extra configuration. Tailscale's zero-trust model is safer and simpler.
Step-by-Step Setup
- Install Tailscale on the host machine (e.g., WSL or VPS) and enable MagicDNS for easy hostnames.
- Add Tailscale to your iPhone and ensure all devices are on the same tailnet.
- Install OpenSSH server on the host.
- Use Termius to set up the host with SSH key authentication and configure port forwarding to the Hermes dashboard (typically localhost:XXXX).
- Install tmux on the host and create persistent sessions.
- Demo: Start a task on PC, disconnect, then reattach the same session from Termius on iPhone.
With these three tools, your Hermes Agent is no longer tied to one machine. You can check logs, continue conversations, or monitor tasks from anywhere, all with end-to-end encryption.