agent-anywhere-gateway
v0.1.1
Published
Standalone Agent Anywhere Gateway CLI for controlled machines.
Downloads
347
Readme
Agent Anywhere Gateway
Standalone gateway for Agent Anywhere controlled machines.
Install
npm install -g agent-anywhere-gatewayRun
agent-anywhere-gateway \
--server https://agent-anywhere.example.com \
--id office-mac \
--token your-real-token \
--allowed-roots /Users/me/gitrepo \
--provider codexOne gateway can expose multiple local runtimes:
agent-anywhere-gateway \
--server https://agent-anywhere.example.com \
--id office-mac \
--token replace-me \
--allowed-roots /Users/me/gitrepo \
--providers codex,claude-codeService install
Install the gateway as a current-user service:
agent-anywhere-gateway service install \
--server https://agent-anywhere.example.com \
--id office-mac \
--token replace-me \
--allowed-roots /Users/me/gitrepo \
--provider codexManage it with:
agent-anywhere-gateway service status
agent-anywhere-gateway service logs --follow
agent-anywhere-gateway service restart
agent-anywhere-gateway service uninstallThe service command uses native user-level managers: macOS LaunchAgent, Linux user systemd, and Windows Task Scheduler.
--server accepts the Control Server or Worker URL and expands it to
/api/gateways/{gateway_id}/ws. Use --server-ws-url when you need to pass
the exact WebSocket URL.
The same settings can be provided with environment variables:
AGENT_ANYWHERE_SERVER_WS_URLAGENT_ANYWHERE_GATEWAY_IDAGENT_ANYWHERE_GATEWAY_TOKENAGENT_ANYWHERE_ALLOWED_ROOTSAGENT_PROVIDERAGENT_PROVIDERS
Version: 0.1.1
