Overview
SimpleClaw on Linux provides:- Gateway server - WebSocket control plane for sessions, channels, and agents
- CLI tools - full command-line interface for management and interaction
- systemd integration - user service for automatic startup
- Docker support - containerized deployment option
- Channel support - all messaging platforms (WhatsApp, Telegram, Slack, Discord, etc.)
- Voice support - via mobile apps (iOS/Android)
- Browser automation - Playwright/Puppeteer for web tools
System Requirements
- Linux distribution - Ubuntu 20.04+, Debian 11+, Fedora 36+, or similar
- Node.js 22+ - required runtime
- systemd - for daemon management (optional)
- X11 or Wayland - for browser automation (optional)
Installation
Via npm (Recommended)
Install globally with npm, pnpm, or bun:Run Onboarding Wizard
The wizard guides you through setup:- Configure gateway settings
- Set up messaging channels
- Authenticate with AI providers
- Install systemd user service (optional)
- Start the gateway
Manual Installation
If you prefer manual setup:Daemon Setup
systemd User Service
Install as a systemd user service:systemd Service File
The service file is installed at:Manual Daemon Management
If you don’t use systemd, you can manage the gateway manually:Configuration
Config Directory
SimpleClaw stores configuration in~/.simpleclaw/:
Gateway Configuration
Edit~/.simpleclaw/config.yaml:
Environment Variables
Set in~/.profile or ~/.bashrc:
Running the Gateway
Start Gateway
Check Status
Stop Gateway
Browser Automation
For web-based tools and browser automation:Install Chromium
SimpleClaw uses Playwright for browser automation:Headless Mode
On servers without a display:Docker with Browser
Build Docker image with browser pre-installed:Docker Deployment
Using Docker Compose
Createdocker-compose.yml:
Build Docker Image
From repository:Docker Security
The Docker image runs as non-root user (node, uid 1000):
- Reduces attack surface
- Prevents container escape via root privileges
- Gateway binds to loopback by default
CLI Usage
Send Messages
Manage Channels
Manage Nodes
Troubleshooting
Gateway Won’t Start
Check for port conflicts:Permission Errors
Ensure config directory is writable:systemd Service Fails
Check service status and logs:Browser Automation Fails
Install missing dependencies:Config Not Loading
Run diagnostics:- Missing configuration
- Permission issues
- Deprecated settings
- Channel misconfigurations
Platform-Specific Features
Desktop Notifications
Linux desktop notifications vianotify-send:
Voice Features
Voice Wake and Talk Mode are available via mobile apps:- Install SimpleClaw iOS or Android app
- Connect to gateway as a node
- Use voice features on mobile device
Security Considerations
Firewall Configuration
Allow gateway port:Bind Address
--bind loopback- localhost only (most secure)--bind lan- all interfaces (for mobile apps)