One Telegram Group For All Your Hermes Agents Every Agent Gets Its Own Topic
One Telegram bot, one group, a topic for each part of your work. Two ways to set it up: give every Hermes agent its own topic, where it answers as itself with its own memory, or keep one agent and give it a desk per subject: Finance, Research, Development, Marketing and Personal Assistant. Your agent builds the topics and wires them itself. Every prompt from the video, in order.
11 prompts · 2 parts · copy-paste ready
Make the room (once, on your phone)
A bot cannot make a group for you. Telegram keeps these steps for people:
1. Make a new group and add your Hermes bot.
2. Group settings: turn Topics on.
3. Make the bot an admin and switch on Manage Topics. That one right is what lets your agent build the channels itself.
4. Optional: rename the General topic to your main agent's name. It is your agent's channel.
5. Say hello in General. Your agent answers there. From now on you paste every card into General.
Two things you will see while pasting:
A long card opens Telegram's big editor on a computer. Send it with the arrow button (or ⌘/Ctrl+Enter), not plain Enter.
Hermes may ask for your OK before it runs a command ("Hermes wants to run a command that needs your OK"). Tap Allow Once.
// Contents
Setup A — A topic per agent
Setup B — One agent, a topic per subject
Prerequisites
- ▸Hermes Agent installed and answering in Telegram
- ▸Setup A needs Hermes 0.21 or newer (it uses profile_routes)
- ▸A Telegram group where you can make your bot an admin
A topic per agent
You create a small team of Hermes agents. Each one gets its own topic and answers there as itself, with its own memory and personality.
Create Your Agents
the General topic
Your agents become real, permanent Hermes profiles, each with its own personality file. Replace the list with your own team: a name and a general description of its area. Describe the area, not a list of tasks: an agent treats anything missing from a list as not its job. Keep your main agent off the list. It is the one you are talking to, and it keeps General.
Create these agents as persistent Hermes profiles. For each one, in order: (1) hermes
profile create <name> --clone; (2) write its identity into
~/.hermes/profiles/<name>/SOUL.md; (3) ask it "Who are you?" and check the answer
before the next. Do NOT create a profile for yourself: you are the main agent.
- finance: Your name is Finance. You look after everything about the money in my
business: what comes in, what goes out, and what to do about it.
- research: Your name is Research. You find out anything I want to know, on any
topic, check it, and tell me what you found and where it came from.
- dev: Your name is Dev. You build and fix anything technical.
- marketing: Your name is Marketing. You get my business seen and chosen by the
right people.
- assistant: Your name is Personal Assistant. You keep my day running: emails,
calendar, tasks, to-dos and anything else that keeps me organised.
Then show me each profile's path and its verified reply.Expect: one line per agent, each answering "Who are you?" as itself.
Make Them a Team
the General topic
Each agent learns who its teammates are, keeps to its own area, and in one line names the right teammate when you ask it for something that is clearly someone else's job. This is the team card from the Mission Control and JARVIS tutorials, in one prompt.
Show full prompt
Make the five agents one team. Add this to each agent's SOUL.md (finance, research,
dev, marketing, assistant), and keep what is already there:
THE TEAM
- Me, the owner: I can talk to any of you directly and have the final say.
- The main agent: the coordinator, in the General topic.
- Finance: everything about the money in my business.
- Research: finding out anything I want to know, on any topic.
- Dev: building and fixing anything technical.
- Marketing: getting my business seen and chosen by the right people.
- Personal Assistant: keeping my day running: emails, calendar, tasks, to-dos.
YOUR LANE
Take anything that reasonably belongs to your area. When something clearly belongs
to a teammate, say so in one line and name them, for example "That's Finance's
area." Keep your own memory and files, and never edit another agent's.
Then ask each agent "Who are you, and who looks after money?" and show me the answers.Expect: each agent names itself and says Finance looks after money.
Brief Your Agent
the General topic
Before it builds anything, your agent hears the whole plan and tells it back. One bot can only have one identity, so out of the box every topic would be answered by your main agent. Routing by topic fixes that.
Show full prompt
Here is the plan. Tell it back to me in your own words, then wait.
We are talking in my Telegram group, in its General topic: your channel. Topics are
on, and your bot is an admin with Manage Topics. Every other agent gets its own
topic, and a message in that topic must be answered by the REAL agent, with its own
memory and identity, not by you playing a part. Out of the box every topic runs as
you. We fix that by routing: each topic's thread id is bound to one profile, so the
turn runs as that agent and the reply goes back to the same topic. You build the
topics next, then wire the routing.Build the Channels
the General topic
Your agent creates the topics itself. Telegram hands back each topic's thread id as it makes it, so you never copy a number.
Show full prompt
Build the channels in this group. You are answering me in its General topic, so you
already have the group's chat id from this message.
1. With curl to the Bot API (TELEGRAM_BOT_TOKEN in ~/.hermes/.env), check getChatMember
for yourself: admin and can_manage_topics true. If not, tell me what to switch on and
stop.
2. createForumTopic for each of my agents now, named after it, even if you remember
older ids. Do NOT create one for yourself: General is yours.
3. Save the chat id and each name -> thread id to your memory and show me the table.Expect: the topics appear in your group while it runs, then a small table.
Wire the Lanes
the General topic
The topic binding. Since Hermes 0.21 this is a built-in setting, profile_routes, so nothing inside Hermes gets patched and updates cannot break it. Your agent uses the ids it saved in A4.
Show full prompt
Wire the routing with the chat id and thread ids you saved. Do not ask me for them.
Back up ~/.hermes/config.yaml, then edit it with Hermes' venv Python (it has
ruamel.yaml: ~/.hermes/hermes-agent/venv or ~/.hermes/installs/*/environments/*/venv),
keeping everything else:
- multiplex_profiles: true at the TOP level (not under gateway:)
- profile_routes at the TOP level, one entry per topic: {name: topic-<agent>,
platform: telegram, profile: <agent>, chat_id: "<chat id>", thread_id: "<id>",
enabled: true}. Quote both ids.
- platforms.telegram.group_allowed_chats: ["<chat id>"], and require_mention: false
if I never set it.
Show me the routes. You cannot restart the gateway you run in: tell me to send /restart.Then: send /restart to your bot and wait for "Gateway restarted successfully".
Who Are You?
each new topic, typed by you
Show full prompt
Who are you? One short line.Expect: each topic answers as its own agent, and General answers as your main agent. If a topic answers as the main agent, send /new in it and ask again.
One agent, a topic per subject
Your one agent answers in every topic, but each topic is its own desk: Finance, Research, Development, Marketing, Personal Assistant. Each desk keeps its own conversation.
Brief Your Agent
the General topic
Show full prompt
Here is the plan. Tell it back to me in your own words, then wait.
We are talking in my Telegram group, in its General topic. Topics are on, and your
bot is an admin with Manage Topics. You will answer in every topic, but each topic is
a desk with its own area:
- Finance: everything about the money in my business: what comes in, what goes out,
and what to do about it.
- Research: finding out anything I want to know, on any topic, checking it, and
saying where it came from.
- Development: building and fixing anything technical.
- Marketing: getting my business seen and chosen by the right people.
- Personal Assistant: keeping my day running: emails, calendar, tasks, to-dos and
anything else that keeps me organised.
Each desk keeps its own conversation. Hermes gives every topic a short brief through
channel_prompts, keyed by the topic's thread id. You build the desks next, then wire
the briefs.Build the Desks
the General topic
Show full prompt
Build the desks in this group. You are answering me in its General topic, so you
already have the group's chat id from this message.
1. With curl to the Bot API (TELEGRAM_BOT_TOKEN in ~/.hermes/.env), check getChatMember
for yourself: admin and can_manage_topics true. If not, tell me what to switch on and
stop.
2. createForumTopic Finance, Research, Development, Marketing and Personal Assistant
now, even if you remember older ids. General stays yours.
3. Save the chat id and each desk -> thread id to your memory and show me the table.Expect: five topics appear in your group, then a small table.
Wire the Desks
the General topic
Show full prompt
Wire the desks with the chat id and thread ids you saved. Do not ask me for them.
Back up ~/.hermes/config.yaml, then edit it with Hermes' venv Python (it has
ruamel.yaml: ~/.hermes/hermes-agent/venv or ~/.hermes/installs/*/environments/*/venv),
keeping everything else. Add or merge a top-level block:
telegram:
group_allowed_chats: ["<chat id>"]
require_mention: false
channel_prompts: {"<thread id>": "<desk brief>", ...}
Each brief: you are the <desk> desk, then its area as I described it. Take anything
that reasonably belongs to that area. Only work that clearly belongs to another desk
goes there.
Show me the briefs. You cannot restart the gateway you run in: tell me to send /restart.Then: send /restart to your bot and wait for "Gateway restarted successfully".
Which Desk Is This?
each new topic, typed by you
Show full prompt
Which desk is this? One short line.Expect: each topic names its own desk.
Test the Lanes
each new topic, typed by you
Show full prompt
Write me a short Instagram post about our new product.Expect: Marketing writes the post. The other desks say it belongs to Marketing.
Good to know
Long-term memory is shared: something you tell the Finance desk to remember, Marketing knows too. Only the conversations are separate.
More desks later? Ask: "Add a Legal desk to my Telegram group, the same way."
Describe each desk's area, not a list of tasks, so it takes everything that belongs there.
The first message in a new topic may show "No home channel is set". That is a one-time tip.
// What you're building toward
One Telegram group where every part of your work has its own place: a topic per agent, or a desk per subject, each keeping its own conversation, all run by your Hermes agent.
Stuck on a step? Drop a comment on the video, or book a session and we'll walk through it together.
Usage & License
Use the prompts and downloadable templates on this page in your own personal and commercial projects. What's not allowed: reselling, repackaging, redistributing, or republishing this material — on YouTube, Gumroad, paid courses, newsletters, or anywhere else. Send people to komputermechanic.com instead. Violations get reported and taken down.