wylon

Hermes 配置方法

Hermes 是 Nous Research 推出的命令行 Agent,可以通过 OpenAI 兼容 协议接入模型。

1. 安装

适用于 Linux / macOS / WSL2。你只需要预先安装 Git,安装脚本会自动处理其余依赖。

# macOS(Homebrew)
brew install git
# Ubuntu / Debian
sudo apt update
sudo apt install -y git
# Windows(PowerShell / winget)
winget install Git.Git

安装 Git 后,运行 Hermes 安装脚本:

curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash

安装完成后,重新加载 shell(或重开终端)。

2. 运行配置向导

hermes setup

按提示依次操作:

  1. 选择配置模式:选择 Quick Setup
  2. 模型供应商:选择 自定义 / OpenAI 兼容(Custom / OpenAI-compatible) 选项;
  3. Base URL:填写 https://api.wylon.cn/v1
  4. API Key:粘贴 <你的_wylon_API_Key>
  5. 模型名:填写要使用的模型 ID,例如 moonshotai/Kimi-K2.6deepseek-ai/DeepSeek-V4-Flash
  6. 完成其余配置项。
tips_and_updates
Hermes 默认会列出若干预设厂商,但不包含 wylon。需在供应商一步选择「自定义 / OpenAI 兼容」,并手动填写配置。

3. 使用

配置完成后,按 Hermes 提示运行相应命令即可开始使用,例如运行 hermes 进入交互会话。

沪ICP备2026010432号-1 沪公网安备31010402336632号