Overview
The gateway is configured throughargent.json, the main configuration file located at ~/.argentos/argent.json.
Configuration File
Core Settings
Port
The WebSocket port the gateway listens on:Host
The interface to bind to:"localhost"— Only accept local connections (default for security)"0.0.0.0"— Accept connections from any interface (needed for remote access)
Authentication
Gateway auth prevents unauthorized access to the WebSocket API:State Directory
The gateway stores its state in:LaunchAgent Configuration (macOS)
Theargent gateway install command generates a plist at:
1
Edit the plist
Edit
~/Library/LaunchAgents/ai.argent.gateway.plist2
Change the node path
Update to your nvm node (e.g.,
/Users/you/.nvm/versions/node/v22.22.0/bin/node)3
Reload the service
