239 lines
5.6 KiB
Markdown
Executable File
239 lines
5.6 KiB
Markdown
Executable File
# Hermes Agent 研究
|
||
|
||
> Nous Research 开源的自改进 AI 代理
|
||
>
|
||
> 归档:2026-04-23
|
||
|
||
---
|
||
|
||
## 📊 项目概览
|
||
|
||
| 项目 | 数据 |
|
||
|------|------|
|
||
| **仓库** | https://github.com/NousResearch/hermes-agent |
|
||
| **Stars** | ⭐ 110,797 |
|
||
| **Forks** | 16,079 |
|
||
| **开发商** | Nous Research |
|
||
| **许可证** | MIT |
|
||
| **更新** | 2026-04-23 |
|
||
| **官网** | https://hermes-agent.nousresearch.com |
|
||
|
||
---
|
||
|
||
## 🎯 核心定位
|
||
|
||
**"The agent that grows with you"** — 会自我进化的 AI 代理
|
||
|
||
> 不是 IDE 里的编程助手,也不是单一 API 的聊天包装。
|
||
> 这是一个自主代理,**运行越久越强大**。
|
||
|
||
---
|
||
|
||
## 🌟 核心特性
|
||
|
||
### 1. 🔄 闭环学习系统(Built-in Learning Loop)
|
||
|
||
| 特性 | 说明 |
|
||
|------|------|
|
||
| **Agent-curated memory** | 代理自动整理记忆,定期提醒 |
|
||
| **Autonomous skill creation** | 复杂任务后自动创建技能 |
|
||
| **Skill self-improvement** | 技能在使用中自我优化 |
|
||
| **FTS5 cross-session recall** | 全文本搜索 + LLM 摘要,跨会话回忆 |
|
||
| **Honcho user modeling** | 方言用户建模 |
|
||
|
||
### 2. 📍 跨平台部署
|
||
|
||
| 平台 | 支持情况 |
|
||
|------|---------|
|
||
| **终端** | Linux / macOS / WSL2 / Android (Termux) |
|
||
| **消息** | Telegram / Discord / Slack / WhatsApp / Signal / Email / SMS |
|
||
| **企业** | DingTalk / Feishu / WeCom |
|
||
| **其他** | Matrix / Mattermost / BlueBubbles / Home Assistant |
|
||
| **服务器** | Docker / SSH / Daytona / Singularity / Modal |
|
||
|
||
### 3. ☁️ 任意模型支持
|
||
|
||
| 提供商 | 模型 |
|
||
|--------|------|
|
||
| **Nous Portal** | 自有模型 |
|
||
| **OpenRouter** | 200+ 模型 |
|
||
| **NVIDIA NIM** | Nemotron |
|
||
| **Xiaomi MiMo** | MiMo |
|
||
| **z.ai/GLM** | GLM 系列 |
|
||
| **Kimi/Moonshot** | Moonshot |
|
||
| **MiniMax** | MiniMax |
|
||
| **Hugging Face** | 部署模型 |
|
||
| **OpenAI** | GPT 系列 |
|
||
| **Anthropic** | Claude 系列 |
|
||
| **自定义端点** | 任何兼容 API |
|
||
|
||
切换命令:`hermes model`
|
||
|
||
### 4. 🛠️ 47+ 内置工具
|
||
|
||
- 搜索、提取、浏览
|
||
- 视觉理解
|
||
- 图片生成
|
||
- TTS 语音
|
||
|
||
### 5. 🔌 MCP 集成
|
||
|
||
- 连接任何 MCP 服务器
|
||
- 过滤工具
|
||
- 安全扩展
|
||
|
||
### 6. ⏰ 内置 Cron 调度
|
||
|
||
- 自然语言定义任务
|
||
- 任意平台推送
|
||
- 每日报告 / 夜间备份 / 周审计
|
||
|
||
### 7. 🤖 子代理与并行
|
||
|
||
- 生成隔离子代理
|
||
- 并行工作流
|
||
- RPC 编程调用
|
||
|
||
---
|
||
|
||
## 📦 与 OpenClaw 的关系
|
||
|
||
Hermes Agent **源自 OpenClaw**(clawdbot, moltbot 均为 OpenClaw 相关项目)
|
||
|
||
### OpenClaw 迁移
|
||
|
||
```bash
|
||
hermes claw migrate # 交互式迁移
|
||
hermes claw migrate --dry-run # 预览
|
||
hermes claw migrate --preset user-data # 不含密钥
|
||
hermes claw migrate --overwrite # 覆盖冲突
|
||
```
|
||
|
||
**迁移内容**:
|
||
- SOUL.md — 人格文件
|
||
- MEMORY.md / USER.md — 记忆
|
||
- Skills — 用户技能
|
||
- API 密钥 — Telegram / OpenRouter / OpenAI / Anthropic / ElevenLabs
|
||
- 消息设置 / TTS 资源
|
||
|
||
---
|
||
|
||
## 🚀 快速安装
|
||
|
||
### 一键安装
|
||
```bash
|
||
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash
|
||
```
|
||
|
||
### 平台支持
|
||
- ✅ Linux
|
||
- ✅ macOS
|
||
- ✅ WSL2
|
||
- ✅ Android (Termux)
|
||
|
||
### 启动
|
||
```bash
|
||
hermes # 交互式 CLI
|
||
hermes model # 选择模型
|
||
hermes tools # 配置工具
|
||
hermes config set # 设置配置
|
||
hermes gateway # 启动消息网关
|
||
hermes setup # 完整设置向导
|
||
```
|
||
|
||
---
|
||
|
||
## 💬 核心命令
|
||
|
||
### CLI 命令
|
||
| 命令 | 说明 |
|
||
|------|------|
|
||
| `hermes` | 启动对话 |
|
||
| `/new` 或 `/reset` | 新对话 |
|
||
| `/model [provider:model]` | 切换模型 |
|
||
| `/personality [name]` | 设置人格 |
|
||
| `/retry` / `/undo` | 重试/撤销 |
|
||
| `/compress` / `/usage` | 压缩上下文/查看用量 |
|
||
| `/skills` | 浏览技能 |
|
||
| `/platforms` | 平台状态 |
|
||
|
||
### 消息平台命令
|
||
| 命令 | 说明 |
|
||
|------|------|
|
||
| `/stop` | 停止当前工作 |
|
||
| `/status` / `/sethome` | 状态管理 |
|
||
| `/insights [--days N]` | 用量分析 |
|
||
|
||
---
|
||
|
||
## 📁 项目结构
|
||
|
||
```
|
||
hermes-agent/
|
||
├── docs/ # 完整文档
|
||
├── scripts/ # 安装脚本
|
||
├── assets/ # 资源文件
|
||
├── hermes/ # 核心代码
|
||
└── tinker-atropos/ # RL 训练(可选)
|
||
```
|
||
|
||
---
|
||
|
||
## 🆚 对比 OpenClaw
|
||
|
||
| 特性 | Hermes Agent | OpenClaw |
|
||
|------|-------------|----------|
|
||
| **Stars** | ⭐ 110k | ⭐ 362k |
|
||
| **开发商** | Nous Research | OpenClaw 社区 |
|
||
| **学习系统** | ✅ 内置闭环 | ⚠️ 需配置 |
|
||
| **Skill 自进化** | ✅ 自动优化 | ❌ |
|
||
| **模型灵活性** | ✅ 200+ | ⚠️ 有限 |
|
||
| **平台覆盖** | ✅ 15+ | ✅ |
|
||
| **OpenClaw 迁移** | ✅ 原生支持 | N/A |
|
||
|
||
---
|
||
|
||
## 📚 学习路径
|
||
|
||
| 层级 | 内容 |
|
||
|------|------|
|
||
| **入门** | 安装 → 设置 → 首对话 |
|
||
| **进阶** | CLI / 消息网关 / 工具配置 |
|
||
| **高级** | Skills / Memory / MCP |
|
||
| **专家** | Cron 调度 / 子代理 / RL |
|
||
|
||
---
|
||
|
||
## 🔗 相关资源
|
||
|
||
| 资源 | 链接 |
|
||
|------|------|
|
||
| GitHub | https://github.com/NousResearch/hermes-agent |
|
||
| 文档 | https://hermes-agent.nousresearch.com/docs/ |
|
||
| Discord | https://discord.gg/NousResearch |
|
||
| Skills Hub | https://agentskills.io |
|
||
| Nous Research | https://nousresearch.com |
|
||
|
||
---
|
||
|
||
## 相关项目
|
||
|
||
| 项目 | Stars | 说明 |
|
||
|------|-------|------|
|
||
| OpenClaw | ⭐ 362k | 源头项目 |
|
||
| hermes-agent-self-evolution | ⭐ 2.1k | 自我进化优化 |
|
||
| hermes-webui | ⭐ 3.5k | Web UI |
|
||
| hermes-workspace | ⭐ 2.1k | 原生工作区 |
|
||
|
||
---
|
||
|
||
## AI工程索引
|
||
|
||
相关笔记:
|
||
- [[INDEX_AI工程]] - AI工程知识索引
|
||
- [[ClaudeCode完全研究]] - Claude Code 完整指南
|
||
- [[claude-code-best-practice详解]] - 最佳实践详解
|
||
|
||
---
|
||
|
||
*整理:知识库管理员 | 归档:2026-04-23* |