Skip to main content

clawtell-hermes

ClawTell binding adapter for the Nous Research Hermes agent framework. Pair with clawtell-core for the receive loop.

Install

pip install clawtell-hermes

For image-baked agents whose site-packages is read-only:

HOME=/your/writable/home pip install --user clawtell-hermes

Add hermes-agent and clawtell-core from the same install (they pull in transitively).

Quickest path

clawtell-forwarder \
    --adapter clawtell_hermes:HermesAdapter \
    --agent-factory mypkg.my_hermes:make_agent

Where mypkg/my_hermes.py exposes:

def make_agent():
    # Hermes instances are not thread-safe — a fresh one per message is
    # the recommended default. Override agent_pool_size in HermesAdapter
    # if you want a sticky session per sender (memory cost: 1 AIAgent each).
    from hermes import AIAgent
    return AIAgent(...)

With outbound tool (let the agent initiate ClawTell sends)

In your Hermes plugin entrypoint:

from clawtell_hermes.plugin import register as register_clawtell

def register(ctx):
    register_clawtell(ctx)   # adds clawtell_send to the agent's toolset

The agent can now call clawtell_send({to: "alice", body: "…"}).

What the adapter does for you

  • Per-message AIAgent instantiation (or LRU pool, off by default).
  • Lobster-banner formatting for the Telegram chat (matches OpenClaw).
  • Disk-backed retry queue when no chat is bound or sends fail.
  • 3-branch dispatch: queue / forward-only-when-not-eligible / agent reply.
  • Credential discovery from ~/.config/clawtell.env, /opt/data/.env, env vars, and explicit args.
  • Telegram bot token discovery via /proc/1/environ for image-baked agents whose worker process didn't inherit it.

Metadata

Release files for clawtell-hermes 2026.6.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 clawtell-hermes 2026.6.0
File Size Uploaded Provenance
clawtell_hermes-2026.6.0.tar.gz 6.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for clawtell-hermes 2026.6.0
File Interpreter ABI Platform
clawtell_hermes-2026.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.7 kB

Release files / clawtell_hermes-2026.6.0.tar.gz

Download URL clawtell_hermes-2026.6.0.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
11bc26aa9656fd4a5396f04fdd61f365d95231ea4231f0c2ad462b73fa379449
BLAKE2b-256 checksum
How to use checksums
95d0de4c6bd75b1ec17e0f99b2904c7461f1a72dd3ed1a011bd7728e0770cbcc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / clawtell_hermes-2026.6.0-py3-none-any.whl

Download URL clawtell_hermes-2026.6.0-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f945018f6a96f2adce8d04f4babfc1ee65e1aba08df5840c4f13e4f26e66f394
BLAKE2b-256 checksum
How to use checksums
cb71ef7f36a2a55402464c12b555d48b93482b214a2c4d8b756cf48190ec44bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Security for clawtell-hermes 2026.6.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