
Deploy Clawdbot AI
Deploy your own [ClawdBot AI] gateway on Railway with persistent storage.
Clawdbot AI
Just deployed
/data
Deploy and Host Clawdbot AI on Railway
ClawdBot AI is a powerful, flexible AI gateway and agent system designed to bridge various LLMs (Claude, GPT, Gemini, DeepSeek) with multiple chat platforms like Telegram, Discord, and Slack. It provides a unified interface for managing AI-driven interactions, session persistence, and custom agent logic with built-in memory capabilities.
About Hosting Clawdbot AI
Deploying ClawdBot AI involves setting up a containerized environment capable of running the Go-based gateway service. For a production-ready setup, the service requires a persistent storage volume to maintain state (sessions, memory, and configurations) across restarts. By hosting on Railway, the process is streamlined through a Docker-based deployment that automatically configures public networking and volume mounting. You will need to provide environment variables for your chosen AI providers (API keys) and messenger bots (tokens). Once initialized, the service offers a web-based wizard for final configuration and real-time management.
Common Use Cases
- Personal AI Assistant: Automate tasks and get instant answers across Telegram and Discord.
- Unified AI Gateway: Centralize multiple AI models (OpenAI, Anthropic, Groq) under one persistent infrastructure.
- Enterprise Middleware: Bridge corporate Slack channels with customized AI agents for automated research or support.
Dependencies for Clawdbot AI Hosting
- API Keys: Access keys for AI models (e.g., Anthropic, OpenAI, or Google Generative AI).
- Persistent Volume: A storage unit mounted at
/datato preserve agent state and session data. - Bot Tokens: Integration tokens from platforms like Telegram (@BotFather) or Discord Developer Portal.
Deployment Dependencies
Implementation Details
The gateway runs on port 8080 by default and utilizes a /data mount point for state persistence. Configuration is managed via environment variables to ensure secrets like API keys remain secure.
Why Deploy Clawdbot AI on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying Clawdbot AI on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
🚀 Easy Setup
- Deploy: Click the button above or connect your fork to Railway.
- Setup ENV: Fill in the required environment variables (see below).
- Volume: Make sure a volume is mounted at
/data(Auto-configured inrailway.json). - Access: Once deployed, visit
https://YOUR-URL/setupand use yourSETUP_PASSWORD.
Environment Variables
System Config (Required)
SETUP_PASSWORD: Admin password for the web wizard.PORT: Fixed to8080(Must match Railway Public Networking).CLAWDBOT_STATE_DIR:/data/.clawdbot(Persistence).CLAWDBOT_WORKSPACE_DIR:/data/workspace(Agent storage).
AI Provider Keys
ANTHROPIC_API_KEY: API key for Claude 3.5 Sonnet / Claude 3 Opus.OPENAI_API_KEY: API key for GPT-4o / GPT-4o-mini.DEEPSEEK_API_KEY: API key for DeepSeek V3 / R1.GOOGLE_GENERATIVE_AI_API_KEY: Gemini 2.0 / 1.5 API key.GROQ_API_KEY: Llama 3 / Mixtral API key via Groq.
Chat Integration
TELEGRAM_BOT_TOKEN: Token from @BotFather.DISCORD_BOT_TOKEN: Token from Discord Developer Portal.SLACK_BOT_TOKEN: Slack Bot User OAuth Token.WHATSAPP_LINK_CODE: Pairing code for WhatsApp.
Persistence
Everything is stored in the Railway Volume mounted at /data. This includes your login sessions, agent configurations, and memory.
Template Content
Clawdbot AI
icueth/clawdbot-ai-railwayGROQ_API_KEY
OPENAI_API_KEY
MISTRAL_API_KEY
SLACK_APP_TOKEN
SLACK_BOT_TOKEN
DEEPSEEK_API_KEY
MATTERMOST_TOKEN
ANTHROPIC_API_KEY
DISCORD_BOT_TOKEN
TELEGRAM_BOT_TOKEN
WHATSAPP_LINK_CODE
--- OPTIONAL ---
TOGETHER_AI_API_KEY
--- CHAT PLATFORMS (SURFACES) ---
GOOGLE_GENERATIVE_AI_API_KEY
