Hermes Agent 是由 Nous Research 开发的开源 AI 智能体,支持对接任意 OpenAI 兼容接口。
Windows:管理员身份运行 PowerShell,输入以下指令:
irm https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.ps1 | iex
Linux / macOS / WSL2:在终端(Terminal)中输入以下命令:
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash
脚本会自动检测并安装所需依赖
安装完成后,打开命令行(无需管理员权限),运行:
hermes setup
进入 Hermes Agent Setup Wizard 配置向导。
如果本机曾安装过 OpenClaw,Hermes 会自动检测并询问是否导入配置,输入 n 跳过即可。
n
选择 1(Quick setup) 快速配置,按回车确认。
在提供商列表中选择 35(custom - direct API),使用自定义 OpenAI 兼容接口。
接口地址填写:https://api.apexrouter.top/v1
https://api.apexrouter.top/v1
将您的 知能API 令牌粘贴到 API key 字段,Hermes 会自动隐藏显示。
API key
在模型列表中输入您需要使用的模型名称,例如 gpt-5.5。
gpt-5.5
填写模型支持的上下文长度(token 数),或直接回车留空让 Hermes 自动检测。
为该配置起一个名称,例如 知能API,方便后续识别。
知能API
选择 1(Local) 在本机直接运行。
选择 2(Skip) 跳过 Telegram / Discord 等聊天平台的绑定,后续可通过 hermes setup gateway 单独配置。
hermes setup gateway
Hi! What can I help you with today?
直接在提示符下输入您的问题或任务即可开始使用。