Hermes Agent 配置
2026/5/12第三方使用HermesAgent小于 1 分钟
Hermes Agent 配置
Hermes Agent 可以通过自定义 OpenAI 兼容接口接入 Smallice AI。
重要
Windows 用户建议在 WSL 中使用 Hermes。Hermes 在 Linux/macOS 环境中体验更稳定。
安装 Hermes
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash安装后重新打开终端,确认 hermes 命令可用。
修改配置
打开 Hermes 配置目录:
open "$HOME/.hermes"Linux 可以使用:
xdg-open "$HOME/.hermes"编辑 config.yaml:
model:
provider: custom
default: gpt-5.2
base_url: https://api.smallice.chat/v1
api_mode: chat_completions然后编辑 .env:
OPENAI_API_KEY=你的 API KeyAPI Key 在 https://smallice.chat 创建。
启动测试
hermes发送一句简单问题。如果能正常返回,说明 Hermes 已经接入 Smallice AI。
排查
- Key 错误:检查
.env。 - 地址错误:检查
base_url是否为https://api.smallice.chat/v1。 - 模型不存在:以主站后台模型列表为准。