Skip to main content

hermes-plugin-telegram-reactions

A Hermes Agent plugin that adds emoji reactions to Telegram messages. One tool call, one HTTP request, zero ceremony.

What it does

Adds a set_reaction tool that reads the current message's chat_id and message_id from the gateway's session environment variables. The agent just passes an emoji -- no need to figure out message IDs or chat IDs manually.

User: that's awesome!
Agent: [reacts with 🔥] Glad you liked it!

Install

pip (recommended)

pip install hermes-plugin-telegram-reactions

Restart Hermes and the tool appears automatically.

Manual (directory plugin)

mkdir -p ~/.hermes/plugins/telegram-reactions
# Copy the plugin files there:
cp hermes_plugin_telegram_reactions/__init__.py ~/.hermes/plugins/telegram-reactions/
cp hermes_plugin_telegram_reactions/tool.py ~/.hermes/plugins/telegram-reactions/

Requirements

  • Hermes Agent with Telegram gateway configured and running
  • aiohttp (included as a dependency)

The plugin only activates when a Telegram bot token is detected. It's invisible on CLI or other platforms.

How it works

Step What happens
Agent calls set_reaction(emoji="🔥") Single tool call
Plugin reads HERMES_SESSION_CHAT_ID and HERMES_SESSION_MESSAGE_ID Set by the gateway automatically
Single POST to telegram.org/bot{token}/setMessageReaction One HTTP request
Done.

No getUpdates, no message polling, no extra commands.

License

MIT

Metadata

Release files for hermes-plugin-telegram-reactions 1.0.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 hermes-plugin-telegram-reactions 1.0.0
File Size Uploaded
hermes_plugin_telegram_reactions-1.0.0.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hermes-plugin-telegram-reactions 1.0.0
File Interpreter ABI Platform
hermes_plugin_telegram_reactions-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.7 kB

Release files / hermes_plugin_telegram_reactions-1.0.0.tar.gz

Download URL hermes_plugin_telegram_reactions-1.0.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d8f039260c18f61f5264e311c3434ff198ea09e7d776af0294bff3b74ddc9694
BLAKE2b-256 checksum
How to use checksums
aea700d3af0226599b05d7f7950b816744e99d937b18bf51f87ca68ac226ace8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release files / hermes_plugin_telegram_reactions-1.0.0-py3-none-any.whl

Download URL hermes_plugin_telegram_reactions-1.0.0-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f97d4d2ffce4efd37bee016335e8260a76fd0849d62229a6d71beaea09e6c90b
BLAKE2b-256 checksum
How to use checksums
435eab64cc351d1aa3ed0d870eb24a1fa2c971f32bc553baf50f76ea565b0eec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

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