liveagent-gateway

Installation
SKILL.md

LiveAgent Gateway

Drive a LiveAgent instance remotely over its gateway — from any agent, shell, or program.

The gateway is a relay, not an execution environment. It never runs shell commands, never touches a filesystem, and never stores credentials. It authenticates the caller, applies a whitelist, forwards the request to a desktop agent, and relays the answer back. Every privileged action happens on the desktop machine.

1. Required parameters

Collect these three before anything else. If the caller did not supply them, ask rather than guess.

Parameter Env var Meaning How to obtain
Gateway URL LAG_GW Base URL, with scheme Deployment output, e.g. http://localhost:3000, https://gw.example.com
Token LAG_TOKEN Gateway token or agt_… per-agent token LIVEAGENT_GATEWAY_TOKEN at deploy time, or issued via the admin API
Agent ID LAG_AGENT Which desktop to target scripts/lag.sh agents, or desktop Settings → Remote → Agent ID

Port conventions: direct container access uses the mapped host port (commonly 3000); behind a reverse proxy use the HTTPS URL and port 443.

If LAG_AGENT is unknown, run the agents command first — every targeted request needs a non-empty agent id.

Installs
1
First Seen
Oct 24, 2026