
什么是 Hermes Agent?
Hermes Agent 是 Nous Research 开发的开源自主 AI 智能体,于 2026 年 2 月发布。它不是绑定在 IDE 上的代码补全工具,也不是套壳聊天机器人——它住在你的服务器上,记住它学到的一切,运行越久能力越强。支持 Linux、macOS 和 WSL(Windows Subsystem for Linux ),一条 curl 命令即可安装,无需任何前置依赖。
一、安装hermes
1、Linux/WSL/MacOS系统的一键安装命令:
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash
2、安装完成后重载一下Shell:
#Linux/WSL系统
source ~/.bashrc
#MacOS系统
source ~/.zshrc
二、使用hermes
1、启动hermes
hermes
2、手动设置
hermes setup
3、手动配置模型
hermes model
三、hermes配置相关
hermes config # 查看当前所有配置
hermes config edit # 用编辑器打开 config.yaml
hermes config set KEY VAL # 改某一项,比如 hermes config set terminal.backend docker
hermes config path # 查看配置文件路径
hermes config check # 检查有没有缺失或过期的配置
hermes config migrate # 升级配置格式
四、检查与自我修复
# 自我检查
hermes doctor
# 加 --fix 让它尝试自动修复
hermes doctor --fix
五、凭证池管理
hermes auth add # 交互式添加凭证
hermes auth list # 查看凭证池里有哪些
hermes auth remove P INDEX # 删掉某个
hermes auth reset PROVIDER # 重置「配额耗尽」状态
六、插件管理
hermes plugins list # 查看已装的插件
hermes plugins install # 装插件
hermes plugins remove # 删插件
七、记忆体配置
hermes memory setup # 配置外部记忆服务
hermes memory status # 查看状态
hermes memory off # 关掉外部记忆,回到本地
八、MCP管理
hermes mcp add NAME --url URL # 添加一个 HTTP 类型的 MCP 服务器
hermes mcp add NAME --command CMD # 添加一个命令行类型的
hermes mcp list # 查看已配置的服务器
hermes mcp test NAME # 测试连接
hermes mcp configure NAME # 配置该服务器暴露哪些工具
hermes mcp remove NAME # 删掉
hermes mcp serve # 把 Hermes 本身作为 MCP 服务器运行
九、多实例管理(Profiles)
hermes profile list # 查看所有 profile
hermes profile create NAME # 创建新 profile
hermes profile use NAME # 设为默认
hermes profile show NAME # 看详情
hermes profile rename A B # 改名
hermes profile delete NAME # 删掉
hermes profile export NAME # 导出成 tar.gz
hermes profile import FILE # 从压缩包导入
十、日志
hermes logs # 查看日志
hermes dump # 导出安装和配置摘要,排错或提交 issue 时用
hermes insights # 查看使用统计和分析
hermes insights --days 7 # 只看最近 7 天
十一、其他常用的
hermes status # 查看所有组件状态
hermes version # 查看版本号
hermes update # 更新到最新版
hermes login # OAuth 登录(Nous Portal、OpenAI Codex 等)
hermes logout # 清除登录状态
十二、迁移OpenClaw
hermes claw migrate
十三、卸载hermes
hermes uninstall
十四、技能管理
hermes skills browse # 浏览所有技能
hermes skills search kubernetes # 搜索关键词
hermes skills search react --source skills-sh # 搜索社区目录
hermes skills list # 查看已装的技能
hermes skills inspect ID # 先预览,不安装
hermes skills update # 更新过时技能
hermes skills uninstall # 卸载
hermes skills publish # 发布自己写的技能
hermes tools # 交互式启用/禁用工具
hermes tools list # 查看所有工具和状态
hermes tools enable NAME
hermes tools disable NAME
hermes toolsets # 查看工具集分组
十五、消息管理
hermes gateway setup # 交互式配置,跟着提示走
hermes gateway run # 前台启动
hermes gateway install # 安装成后台服务
hermes gateway start # 启动服务
hermes gateway stop # 停止
hermes gateway restart # 重启
hermes gateway status # 查看状态
十六、定时任务
hermes cron create "09:00" # 创建定时任务,跟着提示填提示词和投递平台
hermes cron list # 查看所有任务
hermes cron edit ID # 改时间、提示词、投递方式
hermes cron pause ID # 暂停
hermes cron resume ID # 恢复
hermes cron run ID # 立即触发一次
hermes cron remove ID # 删除
hermes cron status # 查看调度器状态
十七、WebUI
Web 仪表盘是一个基于浏览器的 UI,用于管理你的 Hermes Agent 安装。无需编辑 YAML 文件或运行 CLI 命令,你可以通过一个简洁的 Web 界面来配置设置、管理 API 密钥以及监控会话。
hermes dashboard
选项
| 标志 | 默认值 | 描述 |
|---|---|---|
--port |
9119 |
Web 服务器运行的端口 |
--host |
127.0.0.1 |
绑定地址 |
--no-open |
— | 不自动打开浏览器 |
--insecure |
off | 允许绑定到非 localhost 的主机(危险——会在网络上暴露 API 密钥;请配合防火墙和强认证使用) |
--tui |
off | 暴露浏览器内的聊天标签页(通过 PTY/WebSocket 嵌入的 hermes --tui)。也可以设置 HERMES_DASHBOARD_TUI=1。 |
# 自定义端口
hermes dashboard --port 8080
# 绑定到所有接口(在共享网络上请谨慎使用)
hermes dashboard --host 0.0.0.0
# 启动时不打开浏览器
hermes dashboard --no-open
十八、斜杠指令
进入 Hermes 聊天之后,输入 / 会弹出自动补全菜单
会话控制👇
|
|
|
|
|---|---|---|
|
|
|
|
/new |
|
|
/retry |
|
|
/undo |
|
|
/history |
|
|
/compress |
|
|
/background 提示词 |
|
|
/btw 问题 |
|
|
/queue 提示词 |
|
|
/rollback |
|
|
/resume 名字 |
|
|
/stop |
|
|
/title 名字 |
|
|
/save |
|
|
配置相关👇
|
|
|
|
|---|---|---|
|
|
|
|
/model |
|
|
/yolo |
|
|
/voice on |
|
|
/voice tts |
|
|
/reasoning high |
|
|
/personality 名字 |
|
|
/verbose |
|
|
/prompt 文本 |
|
|
/skin 名字 |
|
|
/statusbar |
|
|
工具与技能👇
|
|
|
|
|---|---|---|
|
|
|
|
/skill 名字 |
|
|
/tools |
|
|
/skills |
|
|
/browser connect |
|
|
/paste |
|
|
/cron |
|
|
/reload-mcp |
|
|
/plugins |
|
|
信息查看👇
|
|
|
|
|---|---|---|
|
|
|
|
/help |
|
|
/usage |
|
|
/profile |
|
|
/insights |
|
|
/provider |
|
|
退出用 /quit,或者 /exit,或者 /q,三个都行。
在 Telegram / Discord 等平台里,还有几个专属指令👇
|
|
|
|---|---|
|
|
|
/approve |
|
/deny |
|
/sethome |
|
/status |
|
/commands |
|
/update |
|
文章评论