Railway

Deploy Spacebot

Openclaw alternative for teams, communities, and multi-user environments.

Deploy Spacebot

Just deployed

/data

Deploy and Host Spacebot on Railway

Spacebot

Spacebot

An AI agent for teams, communities, and multi-user environments.
Thinks, executes, and responds — concurrently, not sequentially.
Never blocks. Never forgets.

spacebot.shHow It WorksArchitectureQuick StartTech StackDocs

> One-click deploy with spacebot.sh — connect your Discord, Slack, Telegram, or Twitch, configure your agent, and go. No self-hosting required.

Spacebot UI

Spacebot is an AI agent designed for teams and communities, built in Rust with a unique concurrent architecture. Unlike single-session agents, it uses specialized processes—Channels for conversation, Branches for thinking, and Workers for tasks—to handle multiple users simultaneously across Discord, Slack, Telegram, and Twitch without blocking.

About Hosting Spacebot

Spacebot deploys as a single Rust binary with zero external dependencies. It uses embedded SQLite, LanceDB, and redb for persistence, requiring only a volume mount for data storage. Configuration is handled via TOML files and environment variables for LLM API keys (Anthropic, OpenAI, OpenRouter, etc.) and messaging platform tokens. Railway's persistent volume support makes it ideal for hosting Spacebot's databases and memory graph.

Common Use Cases

  • Community Management: Deploy an AI moderator and helper in busy Discord servers or Slack workspaces that can handle 50+ concurrent conversations while maintaining context per user
  • Developer Operations: Run coding agents that spawn persistent workers for complex refactors using OpenCode integration, while answering quick questions from team members simultaneously
  • Automated Research & Monitoring: Schedule cron jobs with natural language ("check inbox every 30 minutes") that execute research tasks and report back to specific channels

Dependencies for Spacebot Hosting

  • LLM API Key (Anthropic, OpenAI, OpenRouter, or other supported provider)
  • Messaging Platform Credentials (Discord bot token, Slack app credentials, Telegram bot token, or Twitch IRC credentials)

Deployment Dependencies

Implementation Details

Spacebot requires a persistent volume mounted at /data (or your configured data directory) to maintain SQLite conversations, LanceDB vector embeddings, and memory graphs across deployments. The binary exposes health check endpoints and Prometheus metrics on a configurable port. Environment variables should include OPENROUTER_API_KEY, ANTHROPIC_API_KEY, or provider-specific keys, plus platform tokens like DISCORD_BOT_TOKEN.

Why Deploy Spacebot 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 Spacebot 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

More templates in this category

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

okisdev
View Template
openui
Deploy OpenUI: AI-powered UI generation with GitHub OAuth and OpenAI API.

zexd
View Template
firecrawl
firecrawl api server + worker without auth, works with dify

Rama