Self-hosted tunnel client — expose a local port at a stable public https URL on tunnels.agentics.dk.
agent-tunnel host --server <url> --owner <owner> --name <tunnel> --http <slot>=<host:port>$ agent-tunnel host --server wss://tunnels.agentics.dk:17443 --owner agentics --name demo --http app=127.0.0.1:3000Expose local port 3000 at https://app--demo.tunnels.agentics.dk:8443
agent-tunnel is the client for the self-hosted Agentics tunnel — a drop-in
alternative to dev tunnels. It connects to a tunnel server over a single
WebSocket, registers one or more slots, and proxies inbound public traffic
to local upstreams. A running tunnel gives a local service a stable public
HTTPS URL, so you can share a dev server, test a webhook, or let a teammate hit
something running on your machine.
The public hostname is derived deterministically from the owner + tunnel + slot names, so the URL is the same every run — no random subdomain churn between restarts.
Install the CLI, then open a tunnel to a local port:
curl -fsSL https://agentics.dk/install/agent-tunnel.sh | bash
agent-tunnel host \
--server wss://tunnels.agentics.dk:17443 \
--owner agentics \
--name demo \
--http app=127.0.0.1:3000
# → https://app--demo.tunnels.agentics.dk:8443
See Quickstart for install options and a full first-run walkthrough.
agent-tunnel host and declare HTTP slots (--http <slot>=<host:port>).(owner, tunnel, slot) identifiers.https://<slot>--<tunnel>.<server-domain>
and forwards public requests back through the tunnel to your local upstream.Read Concepts for slots, naming, and the public
URL formula, and the host command for the complete
flag reference.
Status: beta. v0.1 servers accept anonymous registrations; token auth and ownership enforcement arrive in a later release.