跳转到主要内容
来自 Nous Research 的终端 AI agent(命令 hermes)。站点: https://hermes-agent.nousresearch.com (仓库: https://github.com/NousResearch/hermes-agent)。 支持 Linux / macOS / WSL2。不原生支持 Windows—— 请在 WSL2 内安装。
协议:OpenAI 兼容(Chat Completions)
  • Base URL: https://api.orcarouter.ai/v1必须包含 /v1

安装

在 Linux / macOS / WSL2 上:
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
source ~/.bashrc   # or ~/.zshrc
Windows 上,Hermes 不原生支持——请打开一个 WSL2(Ubuntu)shell,在其中运行上面相同的命令。

配置

编辑 ~/.hermes/config.yaml
model:
  api_mode: chat_completions
  base_url: https://api.orcarouter.ai/v1
  default: orcarouter/auto
  provider: custom

运行

Hermes 是交互式的。启动它并验证模型有响应:
hermes          # or: hermes --tui
在会话中用 /model 切换模型。你也可以先运行 hermes model,通过交互式菜单配置一个 Custom Endpoint。

注意事项

  • base URL 保留尾部的 /v1
  • 使用 api_mode: chat_completions——OrcaRouter 使用 Chat Completions,而不是 Responses API。
  • default: orcarouter/auto 使用自动路由;provider: custom 选择自定义端点。
  • 模型名称使用 vendor/model 格式。把 orcarouter/auto 换成具体模型,例如 anthropic/claude-opus-4.8google/gemini-2.5-flash
  • 在 Windows 上你必须在 WSL2 内运行 Hermes。