Skip to main content

StageWhisper BYO AI relay plugin for Hermes Agent

Project description

StageWhisper Hermes Plugin

Hermes plugin that connects to StageWhisper's encrypted reasoning relay. Receives live call reasoning jobs, executes them via Hermes's configured main LLM provider (the same model Hermes itself uses), and returns results.

Install

pipx run --spec hermes-plugin-stagewhisper stagewhisper-hermes-install

The installer finds the active hermes command, copies the plugin into ~/.hermes/plugins/stagewhisper, and enables it.

If you use uv, this equivalent command is faster:

uvx --from hermes-plugin-stagewhisper stagewhisper-hermes-install

If neither pipx nor uv is installed:

python3 -m venv /tmp/stagewhisper-hermes-install
/tmp/stagewhisper-hermes-install/bin/python -m pip install -U hermes-plugin-stagewhisper
/tmp/stagewhisper-hermes-install/bin/stagewhisper-hermes-install

On Ubuntu, install python3-venv first if python3 -m venv is unavailable.

For local development, copy or symlink hermes_stagewhisper_plugin/ into ~/.hermes/plugins/stagewhisper/.

The plugin reasoning route uses Hermes's main provider — whichever you configured with hermes config (Nous Portal, OpenRouter, OpenAI, Anthropic, Codex, Ollama, etc.). No additional LLM credentials are needed.

Optional overrides in ~/.hermes/.env:

  • STAGEWHISPER_REASONING_MODEL — Force a specific model instead of Hermes's main default
  • STAGEWHISPER_API_URL — StageWhisper backend override (normally set by pairing)

Pair

  1. In StageWhisper desktop → Settings → Assistant → Hermes → Generate Pairing Code
  2. On your Hermes host:
stagewhisper-hermes pair --code <CODE>

The plugin exchanges X25519 keys and stores the relay config.

The pair command restarts the Hermes gateway after a successful pair. If that restart fails, run:

hermes gateway restart

Verify

stagewhisper-hermes status

BYO mode (end-to-end encrypted reasoning)

When the desktop is in BYO reasoning mode, all analysis prompts are encrypted end-to-end between the desktop and the plugin. The plugin decrypts, runs the prompt through your LLM, encrypts the result, and posts it back.

Unpair

stagewhisper-hermes unpair

Tools for the LLM

The plugin registers three tools Hermes's LLM can call:

  • stagewhisper_pair(code, label, api_url) — Pair with StageWhisper desktop
  • stagewhisper_relay(action) — Start/stop/status/restart the relay
  • stagewhisper_unpair() — Unpair and clear config

Architecture

Desktop (E2EE) ↔ StageWhisper Backend (blind relay) ↔ Hermes Plugin (this)
                                                          ├── SSE stream consumer
                                                          ├── XChaCha20-Poly1305 crypto
                                                          └── agent.auxiliary_client.async_call_llm(provider="main")

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_plugin_stagewhisper-0.29.0.tar.gz (24.9 kB view details)

Uploaded Source

Built Distribution

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

hermes_plugin_stagewhisper-0.29.0-py3-none-any.whl (28.8 kB view details)

Uploaded Python 3

File details

Details for the file hermes_plugin_stagewhisper-0.29.0.tar.gz.

File metadata

File hashes

Hashes for hermes_plugin_stagewhisper-0.29.0.tar.gz
Algorithm Hash digest
SHA256 886adf518b5cce22d2387af17b8f07898c189ba9a6e43c66ad2fb5da2cc09aa2
MD5 c63097b7e2188ae41dc40c9d5362b0c2
BLAKE2b-256 096d3cfeda1e00a53f515d9a27d6d37b5c3480ade3e2a0881d31d97e513449be

See more details on using hashes here.

File details

Details for the file hermes_plugin_stagewhisper-0.29.0-py3-none-any.whl.

File metadata

File hashes

Hashes for hermes_plugin_stagewhisper-0.29.0-py3-none-any.whl
Algorithm Hash digest
SHA256 05768ca6425697084af23f168e539046d08641542a9ae2db12ca6a60dde0ee55
MD5 0a4bdeac8b1063bc7d95a440c40e01a1
BLAKE2b-256 a9f91d560bf5d084132796584b5abd4d829c15b24c7a64c1160468a376ab9a55

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