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

How to configure Hermes Agent DingTalk?

AI Q&A Admin 182 views

Hermes Agent connects to DingTalk, and the official recommends giving priority to Stream Mode, which is a real-time sending and receiving method based on WebSockets. This eliminates the need for public network callback addresses, and it is easier to run through the enterprise intranet or test environment.

Basic configuration process

  1. Create a robot application in the DingTalk developer background.
  2. Turn on Robot Capability and select Stream Mode for Message Reception.
  3. Get the application credentials and write them into the ~/.hermes/.env.
  4. Configure DINGTALK_ALLOWED_USERS to ensure that only designated users can operate Hermes.
  5. Start hermes gateway by verifying messages in a private chat or testing a group message.

Why is it obviously connected but not returned?

This situation is usually not that the model does not produce results, but that the bot ability is not turned on, the user ID is not in the allowlist, or the message type in the group is not received correctly. The official documentation also reminds you that Hermes uses the DingTalk User ID for access control, not the nickname you usually see.

In a word: the key to DingTalk configuration is not the callback address, but the Stream Mode, bot capabilities, and the correct user ID allowlist.

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

Recommended Tools

More