Back to AI Q&A
How to configure Hermes Agent WeCom?

How to configure Hermes Agent WeCom?

AI Q&A Admin 179 views

Hermes Agent is connected to WeCom (Enterprise WeChat), and the official recommends the first way to scan the code to create an AI bot; Manual configuration is also possible, the core variables are WECOM_BOT_ID and WECOM_SECRET. It uses a real-time WebSocket gateway and does not require you to expose public webhooks yourself.

How to get started

  1. Run the hermes gateway setup first, and try to scan the code to create first.
  2. If you already have a ready-made enterprise WeChat AI bot, write WECOM_BOT_ID and WECOM_SECRET into the .env.
  3. To make up for WECOM_ALLOWED_USERS, it is necessary to take the initiative to deliver and then set up a WECOM_HOME_CHANNEL.
  4. Start the hermes gateway, first test a sentence in a private chat, and then enter the group chat test.

What team is it suitable for

It is suitable for teams that have already deployed Hermes on an intranet or VPS and want to ask questions, run scripts, and send scheduled notifications directly in the enterprise WeChat. The official documentation also mentions that it supports a more granular sender allowlist by group, which is safer than simply opening up all group members.

In a word: WeCom integration focuses on bot credentials, allowlists, and default delivery channels, rather than public callbacks.

Official open source address: https://github.com/NousResearch/hermes-agent; Official document entry: https://hermes-agent.nousresearch.com/.

Recommended Tools

More