Hermes Agent connects to Weixin (WeChat), and the official recommended route is to run hermes gateway setup first, and then scan the code to log in. It is not a public platform interface idea, but a long polling access through the iLink Bot API, so the most important thing is to get and save the WEIXIN_ACCOUNT_ID first.
Shortest process
- Run
hermes gateway setupand select Weixin. - Scan the QR code with your phone and confirm the login.
- Make sure your account information has been saved to
~/.hermes/weixin/accounts/. - Supplement
WEIXIN_ACCOUNT_ID, optionalWEIXIN_ALLOWED_USERS, andWEIXIN_HOME_CHANNELin the.env. - Start
hermes gatewaytest messages.
Why are group chats sometimes unstable?
The official documentation reminds you directly: whether group messages can be received stably depends on whether iLink will deliver the corresponding event to this connection identity. Therefore, the WeChat line is more suitable for personal assistant or small-scale use, don't assume that all group functions are as complete as Telegram.
In a word: Weixin focuses on QR code login, account_id persistence, and anticipation management of swarm event boundaries.
Official open source address: https://github.com/NousResearch/hermes-agent; Official document entry: https://hermes-agent.nousresearch.com/.