Glean 拾遗
日刊 /2026-06-15 / Hermes Agent:自我进化的跨平台 AI 智能体运行时

Hermes Agent:自我进化的跨平台 AI 智能体运行时

原文 github.com 收录 2026-06-15 06:01 阅读 11 min
AI 解读

Hermes Agent 是一个自我完善的 AI 智能体框架,内置学习闭环:它从对话中提取技能、持续优化、自动管理记忆,并通过统一网关在 Telegram、Discord、CLI 等多个平台提供一致的交互体验。支持任意 LLM 后端,可部署在低成本 VPS 或 serverless 环境上,闲置时几乎零成本。内置 cron 调度、子智能体委派等功能,也提供批量轨迹生成用于语言模型训练。适合需要长期运行、自主调度的工程师和研究者。

原文 11 分钟
原文 github.com ↗
§ 1

Hermes Agent, built by Nous Research, is an AI agent runtime that improves itself over time. It creates skills from experience, refines them during use, and persists knowledge across sessions through periodic nudges. It runs on a $5 VPS, a GPU cluster, or serverless infrastructure that costs nearly nothing when idle. You can interact with it via Telegram, Discord, Slack, WhatsApp, Signal, or CLI — all from a single gateway process.

Hermes Agent 由 Nous Research 打造,是一个能自我进化的 AI agent 运行时。它从经验中创造技能、在使用中持续优化,并通过定期提示将知识持久化,跨会话构建越来越了解你的用户模型。它可以在 5 美元的 VPS、GPU 集群或空闲时几乎零成本的无服务器基础设施上运行。你可以通过 Telegram、Discord、Slack、WhatsApp、Signal 或 CLI 与之交互,所有入口都由一个统一的网关进程管理。

§ 2

Most AI agents are stateless: they start fresh every session, forget past context, and never improve. Hermes Agent replaces this with a built-in learning loop. It maintains agent-curated memory with periodic nudges; autonomously creates skills after complex tasks; skills self-improve during use; and it uses FTS5 session search with LLM summarization for cross-session recall. The Honcho dialectic user modeling builds a deepening model of who you are across sessions. It is compatible with the agentskills.io open standard.

大多数 AI agent 是无状态的:每次会话都从零开始,忘记历史语境,从不改进自己。Hermes Agent 用内置的学习循环取代了这种模式。它维护经 agent 管理的记忆,并定期提示;在复杂任务后自主创建技能;技能在使用过程中自我改进;同时使用 FTS5 会话搜索配合 LLM 摘要实现跨会话回忆。Honcho 辨证用户建模会在多次会话间建立越来越深入的用户画像。它兼容 agentskills.io 开放标准。

§ 3

Hermes Agent works with any model provider: Nous Portal, OpenRouter (200+ models), NovitaAI, NVIDIA NIM, Xiaomi MiMo, z.ai/GLM, Kimi/Moonshot, MiniMax, Hugging Face, OpenAI, or your own endpoint. Switching models requires no code changes — just use the /model command. The Nous Portal subscription bundles tool gateway services (web search, image generation, TTS, cloud browser) under one account, eliminating the need to collect separate API keys for each capability.

Hermes Agent 可以使用任意模型提供商:Nous Portal、OpenRouter(200+ 模型)、NovitaAI、NVIDIA NIM、小米 MiMo、z.ai/GLM、Kimi/Moonshot、MiniMax、Hugging Face、OpenAI 或你自己的端点。切换模型无需修改代码——只需使用 /model 命令。Nous Portal 订阅将工具网关服务(网络搜索、图片生成、TTS、云端浏览器)整合在一个账户下,免去了为每个能力单独收集 API key 的麻烦。

§ 4

Hermes Agent supports six terminal backends: local, Docker, SSH, Singularity, Modal, and Daytona. Modal and Daytona offer serverless persistence — the agent's environment hibernates when idle and wakes on demand, costing nearly nothing between sessions. The same agent runs on a $5 VPS, a Docker container, an SSH server, or a GPU cluster. Native Windows, Linux, macOS, and Android/Termux are all supported with a single-line installer.

Hermes Agent 支持六种终端后端:本地、Docker、SSH、Singularity、Modal 和 Daytona。其中 Modal 和 Daytona 提供无服务器持久化——agent 环境在空闲时休眠,按需唤醒,会话间几乎零成本。同一个 agent 可以运行在 5 美元的 VPS、Docker 容器、SSH 服务器或 GPU 集群上。原生 Windows、Linux、macOS 和 Android/Termux 都支持,安装只需一行命令。

§ 5

Install on Linux/macOS/WSL2/Termux: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash. On Windows (native PowerShell): iex (irm https://hermes-agent.nousresearch.com/install.ps1). The installer handles uv, Python 3.11, Node.js, ripgrep, ffmpeg, and a portable Git Bash. After installation, run source ~/.bashrc then hermes to start chatting. Key commands include hermes model to choose provider, hermes tools to configure tools, hermes gateway to start the messaging gateway, and hermes setup for the full configuration wizard.

Linux/macOS/WSL2/Termux 上安装:curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash。Windows(原生 PowerShell)上安装:iex (irm https://hermes-agent.nousresearch.com/install.ps1)。安装程序会处理 uv、Python 3.11、Node.js、ripgrep、ffmpeg 和便携版 Git Bash。安装后,运行 source ~/.bashrc,然后输入 hermes 即可开始聊天。常用命令包括 hermes model 选择提供商,hermes tools 配置工具,hermes gateway 启动消息网关,以及 hermes setup 运行完整配置向导。

§ 6

Hermes Agent provides two entry points: the terminal UI via hermes, and the messaging gateway via hermes gateway which connects to Telegram, Discord, Slack, WhatsApp, Signal, and Email. Once in a conversation, many slash commands are shared: /model to change the model, /new to start a fresh conversation, /retry to undo the last turn, /skills to browse or invoke skills, and /compress to manage context usage. The gateway allows platform-specific status checks with /status and home setting with /sethome.

Hermes Agent 提供两个入口:通过 hermes 启动终端 UI,以及通过 hermes gateway 启动消息网关,连接到 Telegram、Discord、Slack、WhatsApp、Signal 和 Email。进入对话后,许多斜杠命令是共享的:/model 切换模型,/new 开始新对话,/retry 撤销上一步,/skills 浏览或调用技能,/compress 管理上下文用量。网关端还支持 /status 检查平台状态和 /sethome 设置工作目录。

§ 7

Hermes Agent includes a built-in cron scheduler for unattended automations (daily reports, weekly audits) delivered to any platform. It can spawn isolated subagents for parallel workstreams, and write Python scripts that call tools via RPC, collapsing multi-step pipelines into zero-context-cost turns. The skills system serves as procedural memory: skills can be created autonomously, shared from the Skills Hub, or written by the user. The agent supports batch trajectory generation and compression for training future tool-calling models.

Hermes Agent 内置 cron 调度器,支持无人值守的自动化任务(日报、周审计),结果可投递到任意平台。它可以生成隔离的子代理以执行并行工作流,并编写通过 RPC 调用工具的 Python 脚本,将多步骤管道压缩为零上下文开销的单次调用。技能系统充当过程性记忆:技能可以自主创建、从 Skills Hub 共享或由用户编写。该 agent 还支持批量轨迹生成与压缩,用于训练下一代工具调用模型。

§ 8

Hermes Agent is suitable for developers and teams who need a persistent, learning AI agent that can operate across multiple platforms without a dedicated GPU. It shines in personal productivity (automated reports, cross-session memory), research (batch trajectory generation), and team collaboration (shared agent on messaging platforms). Current caveats: the browser-based dashboard chat pane requires WSL2 on Windows (uses a POSIX PTY). Android/Termux support is documented but tested via a manual path, and the full .[all] extra currently pulls Android-incompatible voice dependencies. The installer is one-line but requires trust in the Nous Research domain and relies on curl/irm.

Hermes Agent 适合需要持久化、能学习、可跨平台运行且无需专用 GPU 的开发者和团队。它在个人生产力(自动化报告、跨会话记忆)、研究(批量轨迹生成)和团队协作(消息平台上的共享 agent)场景中表现出色。当前已知限制:基于浏览器的仪表盘聊天面板在 Windows 上需要 WSL2(因为它使用了 POSIX PTY)。Android/Termux 支持有文档说明,但需要手动安装,且完整的 .[all] 附加组件目前会拉取与 Android 不兼容的语音依赖。安装脚本虽然一行搞定,但需要信任 Nous Research 域名,并依赖 curl/irm。

打开原文 ↗