NousResearch/hermes-agent

GITHUB中文整理

主语言 Python · 257,520 星 · MIT · 创建于 2025-07-23

AI 智能体自我改进跨会话记忆多平台接入模型切换
打开 GitHub 仓库

一个能自我改进的 AI 智能体,具备内置学习闭环,可从经验中创建技能、在使用中持续改进,并跨会话积累对用户的认知。

Stars 257,520 累计 star,越多说明被认可得越广
Watching 989 订阅该仓库变动的人数
Forks 56,436 被派生出去的仓库数
Issues 50,654 当前开放的 Issue 数
语言 Python GitHub 自动判定的主语言
许可证 MIT 开源协议,用之前先确认能不能商用
24h 增长 — 数据积累中
7 日增长 — 数据积累中
30 日增长 — 数据积累中

仓库健康度

5 个维度
只看客观信号,不构成安全性结论
维护活跃度 数据完整
2026-10-27 15:10 最近推送

最近推送 2026-10-27 15:10(1 天前),属于活跃维护

社区响应 数据完整
50,654 开放 Issue

开放 Issue 50,654 个 · Fork 56,436 个

增长趋势 证据不足
— 7 日新增

star 记录还不够天数,增量算不出来

项目规范 数据完整
MIT 许可证

许可证 MIT · 8 个 topics · 开了 Wiki

版本发布 证据不足
— 发布次数

这一项暂无数据,不代表项目没有发布

「证据不足」表示这项数据暂时没有取到,不能读成「项目有问题」;「部分数据」表示只拿到一部分信号。版本发布要额外调 Releases 接口,下一版补。

Star 趋势

6 天记录
最近 90 天站内记录的星数
257,520当前 Star +1,086首尾差值 2026-10-23最早记录 2026-10-28最近记录

横轴 2026-10-23 → 2026-10-28,纵轴按这段时间的最小/最大值拉伸。趋势来自站内每天记录一次的星数,页面打开时不会实时请求 GitHub。

它解决什么问题

据 README 归纳
没有它会怎样

普通 AI 助手每次对话都从零开始,不会记住经验、不会沉淀技能,也不会随着使用变得更懂用户。没有它,用户需要反复交代上下文、重复设置工具,长期任务难以持续积累。

核心能力

7 条
归纳自 README,不是功能列表照抄
  1. 1从完成复杂任务的过程中自动创建新技能
  2. 2在使用过程中持续改进已有技能
  3. 3定期提醒自身把重要知识持久化保存
  4. 4用全文检索加摘要回查历史会话实现跨会话记忆
  5. 5通过辩证式用户建模构建对用户的深层理解
  6. 6在单一网关进程中接入多个聊天平台并保持对话连续
  7. 7用一条命令切换不同模型提供方而无需改代码

项目画像

6 个角度
决定要不要用之前,先看这六条

项目定位

一个能自我改进的 AI 智能体,具备内置学习闭环,可从经验中创建技能、在使用中持续改进,并跨会话积累对用户的认知。

适合谁

希望拥有一个长期陪伴、会越用越懂自己的个人 AI 助手的人;需要在云端常驻运行智能体并通过聊天软件远程指挥的用户。

典型场景

在低成本的云服务器或几乎不产生费用的无服务器环境上常驻运行智能体,随时通过 Telegram 等聊天软件下达任务并查看进展。;让智能体连续处理多轮复杂工作,由它把过程沉淀为可复用技能,并在之后的同类任务中自动调用和改进这些技能。;长期使用同一助手,使其通过历史会话检索与用户画像逐步加深对个人偏好和上下文的理解。

部署难度

上手难度中等。需要先安装运行环境,安装过程会拉取 Python、Node.js、ripgrep、FFmpeg 和 Python 依赖,之后通过命令行完成模型选择、工具配置和启动网关,属于几步命令即可跑起来的程度,但依赖较多。

风险限制

安装时需处理 Python、Node.js、ripgrep、FFmpeg 等依赖;Windows 上 uv.exe 可能被杀毒软件误报隔离,需手动加白名单。对模型提供方无锁定,但需自行准备可用模型与接口。

最近维护

最近一次推送是 2026-10-27 15:10。 实现方式:智能体运行时把经验整理成技能文件,在后续使用中迭代这些技能,并主动提示自己保存知识;会话内容存入本地全文索引,需要时检索并摘要召回;同时以用户建模方式沉淀跨会话的用户画像,配合可切换的模型接口和单一网关进程连接多个聊天平台。

README 原文细节

3 个板块
项目自己写的功能与用法,原文照录

怎么安装从零跑起来的步骤

Getting Started

hermes              # Interactive CLI — start a conversation
hermes model        # Choose your LLM provider and model
hermes tools        # Configure which tools are enabled
hermes config set   # Set individual config values
hermes config get   # Print individual config values
hermes gateway      # Start the messaging gateway (Telegram, Discord, etc.)
hermes setup        # Run the full setup wizard (configures everything at once)
hermes update       # Update to the latest version
hermes doctor  

限制与常见问题项目自己写明的坑与限制

Troubleshooting

If your antivirus (Bitdefender, Windows Defender, etc.) quarantines uv.exe from the Hermes bin folder (%LOCALAPPDATA%\hermes\bin\uv.exe), this is a false positive. The file is Astral's uv — the Rust Python package manager Hermes bundles to manage its Python environment. ML-based antivirus engines commonly flag unsigned Rust binaries that download and install packages.

If attestation says "Verification succeeded" and the last line prints True, you're good.

To whitelist Hermes: - Windows Defender: Run PowerShell as Admin → Add-MpPreference -ExclusionPath "$env:LOCALAPPDATA\hermes\bin" - Bitdefender: Add an exception in the Bitdefender console (Protection > Antivirus > Settings > Manage Exceptions) - Whitelist the folder, not the file hash — Hermes updates uv and the hash changes every version

For more context, see the upstream Astral reports: astral-sh/uv#13553, astral-sh/uv#15011, astral-sh/uv#10079.

其它说明README 里剩下的内容

Skip the API-key collection — Nous Portal

Hermes works with whatever provider you want — that's not changing. But if you'd rather not collect five separate API keys for the model, web search, image generation, TTS, and a cloud browser, Nous Portal covers all of them under one subscription:

That logs you in via OAuth, sets Nous as your provider, and turns on the Tool Gateway. Check what's wired up any time with hermes portal info. Full details on the Tool Gateway docs page.

You can still bring your own keys per-tool whenever you want — the gateway is per-backend, not all-or-nothing.

  • 300+ models — pick any of them with /model
  • Tool Gateway — web search, image generation (FAL), text-to-speech (OpenAI), cloud browser (Browser Use), all routed through your sub. No extra accounts.

CLI vs Messaging Quick Reference

Hermes has two entry points: start the terminal UI with hermes, or run the gateway and talk to it from Telegram, Discord, Slack, WhatsApp, Signal, or Email. Once you're in a conversation, many slash commands are shared across both interfaces.

For the full command lists, see the CLI guide and the Messaging Gateway guide.

  • Start chatting — hermes — Run hermes gateway setup + hermes gateway start, then send the bot a message
  • Start fresh conversation — /new or /reset — /new or /reset
  • Change model — /model [provider:model] — /model [provider:model]
  • Set a personality — /personality [name] — /personality [name]
  • Retry or undo the last turn — /retry, /undo — /retry, /undo
  • Compress context / check usage — /compress, /usage, /insights [--days N] — /compress, /usage, /insights [days]
  • Browse skills — /skills or / — /
  • Interrupt current work — Ctrl+C or send a new message — /stop or send a new message
  • Platform-specific status — /platforms — /status, /sethome

Documentation

All documentation lives at hermes-agent.nousresearch.com/docs:

  • Quickstart — Install → setup → first conversation in 2 minutes
  • CLI Usage — Commands, keybindings, personalities, sessions
  • Configuration — Config file, providers, models, all options
  • Messaging Gateway — Telegram, Discord, Slack, WhatsApp, Signal, Home Assistant
  • Security — Command approval, DM pairing, container isolation
  • Tools & Toolsets — 40+ tools, toolset system, terminal backends
  • Skills System — Procedural memory, Skills Hub, creating skills
  • Memory — Persistent memory, user profiles, best practices
  • MCP Integration — Connect any MCP server for extended capabilities
  • Cron Scheduling — Scheduled tasks with platform delivery
  • Context Files — Project context that shapes every conversation
  • Architecture — Project structure, agent loop, key classes
  • Contributing — Development setup, PR process, code style
  • CLI Reference — All commands and flags

关于 hermes-agent 的常见问题

6 个问题
答案来自 README 归纳与 GitHub 实时数据
hermes-agent 是做什么的?

一个能自我改进的 AI 智能体,具备内置学习闭环,可从经验中创建技能、在使用中持续改进,并跨会话积累对用户的认知。 普通 AI 助手每次对话都从零开始,不会记住经验、不会沉淀技能,也不会随着使用变得更懂用户。没有它,用户需要反复交代上下文、重复设置工具,长期任务难以持续积累。

hermes-agent 有哪些功能?

核心能力:从完成复杂任务的过程中自动创建新技能;在使用过程中持续改进已有技能;定期提醒自身把重要知识持久化保存;用全文检索加摘要回查历史会话实现跨会话记忆;通过辩证式用户建模构建对用户的深层理解;在单一网关进程中接入多个聊天平台并保持对话连续;用一条命令切换不同模型提供方而无需改代码。

hermes-agent 适合谁用?

希望拥有一个长期陪伴、会越用越懂自己的个人 AI 助手的人;需要在云端常驻运行智能体并通过聊天软件远程指挥的用户。

hermes-agent 是怎么工作的?

智能体运行时把经验整理成技能文件,在后续使用中迭代这些技能,并主动提示自己保存知识;会话内容存入本地全文索引,需要时检索并摘要召回;同时以用户建模方式沉淀跨会话的用户画像,配合可切换的模型接口和单一网关进程连接多个聊天平台。

用 hermes-agent 有什么门槛或限制?

安装时需处理 Python、Node.js、ripgrep、FFmpeg 等依赖;Windows 上 uv.exe 可能被杀毒软件误报隔离,需手动加白名单。对模型提供方无锁定,但需自行准备可用模型与接口。

hermes-agent 现在还在维护吗?数据怎么样?

目前 257,520 星,56,436 个 Fork,主语言 Python,创建于 2025-07-23,最近一次推送 2026-10-27 15:10,许可证 MIT。星数、Fork、推送时间都是 GitHub 返回的实时数据,「最近推送」离现在越近说明越活跃;长期不动要留意是否已停止维护。

这些内容来自哪

读法说明
中文整理据 README 归纳,数据取自 GitHub
中文说明据项目 README 归纳只写 README 能确认的内容,不替作者补功能与数字
关键数据与 GitHub 页面一致星数、Fork、语言与时间都不做二次加工
数据日期2026-10-23 17:51星数与介绍这份数据是哪一天的

项目数据取自 GitHub 官方接口与项目 README;星数、Fork、语言与时间以 GitHub 页面为准,档案更新于 2026-10-23 17:51。