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、ripgrepffmpeg

第二步:配置大模型运行商(以 DeepSeek 为例)

  1. 终端运行:

    PowerShell

    hermes setup model
    
  2. 按照向导选择或添加自定义 Provider,配置参数:

    • API URL: https://api.deepseek.com/v1(或官方最新兼容接口)
    • API Key: 填入你的 DeepSeek 官方密钥 sk-***
    • Model: 填写具体模型名称(如 deepseek-chatdeepseek-reasoner
  3. 凭证会安全加密写入本地:~\AppData\Local\hermes\.env

第三步:联动 Web UI (hermes-studio)

完全关闭并重启 PowerShell 以刷新环境变量。

  1. 全局安装网页面板:

    PowerShell

    npm install -g hermes-web-ui
    
  2. 启动本地控制台:

    PowerShell

    hermes-web-ui start
    
  3. 浏览器访问 http://localhost:6060,输入终端打印的 Access Token 登录。

posted @ 2026-07-06 10:10  菠萝包与冰美式  阅读(38)  评论(0)    收藏  举报