Files
Athena-Deck/integrations/hermes-unraid/webui

Hermes-WebUI on Unraid

Current deployment, 2026-10-17: Hermes-Agent-Web-UI was deleted with its own appdata and rebuilt independently. Only the Webtop workspace is shared. See the clean installation and restore recipe. The subsequently approved single-container gateway startup adds scheduled background execution without a second container. The sections below record earlier states; their shared agent-source mounts and copied chat/skill state no longer describe the active installation.

Provenance and supported architecture

This is the community project nesquena/hermes-webui, not the Nous Research terminal dashboard. Its published image is used without application patches or local image builds. Community Apps currently marks its template deprecated; installation therefore uses the upstream image and the supplied Unraid XML.

  • Image: ghcr.io/nesquena/hermes-webui:latest
  • Digest: sha256:33262f767159f0c0257b9e84b0eb5d8335578c22511930cc8389051ae860843b
  • Reviewed WebUI revision: 757c5484ddf42f8add126262fcbc3406ae151861
  • Existing Agent image: nousresearch/hermes-agent:latest, image ID sha256:02e7aa0e84123fa0e9b22686e7a2bfb7d85fd59821d4d28812a3e07f3061cf41
  • URL: http://192.168.1.2:8787/
  • Container: Hermes-WebUI, standard bridge network, published on LAN IP only.
  • Unraid template: /boot/config/plugins/dockerMan/templates-user/my-Hermes-WebUI.xml
  • Sanitized template: my-Hermes-WebUI.xml

The layout follows the project's two-container instructions: shared Hermes home, shared Agent source, matching UID/GID. The explicitly documented gateway chat backend is enabled so tool execution stays in the existing Hermes Gateway, with its existing remote terminal backend. Runs API is enabled for supported approval cards and durable runs. No additional gateway, proxy, application patch, Docker socket, GPU mapping or privileged mode is involved.

Manufacturer references:

Persistent mounts and startup

Host storage Agent mount WebUI mount
/mnt/nvme-storage/appdata/Hermes-Agent /opt/data RW, existing home /home/hermeswebui/.hermes RW
Docker volume hermes-agent-source /opt/hermes RW /home/hermeswebui/.hermes/hermes-agent RO
/mnt/nvme-storage/appdata/Hermes-WebUI/app — /app RW
/mnt/nvme-storage/appdata/Hermes-WebUI/cache — /uv_cache RW
/mnt/nvme-storage/appdata/Hermes-Workspace SSH worker home /config /config RW
/mnt/nvme-storage/appdata/Hermes-WebUI/home/webui — /webui-state RW
/mnt/nvme-storage/appdata/Hermes-Agent/cache /opt/data/cache /opt/data/cache RO

HERMES_WEBUI_STATE_DIR=/webui-state is a supported override retaining the already-created WebUI conversations/preferences. It is separate from the shared Agent configuration, skills, memory and cron data. Both runtimes use UID 99/GID 100. The shared source volume was populated from the exact existing Agent image; selected source hashes matched its former container filesystem.

The unmodified WebUI entrypoint copies the read-only source into /app/hermes-agent-src, installs its dependencies and creates /app/venv as a real directory. UV_PYTHON=3.14 selects the version compatible with this Agent source; managed Python is persisted under /app/python-runtime. The source's tools/.install.lock needed ownership 99:100 so the documented non-root source copy could read it. No source code was changed.

The private env file is /mnt/nvme-storage/appdata/Hermes-WebUI/private/runtime.env (root 0600, directory 0700). Existing dashboard password, Gateway key and Athena provider key were transferred internally, never printed or committed. Login uses that existing password, without username. Runtime receives the documented gateway settings:

  • HERMES_WEBUI_CHAT_BACKEND=gateway
  • HERMES_WEBUI_GATEWAY_BASE_URL=http://192.168.1.2:8642
  • HERMES_WEBUI_GATEWAY_USE_RUNS_API=true
  • HERMES_API_URL=http://192.168.1.2:8642

The UI currently has a 2-CPU/2-GiB limit and restart-unless-stopped. These are local resource settings, not upstream requirements.

Correction and verification

The initial isolated-home/gateway-only installation was incomplete: chat worked but Skills raised a missing agent module error. The intermediate read-only skills mount and manually linked virtualenv were also superseded. Do not restore those arrangements. The live mounts now use the shared-home/source layout above. Inactive historical installation files are not referenced by the live template.

Agent recreation was briefly unsuccessful during this correction. It was immediately restored from its saved regular Unraid template, with the source volume added. API reachability and all 13 existing model entries were verified again. This correction did require an Agent restart.

Verified after the final correction:

  • WebUI container healthy; Agent and Workspace running.
  • /health HTTP 200 via published LAN address.
  • Authenticated browser session retained.
  • Skills lists existing production skills without Internal Server Error.
  • Memory, Tasks, Agent profiles and Plugins panels open without server errors.
  • Existing synthetic conversation survives the changed mounts and restart.
  • Browser terminal test returned HERMES_OFFICIAL_LAYOUT_OK. A second test wrote the known marker HERMES_VERIFY_2219 to an own temporary file in the SSH worker. Independent docker exec Hermes-Workspace verification confirmed its exact contents; the temporary file was then removed. This proves actual remote tool execution rather than relying on the model's success statement.
  • The browser shows a generic command activity card; full command stdout was not exposed by that card in this acceptance test. Do not claim full tool-detail parity in gateway mode.
  • /app/venv is a directory, not the former custom symlink.
  • Selected WebUI application files hash-identical to the image's originals.

A panel opening is not proof that every edit/action in that panel works. No real skill or memory was modified merely to test it. No full backup restore was run.

Explicit upstream limits

Gateway mode is documented, but the project explicitly warns that attachments, cancellation, approvals and clarification prompts may not behave identically to all messaging surfaces. Do not claim complete feature parity from a chat test. Image generation/delivery, vision, voice, every model's inference and destructive management actions have not been comprehensively accepted here.

The WebUI file panel and the existing SSH worker now share the same host-backed /config home/workspace. terminal.cwd=/config is the existing profile default; the WebUI's supported profile workspace resolution picks it automatically. The extra global HERMES_WEBUI_DEFAULT_WORKSPACE override was removed: its root entrypoint chowns that directory, which must not change Webtop's home owner. The image's unused /workspace startup fallback remains an image-local default. No synchronization layer, remote-filesystem proxy or application patch was added. Generated artifacts retain the Gateway's absolute /opt/data/cache/... paths; the read-only cache mount exposes those same files in WebUI. Its built-in MEDIA_ALLOWED_ROOTS=/opt/data/cache explicitly allows that artifact root through the media endpoint. Other media protection/deny rules remain enabled.

User explicitly approved full-home access, including SSH/configuration data, for UID 99 (WebUI) and UID 1000 (Webtop). Named access/default ACLs grant both rwX on the shared tree and future files/directories. Existing owners were preserved; the root home owner was restored to 1000:1000 after the first entrypoint test. File creators can still explicitly restrict permissions later. Preserve ACLs in private backups (rsync -A or equivalent) and verify both identities after restore. The common mount grants the WebUI access to the entire Webtop home, not a restricted project-only directory. Never expose this data or its private backup through Git.

Verified both directions with temporary files: worker content appeared in the WebUI tree and text preview; WebUI-created content was read from the worker. The actual Hermes SSH terminal still returned its exact synthetic marker after ACL changes. Existing sessions retain their selected old workspace until changed; the own acceptance chat was switched to Home /config through the normal menu.

Backup, restore and updates

Include the existing Hermes-Agent home, WebUI home/webui, complete shared Webtop home including ACLs, private env file and both installed Unraid user templates in private backups. The Agent source volume must be restored/repopulated from the recorded matching Agent image, not arbitrary current source. The source volume shadows /opt/hermes; an Agent image update alone does not refresh it. Follow upstream source-volume refresh instructions when upgrading the Agent; do not silently keep stale code.

WebUI app/cache are reconstructable through its normal entrypoint. Persisted managed Python avoids an interpreter disappearing on container recreation. Restore ownership, private env permissions, home/source mounts and gateway settings before starting. Verify health, login, Skills and an actual tool call. No secrets, appdata, model weights or private templates belong in Git.

This remains an optional Unraid client. Its backups are part of Unraid appdata restoration, separate from native Athena Deck model/runtime restore. Removing this UI must never delete the shared Hermes-Agent home or source still used by the Agent.

Media configuration, actual tests and remaining speech-player limits: MEDIA-2026-10-16.md.

Gateway context indicator — upstream finding, 2026-10-16

The own synthetic acceptance session persists zero for input/output tokens, context_length, last_prompt_tokens and threshold_tokens. The indicator is not hidden. Live gateway mode and Runs API switches match upstream documentation. This exact persistence gap is described in upstream WebUI PR #7446: https://github.com/nesquena/hermes-webui/pull/7446 GitHub API verified open, merged=false on 2026-10-16. Current public master still has the installed three-field _gateway_stream_usage implementation; no accepted update fixing this path was identified. The PR also has unresolved review findings; do not treat an unmerged contribution as a released vendor fix.

Producer-side proposal #105905 was closed WITHOUT merging, superseded by #119297: https://github.com/NousResearch/hermes-agent/pull/119297 Its successor is also open/unmerged. It covers chat-completions usage; comments on #105905 explicitly note that Runs API has a separate usage builder, so merging that proposal alone must not be claimed to fix our Runs API configuration.

No local patch, counter estimate, mode switch or service restart was performed for this investigation. Recheck upstream acceptance and actual Runs API metadata before promising reliable context occupancy. Billing input totals sum model calls and are not an interchangeable measure of the current context window.

Direct in-process Hermes test — 2026-10-17

User explicitly requested stopping the previous Agent and WebUI and starting a second, separately named WebUI with embedded/direct Hermes execution.

  • New container/template name: Hermes-Agent-Web-UI.
  • Template: my-Hermes-Agent-Web-UI.xml, installed at /boot/config/plugins/dockerMan/templates-user/my-Hermes-Agent-Web-UI.xml.
  • Same published unmodified WebUI image/digest and existing Hermes source volume as recorded above. No custom image, application patch or gateway proxy.
  • Standard in-process mode: no HERMES_WEBUI_CHAT_BACKEND=gateway, Gateway URL, Runs-API switch or external HERMES_API_URL forwarded to the new container. The upstream internal mode string is legacy; it denotes the normal local execution path, not an old Hermes version.
  • Root /mnt/nvme-storage/appdata/Hermes-Agent-Web-UI has own home, app, dependency cache and root-only private/runtime.env.
  • New home is a copy of the existing Hermes home made after the previous WebUI stopped; it retains models, skills, memory, MCP definitions and private SSH keys. The existing WebUI session/preferences directory was copied into home/webui. No old production files were overwritten. Real user work in /config remains shared; the test is not isolated from that workspace's files/actions.
  • Home mount /home/hermeswebui/.hermes, with the SAME new home also mounted at /opt/data for existing tool paths and copied historical artifact references. State is /home/hermeswebui/.hermes/webui. Source remains mounted RO at /home/hermeswebui/.hermes/hermes-agent; official entrypoint stages/installs it.
  • Existing /mnt/nvme-storage/appdata/Hermes-Workspace mounted at /config RW; existing authorized UID99/1000 ACLs reused. No worker restart.
  • Same LAN address http://192.168.1.2:8787/, bridge network, no socket/GPU/privilege. Previous UI stopped before taking this port. Existing password copied internally; no passwords/tokens in template, logs exported to context or Git.
  • Resource ceiling 2 CPUs / 4 GiB RAM, swap not above that ceiling. Original UI ceiling was 2 GiB; native agent/tool subprocesses share this test container limit.

Native provider metadata correction, in the TEST home only: the three Strata model entries declare reasoning_efforts: [none, low, medium, high]. This is the WebUI's existing supported per-model capability field. It addresses the unknown custom model ID, independently of gateway usage persistence. Original provider configuration is unchanged. Reasoning stays at the existing medium setting.

Verified startup: HTTP health200, native mode, 20 MCP configurations retained, German server preference, supported Reasoning dropdown visible with None/Low/ Medium/High, new chat workspace Home /config, correct 262144 context capacity. Own fresh test session 3a32feb2b2ec is used for the actual inference/tool test. No broad autonomous task, image regeneration or benchmark is implied.

The source volume is still independent of the WebUI image: update it using the upstream documented source refresh when changing Hermes revisions. A Docker image update by itself does not refresh a source volume mounted over the Agent checkout.

Back up new home and private env encrypted, shared Webtop home with ACLs, installed new XML and the matching source revision. app and dependency cache are reconstructable through the upstream entrypoint. Full restore is not claimed. The original two container definitions, original home and original WebUI appdata remain available stopped; switching back requires an idle test and freeing8787. Do not simultaneously run both UIs on that port. New test changes to skills, memory or settings are in its copy and do NOT automatically update the original. With the separate Gateway stopped, its messaging/API service and cron ticking are not provided by this browser-chat test; no scheduler parity claim is made.

SSH permission regression found during native acceptance

First native model test honestly reported that no terminal command ran. Independent sshd -t showed the two existing root-owned SSH host private keys were mode0660 because the previously approved recursive shared-home ACL had expanded their mask. After Webtop's subsequent restart, sshd rejected those keys and was not running. This was a setup regression from the shared-home permission change, not a model or native-runtime failure. Metadata only was inspected; no private-key content.

Restored0600 only on ssh_host_ed25519_key and ssh_host_rsa_key. The existing supervisor restarted sshd normally; Workspace/container/host were not restarted. The public webtop-workspace/configure-session.sh now applies0600 to existing host keys at startup as well. This deliberately restricts effective access to those server keys despite the broader home ACL; do not reapply recursive rw ACLs without re-securing private keys afterwards. The actual new native Hermes terminal then returned HERMES_NATIVE_SSH_OK with exit0.

The native context meter is proven nonzero in the own test: capacity262144, last_prompt_tokens19999, threshold_tokens196608, input_tokens78007, output_tokens654 after the first (SSH-failing) turn. The browser showed8% plus cache counters. Billing input78007 is correctly distinct from current occupancy 19999. These counters prove metering, not success of the failed terminal turn.

Final native browser acceptance

Second turn in own session 3a32feb2b2ec succeeded after SSH host-key protection: recorded terminal call printf HERMES_NATIVE_UI_OK, final browser answer exactly HERMES_NATIVE_UI_OK. Native UI exposes a real Shell activity card. Final stored metrics: context_length262144, last_prompt_tokens20578, threshold_tokens196608, input_tokens119083, output_tokens713. These are actual metering values; cumulative billing tokens are not the current-context numerator. Browser context ring and cache counters are visible; graphical Reasoning dropdown contains None/Low/ Medium/High with existing Medium selected. Screenshot retained as local acceptance artifact, not private user data in Git.

Final containers: new Hermes-Agent-Web-UI healthy, previous Hermes-WebUI stopped, previous Hermes-Agent stopped, shared Hermes-Workspace running unchanged apart from the two SSH host-key mode corrections/start-recipe persistence above. The previous media-player limitations in MEDIA-2026-10-16.md are not claimed fixed by switching to in-process chat. No all-MCP, speech-player or full restore test.