Architecture
ClawCentral is a fully managed, cloud-native platform. There is no daemon to run, no local gateway process, and no local filesystem. All state is persisted in ClawCentral's cloud storage and accessed through the Admin UI at <your-tenant>.clawcentral.io.
Core services
ClawCentral is composed of five logical services. Each service is isolated per user within a multi-tenant environment.
Gateway service
The Gateway service is the WebSocket connection handler for each user. It manages the long-lived connection between OpenClaw desktop/mobile clients (Nodes) and the platform.
- Accepts incoming WebSocket connections from Nodes (macOS, iOS, Android, headless).
- Validates device identity and enforces pairing approval.
- Routes inbound frames to the Session service for AI processing.
- Emits lifecycle events (
agent,presence,health,tick) back to connected clients. - Exposes the OpenClaw RPC protocol over WSS at
<tenant>.clawcentral.io/gateway/ws.
Session service
The Session service handles message dispatch and runs the AI agent loop for each user.
- Receives inbound messages from chat channels (Telegram, Discord, Slack, WhatsApp, Teams, Google Chat, Matrix, Zalo, and others) and from WebSocket clients.
- Runs the streaming AI loop: context assembly → model inference → tool execution → reply dispatch.
- Maintains per-session queue semantics to serialize concurrent messages.
- Delivers replies back to the originating channel or WebSocket client.
Config service
The Config service is the persistent configuration store for each user.
- Stores agent configuration, skills, cron schedules, channel settings, and paired devices.
- Exposes configuration to the Session service and Gateway service at runtime.
- All configuration is managed through the Admin UI → Settings panel.
Conversation service
The Conversation service stores message history per session.
- Persists every turn of the conversation transcript in ClawCentral's cloud storage.
- Provides history for context assembly at the start of each AI run.
- Supports session compaction and pruning policies.