hermesagent安装教程
AI-摘要
KunKunYu GPT
AI初始化中...
介绍自己
生成本文简介
推荐相关文章
前往主页
前往tianli博客
本文最后更新于 2026-05-13,文章内容可能已经过时。
爱马仕安装
# 使用国内加速脚本一键安装
curl -fsSL https://res1.hermesagent.org.cn/install.sh | bash文件目录(均位于 ~/.hermes/ 下)
配置:
~/.hermes/config.yaml密钥:
~/.hermes/.env数据:
~/.hermes/cron/、sessions/、logs/-代码:~/.hermes/hermes-agent/
常用命令-
hermes:开始聊天-
hermes setup:配置 API Key 和相关设置-
hermes config:查看或编辑配置-
hermes gateway install:安装网关服务
设置pip 清华源:
pip3 config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple/[root@localhost ~]# hermes config set model.base_url http://192.168.215.104:11434/v1
✓ Set model.base_url = http://192.168.215.104:11434/v1 in /root/.hermes/config.yaml
[root@localhost ~]# hermes config set OPENAI_API_KEY "ollama"
✓ Set OPENAI_API_KEY in /root/.hermes/.env
[root@localhost ~]# hermes config set model.default qwen3.6:35b-a3b
✓ Set model.default = qwen3.6:35b-a3b in /root/.hermes/config.yaml
[root@localhost ~]# hermes config set model.provider openai
✓ Set model.provider = openai in /root/.hermes/config.yaml
[root@localhost ~]# 开始聊天
hermes chat
进入虚拟环境并查看日志
source /root/.hermes/hermes-agent/venv/bin/activate
journalctl -u hermes-gateway -f安装 Hermes WebUI
npm install -g hermes-web-ui && hermes-web-ui startHermes WebUI 地址:
http://192.168.215.110:8648/#/?token=bbd1c1fXXXXXXXXXXXXXXXXXX9489
- 感谢你赐予我前进的力量
赞赏者名单
因为你们的支持让我意识到写文章的价值🙏
本文是原创文章,采用 CC BY-NC-ND 4.0 协议,完整转载请注明来自 shaun
评论
匿名评论
隐私政策
你无需删除空行,直接评论以获取最佳展示效果