Hermes
1. 安装
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash安装完成后重新打开终端,或按安装提示重新加载 Shell 配置。
2. 使用配置向导
hermes model在向导中依次填写:
| 配置项 | 值 |
|---|---|
| Provider | Custom endpoint (self-hosted / VLLM / etc.) |
| API Base URL | https://api.example.com/v1 |
| API Key | <YOUR_API_KEY> |
| Model name | deepseek-v4.1-flash |
| Context length | 如向导询问,设置为至少 64000 |
3. 验证
hermes --tui确认欢迎信息显示 custom 供应商和 deepseek-v4.1-flash。如果启动失败,先运行 hermes doctor,再重新执行 hermes model 检查 Base URL、模型名和密钥。
优先使用向导,Hermes 会管理 ~/.hermes/config.yaml 和 ~/.hermes/.env。不要把这些包含本机配置或密钥的文件复制到项目仓库。
官方参考:Hermes 自定义端点
Last updated on