Skip to main content
Hermes Agent’s source installer brings in a large Python, Node.js, browser, and media toolchain. Use the official image instead: it contains the complete application and stores mutable state under /opt/data.
The official image uses s6-overlay. --init auto is required so its /init entrypoint becomes guest PID 1 rather than running as an ordinary child process. The image is approximately 900 MB compressed and can require several gigabytes of temporary free space during its first pull.

Set up Hermes Agent

1

Run setup

Follow the setup wizard to configure a model provider and any messaging integrations. Everything written to /opt/data survives sandbox replacement in the hermes-data volume.
2

Verify the installation

After setup exits, inspect the pinned image directly:
The tested image reports Hermes Agent v0.19.0 (2026.7.20).
3

Run the gateway API

Generate an API key in the host shell:
Recreate Hermes as a detached, supervised gateway:
Port 8642 is published only on host loopback. Watch the supervised gateway start with:
Do not expose the API or dashboard on a public interface without a supported authentication provider and TLS. Hermes refuses several unsafe configurations, but host-level port exposure is still your responsibility.
4

Clean up

Remove the setup, version-check, and gateway sandboxes:
Remove persisted Hermes state only when you no longer need it:
Clear the API key from the host shell:
Keep hermes-data to preserve configuration, sessions, memories, skills, and credentials.

Reference