Telegram + Hermes Agent integration
Connect Telegram to Hermes Agent
ConnectChats brings your Telegram chats into Hermes Agent. Ask Hermes Agent to catch you up, find any message and draft replies. Nothing gets sent until you approve it.
Free to start. No app to install. Every send needs your OK.
What Hermes Agent can do with your Telegram
ConnectChats gives Hermes Agent a small set of tools. Hermes Agent calls them when you ask about your Telegram chats, and only for the chats you share.
-
Catch you up
Ask what you missed and Hermes Agent reads your unread Telegram chats, then gives you the short version: who needs an answer, what was decided, what can wait.
get_messages_to_summarize -
Find any message
The address someone sent last month, the price a client agreed to, the link from a group chat. Hermes Agent searches your Telegram history and quotes the message.
search_messages -
Draft replies
Hermes Agent writes the reply in your tone, in the chat's language, with the context of the whole thread. You read it, edit it, and send it.
draft_reply -
Send with your OK
When you approve a draft, ConnectChats sends it from your own Telegram account and confirms delivery. Auto-send only runs in chats where you switch it on.
send_message
Things to ask Hermes Agent
Type these in Hermes Agent once Telegram is linked.
- Hermes Agent
What did I miss in my Telegram chats today?
- Hermes Agent
Summarize the family group on Telegram since Friday.
- Hermes Agent
Who asked me a question on Telegram that I haven't answered?
- Hermes Agent
Find the address my sister sent me on Telegram.
- Hermes Agent
Draft a reply to Alex on Telegram saying I can make it Saturday.
How to connect Telegram to Hermes Agent
It takes about two minutes. You do it once, and the same account then works in every AI app you add.
-
Add ConnectChats to Hermes Agent
- In ~/.hermes/config.yaml, add a connectchats entry under mcp_servers with url: https://api.connectchats.com/mcp and auth: oauth.
- In a separate terminal, run hermes mcp login connectchats and sign in with your passkey in the browser.
- Run /reload-mcp in Hermes Agent, or restart the gateway, so it loads the new server.
- Ask Hermes Agent about your messages, for example to summarize a group chat.
-
Link your Telegram account
- Open https://connectchats.com/app and choose Link a chat app, then Telegram.
- Enter the phone number of your Telegram account, with the country code.
- Telegram sends a login code to your Telegram app. Type it into ConnectChats.
- If your account has a two-step verification password, ConnectChats asks for it next.
- Your chats appear in the dashboard, where you pick the ones your AI app can see.
-
Pick the chats Hermes Agent can see
Every chat is listed in your ConnectChats dashboard. Share all of them or only the ones you choose. Hermes Agent never sees the rest.
-
Ask Hermes Agent about your Telegram
Open a new conversation in Hermes Agent and ask about your chats. Hermes Agent calls ConnectChats when it needs your messages.
How Telegram and Hermes Agent work together
ConnectChats signs in to your Telegram account as a new session, the same way Telegram Desktop does, and brings in your private chats and groups. Because Telegram keeps chats in the cloud, it does not depend on your phone being online.
-
Telegram in ConnectChats
Each linked chat starts with its last 200 messages, then every new message arrives as it is sent. Private chats and groups are supported. Secret chats are not, because Telegram keeps them only on the device where they were started. Photos, videos and voice notes show up as short text descriptions, with their captions. ConnectChats shows up as an active session in Telegram under Settings, Devices, where you can end it at any time. The free plan links 1 chat app and keeps messages for 30 days.
-
ConnectChats in Hermes Agent
Hermes Agent adds remote MCP servers from its config file and signs in to them with OAuth, so ConnectChats works there as one of them. Add it once, sign in with your passkey, and your agent can catch you up on your chats and draft replies you approve. Hermes Agent runs on your own machine or server, so you control where it lives. ConnectChats itself is hosted, so your chat apps stay linked even when your Hermes Agent machine is off. Hermes Agent already talks to you through chat apps. ConnectChats is different: it gives the agent read and draft access to your own chats, with approval before anything is sent. The same ConnectChats account works in every AI app, so the chats you already linked are available in Hermes Agent without linking them again.
Your Telegram stays under your control
-
You pick the chats
Hermes Agent only sees the Telegram chats you share. Unshare a chat and it disappears from every AI app at once.
-
Drafts by default
Hermes Agent prepares replies. You approve each one before it reaches Telegram, unless you turn on auto-send for that chat.
-
Stored messages are encrypted
Stored messages are encrypted with a key that only your passkey can unlock. The code that encrypts them is public. We never train models on your messages.
Questions
Can Hermes Agent read my Telegram messages?
Yes, once you link Telegram in ConnectChats and add ConnectChats to Hermes Agent. Hermes Agent reads only the chats you share, and only when you ask it something that needs them.
Can Hermes Agent send Telegram messages for me?
Hermes Agent can draft a reply and send it after you approve it. Messages go out from your own Telegram account. You can allow automatic sending for specific chats, and it stays off everywhere else.
Is the Telegram to Hermes Agent integration free?
Yes. The free plan links one chat app and works in every supported AI app, with no limit on what you ask. No card needed.
Do I need to install anything?
No. You add ConnectChats inside Hermes Agent and link Telegram from your browser. There is no app to download and nothing runs on your computer.
Does it work with other AI apps too?
Yes. The same ConnectChats account works in ChatGPT, Claude, Grok, Manus, Muse and any AI app that supports remote MCP servers. Link Telegram once and use it everywhere.
Does my phone need to stay online for Telegram?
No. Telegram stores your chats in its cloud, so ConnectChats keeps receiving messages whether your phone is on or off.
Does it read Telegram secret chats?
No. Secret chats are kept only on the device where they were started, and Telegram does not share them with other sessions. Regular private chats and groups work.
What do I need to link Telegram?
The phone number of your Telegram account and the Telegram app, where the login code arrives. If you set a two-step verification password, you need that too.
Does Hermes Agent need an API key for ConnectChats?
No. Set auth to oauth and Hermes Agent opens the ConnectChats sign-in page in your browser, where you sign in with your passkey.
Do I need to restart Hermes Agent after adding ConnectChats?
Run /reload-mcp, or restart the gateway, after you sign in so your agent picks up the new server.
Related pages
Telegram with other AI apps
Other chat apps in Hermes Agent
Stop switching apps. Ask your AI instead.
Add ConnectChats in one click. Your first chat app is free.
Get started free