Skip to main content

Hermes bus integration plugin — auto-start, auto-register, message injection, bus tools

Project description

hermes-bus-plugin

English | 中文

Hermes Agent plugin for message bus integration — lifecycle management, external message injection, bus tools.

A thin integration layer between Hermes Agent and the hermes-bus / hermes-notify packages.

Install

# Via Hermes plugin manager
hermes plugins install hermes-bus-plugin

# Or copy to ~/.hermes/hermes-agent/plugins/
cp -r hermes-bus-plugin ~/.hermes/hermes-agent/plugins/
hermes plugins enable hermes-bus-plugin

Session Naming

Each CLI window registers a unique bus endpoint on startup. The default endpoint is hermes-bus (first session), with hermes-bus-2, hermes-bus-3, etc. for additional sessions. To give your session a stable name that survives reconnection:

/title my-agent-name

The plugin uses the title set by /title as the bus endpoint name.

Action When Description
Start bus daemon Plugin load Ensures hermes-bus is running
Register listener Plugin load Opens a bus endpoint for incoming messages
Print notifications On bus message Messages matching notify.yaml rules with print: true are printed to terminal immediately
Inject context pre_llm_call Queued bus messages (matching rules with context: true) are injected into LLM context

Provided Tools

bus_send — send a message through the bus to any endpoint:

bus_send(target="notifier", type="progress", text="50% done")

bus_status — check bus health and connected endpoints:

bus_status()

bus_info — show current session's bus connection details:

bus_info()

Requirements

  • hermes-bus (pip)
  • hermes-notify (pip)

Both are auto-detected — the plugin degrades gracefully if they're missing.

Architecture

External process ──→ hermes-bus ──→ hermes-bus-plugin ──→ LLM context
                        (socket)        (pre_llm_call hook)
                        
Hermes session ──→ bus_send tool ──→ hermes-bus ──→ target endpoint

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hermes_bus_plugin-0.2.0.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hermes_bus_plugin-0.2.0-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file hermes_bus_plugin-0.2.0.tar.gz.

File metadata

  • Download URL: hermes_bus_plugin-0.2.0.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for hermes_bus_plugin-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c1ec6461a22b22fbda5fe82f5fb09fe815fa67342dec636c414a29ed0768f8f2
MD5 2951792ba87c1e70d747940d672db637
BLAKE2b-256 fa21c6fdbc936249a92e8e319ba8b6d2f253c968178076b2c8a07ee2df4fa0ac

See more details on using hashes here.

File details

Details for the file hermes_bus_plugin-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for hermes_bus_plugin-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 589e5b369aa08d2b6cc9bddc0ef7e80ae0d47e56599f1976086f453c008c911c
MD5 191775360e18a8f721309bc741a149d8
BLAKE2b-256 28dceccc7a761c5574ae693d5b09a020a7b62c1de2a11c7a6644f24b107fb4a7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page