hermes - 💡(How to fix) Fix Feature Request: Add gateway:startup hook event

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Fix Action

Workaround

Currently the closest option is on_session_start, but that only fires when a user actually initiates a new conversation — it does not detect gateway process restarts.

RAW_BUFFERClick to expand / collapse

Problem

The current Hook system (hermes hooks) has on_session_start, on_session_end, pre_gateway_dispatch, etc., but there is no hook event for when the messaging gateway process itself starts up.

Use Case

When the gateway restarts (e.g., after config changes, system reboot, crash recovery), users on messaging platforms (WeChat, Telegram, Discord, etc.) have no way to know the agent is back online until they send a message and get a reply.

A gateway:startup hook would allow:

  • Sending automatic "Hermes is back online ✅" notifications to messaging platforms
  • Running startup health checks
  • Triggering initialization tasks (reloading external skills, warming up caches)

Proposed Solution

Add a gateway:startup hook event to VALID_HOOKS in hermes_cli/plugins.py, fired once when the gateway runner finishes initializing adapters and starts its main event loop.

Workaround

Currently the closest option is on_session_start, but that only fires when a user actually initiates a new conversation — it does not detect gateway process restarts.

Environment

  • Hermes Agent: 2026.5.7 (Homebrew, macOS)
  • Gateway: launchd auto-start, WeChat platform

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING