Deploy Hermes WebUI
Web and mobile UI for Nous Research's Hermes Agent, with the agent built in
hermes-webui
Just deployed
/opt/data
Deploy and Host Hermes WebUI on Railway
Hermes WebUI is an open-source (MIT) browser and mobile interface for Hermes Agent, the self-improving AI agent by Nous Research. It gives you chat sessions with streaming, tool calls, file workspaces, memory, skills, scheduled tasks and profiles, all from a web page you can install as an app on your phone.
About Hosting Hermes WebUI
This template runs Hermes WebUI v0.52.731 together with the official Hermes Agent v0.23.3 in one service, built from a public GitHub repo that pins both upstream images by version and digest. All state (agent config, provider keys, sessions, memory, skills, workspace files) lives on one Railway volume at /opt/data, so it survives redeploys and restarts. The WebUI is password protected from the first second: Railway generates HERMES_WEBUI_PASSWORD at deploy time. After the deploy, open the public URL, sign in with that password and pick a model provider (OpenRouter, Anthropic, OpenAI, Gemini, a local OpenAI-compatible server and more) in the setup wizard. You bring the provider's API key.
Common Use Cases
- A private, always-on Hermes Agent you can chat with from any browser or phone
- Running agent tasks with files in a persistent workspace, with tools and memory kept between sessions
- Scheduled agent jobs (cron) and messaging platforms served by the bundled Hermes gateway
Dependencies for Hermes WebUI Hosting
- An API key for a model provider (for example OpenRouter, Anthropic or OpenAI), entered in the setup wizard after deploy
- One Railway volume (included) for all agent and WebUI data
Deployment Dependencies
- Hermes WebUI: https://github.com/nesquena/hermes-webui (release v0.52.731)
- Hermes Agent: https://github.com/NousResearch/hermes-agent (release v0.23.3)
- Template source: https://github.com/aalfath/hermes-webui-railway-template
Implementation Details
One service, hermes-webui, built from aalfath/hermes-webui-railway-template:
- Dockerfile:
FROM nousresearch/hermes-agent:v0.23.3@sha256:…plus the WebUI code copied fromghcr.io/nesquena/hermes-webui:0.52.731@sha256:…. The WebUI runs on the agent image's own Python environment, so the agent it imports is exactly the pinned one, and nothing is installed at runtime. - Health check:
/health(answers without login). Port:PORT(8787). - Volume:
/opt/dataholds everything (Hermes homeconfig.yamland.env, sessions, memory, skills,webui/state,workspace/). - Variables:
HERMES_WEBUI_PASSWORD(generated, find it in the service's Variables tab) andPORT. Nothing to fill in. - The WebUI refuses to start on Railway without a password, and exits non-zero on any unexpected stop, so Railway restarts it.
- Hermes gateway (scheduled jobs, Telegram/Discord and other messaging): starts automatically when the service has 1 GB of RAM or more (Hobby and Pro plans). On 0.5 GB (Free and Trial plans) it stays off so the WebUI fits; chat, tools and "Run now" on tasks still work. Set
HERMES_GATEWAY=1to force it on or0to force it off. - RAM: about 200 MB idle with the gateway off, about 450 MB with it on, more while the agent runs tools. Railway's Free plan (0.5 GB) runs the WebUI; give it 1 GB or more for the gateway and heavier tool use.
- Optional upstream settings (passkeys, OIDC login, TLS, extra CSP origins) are documented in the WebUI README and can be added as variables.
Updates. When a new Hermes WebUI or Hermes Agent release ships, this repo bumps the pinned versions and adds a CHANGELOG.md entry. Railway then shows an "update available" notice on your project, and you choose when to apply it. Your data on the volume is kept.
Why Deploy Hermes WebUI 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 Hermes WebUI 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
hermes-webui
aalfath/hermes-webui-railway-template
