---
title: "Deploy Hermes Agent by Nous Research"
description: "Self-hosted Hermes Agent built from the official Nous Research Docker image"
category: "AI/ML"
url: https://railway.com/deploy/hermes-official-dashboard
---

# Deploy Hermes Agent by Nous Research

Self-hosted Hermes Agent built from the official Nous Research Docker image

**[Deploy Hermes Agent by Nous Research on Railway](https://railway.com/template/hermes-official-dashboard)**

- **Creator:** INF Labs
- **Category:** AI/ML
- **Total deploys:** 3

## Template content

### hermes https://hermes-agent.nousresearch.com/docs/img/logo.png

- **Image:** nousresearch/hermes-agent:latest
- **Start command:** `sh -lc '/opt/hermes/bin/hermes dashboard --host 0.0.0.0 --port ${PORT:-9119} --no-open & exec /opt/hermes/bin/hermes gateway'`
- **Public domain:** Yes

## Documentation

# Deploy and Host Hermes Agent by Nous Research on Railway

Hermes Agent is a self-hosted AI agent system by Nous Research built for autonomous workflows, agent experimentation, persistent memory, scheduled tasks, and AI-powered automation. This template deploys Hermes Agent on Railway using the official Nous Research Docker image, giving you a fast way to run it without managing server infrastructure yourself.

![Hermes Agent](https://imgur.com/jog7AzF.png)

## About Hosting Hermes Agent by Nous Research
Hosting Hermes Agent on Railway offers a simple path to run a self-hosted AI agent environment in the cloud. This template uses the official Nous Research Docker image and includes persistent storage so your agent configuration, memory, sessions, logs, and runtime data remain available across redeployments.

Before deploying, you only need to set a dashboard **username** and **password**. After deployment, open the generated Railway URL and access the Hermes Agent interface directly from your browser.

From the dashboard you can configure AI providers, manage agent settings, monitor activity, and control the gateway status.

If the gateway status shows **off** when you first open the dashboard, click **Restart Gateway** in the bottom-left corner of the interface. After restarting, the gateway status should switch to running.

### Quick Comparison with Other AI Agent Frameworks

| Feature                              | Hermes Agent     | CrewAI           | LangGraph        | OpenHands / AutoGPT | OpenClaw         |
|--------------------------------------|------------------|------------------|------------------|---------------------|------------------|
| Fully self-hosted                    | ✅               | ✅               | ✅               | ✅                  | ✅               |
| Built-in learning / skill creation loop | ✅            | ❌               | ❌               | ❌                  | ❌               |
| Persistent cross-session memory      | ✅               | Limited          | Configurable     | Basic               | Limited          |
| Multi-platform messaging gateway (Telegram, Discord, Slack, WhatsApp, etc.) | ✅ | ❌          | ❌               | ❌                  | ✅               |
| Built-in scheduled tasks / cron      | ✅               | Limited          | ❌               | Limited             | Limited          |
| Browser dashboard for management     | ✅               | ❌               | ❌               | Partial             | Partial          |
| Simple one-click Railway deploy      | ✅               | ❌               | ❌               | ❌                  | ❌               |
| Model-agnostic (any LLM provider)    | ✅               | ✅               | ✅               | ✅                  | ✅               |
| Focused on long-running autonomous agents | ✅          | Multi-agent crews| Graph orchestration | Coding-focused   | General automation |
| Open-source (MIT / permissive)       | ✅               | ✅               | ✅               | ✅                  | ✅               |

Hermes Agent stands out when you want a self-improving agent with real persistent memory, multi-platform reach, and scheduled automation — all deployable on Railway in minutes with almost no ops overhead.
## Configure AI / LLM Provider
To use Hermes Agent with an AI or LLM provider, open the Hermes Agent dashboard and go to **KEYS** from the sidebar.

From there, choose the configuration method you prefer:
### Option 1: Add Provider API Key Manually
1. Open the Hermes Agent dashboard.
2. Go to **KEYS** from the sidebar.
3. Select the **PROVIDERS** tab.
4. Choose the LLM provider you want to use.
5. Enter your provider API key.
6. Save the configuration.

This method is recommended if you already have an API key from providers such as OpenAI, Anthropic, OpenRouter, or other supported providers.
### Option 2: Connect Using OAuth
You can also connect supported providers using OAuth.

For example, if you want to connect OpenAI / ChatGPT through OAuth:
1. Open the Hermes Agent dashboard.
2. Go to **KEYS** from the sidebar.
3. Select the **OAUTH** tab.
4. Choose the provider you want to connect, such as OpenAI.
5. Check the command shown by Hermes Agent, for example:
```bash
hermes auth add openai-codex
```
6. Go to your Railway project.
7. Open the **Hermes Agent** service.
8. Click the **Console** tab.
9. Paste the command shown in the Hermes dashboard.
10. Follow the authentication instructions until the process is complete.

After the OAuth setup is completed, OpenAI / ChatGPT can be used in your Hermes Agent project.
## Common Use Cases
* Run a self-hosted AI agent environment
* Experiment with autonomous AI workflows
* Manage AI agent configuration from a browser dashboard
* Store persistent agent memory and runtime data
* Build scheduled AI tasks and automation workflows
* Connect supported LLM providers through API key or OAuth
* Test agent-based systems without managing your own server
* Explore Nous Research Hermes Agent in a cloud-hosted setup
## Dependencies for Hermes Agent by Nous Research Hosting
* Hermes Agent official Docker image by Nous Research
* Persistent storage for agent state and runtime data
* Railway public networking for browser access
* LLM provider account or API key for model access
### Deployment Dependencies
This template uses the official Nous Research Hermes Agent Docker image.

Relevant resources:
* Hermes Agent documentation
* Nous Research Hermes Agent Docker image
* Railway persistent storage
* Railway public networking
* Supported AI / LLM provider account
## Implementation Details
This template is configured to run Hermes Agent on Railway with persistent storage enabled. The service is prepared for browser-based access through the generated Railway domain.

Before deployment, enter the dashboard username and password requested by the template. These credentials are used to access the Hermes Agent dashboard after deployment.

After deployment:
1. Open the Railway-generated public URL.
2. Log in using the dashboard username and password you configured.
3. Wait for the Hermes Agent interface to load.
4. If the gateway status is **off**, click **Restart Gateway** in the bottom-left corner.
5. Confirm that the gateway status changes to running.
6. Go to **KEYS** from the sidebar.
7. Configure your preferred AI / LLM provider using either the **PROVIDERS** tab or the **OAUTH** tab.
8. Start using Hermes Agent for your workflows, automation tasks, and agent experiments.

Persistent storage is included so Hermes Agent data can survive restarts and redeployments.
## Why Deploy Hermes Agent by Nous Research 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 Agent by Nous Research 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.

## Similar templates

- [Chat Chat](https://railway.com/deploy/-WWW5r) — Chat Chat, your own unified chat and search to AI platform.
- [stella](https://railway.com/deploy/stella) — Self-host stella with web, API, Postgres, Redis, and object storage.
- [Hermes Agent | OpenClaw Alternative with Dashboard](https://railway.com/deploy/hermes-agent-or-openclaw-alternative-wit) — Self-Hosted Hermes AI Agent for Telegram, Discord & Slack

Open this page in a browser: https://railway.com/deploy/hermes-official-dashboard
