Gateway
The Gateway is the central hub of OpenClaw.
Overview
The Gateway:
- Manages all channel connections
- Routes messages to agents
- Handles authentication
- Coordinates tools and skills
- Provides API endpoints
Quick Start
bash
# Start the gateway
openclaw gateway start
# Check status
openclaw gateway status
# View logs
openclaw logs -fDocumentation
| Topic | Description |
|---|---|
| Configuration | Gateway settings |
| Authentication | Security and auth |
| Security | Security best practices |
| Remote Access | Access from anywhere |
| Logging | Log management |
| Sandboxing | Isolation and security |
| Troubleshooting | Common issues |
Architecture
┌─────────────────────────────────────────┐
│ Gateway │
│ ┌─────────┐ ┌─────────┐ ┌─────────┐ │
│ │ HTTP │ │ WebSocket│ │ API │ │
│ │ Server │ │ Server │ │ Router │ │
│ └─────────┘ └─────────┘ └─────────┘ │
└─────────────────────────────────────────┘Default Port
The gateway runs on port 3000 by default.