Hermes Agent 是 Nous Research(一家 AI 研究实验室)打造的一款”会自己学习、越用越聪明”的 AI 助手 Agent。它不是单纯的聊天机器人,而是一个拥有内置学习循环的自主智能体。它最大的核心亮点就是拥有一套内置的学习循环机制。这个能力是它与其他 Agent 的核心差异,简单说它能记住你教给它的东西,下次遇到同样的问题自动用它学会的方法去解决,还会自己创建”技能手册”。

本地自动化安装

前置环境准备

因为使用自动化安装会帮我们去下载一些软件,没有梯子可能会导致超时失败,所以可以提前安装好,运行脚本后就会跳过这些软件的安装。注意:python必须是3.11.x,否则一键安装脚本可能会给你再安装一个python

uv:https://github.com/astral-sh/uv/releases

python 3.11:https://www.python.org/downloads/windows/

node.js:https://nodejs.org/zh-cn/download

ripgrep:https://github.com/BurntSushi/ripgrep/releases

ffmpeg:https://github.com/BtbN/FFmpeg-Builds/releases

一键安装

Linux / MacOS / WSL2

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

Windows(Powershell)

irm https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.ps1 | iex

网络问题提示:脚本运行时会从 GitHub 拉取 hermes-agent 仓库。若因网络问题持续超时,可手动下载仓库 ZIP 压缩包,解压后将文件夹重命名为 hermes-agent,并放置于目录:C:\Users\您的用户名\AppData\Local\hermes\hermes-agent

安装过程交互选项说明

脚本启动后,请按以下指引选择配置:

  1. 安装模式选择
    • 提示:How would you like to set up Hermes?
    • 操作:直接回车或输入 1,选择 Quick setup
  2. 模型服务接入方式
    • 提示:Choose how to connect to your main chat model
    • 操作:输入 1,选择 Nous Portal
    • 说明:小米 mimo-v2-pro 模型在活动期间(4月8日至4月22日24:00)可限时免费使用。
    • 浏览器将自动弹出登录/授权页面,注册或登录后点击 Approve 完成授权。
  3. 默认模型指定
    • 提示:Showing 1 curated models — use "Enter custom model name" for others.
      Select default model
    • 操作:输入 1,选择 xiaomi/mimo-v2-pro
  4. 消息平台接入(可暂缓)
    • 提示:Connect a messaging platform?
    • 操作:输入 2,选择 Skip。后续可按需通过 hermes setup gateway 命令配置飞书、微信等平台。
  5. 启动对话界面
    • 提示:Launch hermes chat now? [Y/n]
    • 操作:输入 n,暂不启动。

启动 Hermes

安装完成后,打开命令行工具(CMD 或终端),输入以下命令即可进入交互界面:

bash

hermes

卸载hermes

打开cmd,输入以下指令:

hermes uninstall

卸载过程选项

  1. Keep data - Remove code only, keep configs/sessions/logs
    (Recommended - you can reinstall later with your settings intact)
  2. Full uninstall- Remove everything including all data
    (Warning: This deletes all configs, sessions, and logs permanently)
  3. Cancel- Don’t uninstall

选择2,完全卸载

WARNING: This will permanently delete ALL Hermes data!
Including: configs, API keys, sessions, scheduled jobs, logs

Type ‘yes’ to confirm

输入yes确认卸载