场景:Linux服务器

一、Hermes安装

使用官方安装脚本

sudo curl -fsSL https://res1.hermesagent.org.cn/install.sh | bash

source ~/.bashrc

python环境位置为 ~/.hermes/hermes-agent/venv/bin/python

例如添加python包以显示QR码可以运行

~/.hermes/hermes-agent/venv/bin/python -m pip install qrcode[pil]

二、Hermes channel配置

1.微信

hermes gateway setup

然后复制链接打开,用手机扫描展示的二维码,然后微信会提示连接ClawBot,确认即可。

三、model设置

hermes model
#用于设置model url和apikey

四、常用命令

🚀 常用命令:

   hermes              开始聊天
   hermes setup        配置 API Key 和设置
   hermes config       查看 / 编辑配置
   hermes gateway install 安装网关服务
   hermes doctor
   hermes gateway start              # Start the service
  hermes gateway status             # Check status
  journalctl --user -u hermes-gateway -f  # View logs