Overview
The gateway is the central nerve system of ArgentOS. It is an always-on process that:- Manages channels: Connects to Telegram, Discord, WhatsApp, and other platforms
- Routes messages: Directs incoming messages to the correct agent and session
- Streams responses: Delivers agent responses back to channels and the dashboard
- Runs health checks: Monitors system health and cleans up zombie processes
- Triggers heartbeats: Periodically wakes the agent for autonomous task work
Starting the Gateway
Architecture
The gateway listens on a WebSocket port (default: 18789) and accepts connections from the dashboard and internal components.Service Management
- macOS (launchd)
- Linux (systemd)
Ports
| Port | Service | Description |
|---|---|---|
| 18789 | Gateway | WebSocket control plane |
| 3141 | Dashboard | Web UI and API server |
Verifying the Gateway
- Status: running
- RPC probe: ok
- Listening: *:18789
