52 lines
1.8 KiB
Markdown
52 lines
1.8 KiB
Markdown
---
|
||
tags: [实体]
|
||
created: 2026-09-14
|
||
updated: 2026-09-14
|
||
sources: [raw/notes/2026-09-14-n8n调用hermes-agents工作流架构.md]
|
||
---
|
||
|
||
# Hermes Agent
|
||
|
||
> Nous Research 出品的 Agent 平台,内置 OpenAI 兼容的 API Server,可被外部工作流引擎直接当作 LLM 端点调用。
|
||
|
||
## 简介
|
||
|
||
Hermes Agent 是一个可本地部署的 Agent 运行时。它同时具备两副面孔:给人用的命令行 / 聊天 Agent,以及给机器调用的 HTTP 服务。后者由内置的 [[Hermes API Server]] 提供,因此把它接进外部编排工具时不需要写任何适配代码。
|
||
|
||
## 关键信息
|
||
|
||
- **类型**:工具 / 平台
|
||
- **领域**:AI Agent 运行时、工作流自动化
|
||
- **相关概念**:[[Hermes API Server]]、[[Hermes Profile]]、[[n8n]]
|
||
- **版本门槛**:基础 API Server 特性需 v0.4.0+;多轮会话 header 需 v0.7.0+
|
||
|
||
## 详细内容
|
||
|
||
### 服务化能力
|
||
|
||
Hermes Agent 将自身暴露为一个 OpenAI 兼容的 HTTP 端点,默认端口 `8642`。开启步骤:
|
||
|
||
```bash
|
||
hermes config set API_SERVER_ENABLED true
|
||
hermes config set API_SERVER_KEY <your-secret-key>
|
||
hermes gateway install # 安装为系统服务
|
||
hermes gateway start # 启动
|
||
```
|
||
|
||
健康检查返回 `{"status":"ok","platform":"hermes-agent","version":"..."}` 即就绪。
|
||
|
||
### 多实例能力
|
||
|
||
通过 [[Hermes Profile]] 可在同一台机器上运行多个互相隔离的 Hermes 实例,各自占用不同端口、持有独立 API key。这是 [[多 Agent 工作流编排]] 中「一个角色一个 Agent」的实现基础。
|
||
|
||
## 不同素材中的观点
|
||
|
||
- [[wiki/sources/2026-09-14-n8n调用hermes-agents工作流架构]]:强调「完全不需要额外写任何代码」「完全原生支持,不需要任何额外中间件」。
|
||
|
||
## 相关页面
|
||
|
||
- [[Hermes API Server]]
|
||
- [[Hermes Profile]]
|
||
- [[n8n]]
|
||
- [[多 Agent 工作流编排]]
|