Railway

Deploy AstrBot - OpenClaw alternative

OpenClaw alternative: AI agent framework with IM & LLM integration

Deploy AstrBot - OpenClaw alternative

soulter/astrbot:latest

soulter/astrbot:latest

Just deployed

/AstrBot/data

Deploy and Host AstrBot on Railway

AstrBot is a modern, open-source AI agent platform that enables you to build intelligent chatbots for popular messaging platforms using today's leading large language models. It combines AI conversations, plugins, knowledge bases, multimodal capabilities, MCP support, and agent workflows into a single platform, making it easy to deploy production-ready AI assistants for personal, business, and community use.

About Hosting AstrBot

Deploying AstrBot on Railway provides a fast, production-ready hosting solution without the complexity of managing infrastructure. Railway automatically builds the application using its Dockerfile, provisions networking, and allows persistent storage through Volumes so your configuration, plugins, and data survive deployments.

AstrBot includes a modern WebUI for managing AI providers, messaging platform integrations, plugins, personas, and knowledge bases. Once deployed, you can connect providers such as OpenAI, Gemini, Anthropic, DeepSeek, Ollama, LM Studio, Dify, Coze, and many others using secure Railway environment variables.

Railway also provides automatic deployments from GitHub, centralized logs, monitoring, custom domains, and seamless scaling, allowing you to focus on building AI-powered applications instead of maintaining servers.

Dependencies for AstrBot Hosting

  • Persistent Volume (recommended for configuration, plugins, uploads, and data)
  • API credentials for your preferred AI provider (OpenAI, Gemini, DeepSeek, Anthropic, Ollama, etc.)

Deployment Dependencies

Implementation Details

Recommended Railway Configuration

SettingValue
BuilderDockerfile
Dockerfile PathDockerfile
Root DirectoryLeave blank
Start CommandLeave blank (use Dockerfile default)
Public NetworkingEnabled
Persistent Volume/AstrBot/data
Environment VariablesTZ, AI provider API keys, and any optional AstrBot configuration variables

Recommended Environment Variables

TZ=UTC
OPENAI_API_KEY=your_api_key
OPENAI_BASE_URL=https://api.openai.com/v1

Attach a Railway Volume to preserve configuration, plugins, and uploaded data across deployments.

First Login

On the first deployment, AstrBot automatically generates a dashboard username and password for security reasons.

Retrieve Your Login Credentials

  1. Open your Railway Project.
  2. Select the AstrBot service.
  3. Go to Deployments.
  4. Open the latest deployment.
  5. Click View Logs.
  6. Select Deploy Logs.
  7. Copy the generated dashboard username and password.

Step 1 – Open Deploy Logs

Open Deploy Logs

Step 2 – Copy the Generated Credentials

Generated Username and Password

You will see output similar to:

username: astrbot
password: xxxxxxxxxxxxxxxxx

Use these credentials to log in to the AstrBot WebUI.

Note: These credentials are generated only during the initial deployment. Save them somewhere safe, as you'll need them to access the dashboard.

Common Use Cases

  • Build AI assistants for Telegram, Discord, Slack, QQ, WeChat, and other messaging platforms.
  • Create customer support, automation, and knowledge base chatbots powered by modern LLMs.
  • Develop extensible AI agents with plugins, tools, multimodal capabilities, and custom workflows.

✨ Features

  • πŸ’― Free & Open Source
  • πŸ€– Production-ready AI Agent Platform
  • πŸ’¬ AI LLM Conversations
  • 🧠 Knowledge Base Support
  • 🧩 1000+ Community Plugins
  • πŸ› οΈ MCP (Model Context Protocol) Support
  • 🎭 Persona & Character Management
  • πŸ—œοΈ Automatic Context Compression
  • 🌐 Built-in Web Dashboard
  • πŸ’» Built-in ChatUI
  • πŸŽ™οΈ Speech-to-Text Support
  • πŸ”Š Text-to-Speech Support
  • πŸ–ΌοΈ Multimodal AI (Images, Audio & Files)
  • πŸ›‘οΈ Secure Agent Sandbox
  • 🌍 Internationalization (i18n)
  • ⚑ Highly Extensible Plugin Architecture

πŸ“± Supported Messaging Platforms

AstrBot integrates with many messaging and collaboration platforms, including:

  • Telegram
  • Discord
  • Slack
  • QQ
  • OneBot v11
  • WeChat Official Accounts
  • WeCom
  • Feishu (Lark)
  • DingTalk
  • LINE
  • Mattermost
  • KOOK
  • Misskey
  • Satori
  • Matrix
  • Rocket.Chat
  • VoceChat

…and many more.

🧠 Supported AI Providers

Large Language Models

  • OpenAI
  • Anthropic Claude
  • Google Gemini
  • DeepSeek
  • Moonshot AI
  • Zhipu AI
  • Ollama
  • LM Studio
  • SiliconFlow
  • ModelScope
  • OneAPI
  • AIHubMix
  • 302.AI
  • CompShare
  • TokenPony
  • PPIO Cloud

AI Platforms

  • Dify
  • Coze
  • Alibaba Cloud Bailian

Speech-to-Text

  • OpenAI Whisper
  • SenseVoice
  • Xiaomi MiMo Omni

Text-to-Speech

  • OpenAI TTS
  • Gemini TTS
  • Azure TTS
  • FishAudio
  • GPT-SoVITS
  • Edge TTS
  • Minimax TTS
  • Volcano Engine TTS
  • Xiaomi MiMo TTS

πŸš€ Common Use Cases

  • AI assistants for Telegram, Discord, Slack, QQ, and WeChat
  • Customer support chatbots
  • Enterprise knowledge base assistants
  • AI-powered automation agents
  • Personal AI companions
  • Community moderation bots
  • AI workflow automation
  • Educational AI tutors
  • Plugin-powered AI applications
  • Internal company assistants

Why Deploy AstrBot 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 AstrBot 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.


Template Content

soulter/astrbot:latest

soulter/astrbot:latest

More templates in this category

View Template
Chat Chat
Chat Chat, your own unified chat and search to AI platform.

okisdev
112
View Template
stella
Self-host stella with web, API, Postgres, Redis, and object storage.

Jan Kubica
1
View Template
Hermes Agent | OpenClaw Alternative with Dashboard
[Jul'26] Self-improving AI agent with memory, skills, and web dashboard πŸ€–

codestorm
50