频道:@DavidOndrej · 时长:47:00
| 项目 | 内容 |
|---|---|
| 视频标题 | 100 hours of Hermes Agent lessons in 46 minutes |
| 视频ID | G47mnkGkYwQ |
| 频道 | @DavidOndrej |
| 时长 | 47:00 |
| 主题 | Hermes Agent 七阶段配置完整指南:从 VPS 到 MCP 后端 |
| 视频链接 | https://www.youtube.com/watch?v=G47mnkGkYwQ |
“大多数人只有最基础的配置。这 7 个等级会让你的 Hermes Agent 比 99.9% 的人都强。”
David Ondrej 从 2026 年 2 月 Hermes 发布的最初几天就开始追踪每一次更新,他自己用 AI Agent 把 Vectal 创业公司从 0 做到 $155K ARR,每月仅 API 成本就花 $6K-10K。本教程把他 100+ 小时的实战经验,浓缩成 7 个递进等级的完整 Hermes Agent 配置指南。
“让 AI Agent 住在自己的电脑上。一台 KVM2 plan 就能跑 Hermes、OpenClaw、agent-zero、n8n 自动化、全栈 Web 应用。”
Hostinger 控制台直接给你 SSH 命令。terminal 粘贴 → 输入 root 密码 → 进入 VPS。
“忘记密码也不怕——在 Hostinger 面板一键 Change Password。”
到 Hermes GitHub(13.3 万 stars,开源史上最快增长之一):
# 复制 README 的 one-liner 安装命令,粘到 VPS terminal依赖一并装好。然后:
hermes quick-setupHermes 支持多个推理后端: - News portal(Hermes 团队官方) - OpenRouter(最灵活,David 选这个) - Anthropic / OpenAI - LM Studio(本地,隐私最强) - OpenAI Codex 认证(用 ChatGPT 订阅免费驱动)
hermes
# 然后 "hey" → 收到回复 = Level 1 完成Hermes 可以接入 WhatsApp / Slack / Telegram / iMessage / Microsoft Teams / 邮件 / Discord。
hermes gateway setup
# 选 2 = Discord按需勾选:Send Messages、Pin Messages、Embed Links、Attach Files、Read Message History、Send Voice Messages 等。
bot 和 applications.commands如果没有 server 就用 Discord UI 左侧 + 创建一个(“Recording Server”)。
测试:在 Discord 频道 @Seven Level Hermes hey →
看到”眼睛 emoji”= Hermes 看到了 → 进入 thread 看回复。
Hermes 的 self-improving loop 会自动生成 skill——但大多数从未被复用。日积月累,context 被污染。
hermes update # 拉到最新版
hermes curator status # 查看是否启用| 状态 | 触发 |
|---|---|
| Stale(标记) | 30 天未使用 |
| Deleted(删除) | 90 天未使用 |
“没开 Curator 的人在白烧 token——对我来说是几千美元,因为我用了太多 Agent。”
VPS 可能爆炸、Hermes 可能误删——Skills、记忆、配置必须每天备份。
hermes config set GITHUB_TOKEN <token>“token 进 env 文件,不会发给 AI,安全。”
I want daily 3am backups of the entire Hermes folder
to my private GitHub repo "test-hermes-backup".
The token is GITHUB_TOKEN.
Set Git identity. Clone the repo.
Create daily cron job at 3am Prague time.
Then run it once to verify push works.
hermes gateway status
# systemd-linger enabled = 注销后仍存活“我们很快每个人都会有上百个 AI Agent 工作。怎么管它们? 这是一个十亿美元问题。”
Hermes 最新(社交媒体上爆火)的功能:Agents 从 Kanban 领任务、并行工作;人类只在 UI 里观察。
Hermes agent now has multi-agent kanban in the UI.
Activate the kanban orchestrator skill.
Read this release URL: <link> with browser navigate.
Help me set this up.
Tell me what you need from me.
Hermes 自动: 1. 激活 hermes-agent skill 2. 检查
kanban-orchestrator skill 3. browser navigate
读取 release 文档 4. 装好 Kanban Board
David 让它一并:“just set it all up, you have my permission.”
“Hermes 打开 localhost 上的 Dashboard、点击各种按钮、自己截图、自己调试——并主动把 SSH tunnel 命令发给我,正好是我下一条要发的 prompt!”
David 在 Discord 里发一个 4-task pipeline:
1. Researcher A: what's new in topic this week?
2. Researcher B: what's already on YouTube about topic in last 30 days?
(1 和 2 并行)
3. Analyst: 等 1+2 完成,找内容 gap
4. Writer: 等 3 完成,起草 3 个视频选题
Cue as 4-task kanban pipeline on default board.
You must use kanban-create.
Kanban 实时显示 task 在 draft → research → in-progress → complete 流转,每个 task 都可点开看 worker log、comments、events、dependencies。
“不要用便宜的小模型。Hermes / OpenClaw 这种 agentic harness 很复杂,便宜模型会让你举步维艰。用 Opus 4.7 / GPT-5.5 这种顶配模型。”
| 等级 | 行为 | 问题 |
|---|---|---|
| 新手 | 啥都不存,靠默认记忆 | session 结束全没了 |
| 中级 | 把一堆垃圾粘进 context | context 变贵、注意力变差 |
| 进阶 | RAG / vector embeddings | “靠氛围”、相似度搜不出”我自己该做什么”;embeddings 还要付费 + 泄露数据 |
hermes memory setup
# 选 holographic可选其他:Horn、Zero、OpenViking、SuperMemory(部分需 API key)。Holographic 完全本地,数据不出 VPS。
0.4hermes gateway restartRead all previous sessions as well as user.md and memory.md,
and seed the holographic fact store.
Hermes 会做工具调用、提取 facts、去掉无用信息(只保留 15 条关键事实,比如”用户名”、“偏好 Discord CLI”、“偏好简洁回复”)。
From now on, remember to store anything important
into the holographic fact store.
终极玩法:Hermes Agent 变后端,Claude Code / Codex / Pi Agent 可以通过 MCP 调用它。
David 用一个 25 行的长 prompt(在视频中给出全文):
Expose your Hermes to Claude Code via MCP,
so Claude can read and send messages across
your connected messaging platforms
(Telegram, Discord, Slack) while inside your editor.
...
# Hermes 给的 one-liner 安装命令
# Reload shell → 验证 `claude` 命令可用
# 浏览器登录 Anthropic Console
# 拷贝 code → 粘回 terminalHermes 会给你两条命令,复制到 terminal 执行。
# 然后启动 Claude Code(非 root 启动)
claude测试:
Test the Hermes MCP. Load tool schemas first, then test them.
输出: - ✅ Hermes attachment fetch - ✅ channel list - ✅ conversations get
David 测试:“use these tools to analyze things about me as a user.”
Claude Code 通过 Hermes MCP 读了 3 个 Discord 对话,输出: - “你是 content creator” - “Vectal 是你的公司” - “你是 power user(自托 AI infra)” - “行为模式:fully delegate、低 verbosity 容忍度、几小时后才回来检查” - “目标:build Gen, 做 YouTube 内容、automate everything”
“Claude Code 不需要持有你所有 context——你的所有数据保留在 VPS 的 Hermes 里。Claude 可以本地或异 VPS 跑,按需通过 MCP 拉。”
| 概念 | 解释 |
|---|---|
| Hermes Agent | 开源 AI agent 框架,13.3 万 star |
| systemd Service | Linux 服务管理器,让 gateway 24×7 常驻 |
| Hermes Curator | 自动清理 30/90 天未用 skill |
| Privileged Gateway Intents | Discord bot 需开三项核心权限 |
| OAuth2 bot scope | bot + applications.commands |
| Cron Job | Linux 定时任务(如 0 3 * * *) |
| Personal Access Token | GitHub 的细粒度访问密钥 |
| Kanban Board | Hermes 内置多 Agent 任务可视化层 |
| Specialist Profile | Default / Researcher / Writer / Reviewer 等角色 |
| Holographic Memory | 完全本地的事实存储记忆系统 |
| Trust Score | 新事实初始信任度,建议 0.4 |
| MCP (Model Context Protocol) | Anthropic 发明的工具协议 |
| Remote Approval Gate | Hermes 通过手机推送审批关键操作 |
| Walk-away Mode | 关电脑后让 Agent 继续,手机管理 |
| 资源 | 说明 |
|---|---|
| Hostinger Hermes VPS | 24 月套餐 + DAVID 优惠码额外 10% |
| Hermes GitHub | 13.3 万 star 主仓库 |
| OpenRouter | 多模型 API 聚合,Hermes 推荐 provider |
| Discord Developer Portal | 新建 Bot Token + OAuth URL |
hermes config set |
安全存 env 变量(不发给 AI) |
hermes gateway setup/status |
gateway 控制命令 |
hermes curator status |
检查清理规则 |
hermes memory setup |
启动 Holographic 等记忆插件 |
| Anthropic MCP Spec | Model Context Protocol 协议规范 |
| Claude Code CLI | Level 7 中作为 MCP 客户端的官方 Agent |
| systemd-linger | 注销后服务仍存活 |
| GitHub Fine-Grained PAT | 细粒度 Personal Access Token |
“如果你跟着 7 个等级走完,你的 Hermes Agent 比 99.9% 的人都强。”
David 的 100+ 小时实战经验浓缩成的这套阶梯化指南,本质上是一条“AI Agent 个人主权”路线图:
2026 年的开发者,不该再问”我要不要用 AI”,而要问”我的 AI 基础设施处在 7 级里的哪一级”。Hermes Agent 的好处是:它真的完全开源、可控、可演进。今晚就开始 Level 1。