
Open the setup video directly (MP4, 6:31)
Open the security discussion directly (M4A, 27:03)
Getting a chat page to load is the easy part. A usable Hermes instance also needs a workspace, persistent profiles and credentials, a way to run tools, and a recovery path that still works when Hermes itself is down. kube.hermes_setup brings those pieces together in one configured Kubernetes namespace.
The goal is a fully functional lab stack, not a production platform. Enable WebUI, Dashboard, Browserless and Ansible for the full setup described here. The installer is a proof of concept for lab use and agent experimentation only. Never use it in production. This article covers the installer shipped in v3.0.1; its default image pins are separate from the installer version and are not a promise to install the newest upstream releases.
| Component | Role in a full setup |
|---|---|
| Hermes Agent | The required runtime. Runs the gateway and internal API, and hosts the main agent process. |
| Hermes WebUI | The optional browser chat interface. It also runs Agent code and tools locally in its own Pod; it is not just a reverse proxy for the Agent API. |
| Hermes Dashboard | The optional administrative interface. It is a separate Deployment built from the Agent image, not another name for WebUI. |
| Browserless Chromium | The optional internal browser service. Agent, Dashboard and WebUI can use it over CDP for browser tools. It is token-protected, has no public ingress, and does not mount the Hermes PVCs. |
| uv and Python modules | The initialization Job installs or reuses the configured Python toolchain under /opt/data/uv when effective addon requirements are present. Extra packages go into /opt/data/addon-venv, not the Agent image's own Python environment. Skills, scripts and app containers can use the separate addon environment. |
| Ansible and SSH | Ansible is an optional addon, not a Deployment. When enabled, the installer injects its pinned package and prepares /workspace/ansible. SSH setup can prepare a persistent identity; access to managed targets, trust and privilege remain operator responsibilities. |
| Node.js, npm and npx | Node.js runs JavaScript tools; npm installs packages and npx runs package commands. Agent and Dashboard use the image-owned runtime. WebUI gets a managed Node runtime on its PVC for Node-based tooling such as agent-browser, which connects to Browserless over CDP. Project dependencies and caches have their own lifecycle. |
| Bootstrap and runtime profiles | A bootstrap profile seeds starter instructions, skills and workspace content; it is not a service. The bundled personal-assistant profile defaults to SSH on and Ansible off; universal-system-administrator and universal-system-architect default both on. Runtime profiles and their data then live in the Hermes home. |
Two persistent volume claims separate application state from working files. hermes-home (/opt/data) keeps settings, profiles, memories, sessions, WebUI state, and the persistent toolchain. hermes-workspace (/workspace) keeps projects and the Ansible workspace. The WebUI Pod's copied Agent source is recreated at Pod startup; it is not a backup of either volume.
| Needed for | Prerequisite |
|---|---|
| Base installation | K3s or a comparable Kubernetes cluster with working DNS, image and package access as needed, and a storage class that dynamically provisions both filesystem PVCs. Size compute and storage for the enabled components. The cluster network must enforce the NetworkPolicies used for workload isolation. |
| Operator workstation | A working kubectl context with the required permissions for the chosen namespace, plus Git, Bash, Python 3, OpenSSL, GNU tar/gzip and coreutils. Diagnostics also need curl and timeout; internal HTTP checks require curl in the Agent container and operator pods/exec access. |
| HTTPS access to WebUI or Dashboard | An ingress controller, matching ingress class, DNS and TLS. K3s commonly provides Traefik. For another controller, verify the rendered routes: the default local-password Dashboard route also uses a Traefik middleware. Select local-password or external OIDC. If using OIDC, bring a compatible identity provider and configure matching clients, redirects and access claims. |
| Model-backed chat | A configured model provider and credentials. If using Codex OAuth, pair the runtime explicitly. Ready Pods and an open login page do not establish that actual chat works. |
| Backup, restore and enrolled upgrades | Existing Velero with a reviewed stable server version (installer documentation: 1.18+), Kopia node-agent and a writable, Available BackupStorageLocation backed by the chosen S3-compatible bucket. Provide matching object-storage plugin and credentials, plus dynamic filesystem PVC provisioning for restores. The installer does not install Velero, create buckets, manage their credentials or configure schedules. |
| Host maintenance | An independent Linux administration host with systemd, Bash, Git, kubectl, the Velero CLI, Python 3.9+ with PyYAML, and existing approved sudo access. An administrator reviews and stages the protected helper and source snapshot before enrollment. This host must stay accessible while Hermes is stopped. |
Velero is not required to bring up the base stack. It is required for the repository's enrolled recovery and protected upgrade workflows. Verify recovery of both Hermes volumes before relying on it; a backup reported as Completed alone does not establish that file data or application recovery has been tested. An external identity provider needs its own backup coverage.
| Script | What it does | What it changes |
|---|---|---|
configure.sh |
Selects components, sign-in mode and profile; prepares Git-ignored deployment settings and bootstrap files. | Writes local files. With --no-install, it does not apply anything to the cluster. |
install.sh |
Checks the configuration, prepares Secrets and manifests, runs the initialization Job and waits for enabled workload rollouts. | Applies or updates Kubernetes resources. Rerunning can restart deployments. |
doctor.sh |
Checks Kubernetes access, rollouts, auth configuration, internal HTTP health, persistent tools and enabled browser paths. | Runs diagnostic probes without applying or repairing Kubernetes resources. |
provision-host.sh |
Binds one reviewed checkout and revision to its existing cluster and namespace through the protected host provisioner. | Writes protected host maintenance files; does not reinstall the application or change its Kubernetes resources. |
maintenance.sh |
Shows status and logs; prepares upgrades; starts enrolled backup, upgrade and restore jobs. Also provides restart and credential commands. | Depends on the command. plan writes protected host files without applying Kubernetes resources. Backups and upgrades can interrupt service; restore replaces the selected instance. |

For an enrolled upgrade, the operator reviews a plan with exact image digests before running it. The background worker first takes and validates a cold backup of both volumes, then rolls out the planned images. An enrolled image upgrade does not replay bootstrap or update persistent addon packages. Started is not completed: check progress with maintenance.sh logs and verify the actual application afterward. Failures do not trigger an automatic data rollback. An explicit restore uses a selected recovery point and discards writes after that point.
git clone --branch v3.0.1 --single-branch https://github.com/Tuxbull-Open-Source/kube.hermes_setup.git
cd kube.hermes_setup
./configure.sh --no-install
Review the generated namespace, component switches, authentication, storage class and PVC sizes. Enable WebUI, Dashboard and Browserless, and select Ansible explicitly or choose a profile that enables it. Use a disposable namespace rather than pointing the wizard at an existing installation. When the target and settings are reviewed:
ENV_FILE=./current_config/hermes.env ./install.sh
ENV_FILE=./current_config/hermes.env ./doctor.sh
To call the full setup functional, verify a real login and model-backed chat, a CDP browser action from the WebUI, a Python addon import and an Ansible smoke test such as ansible localhost -m ping. Confirm that a workspace test file survives Pod replacement. If you also need recoverability, qualify a backup and an isolated restore separately. These are acceptance checks to run in your lab, not a claim that the media or this article validates your deployment.