Skip to content

Configure hermes-webui to connect to existing Hermes gateway#47

Merged
cori merged 2 commits into
mainfrom
claude/hermes-webui-app-store-j2rczl
Jun 10, 2026
Merged

Configure hermes-webui to connect to existing Hermes gateway#47
cori merged 2 commits into
mainfrom
claude/hermes-webui-app-store-j2rczl

Conversation

@cori

@cori cori commented Jun 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds HERMES_WEBUI_GATEWAY_BASE_URL as a required form field — the URL of the user's already-running Hermes Agent gateway
  • Hardcodes HERMES_WEBUI_CHAT_BACKEND=gateway so the UI shares sessions/history with the existing agent rather than spinning up an isolated in-process agent
  • Updates description.md to reflect gateway-connected setup

Why

The default single-container mode runs an embedded in-process agent, completely isolated from any existing Hermes Agent instance. This change makes the WebUI act as a second frontend to the existing gateway instead.

Test plan

  • bun test passes (54 tests, verified locally)
  • Install via Runtipi, set Gateway URL to existing Hermes gateway, confirm sessions are shared

https://claude.ai/code/session_01Xwf5nZf6d1npMerNteodq2


Generated by Claude Code

Add HERMES_WEBUI_GATEWAY_BASE_URL as a required field and hardcode
HERMES_WEBUI_CHAT_BACKEND=gateway so the UI shares sessions with the
user's already-running Hermes Agent rather than spinning up an
isolated in-process agent.

https://claude.ai/code/session_01Xwf5nZf6d1npMerNteodq2
@cori cori marked this pull request as ready for review June 10, 2026 10:51
@cori cori requested a review from Copilot June 10, 2026 10:51

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the hermes-webui app definition so the WebUI connects to an already-running Hermes Agent gateway (instead of running an embedded/in-process agent), allowing sessions/history to be shared across interfaces.

Changes:

  • Adds a required HERMES_WEBUI_GATEWAY_BASE_URL configuration field and wires it into the container environment.
  • Forces HERMES_WEBUI_CHAT_BACKEND=gateway so the WebUI uses the gateway-backed session store.
  • Updates the app’s description.md to document the gateway-connected setup and persistence expectations.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
apps/hermes-webui/metadata/description.md Updates end-user documentation to reflect gateway-connected behavior and persistence notes.
apps/hermes-webui/docker-compose.json Adds env wiring for gateway mode (HERMES_WEBUI_CHAT_BACKEND, HERMES_WEBUI_GATEWAY_BASE_URL).
apps/hermes-webui/config.json Bumps tipi_version and adds a required “Gateway URL” form field to collect the gateway base URL.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +27 to +31
{
"type": "text",
"label": "Gateway URL",
"hint": "URL of your existing Hermes Agent gateway (e.g. http://192.168.1.10:8642)",
"required": true,
],
"description": "Hermes WebUI is a lightweight, dark-themed web interface for Hermes Agent. It provides near-complete parity with the CLI experience via a three-panel layout with session management, chat, and workspace file browsing. Use it in any browser, or pair it with the Hermes Agent Mobile iOS app by setting a password.",
"tipi_version": 1,
"tipi_version": 2,
- updated_at bumped to reflect config changes (tipi_version 2)
- description now mentions gateway connection to set correct expectations

https://claude.ai/code/session_01Xwf5nZf6d1npMerNteodq2

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.

@cori cori merged commit 55b57d0 into main Jun 10, 2026
3 checks passed
@cori cori deleted the claude/hermes-webui-app-store-j2rczl branch June 10, 2026 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants