Skip to content

Network Access

Aegis Core is the stateful runtime. Desktop apps, mobile apps, channels, MCP clients, and agent plugins all need a Core URL. The right network path depends on which devices need access and how public the endpoint should be.

OptionBest forCore URL shapeNotes
Local-onlyOne desktop app controls Core on the same machinehttp://127.0.0.1:8787Safest default. Mobile devices cannot reach it directly.
LANPhone and desktop are on the same trusted networkhttp://192.168.x.x:8787 or http://hostname.local:8787Useful for home/lab testing. Avoid untrusted Wi-Fi.
Tailscale ServePrivate access from devices in your tailnethttps://<device>.<tailnet>.ts.netGood default for owner devices across networks.
Tailscale FunnelTemporary public access through Tailscalehttps://<name>.<tailnet>.ts.netPublic internet exposure. Use sparingly and keep Aegis auth enabled.
Cloudflare TunnelStable public HTTPS hostname without opening router portshttps://aegis.example.comGood for webhooks, mobile access outside LAN, and owner-controlled domains.
VPS / public hostAlways-on remote Corehttps://aegis.example.comRequires hardening, backups, monitoring, and owner-controlled secrets.
  • Use local-only when you only need the desktop app.
  • Use Tailscale Serve when your phone, tablet, or second computer should privately reach Core from outside the LAN.
  • Use Cloudflare Tunnel when you need a real public HTTPS hostname, webhook callbacks, or mobile access without a VPN client.
  • Treat Tailscale Funnel and public-host deployments as public exposure. Keep them behind Aegis auth and avoid using them for early development builds.

The desktop app should generate a pairing QR code or setup link with:

  • Core URL.
  • Node ID.
  • Platform and device family.
  • Optional scoped node token.

If a phone cannot connect, check the network path before rotating tokens:

  1. Open the Core URL from the phone browser.
  2. Confirm the desktop app reports Core as healthy.
  3. Confirm the URL uses the same route the phone can actually reach.
  4. Regenerate the pairing link if the Core URL changed.

Cloudflare Tunnel and Tailscale are transport choices. They do not replace Aegis auth, scoped Native Node tokens, tool approval policy, provider secrets, or evidence logging.