Windows 部署 Hermes Agent 与 hermes-studio
1. 核心流程:极简三步
Plaintext
[1. 引擎安装] PowerShell 一键脚本 ──> 自动隔离环境 (Python/uv/Chromium)
[2. 基础配置] hermes setup model ──> 填入大模型凭证 (DeepSeek)
[3. 网页联动] npm 安装 web-ui ──> 浏览器可视化操控
2. 核心步骤拆解
第一步:本地引擎安装
PowerShell 运行一键命令:
PowerShell
iex (irm https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.ps1)
- 效果:无污染安装
uv、Python 3.11、Git、ripgrep、ffmpeg
第二步:配置大模型运行商(以 DeepSeek 为例)
-
终端运行:
PowerShell
hermes setup model -
按照向导选择或添加自定义 Provider,配置参数:
- API URL:
https://api.deepseek.com/v1(或官方最新兼容接口) - API Key: 填入你的 DeepSeek 官方密钥
sk-*** - Model: 填写具体模型名称(如
deepseek-chat或deepseek-reasoner)
- API URL:
-
凭证会安全加密写入本地:
~\AppData\Local\hermes\.env
第三步:联动 Web UI (hermes-studio)
完全关闭并重启 PowerShell 以刷新环境变量。
-
全局安装网页面板:
PowerShell
npm install -g hermes-web-ui -
启动本地控制台:
PowerShell
hermes-web-ui start -
浏览器访问
http://localhost:6060,输入终端打印的 Access Token 登录。
浙公网安备 33010602011771号