Template repository for deploying OpenClaw AI chatbot instances via Railway from the Agent Smith dashboard.
- Agent Smith provisions a Railway service from this repo
- Brand intelligence data is pushed as a base64-encoded
SOUL_MDenvironment variable start.shdecodes it intoworkspace/SOUL.mdbefore starting the OpenClaw gateway- The gateway exposes an OpenAI-compatible chat API that Agent Smith proxies to
| Variable | Description |
|---|---|
OPENCLAW_GATEWAY_TOKEN |
Auth token for the gateway API (auto-generated) |
SOUL_MD |
Base64-encoded brand personality document (set via brand sync) |
PORT |
Server port (Railway sets this automatically) |
TELEGRAM_ENABLED |
Enable Telegram channel (true/false) |
TELEGRAM_BOT_TOKEN |
Telegram bot token from @BotFather |
WHATSAPP_ENABLED |
Enable WhatsApp channel (true/false) |
npm install
export OPENCLAW_GATEWAY_TOKEN=test-token
bash start.sh