
Deploy OpenFang
A template for OpenFang: The Agent Operating System.
openfang-railway-template
Just deployed
Deploy and Host OpenFang on Railway
OpenFang is an open-source Agent Operating System built in Rust. It runs autonomous AI agents — called Hands — that work on schedules, build knowledge graphs, generate leads, manage social media, and report results to a dashboard. One binary, 27 LLM providers, 40 channel adapters.
About Hosting OpenFang
OpenFang ships as a single Rust binary with a built-in web dashboard. This template wraps it in a lightweight Node.js proxy that handles Railway-specific concerns: a password-protected /setup page, automatic API key injection into the dashboard, a stable healthcheck endpoint, and generated config backed by a persistent volume at /data. Set three environment variables (SETUP_PASSWORD, OPENFANG_API_KEY, and one LLM provider key), attach a volume, and you're running.
Common Use Cases
- Autonomous research and OSINT — activate the Researcher or Collector Hands to continuously monitor topics, companies, or competitors and deliver cited reports
- Lead generation — run the Lead Hand on a daily schedule to discover, enrich, and score prospects matching your ICP
- Chat agents over messaging platforms — connect agents to Telegram, Discord, Slack, WhatsApp, or any of the 40 built-in channel adapters
- AI-powered content pipelines — use the Clip Hand to turn YouTube videos into captioned vertical shorts, or the Twitter Hand to manage an autonomous posting schedule
Dependencies for OpenFang Hosting
- Railway volume mounted at
/datafor persistent config, secrets, and SQLite state - One LLM provider API key — Anthropic, OpenAI, Groq, Gemini, or any of the 27 supported providers
Deployment Dependencies
Why Deploy OpenFang 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 OpenFang 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
openfang-railway-template
nazihkalo/openfang-railway-templateSETUP_PASSWORD
Password to access the /setup UI for initial configuration
OPENFANG_API_KEY
A secret YOU create to secure your OpenFang API endpoints (e.g., openssl rand -hex 32)

