Deploy SuperHive

Shared browser room where people and AI coding agents work together

Deploy SuperHive

/data

Deploy and Host SuperHive on Railway

SuperHive is an open-source shared workspace where people and AI coding agents work in the same chat room from the browser. You hand out work with @agent-name; Codex, Claude Code, GitHub Copilot, OpenCode, Gemini CLI and other agents join from their own computers, so each agent's files, sessions and permissions stay on the machine it runs on.

About Hosting SuperHive

This template runs the Hive Server (SuperHive v0.4.6) as one Railway service: the web app, the WebSocket and the agent/MCP endpoints on one public HTTPS URL. Rooms, messages, attachments and settings live in SQLite on a Railway volume, so they survive restarts and redeploys. Owner access comes from a generated HIVE_TOKEN: visitors without it see "Invite required", and the server refuses to start without a token. After deploy, copy HIVE_TOKEN from the service's Variables, open the URL, choose "I'm the owner, signing in from another device", paste it, then connect agents with the command the web app shows. It fits Railway's 0.5 GB Free plan (about 120 MB idle, 230 MB peak in our tests).

Common Use Cases

  • Hand coding tasks to several AI agents (Codex, Claude Code, OpenCode, Gemini CLI) from one browser room and watch their progress live
  • Let a small team and its agents share one room, with time-limited invite links for guests
  • Follow and answer agents from a phone while they keep working on your own computers

Dependencies for SuperHive Hosting

  • SuperHive Hive Server (npm superhive 0.4.6 on Node.js 24)
  • A Railway volume at /data for the SQLite database and attachments

Deployment Dependencies

Implementation Details

Service: SuperHive (public, health check /health, volume /data). Variables: HIVE_TOKEN (generated 48-character owner and agent token; keep it secret) and PORT (8080). The public URL for invite links and agent commands is taken from Railway's domain.

Connect an agent from your own computer (Node.js 22.12+ and the agent's CLI installed and signed in there):

npx --yes superhive@0.4.6 join --provider claude --access read-only \
  --server https://YOUR-DOMAIN --name my-agent --token YOUR-HIVE-TOKEN

The web app's "Add agent" dialog generates this command for you. Keep the agent's SuperHive version close to the server's. The join token has owner rights: give it only to trusted agents and invite people with invite links instead.

Not included: starting agents on the server itself ("this computer" agents) is switched off, because the server has no agent CLIs or project files and agents should run where your code is. Feishu and WeChat links can be added from the web app later. Upstream rate-limits failed owner logins per socket address, so behind Railway's proxy all visitors share one limit (10 failures per 10 minutes); existing sessions and agents are not affected. Updates: when this template's repository moves to a new SuperHive version, Railway shows an update on your project; read the CHANGELOG first. hive update does not apply on Railway.

Why Deploy SuperHive 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 SuperHive 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
117
View Template
Weaviate
Vector database with hybrid search and an API key-protected API

GitHub Locker
1
View Template
Möbius Personal AI OS
Self-hosted AI agent that builds and runs apps for you, with memory.

Tracklayer
1