Hermes Agent
Hermes Agent Docker setup, step by step
To run Hermes Agent with Docker, create ~/.hermes, run the setup wizard from the nousresearch/hermes-agent image, then start it with Docker Compose and HERMES_DASHBOARD=1. The dashboard on port 9119 needs a login, so keep it off the public internet and reach it over SSH. Or host Hermes Agent on Zenith instead.
· $10 a month on Zenith · No API key needed to start · Memory and skills kept on your deployment
Deploy with ZenithThe short version
Host it on Zenith if
- You want to start chatting without signing up for a model provider.
- You don't want to run Docker, set up a dashboard login, or keep a tunnel open.
- You want the agent's memory, skills and session history kept for you, with managed backups.
Run it yourself if
- You want Hermes Agent in Telegram, Discord, Slack, WhatsApp or Signal. On Zenith it runs the web dashboard only.
- You want its OpenAI-compatible API server on port 8642.
- You want it to run commands on your own machines through its terminal backends.
What is Hermes Agent?
Hermes Agent is an AI agent from Nous Research. It keeps memory, creates skills from work it has finished, and gets better at jobs it repeats. It can run scheduled tasks, search its past sessions, and answer on Telegram, Discord, Slack, WhatsApp and Signal. It ships as one Docker image, nousresearch/hermes-agent, and keeps everything in a single data folder.
Hermes Agent VPS requirements
| Minimum | Recommended | |
|---|---|---|
| Memory | 1 GB | 2 to 4 GB, and at least 2 GB with browser tools |
| CPU | 1 core | 2 cores |
| Disk | 500 MB | 2 GB or more. It grows with sessions and skills |
You also need Docker with Compose, and an API key from a model provider such as OpenRouter, OpenAI or Anthropic.
How to run Hermes Agent with Docker Compose
These steps follow the Hermes Agent Docker guide. The compose file below keeps the dashboard off the public internet, as the docs advise.
- 1
Run the setup wizard
Create the data folder and run the wizard once. It asks for your model provider credentials and saves them to
~/.hermes/.env.mkdir -p ~/.hermes docker run -it --rm -v ~/.hermes:/opt/data nousresearch/hermes-agent setup - 2
Write a compose file
Save this as
docker-compose.yml. The dashboard needs a login on any address other than loopback, so set a username and a long password. Publishing port 9119 on127.0.0.1keeps it reachable only from the server itself.services: hermes: image: nousresearch/hermes-agent:latest container_name: hermes restart: unless-stopped command: gateway run ports: - "127.0.0.1:9119:9119" volumes: - ~/.hermes:/opt/data environment: - HERMES_DASHBOARD=1 - HERMES_DASHBOARD_BASIC_AUTH_USERNAME=admin - HERMES_DASHBOARD_BASIC_AUTH_PASSWORD=change-me shm_size: 1gThe
shm_sizeline gives Chromium the shared memory the docs ask for when you use browser tools. - 3
Start it
docker compose up -d docker compose logs -f - 4
Open the dashboard through an SSH tunnel
From your own computer, forward the port and open
http://localhost:9119. Sign in with the username and password from the compose file.ssh -L 9119:localhost:9119 user@your-server
Connect chat apps, update and back up
- Chat apps. Add each platform's token to
~/.hermes/.env, for exampleTELEGRAM_BOT_TOKEN, then restart the container. - Updates. Run
docker compose pull, thendocker compose up -d. Everything you care about lives in~/.hermes, so replacing the image keeps it. - Backups.
~/.hermesholds the config, API keys, memory, skills and session history. Back it up, and keep it private. - One gateway per folder. Never run two Hermes gateway containers against the same data folder at once.
What you skip with Hermes Agent hosting on Zenith
| On your own server | On Zenith | |
|---|---|---|
| Server | Rent a server with 2 to 4 GB of memory and install Docker | Included |
| Model provider | Sign up and paste an API key into the setup wizard | Chats through Zenith's AI model endpoint, no key needed |
| Dashboard login | Choose basic auth, OAuth or OIDC, and keep the port private | Password protected, on your own HTTPS address |
| Remote access | Open an SSH tunnel or VPN each time | Open the address in any browser |
| Updates | Pull the image and recreate the container | Included |
| Backups | Back up ~/.hermes yourself | Managed backups, best effort |
Deploy Hermes Agent on Zenith
- 1
Click Deploy now on the Hermes Agent page
Open Hermes Agent in the catalogue and click Deploy now. It costs $10 a month. If you don't have a Zenith account yet, you create one after paying.
- 2
Choose an address
Pick a name, then click Use this address. Your address becomes the name, a hyphen and your username, ending in
.zh.run. - 3
Sign in to the dashboard
When the app is live, open it. Sign in with the username
adminand the dashboard password listed under Your credentials, or on the Credentials tab later. - 4
Start chatting
Open the chat in the dashboard and give it a task. It answers through Zenith's AI model endpoint, so there is no key to add. To use a model provider of your own, add it in the dashboard's settings.
Run Hermes Agent without a server
$10 a month, with a password-protected dashboard on its own HTTPS address, no API key needed to start, and managed backups of its memory and skills.
Choosing between agents? Read Hermes vs OpenClaw or our list of OpenClaw alternatives.
Common questions
- How much does Hermes Agent cost?
- On Zenith it costs $10 a month, and you can start without an API key. If you run it yourself, you pay for the server and for your model provider.
- Is there a GUI for Hermes Agent?
- Yes. Set HERMES_DASHBOARD=1 and it serves a web dashboard on port 9119, where you chat with the agent, manage sessions and set up model providers. On Zenith the dashboard is what you open.
- Should I run Hermes Agent in Docker?
- Docker keeps the whole agent and the commands it runs inside a container, away from the rest of your server, and makes updates a matter of pulling a new image. Hermes Agent can also run directly on your machine and use Docker only as a terminal backend for its commands.
- What is the Hermes Agent Docker image called?
- nousresearch/hermes-agent. All of its state lives in the /opt/data volume, which the docs map to ~/.hermes on the host.
- How much memory does Hermes Agent need?
- The docs list 1 GB as the minimum and 2 to 4 GB as recommended. Browser tools need at least 2 GB, plus a 1 GB shared memory size for Chromium.
- Why won't the Hermes dashboard start?
- On any address other than loopback, the dashboard needs a login and refuses to start without one. Set HERMES_DASHBOARD_BASIC_AUTH_USERNAME and HERMES_DASHBOARD_BASIC_AUTH_PASSWORD, or set up OAuth.
- Do I need an API key on Zenith?
- No. Hermes Agent on Zenith chats through Zenith's AI model endpoint. You can still add your own model providers from its dashboard.
- Can I run two Hermes containers on the same data?
- No. The docs warn never to run two gateway containers against the same data directory at once.