Headmaster on the Go
Headmaster on the Go is the browser-based interface for Headmaster. It lets you access your agents from a phone, tablet, or another computer’s browser — without installing the desktop app on that device.How browser access works
| Mode | Entry point | Data directory | When to use |
|---|---|---|---|
| Desktop-bundled | Toggle in Settings, or Headmaster --webui | Same as desktop (%APPDATA%\Headmaster) | Phone on the same network, second screen, testing. Shares all data with the desktop app. |
| Standalone | headmaster-web CLI on a headless server | Separate data directory | Headless server, container, always-on deployment. No desktop install needed. |
--data-dir.
Desktop-bundled WebUI
This is the quickest way to get browser access. The WebUI runs alongside the desktop app and shares the same data — conversations, memory, skills, channels, sessions.Running it locally
- Open Headmaster.
- Open Settings → Headmaster on the Go.
- Turn on Enable browser access.
- The panel shows a URL (e.g.,
http://localhost:25808). - Open that URL in a browser on the same machine.
- Copy the initial random admin password immediately — the UI masks it after first display.
LAN access
- In the WebUI settings, also turn on Allow LAN access.
- The panel shows two URLs:
Local: http://localhost:25808Network: http://192.168.x.x:25808
- Open the Network URL from another device on the same Wi-Fi.
Only enable LAN access on networks you trust. The login screen is bcrypt-hashed and rate-limited, but any device on your LAN can reach it.
QR code login
When WebUI is enabled, the desktop app shows a QR code. Scan it with your phone’s camera to open the WebUI URL and log in automatically. The QR code encodes the URL and a one-time login token.Starting WebUI from the command line
Desktop-bundled
| Platform | Local access | LAN access |
|---|---|---|
| Windows | Headmaster.exe --webui | Headmaster.exe --webui --remote |
| macOS | /Applications/Headmaster.app/Contents/MacOS/Headmaster --webui | ... --webui --remote |
| Linux (user) | Headmaster --webui | Headmaster --webui --remote |
| Linux (root) | sudo Headmaster --webui --no-sandbox | sudo Headmaster --webui --remote --no-sandbox |
| Android (Termux) | Headmaster --no-sandbox --webui | Headmaster --no-sandbox --webui --remote |
--no-sandbox is required when running as root or inside Proot/Termux. Desktop users should not add this flag.
Standalone
Cross-network access (3 methods)
Tailscale (recommended) (recommended — easiest)
Difficulty: Very easy. No public IP needed.- Install Tailscale on the Headmaster computer. Log in.
- Get the Tailscale IP:
tailscale ip(format100.x.x.x). - Enable Allow LAN access in WebUI settings (or start with
--remote). - Install Tailscale on your remote device (phone, laptop). Log in with the same account.
- Open
http://100.x.x.x:25808in the remote device’s browser. - Log in via QR code scan (recommended) or username (
admin) + password.
- Can’t connect? Ensure both devices use the same Tailscale account, client is running, firewall allows traffic. Restart:
sudo tailscale restart. - Can’t access Headmaster? Confirm
--remoteflag is used, check IP withtailscale ip, ensure port 25808 is free. - Check status:
tailscale status.
ZeroTier
Same concept as Tailscale — install on both machines, join the same network, access via the ZeroTier IP.Server with public IP (public IP)
Difficulty: Medium. Requires a cloud server with public IP (Linux Ubuntu recommended). Linux server deployment:- Create a systemd service:
- Add configuration:
- Enable and start:
- Open the firewall:
- Access:
http://Your-Server-IP:25808
- Create a LaunchAgent at
~/Library/LaunchAgents/com.headmaster.webui.plist:
- Start:
- Open port 25808 in System Settings → Network → Firewall.
- Service won’t start? Check Headmaster path (
which Headmaster), user permissions, logs (sudo journalctl -u headmaster-webui.service -n 50). - No internet access? Verify firewall and cloud security groups allow port 25808. Ensure
--remoteflag is used. - Check port:
telnet Your-Server-IP 25808ornc -zv Your-Server-IP 25808.
Security recommendations
- Strong passwords: Use a complex admin password. The initial random password is strong — keep it or change it to something equally strong.
- Firewall: Only expose port 25808 to the networks that need it. Use Tailscale instead of opening the port to the whole internet.
- HTTPS: For production deployments, put a reverse proxy (nginx, Caddy) in front with TLS termination. Don’t expose the raw port over the public internet without encryption.
- Rate limiting: The login screen is already rate-limited, but a reverse proxy can add additional protection.
- Single user: WebUI currently supports a single user (admin). Multiple people can access using the same admin account, but separate user accounts are not supported yet.
Mobile access
The WebUI is mobile-responsive. On a phone browser:- The sidebar collapses into a hamburger menu.
- The composer sticks to the bottom.
- File previews open in a full-screen overlay.
- Approvals and clarifications render as tappable cards.
Android via Termux
Only WebUI mode works on Android (the desktop window needs an X server). Community-supported. Requirements: Android 7.0+, ~5 GB free storage, Termux from F-Droid (Play Store build is outdated).http://localhost:25808 or http://<device-ip>:25808 from another device on the same network.
Password management
| Mode | Command | Notes |
|---|---|---|
| Desktop-bundled | Headmaster --resetpass | Resets the admin password |
| Standalone (tarball) | headmaster-web resetpass | Resets the admin password |
| Standalone (in-repo dev) | bun run resetpass | Resets the admin password |
resetpass to generate a new one.