To install Hermes Agent, pick one of three routes. Use Hostinger's one-click Docker template on a VPS. Or run the official install script on an Ubuntu server. Or buy Hostinger's Managed Hermes Agent and skip the server. Hermes Agent is an open-source AI agent from Nous Research. A VPS (virtual private server) is a rented slice of a big server that only you control. This guide gives the verified steps for each route, checked on 16 November 2026.
Pick the managed plan if you never want to touch a server. Pick a VPS if you want root access and full control.
Disclosure: the Hostinger links and the coupon code below are part of Hostinger's affiliate programme. Tutorsbot may earn a commission if you buy, at no extra cost to you.
How to install Hermes Agent: the three routes
The fastest route is Hostinger's managed plan, then the one-click VPS template, then a manual install on Ubuntu. Managed needs no server work. The other two give you root access and leave updates and security to you.
Hermes Agent requirements: RAM, OS and model
Hermes Agent runs on a small server. For its Docker image, Nous Research lists 1 GB of RAM, 1 CPU core and 500 MB of disk as the minimum. It recommends 2 to 4 GB of RAM, 2 cores and 2 GB of disk.
Browser tools need at least 2 GB. Hostinger's tutorial aims higher. It says to pick a VPS with at least 2 cores and 8 GB of RAM.
For the operating system, Nous Research tests on the latest Ubuntu, on x86_64 and aarch64 chips. Other Linux systems should work if they have glibc, systemd and the standard folder layout. The script needs Git, curl and tar. It sets up Python and Node.js by itself.
You also need an LLM (large language model) provider. The docs name Nous Portal, OpenRouter, OpenAI and Anthropic, plus custom endpoints. The quickstart page says your model needs at least 64,000 tokens of context (Nous Research docs, November 2026).
How to install Hermes Agent on a Hostinger VPS
Choose the Hermes Agent template when you buy the VPS. Hostinger then installs Hermes in Docker for you. Here are the steps from Hostinger's tutorial.
- Pick a KVM plan on Hostinger's Hermes Agent page and pay.
- Create a username and password for the web terminal when the setup asks.
- Wait for the install to finish. You land in Docker Manager, where Hermes shows up as a Docker project.
- Click Open next to the Hermes project and log in with the credentials you made.
- Run the setup wizard (see "First run" below) and add your AI provider key.
Hostinger lists KVM 1, 2, 4 and 8 for the template. Its advice of 2 cores and 8 GB of RAM points to KVM 2.
Switch an existing VPS to Hermes Agent
You can change an existing Hostinger VPS to the Hermes template in hPanel. This erases everything on the server, so back up your files first.
- Open hPanel and go to VPS, then OS & Panel, then Operating System.
- Click Change OS and search for Hermes Agent.
- Select it and confirm. Hostinger warns that changing the OS erases all data on the server.
- When it finishes, open Docker Manager and then Projects to find Hermes.
How to install Hermes Agent on an Ubuntu VPS
On any Ubuntu server, run Nous Research's install script as a normal user, not root. The docs advise against running the gateway as root.
First, log in over SSH and update the packages:
sudo apt update && sudo apt upgrade -y
Next, make a normal user and add it to the sudo group. Replace hermes with any name. Then log out and log back in as that user.
sudo adduser hermes
sudo adduser hermes sudo
Now run the installer. It is the command from the Hermes docs. It runs a script from the internet with your user's rights. Use it only on a server you trust.
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
The installer puts the code in ~/.hermes/hermes-agent/ and the launcher in ~/.local/bin/hermes. It then runs the setup in interactive mode. When it ends, reload your shell and start Hermes:
source ~/.bashrc
hermes
If you prefer Docker, install Docker from Docker's own Ubuntu guide, then run the setup container:
mkdir -p ~/.hermes
docker run -it --rm \
-v ~/.hermes:/opt/data \
nousresearch/hermes-agent setup
The -v line saves your settings, keys, memory and skills on the host. Leave it out and you lose your data when the container restarts.
First run: set up your model
Run hermes setup to start the wizard. Quick setup asks for a provider, an API key and a model. It then offers to connect a messaging app. You can skip the messaging step and test in the terminal first.
hermes setup
hermes model
Use hermes model later to add another provider. Secrets go in ~/.hermes/.env. Other settings go in ~/.hermes/config.yaml. To test, run hermes and ask "What's in my current directory?" You should see a banner with your model, then a reply. Type /exit to leave and hermes --continue to resume.
How to connect Hermes Agent to Telegram
You make a bot in BotFather, give Hermes the bot token and your user ID, then start the gateway. The gateway is the part of Hermes that talks to chat apps. These steps come from the Hermes Telegram docs.
- In Telegram, open @BotFather and send
/newbot. - Pick a display name, then a username that ends in
bot. BotFather replies with a token. - Message @userinfobot to get your numeric user ID.
- Run
hermes gateway setup, choose Telegram, and enter the token and your ID. - Start the gateway and message your bot.
The wizard saves them as TELEGRAM_BOT_TOKEN and TELEGRAM_ALLOWED_USERS in ~/.hermes/.env.
To run the gateway in the foreground, use hermes gateway. For an always-on VPS, install it as a system service, so it restarts after a reboot:
sudo hermes gateway install --system
sudo hermes gateway start --system
sudo hermes gateway status --system
journalctl -u hermes-gateway -f
On the Docker route, run the gateway in a container. This is Hostinger's tutorial command:
docker run -d \
--name hermes \
--restart unless-stopped \
-v ~/.hermes:/opt/data \
nousresearch/hermes-agent gateway run
Hermes Agent security: lock down your VPS
Hermes can run commands on your server, so treat it like a user with a shell. Start with an allowlist, a firewall and a closed admin panel.
- Set
TELEGRAM_ALLOWED_USERS. The docs say the gateway denies everyone who is not on an allowlist or paired by direct message. Do not turn onGATEWAY_ALLOW_ALL_USERS. - Keep your bot token secret. If it leaks, send
/revoketo BotFather. - Protect the keys file with
chmod 600 ~/.hermes/.env, as the Hermes security page advises. - The default
approvals.modeissmart. Set it tomanualinconfig.yamlfor a prompt on every dangerous command. - To keep commands off the host, run
hermes config set terminal.backend docker.
For the firewall, use Ubuntu's UFW (Uncomplicated Firewall). Allow SSH before you enable it, or you lock yourself out:
sudo ufw allow ssh
sudo ufw enable
sudo ufw status verbose
Hostinger's tutorial also says to turn off root SSH login, use SSH keys and set up fail2ban. The Hermes docs say never to run the gateway as root.
Port 8642 is the Hermes API and port 9119 is the dashboard, which is the admin panel. If you only use chat apps, Hostinger says to close both with sudo ufw deny 8642 and sudo ufw deny 9119. Docker's docs add a catch: published container ports can bypass UFW. So do not publish them with -p at all, unless you need them.
The Hermes docs say the dashboard needs a login on any public address. The container will not start without one. Even so, never expose it to the whole internet. Hostinger's tutorial runs it on localhost only and reaches it through an SSH tunnel:
docker run -d \
--name hermes-dashboard \
--restart unless-stopped \
-v ~/.hermes:/opt/data \
-p 127.0.0.1:9119:9119 \
nousresearch/hermes-agent dashboard
ssh -L 9119:127.0.0.1:9119 username@your-server-ip
Run the tunnel command on your own computer, then open http://localhost:9119.
How to install Hermes Agent as Managed Hermes
With Managed Hermes Agent, Hostinger runs the server for you. You buy a plan, choose an AI provider and connect a chat app. No command line is needed. Hostinger's tutorial lists these steps:
- Buy the plan, then pick Hermes in the left sidebar of the Hostinger dashboard.
- Choose the included AI Router or enter your own provider key.
- Wait for deployment, click Hermes, copy the access key and keep it private. Then click Continue and pick a model.
- Link Telegram, WhatsApp or Hostinger Email, then send a test message.
Hostinger lists the plan at $4.99 a month on a 24-month term, which is $119.76 paid upfront. It renews at $11.99 a month. By my math, that is $287.76 for the next 24 months. The plan includes AI credits, web search, managed security, updates and backups. Hostinger's tutorial says backups run daily and are kept for seven days.
How to update Hermes Agent
On a script install, run hermes update. On a Docker install, pull the new image and recreate the container. Your data stays in the ~/.hermes folder.
hermes --version
hermes update --check
hermes update --backup
hermes doctor
The Hermes docs say gateways pause during an update and restart after it. Your bot goes offline for a short time. For Docker, pull and remove the old container:
docker pull nousresearch/hermes-agent:latest
docker rm -f hermes
Then run the same docker run gateway command as before. On the Hostinger template, open Docker Manager, click the three-dot menu on the Hermes project and choose Update.
Hermes Agent troubleshooting
Start with hermes doctor. Most failures come from a wrong API key, a missing allowlist or a missing data volume.
- Empty replies or connection errors: check your API key, then run
hermes setupagain. - Bot does not answer on Telegram: the bot stays silent until the gateway runs. Check
hermes gateway status, and confirm your user ID is inTELEGRAM_ALLOWED_USERS. - Docker logs: run
docker logs -f hermesto watch live output. - Lost settings after a restart: you ran the container without
-v ~/.hermes:/opt/data.
Hermes Agent VPS size and cost on Hostinger
For one Hermes agent, KVM 2 matches Hostinger's own advice of 2 cores and 8 GB of RAM. KVM 1 meets the Nous Research minimum. Prices below are Hostinger's 24-month sale prices from November 2026, billed upfront.
| Plan | vCPU | RAM | NVMe disk | Sale price a month | Paid for 24 months | Renews at a month | Next 24 months at renewal | All 48 months |
|---|---|---|---|---|---|---|---|---|
| KVM 1 | 1 | 4 GB | 50 GB | $6.49 | $155.76 | $11.99 | $287.76 | $443.52 |
| KVM 2 | 2 | 8 GB | 100 GB | $8.79 | $210.96 | $14.99 | $359.76 | $570.72 |
| KVM 4 | 4 | 16 GB | 200 GB | $12.99 | $311.76 | $28.99 | $695.76 | $1,007.52 |
The last two columns are my math. They multiply the renewal rate by 24 months. Hostinger says plans renew at that rate "for the same term". Check the renewal price before you buy. Managed Hermes is cheaper at the start: $119.76 for 24 months, against $155.76 for KVM 1. The VPS prices do not include your AI model bills. Hostinger lists a 30-day money-back guarantee on both.
For other server costs, read cheap VPS hosting and Hostinger pricing and renewal cost.
You can start from Hostinger's VPS plans.
Disclosure: this link is an affiliate link. Tutorsbot may earn a commission if you buy, at no extra cost to you.
Who should not choose this
- Skip a VPS if you will not patch a server. You must run updates, keep a firewall and watch the logs. Choose Managed Hermes instead.
- Skip Managed Hermes if you need root access or a custom server setup. Hostinger itself points those users to a VPS.
- Skip both if you only want to try Hermes. Install it on your own computer first. The script works on Linux, macOS and WSL2.
- Skip any plan if you cannot pay the renewal. Prices jump after the first term.
If you want to run your own web app on the same kind of server, see how to deploy a Node.js app on a VPS.
Photo: Pexels, Pixabay Content License, via Pixabay (https://pixabay.com/photos/coding-programming-css-1853305/)
Fazlur Rahman






