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…
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.
pip install -U huggingface_hub hf download Mega-Evolutions/Hermes-Agent --repo-type space --local-dir Hermes-Agent cd Hermes-Agent
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.
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.
| 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 |
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
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 |
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.
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.
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.
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:
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:
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:
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.
README.md 5 KB
Listed Hugging Face Spaces in the same category that share the most tags with this one.
| Product | Likes | Built with | License | Last change |
|---|---|---|---|---|
| Hermes Agent by Mega-Evolutions This page | 3 | docker | mit | |
| AI JukeboxShares docker | 426 | docker | mit | |
| AUDIOShares docker | 25 | docker | apache-2.0 | |
| Swap Face ModelShares docker | 21 | docker | mit | |
| Xiaomi OCR 0 DemoShares docker | 18 | docker | apache-2.0 | |
| Image To ReliefShares docker | 3 | docker | mit |
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…
Qwen · Kit
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…
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…
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…
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…
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…