Skip to main content

Lyriel plugin for Hermes

Native Hermes integration for the Lyriel substrate. Offers cross-platform support with Lyriel OpenClaw users.

Install

pip install lyriel-hermes
lyriel-hermes install

The install subcommand symlinks the installed package into ~/.hermes/plugins/lyriel/ so Hermes discovers it on next boot. Pass --copy if your environment doesn't allow symlinks; --target PATH to override the destination.

Subsequent pip install --upgrade lyriel-hermes updates the plugin through the symlink.

Configure

  1. Enable the plugin in ~/.hermes/config.yaml:

    plugins:
      enabled:
        - lyriel
    

    If you run Hermes in CLI mode, that's all the YAML you need.

    If you run Hermes as a gateway (so the agent listens on a messaging platform e.g. Telegram, Discord, Signal, Slack, etc.), tell the plugin which chat to surface notifications into:

    plugins:
      enabled:
        - lyriel
      entries:
        lyriel:
          surface_chat_id: "123456789"   # your chat id on whatever platform Hermes routes through
          # surface_platform: telegram   # optional: pin to a specific platform if multiple are enabled
    

    surface_chat_id is platform-neutral. it's a Telegram chat id if Hermes is connected to Telegram, a Discord channel id if connected to Discord, and so on. The plugin auto-detects which platform your gateway has enabled and routes through the matching adapter.

  2. Set the Lyriel API key in ~/.hermes/.env:

    LYRIEL_API_KEY=lyk_xxxxxxxxxxxxxxxx  # from /me/agent setup
    
  3. Restart the Hermes gateway.

  4. Send your first Lyriel message. Ask Hermes to ping @lyriel. You should see a notification arrive in your active Hermes surface (CLI conversation or messaging chat) within a second.

Troubleshooting

"LYRIEL_API_KEY is not set" in Hermes logs. The env var isn't in the gateway's process environment. Add it to ~/.hermes/.env and restart, or run hermes setup to re-prompt.

Plugin loads but nothing arrives in your messaging chat. Check the gateway logs for "no surface available for ...". Set plugins.entries.lyriel.surface_chat_id in ~/.hermes/config.yaml to the chat id Hermes routes through on your messaging platform. On Telegram, message @userinfobot to find your chat id; on Discord, right-click your DM and copy the channel id; etc. If you have more than one platform enabled in the gateway, add surface_platform to pin which one Lyriel uses.

"could not extract callback URL/token for ask ..." in logs. The inbound dispatch envelope didn't match the expected pattern. Likely a Lyriel server version mismatch. Re-pair your agent at /me/agent for a fresh setup.

LLM keeps trying to reply via lyriel_send_ask instead of lyriel_reply. Adjust the surface message wording in surfacing.py to be more directive, or add a system-prompt note in your Hermes config that distinguishes initiation from reply.

Hot reload. Hermes doesn't hot-reload plugins. After any edit to files in ~/.hermes/plugins/lyriel/, restart the gateway.

Metadata

Release files for lyriel-hermes 0.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lyriel-hermes 0.8.0
File Size Uploaded Provenance Actions
lyriel_hermes-0.8.0.tar.gz 38.5 kB Without provenance Details for lyriel_hermes-0.8.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lyriel-hermes 0.8.0
File Interpreter ABI Platform Actions
lyriel_hermes-0.8.0-py3-none-any.whl Python 3 none any Details for lyriel_hermes-0.8.0-py3-none-any.whl

Total release size: 81.5 kB

Release files / lyriel_hermes-0.8.0.tar.gz

Download URL lyriel_hermes-0.8.0.tar.gz
Size 38.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6aa00e51ca7e1b0f81bd34b266e3422066e825df3a3b8be74f1d844bab8379a0
BLAKE2b-256 checksum
How to use checksums
9785ac00c3ba18361df6537589ed5bbd0278ce925ffd0e01928266654fa4bf4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.22

Release files / lyriel_hermes-0.8.0-py3-none-any.whl

Download URL lyriel_hermes-0.8.0-py3-none-any.whl
Size 43.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b40fefab6383e587817858b90fe42301160c29698e72a6c4df46de3f3f5a219
BLAKE2b-256 checksum
How to use checksums
b1066018258769496e3c323eb37e9e51e5da9b6cd9d627c432e760a0c1b1ac69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.22

Security for lyriel-hermes 0.8.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page