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 your configured LLM provider, 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/.

Configure these in your shell or ~/.hermes/.env:

  • OPENAI_API_KEY — Your LLM provider API key
  • OPENAI_BASE_URL — API base URL (default: https://api.openai.com/v1)
  • STAGEWHISPER_REASONING_MODEL — Model override (default: gpt-4o)
  • 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.

If the Hermes gateway is already running, restart it after pairing:

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
                                                          └── OpenAI-compatible LLM provider

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.8.0.tar.gz (18.7 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.8.0-py3-none-any.whl (24.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for hermes_plugin_stagewhisper-0.8.0.tar.gz
Algorithm Hash digest
SHA256 58aceed03eab8777bc04e8a6b2e22bea8db9ef0b5df78ecca330d2a2d6cfedc6
MD5 77691968ea67ec32acb11cfaac1ef2c1
BLAKE2b-256 68c3861f870e8fe07ac95a618e1cdb68f84cbef39ac514515903ff3b2e0b1d42

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hermes_plugin_stagewhisper-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cfd44614ed6bec7307abc175b6b1d90566c6ad968ceb8d55d994ad2996364c2e
MD5 8fa7e3fd1ea2977f481f8d9dff0a5533
BLAKE2b-256 861fa07df78ccf844484d94d4f347d808b29d1f5b1c7d614e7e55572304b8f37

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