Mindket

Hermes Agent by Mega-Evolutions

Newversion 1 · updated

Overview

Runs the Hermes Agent gateway in a Docker Space and connects it to Telegram through two bots, using the Telethon plugin alongside the python-telegram-bot transport.

Hermes Agent by Mega-Evolutions is a kit in the Productivity category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • Docker on Windows, macOS or Linux, or a Hugging Face Space
  • A bot token for the PTB bot from BotFather
  • A second bot token for the Telethon bot, from a different bot
  • A Telegram API ID and API hash from Telegram's developer site
Runs in
  • A Hugging Face Space with Docker and persistent storage
  • Telegram, through the two bots you create
  • Windows, macOS or Linux with Docker, for a copy on your own computer
Start with
pip install -U huggingface_hub
hf download Mega-Evolutions/Hermes-Agent --repo-type space --local-dir Hermes-Agent
cd Hermes-Agent

Platform

DockerContainer
WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

This Space runs the Hermes Agent gateway inside a Docker container. It adds the Telethon Telegram platform plugin as a second transport that works in parallel with PTB, so two Telegram bots on separate tokens run side by side. It needs persistent storage, or the saved sessions are lost on restart.

Who it suits

People who want a Telegram-connected agent hosted on Hugging Face and are comfortable setting secrets and storage.

IndustryWho uses itHow they use itExample
SoftwareDevelopers of chat agentsHost an agent that answers through TelegramDeploy the Space and message the bot
OperationsSmall teamsKeep an agent reachable in a Telegram channelSet a home channel for the agent
ResearchAgent buildersCompare two Telegram transports in one deploymentRun the PTB and Telethon bots in parallel
Self-hostingHobbyistsRun a personal agent without their own serverAdd the secrets and start the container

People who want a one-click assistant with no setup can skip it, since it needs two bots and several secrets.

Where to use it

  • A Hugging Face Space with Docker and persistent storage
  • Telegram, through the two bots you create
  • Windows, macOS or Linux with Docker, for a copy on your own computer
Use caseWhoWhat they get back
Chat with the agentOwnersAgent replies in Telegram
Run two transportsDevelopersPTB and Telethon bots working in parallel
Keep sessionsOperatorsA saved state that survives restarts

How to set it up

  • Docker on Windows, macOS or Linux, or a Hugging Face Space
  • A bot token for the PTB bot from BotFather
  • A second bot token for the Telethon bot, from a different bot
  • A Telegram API ID and API hash from Telegram's developer site
  • Your Telegram user ID and a home channel ID
  • Persistent storage mounted at /data
  1. Add the secrets as Space secrets, not variables.
  2. Enable persistent storage at /data.
  3. Deploy and wait for the Docker build to finish.
  4. Both bots run in parallel on their separate tokens.
pip install -U huggingface_hub
hf download Mega-Evolutions/Hermes-Agent --repo-type space --local-dir Hermes-Agent
cd Hermes-Agent
docker build -t hermes-agent .
docker run -it -p 7860:7860 hermes-agent

How to use it

Once the Space is running, message the bot you created in Telegram. The source lists secrets only for a Space, so a local run would need the same values and the source does not show how to pass them.

SecretWhat it holds
TELEGRAM_BOT_TOKENThe token of the PTB bot
TELETHON_BOT_TOKENThe token of the separate Telethon bot
TELETHON_API_IDThe API ID from Telegram's developer site
TELETHON_API_HASHThe API hash from Telegram's developer site
TELETHON_ALLOWED_USERSYour Telegram user ID
TELETHON_HOME_CHANNELYour home channel ID
TELETHON_PROXYOptional SOCKS5 proxy details for blocked mtproto

Example

You deploy the Space with both bot tokens and your user ID. You then send a message to the Telethon bot in Telegram, and the Hermes agent answers through it.

For newcomers and experts

If you are new, create two bots with BotFather first and keep their tokens ready. Then add every secret in the table before you deploy, since the bots will not start without them.

If you know the field, the gateway uses two Telegram transports at once, PTB and Telethon, each with its own token. The repository has hf_persist.py and a 00-hf-restore script for saving state, a main.sh entry script and a plugins folder. Without persistent storage at /data, state.db and every session disappear on restart.

  1. You add secrets and storage
  2. The Docker image builds
  3. The gateway starts both transports
  4. You message a bot in Telegram
  5. The agent replies through it

Good to know

  • Storage: mount persistent storage at /data, because without it the state.db file and your sessions vanish at each restart
  • Secrets: enter them as secrets and not as variables
  • Proxy: a SOCKS5 proxy is optional when mtproto is blocked
  • License: mit
  • Cost to run: two Telegram bot tokens, a Telegram API ID and hash, and persistent storage
  • Data it reaches: your Telegram bots and channel, and the sessions saved in state.db under /data

README and files

README

Hermes Agent by Mega-Evolutions

Runs the Hermes Agent gateway in a Docker Space and connects it to Telegram through two bots, using the Telethon plugin alongside the python-telegram-bot transport.

Made by Mega-Evolutions on Hugging Face. These notes are Mindket's, written from its Space page and README; the app's own files and license are on Hugging Face.

About

What it is: This Space runs the Hermes Agent gateway inside a Docker container. It adds the Telethon Telegram platform plugin as a second transport that works in parallel with PTB, so two Telegram bots on separate tokens run side by side. It needs persistent storage, or the saved sessions are lost on restart.

Who it suits: People who want a Telegram-connected agent hosted on Hugging Face and are comfortable setting secrets and storage.

Industry | Who uses it | How they use it | Example
Software | Developers of chat agents | Host an agent that answers through Telegram | Deploy the Space and message the bot
Operations | Small teams | Keep an agent reachable in a Telegram channel | Set a home channel for the agent
Research | Agent builders | Compare two Telegram transports in one deployment | Run the PTB and Telethon bots in parallel
Self-hosting | Hobbyists | Run a personal agent without their own server | Add the secrets and start the container

People who want a one-click assistant with no setup can skip it, since it needs two bots and several secrets.

Where to use it:

  • A Hugging Face Space with Docker and persistent storage
  • Telegram, through the two bots you create
  • Windows, macOS or Linux with Docker, for a copy on your own computer
Use case | Who | What they get back
Chat with the agent | Owners | Agent replies in Telegram
Run two transports | Developers | PTB and Telethon bots working in parallel
Keep sessions | Operators | A saved state that survives restarts

How to set it up:

  • Docker on Windows, macOS or Linux, or a Hugging Face Space
  • A bot token for the PTB bot from BotFather
  • A second bot token for the Telethon bot, from a different bot
  • A Telegram API ID and API hash from Telegram's developer site
  • Your Telegram user ID and a home channel ID
  • Persistent storage mounted at /data
  1. Add the secrets as Space secrets, not variables.
  2. Enable persistent storage at /data.
  3. Deploy and wait for the Docker build to finish.
  4. Both bots run in parallel on their separate tokens.
pip install -U huggingface_hub
hf download Mega-Evolutions/Hermes-Agent --repo-type space --local-dir Hermes-Agent
cd Hermes-Agent
docker build -t hermes-agent .
docker run -it -p 7860:7860 hermes-agent

How to use it: Once the Space is running, message the bot you created in Telegram. The source lists secrets only for a Space, so a local run would need the same values and the source does not show how to pass them.

Secret | What it holds
TELEGRAM_BOT_TOKEN | The token of the PTB bot
TELETHON_BOT_TOKEN | The token of the separate Telethon bot
TELETHON_API_ID | The API ID from Telegram's developer site
TELETHON_API_HASH | The API hash from Telegram's developer site
TELETHON_ALLOWED_USERS | Your Telegram user ID
TELETHON_HOME_CHANNEL | Your home channel ID
TELETHON_PROXY | Optional SOCKS5 proxy details for blocked mtproto

Example: You deploy the Space with both bot tokens and your user ID. You then send a message to the Telethon bot in Telegram, and the Hermes agent answers through it.

For newcomers and experts: If you are new, create two bots with BotFather first and keep their tokens ready. Then add every secret in the table before you deploy, since the bots will not start without them.

If you know the field, the gateway uses two Telegram transports at once, PTB and Telethon, each with its own token. The repository has hf_persist.py and a 00-hf-restore script for saving state, a main.sh entry script and a plugins folder. Without persistent storage at /data, state.db and every session disappear on restart.

You add secrets and storage
The Docker image builds
The gateway starts both transports
You message a bot in Telegram
The agent replies through it

Good to know:

  • Storage: mount persistent storage at /data, because without it the state.db file and your sessions vanish at each restart
  • Secrets: enter them as secrets and not as variables
  • Proxy: a SOCKS5 proxy is optional when mtproto is blocked
  • License: mit
  • Cost to run: two Telegram bot tokens, a Telegram API ID and hash, and persistent storage
  • Data it reaches: your Telegram bots and channel, and the sessions saved in state.db under /data

On Hugging Face, 13 November 2026

  • Likes: 3
  • Built with: docker
  • License: mit

Links

Try it

Open the Space in your browser, or copy it to your own Hugging Face account from its page. Nothing in this kit runs by itself.

Files
README.md  5 KB

1 file, 5 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-12

Compare with similar

Listed Hugging Face Spaces in the same category that share the most tags with this one.

ProductLikesBuilt withLicenseLast change
Hermes Agent by Mega-Evolutions This page3dockermit
AI JukeboxShares docker426dockermit
AUDIOShares docker25dockerapache-2.0
Swap Face ModelShares docker21dockermit
Xiaomi OCR 0 DemoShares docker18dockerapache-2.0
Image To ReliefShares docker3dockermit
Numbers as Mindket last read them, on 2026-11-12.

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

anaksor-ocr

Sokheng · Kit

Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…

New

Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…

New

ACE-Step 1.5 XL SFT

ACE-Step · Kit

Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…

New

Similar in Productivity

See all in Productivity

Guizang PPT Skill

op7418 · Skill

Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…

New29.8k

Frontend Slides

zarazhangrui · Skill

Builds HTML presentations from scratch or from a PowerPoint file and shows visual style previews to pick from, for people who want web slides with no CSS or Ja…

New32.3k

IPTV

iptv-org · Kit

Collects publicly available live TV channels from many countries into playlists that any video player with live streaming can open. Made for viewers and for de…

New144k