Skip to content

feat(hermes): add GatewayMemosManager for bridge lifecycle management#1605

Open
Starfie1d1272 wants to merge 2 commits intoMemTensor:mainfrom
Starfie1d1272:feat/hermes-gateway-manager
Open

feat(hermes): add GatewayMemosManager for bridge lifecycle management#1605
Starfie1d1272 wants to merge 2 commits intoMemTensor:mainfrom
Starfie1d1272:feat/hermes-gateway-manager

Conversation

@Starfie1d1272
Copy link
Copy Markdown

Summary

New file: gateway_manager.py — provides an async-friendly interface for Hermes GatewayRunner to manage the MemOS bridge process lifecycle.

GatewayMemosManager class

  • ensure_running() — idempotent bridge startup/health check
  • start_heartbeat(interval) / stop_heartbeat() — async background health loop
  • shutdown() — graceful subprocess termination

Companion PR

A companion PR in NousResearch/hermes-agent will add gateway/memos_daemon.py wrapping GatewayMemosManager.

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings May 1, 2026 06:31
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Bare import 'from daemon_manager' fails when Hermes imports the module
via its fully-qualified package path. Switch to absolute import so it
resolves correctly regardless of sys.path state.
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.

2 participants