Hermes Agent connects Mattermost, which is suitable for self-hosting teams to put AI assistants into internal channels. The core is not to install additional libraries, but to create a bot account, get a token, add the bot to the channel, and configure the allowed user ID.
Basic steps
- The administrator first opens the Bot Account Creation in the Mattermost background.
- Create a bot account and copy the bot token displayed for the first time.
- Add bots to the channels you need to use.
- Find your Mattermost User ID and note that it is not username.
- Run
hermes gateway setup_, select Mattermost, fill in the server URL, token, and allow users.
channels require bot by default; if you want some channels to use @, then configure free response channels. When encountering a 403, first check whether the token is correct, whether the bot is on the channel, and whether the account is disabled.
In a word: Mattermost configuration focuses on bot tokens, User ID, channel membership and allowed users.
How to determine the configuration is successful
After starting Official open source address: hermes gateway, send DM to the bot first. If DM can reply, go to the channel to it and test it. DM does not reply, mostly URL, token or allowed users wrong;DM returns but channel does not return, mostly bot does not enter the channel, no @, or insufficient channel permissions. When cron is required to send results, use/sethometo set home channel.https://github.com/NousResearch/hermes-agent; Official document entry: https://hermes-agent.nousresearch.com/.