hermes-agent
by HelmForge
Persistent Hermes Agent gateway with authenticated API, controlled configuration, native telemetry and recoverable state.
About this chart
Hermes Agent
Deploy Hermes Agent as a persistent, authenticated agent gateway using the official Nous Research image. One release owns its sessions, memory, learned skills, schedules and workspace.
Features
- Verified official release and immutable multi-platform image digest.
- Singleton StatefulSet, retained data and API identity, non-root execution and read-only installation.
- Authenticated OpenAI-compatible API, explicit toolsets and messaging user allowlists.
- Managed or seed-once configuration, bundled skills and optional privileged dashboard with separate authentication.
- Existing Secrets and canonical External Secrets Operator integration.
- Default-deny inbound networking, Ingress, Gateway API and explicit dual-stack API and dashboard support.
- Native OTLP gateway metrics, optional official collector, ServiceMonitor and PrometheusRule.
- Scheduled S3 backups with SQLite snapshots, file inventories, remote byte verification and empty-volume-only recovery.
Install
Create a provider Secret from an environment file that is not committed to Git. For the default OpenRouter provider, include OPENROUTER_API_KEY. Select another model/provider in values as needed.
kubectl create namespace agents
kubectl -n agents create secret generic hermes-provider --from-env-file=provider.env
helm repo add helmforge https://repo.helmforge.dev
helm repo update
helm upgrade --install hermes helmforge/hermes-agent --namespace agents \
--set credentials.existingSecret=hermes-provider
OCI distribution is also available at oci://ghcr.io/helmforgedev/helm/hermes-agent. Kubernetes 1.30 or newer and a suitable StorageClass are required. The
default gateway requests 1Gi memory; increase it for browser, terminal, MCP and concurrent work. An arm64 image manifest exists; the local runtime evidence is
Linux amd64.
The generated API Secret is <fullname>-auth, key api-key. Supply auth.existingSecret for stable render-only GitOps identity. A Ready Pod confirms gateway
health, not provider billing/quota or external platform access.
Connect
kubectl -n agents port-forward service/hermes-hermes-agent 8642:8642
Use an OpenAI-compatible client with base URL http://127.0.0.1:8642/v1 and the API bearer token. API credentials authorize the selected agent tools. For
in-cluster clients, configure networkPolicy.ingressFrom; for external clients, terminate TLS at a trusted ingress/Gateway controller. Default toolsets permit
memory only.
Production boundaries
This chart runs one trusted agent, with one gateway writer. There is no horizontal scaling or transparent HA; upgrades and node replacement cause downtime. Separate untrusted agents into separate releases and credentials. The optional dashboard is a full administrative surface in the same trust boundary. No default host socket, privileged container or Kubernetes API token is granted.
The chart-owned acceptance fixture drives real Hermes inference orchestration and tool calls without paid external requests. Cloud credentials, live messaging, remote execution and OIDC providers still require environment-specific acceptance. See the operational guides below before enabling additional tools.
Operational guides
- Design and trust boundaries
- Providers, dashboard, messaging and upgrades
- Backup and disaster recovery
- Native observability
Values reference
All default values are listed below; upstream pass-through configuration remains under config.values.
| Value | Default | Purpose |
|---|---|---|
nameOverride | "" | Override the chart name used in resource labels. |
fullnameOverride | "" | Override all resource name prefixes for a stable existing installation. |
image | Object | Official Hermes runtime, pinned to a verified multi-platform release digest. |
image.repository | "docker.io/nousresearch/hermes-agent" | Official container image repository. |
image.tag | "v2026.9.24@sha256:fca358f12efd65bfaaca05884166f15c0e2788375ca30d77061ac1ebc96452b7" | Pinned release tag and immutable digest. |
image.pullPolicy | "IfNotPresent" | Kubernetes image pull policy. |
imagePullSecrets | [] | image pull secrets setting for the gateway. |
auth | Object | Bearer credential protecting API access and configured agent tools. |
auth.existingSecret | "" | Use an existing Secret; empty generates a random token retained with persistent state. |
auth.key | "api-key" | Secret key containing the API bearer token. |
credentials | Object | Provider and messaging credentials are injected only from a Kubernetes Secret. |
credentials.existingSecret | "" | Secret containing upstream environment variables such as OPENROUTER_API_KEY. |
agent | Object | Default model and explicitly allowed API toolsets. |
agent.model | "anthropic/claude-opus-4.6" | Upstream model identifier; a corresponding provider credential is required for inference. |
agent.provider | "openrouter" | Provider identifier, including custom: for an OpenAI-compatible endpoint. |
agent.baseUrl | "" | Optional model endpoint; custom providers should use apiKeyEnv for credential selection. |
agent.toolsets | ["memory"] | API toolsets. Memory-only by default; enabling terminal/browser grants additional capabilities. |
agent.maxIterations | 30 | Maximum tool execution turns for one agent request. |
agent.apiKeyEnv | "" | Credential environment variable for a named custom provider; never an inline API key. |
agent.allowInsecureHTTP | false | Explicit HTTP exception for credentialed custom endpoints in isolated tests or trusted networks. |
config | Object | Non-secret upstream configuration with explicit ownership on Pod initialization. |
config.policy | "managed" | managed reconciles declared files; seed preserves existing files and permits dashboard edits. |
config.values | {} | Additional upstream configuration. Do not place credentials here; chart-owned sections are validated. |
config.soul | "" | Optional SOUL.md persona. Empty leaves upstream/user persona unmanaged. |
persistence | Object | One retained state volume per release; no concurrent gateway writers. |
persistence.enabled | true | Persist sessions, SQLite state, memory, skills and workspace. |
persistence.existingClaim | "" | Existing persistent claim to mount instead of creating one. |
persistence.storageClass | "" | StorageClass name; empty uses the cluster default. |
persistence.accessModes | ["ReadWriteOnce"] | Claim access modes; shared backup mounts require RWO or RWX. |
persistence.size | "10Gi" | Requested persistent volume capacity. |
persistence.retain | true | Keep chart-created PVC and generated API Secret after uninstall. |
service | Object | service setting for the gateway. |
service.type | "ClusterIP" | type setting for service. |
service.port | 8642 | Service port; network policies use the fixed container port. |
service.annotations | {} | Additional Kubernetes annotations. |
service.ipFamilyPolicy | "" | ip family policy setting for service. |
service.ipFamilies | [] | ip families setting for service. |
service.loadBalancerSourceRanges | [] | load balancer source ranges setting for service. |
serviceAccount | Object | service account setting for the gateway. |
serviceAccount.create | true | create setting for serviceAccount. |
serviceAccount.name | "" | Existing or overridden Kubernetes resource name. |
serviceAccount.annotations | {} | Additional Kubernetes annotations. |
resources | Object | Container CPU and memory requests and limits. |
resources.requests | Object | Guaranteed scheduler resource requests. |
resources.requests.cpu | "250m" | CPU quantity. |
resources.requests.memory | "1Gi" | Memory quantity. |
resources.limits | Object | Enforced container resource limits. |
resources.limits.cpu | "2" | CPU quantity. |
resources.limits.memory | "2Gi" | Memory quantity. |
nodeSelector | Object | node selector setting for the gateway. |
nodeSelector.kubernetes.io/os | "linux" | See the values contract. |
tolerations | [] | tolerations setting for the gateway. |
affinity | {} | affinity setting for the gateway. |
podAnnotations | {} | pod annotations setting for the gateway. |
extraEnv | [] | extra env setting for the gateway. |
networkPolicy | Object | Default-deny ingress with separate API, dashboard and metrics peer allowlists. |
networkPolicy.enabled | true | Enable this optional integration. |
networkPolicy.ingressFrom | [] | Kubernetes NetworkPolicy peers allowed to call container port 8642. |
networkPolicy.extraEgress | [] | Explicit extra egress rules for custom providers, MCP servers or remote execution. |
networkPolicy.allowInternet | true | Allow public IPv4/IPv6 HTTPS egress for providers; private networks require extraEgress. |
terminationGracePeriodSeconds | 120 | Time for gateway shutdown and in-flight work before Kubernetes terminates the Pod. |
channels | Object | Opt-in messaging adapters; credentials come from credentials.existingSecret and user allowlists are required. |
channels.telegram | Object | telegram setting for channels. |
channels.telegram.enabled | false | Enable this optional integration. |
channels.telegram.allowedUsers | [] | Explicit upstream user IDs permitted to interact with this messaging adapter. |
channels.telegram.toolsets | ["memory"] | Toolsets exposed to this messaging adapter. |
channels.discord | Object | discord setting for channels. |
channels.discord.enabled | false | Enable this optional integration. |
channels.discord.allowedUsers | [] | Explicit upstream user IDs permitted to interact with this messaging adapter. |
channels.discord.toolsets | ["memory"] | Toolsets exposed to this messaging adapter. |
channels.slack | Object | slack setting for channels. |
channels.slack.enabled | false | Enable this optional integration. |
channels.slack.allowedUsers | [] | Explicit upstream user IDs permitted to interact with this messaging adapter. |
channels.slack.toolsets | ["memory"] | Toolsets exposed to this messaging adapter. |
dashboard | Object | Optional privileged administration UI in the gateway Pod; requires config.policy=seed. |
dashboard.enabled | false | Enable this optional integration. |
dashboard.existingSecret | "" | Secret with HERMES_DASHBOARD_BASIC_AUTH_USERNAME, HERMES_DASHBOARD_BASIC_AUTH_PASSWORD and HERMES_DASHBOARD_BASIC_AUTH_SECRET. |
dashboard.publicUrl | "" | External HTTPS dashboard origin, used by Host validation and OAuth redirects. |
dashboard.resources | Object | Container CPU and memory requests and limits. |
dashboard.resources.requests | Object | Guaranteed scheduler resource requests. |
dashboard.resources.requests.cpu | "100m" | CPU quantity. |
dashboard.resources.requests.memory | "256Mi" | Memory quantity. |
dashboard.resources.limits | Object | Enforced container resource limits. |
dashboard.resources.limits.cpu | "1" | CPU quantity. |
dashboard.resources.limits.memory | "1Gi" | Memory quantity. |
dashboard.service | Object | service setting for dashboard. |
dashboard.service.port | 9119 | Service port; network policies use the fixed container port. |
dashboard.service.annotations | {} | Additional Kubernetes annotations. |
dashboard.ingressFrom | [] | NetworkPolicy peers allowed to reach the administrative dashboard on container port 9119. |
ingress | Object | Optional API ingress. TLS termination is the ingress controller responsibility. |
ingress.enabled | false | Enable this optional integration. |
ingress.ingressClassName | "" | ingress class name setting for ingress. |
ingress.annotations | {} | Additional Kubernetes annotations. |
ingress.hosts | [{"host":"hermes.example.com","paths":[{"path":"/","pathType":"Prefix"}]}] | hosts setting for ingress. |
ingress.tls | [] | tls setting for ingress. |
gatewayAPI | Object | Canonical Gateway API HTTPRoutes; backend defaults to the authenticated API Service. |
gatewayAPI.enabled | false | Enable this optional integration. |
gatewayAPI.httpRoutes | [] | http routes setting for gatewayAPI. |
externalSecrets | Object | Optional integration with an existing External Secrets Operator installation. |
externalSecrets.enabled | false | Enable this optional integration. |
externalSecrets.refreshInterval | "1h" | refresh interval setting for externalSecrets. |
externalSecrets.items | [] | items setting for externalSecrets. |
metrics | Object | Native Hermes gateway health metrics exported through OTLP; no synthetic inference/cost metrics. |
metrics.enabled | false | Enable native upstream OTLP gateway-health metrics. |
metrics.intervalSeconds | 15 | interval seconds setting for metrics. |
metrics.externalEndpoint | "" | Full external OTLP HTTP metrics URL ending in /v1/metrics when the collector is disabled. |
metrics.collector | Object | Optional local official collector translating OTLP to Prometheus on port 8889. |
metrics.collector.enabled | true | Enable this optional integration. |
metrics.collector.image | Object | image setting for metrics.collector. |
metrics.collector.image.repository | "ghcr.io/open-telemetry/opentelemetry-collector-releases/opentelemetry-collector-contrib" | Official container image repository. |
metrics.collector.image.tag | "0.160.0@sha256:799dc6cf12c96192af37b5bdba804da8c10b3bc563b43cb90c3f3c58d9572ad6" | Pinned release tag and immutable digest. |
Deploy hermes-agent with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has hermes-agent on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the charthermes-agent is pinned at v1.0.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply