安装
向下扎根,向上拥抱--—向下理解基础设施,向上驾驭 AI 生产力
软件工程能力 + 基础设施知识
代理agent
多消息平台接入,坚持的“模型可替换
同样具备持久化记忆、技能系统和多模型切换能力,
也都采用MIT协议
清晰地表达自己的需求,讲清楚目标是什么、边界在哪里、想要达成什么目的
安装说明
pip install -e "./tinker-atropos"
export UV_INDEX_URL="https://pypi.tuna.tsinghua.edu.cn/simple"
npx playwright install --with-deps chromium
npm config set registry https://registry.npmmirror.com
cd "$INSTALL_DIR/scripts/whatsapp-bridge"
npm install --silent 2>/dev/null
npx playwright install --with-deps chromium
安装后启动
hermes Start chatting
hermes gateway Start messaging gateway
hermes doctor Check for issues
文件
📁 All your files are in ~/.hermes/:
Settings: /home/ubuntu/.hermes/config.yaml
API Keys: /home/ubuntu/.hermes/.env
Data: /home/ubuntu/.hermes/cron/, sessions/, logs
📁 Your files (all in ~/.hermes/):
Config: ~/.hermes/config.yaml
API Keys: ~/.hermes/.env
Data: ~/.hermes/cron/, sessions/, logs/
Code: ~/.hermes/hermes-agent/
─────────────────────────────────────────────────────────
命令
🚀 Commands:
hermes Start chatting
hermes setup Configure API keys & settings
hermes config View/edit configuration
hermes config edit Open config in editor
hermes gateway install Install gateway service (messaging + cron)
hermes update Update to latest version
─────────────────────────────────────────────────────────
⚡ Reload your shell to use 'hermes' command:
source ~/.bashrc
配置模型和配置渠道
https://agentskills.io/specification
agentskills.io 标准 渐进式披露(Progressive Disclosure)
配置文件 config.yaml
内容
memory
FTS5就是SQLite官方给的一个“虚拟表”模块,专门用来解决在大量文本数据里快速、精准地找内容的问题
FTS5之所以能这么快,核心在于它的虚拟表机制和倒排索引结构
Honcho 用户建模
黑格尔的"正-反-合"辩证法:
•正题(Thesis):当前对用户的理解(画像的现状)
•反题(Antithesis):新的对话中出现了与当前理解矛盾或补充的信息
•合题(Synthesis):用 LLM 将正题和反题融合,生成一个更新的、更准确的用户理解
Session memory: 会话记忆 -- 发生了什么?
state.db # SQLite数据库(对话历史+FTS5索引
├──────────────────────┤
│ messages │
│ messages_fts │
│ messages_fts_config │
│ messages_fts_data │
│ messages_fts_docsize │
│ messages_fts_idx │
│ schema_version │
│ sessions │
│ sqlite_sequence │
└────────────────────
Persistent memory
persistent memory is also stored in SQLite, managed through the memory tool
核心记忆存储在 ~/.hermes/memory/MEMORY.md 中,纯 Markdown 文件?? 存疑
Skill系统。如果记忆是「知道」,Skill就是「会做
存在 ~/.hermes/skills/ 目录下。它记录的是Agent怎么做某件事的程序性记忆
Tools 五大类工具速览 Hermes的工具按功能分成五大类
Toolset控制。只有config.yaml里启用的工具才能被Agent调用
MCP:6000+应用的统一接口
delegation 是Hermes最强大的协调工具。它能生成子Agent实例,把任务分发出去并行执行
code_execution 沙箱
不只是效率工具,更是安全机制
Messaging Gateway
使用
定期审查记忆很有必要。
看看 ~/.hermes/skills/ 下有哪些Skill,删掉不合适的
agent --智能代理
claude code
Anthropic在Agent设计指南中提出了一个经典的三Agent架构:Planner负责规划、Generator负责执行、Evaluator负责评估
记忆机制: CLAUDE.md + automemory
openclaw/nanobot
多层记忆(SOUL.md + Daily Logs + 语义搜索),透明可控
上线 “梦境” 记忆系统
hermes agent
三层自改进记忆-有限记忆
Set up and manage external memory provider plugins.
Available providers: honcho, openviking, mem0, hindsight, holographic, retaindb, byterover.
Only one external provider can be active at a time. Built-in memory (MEMORY.md/USER.md) is always active.
观点
商业压力是一种约束,是约束也就有约束力大小
两种信任的形状:一种是「我信任你的商业动机」,另一种是「我信任自己的审计能力
"You can see the code" and "you've actually read the code" are two very different things
Two shapes of trust: one is "I trust your business incentives," the other is "I trust my own ability to audit."
closed learning loop(闭环学习循环)---用户行为轨迹的记忆和固化
概念
DM”是“Direct Message”的缩写,中文通常译为“私信”或“私聊”
“更高token效率的Agent 框架”与“更强大高效的模型”的协同进化
./SOUL.md
ATTACH '/home/ubuntu/.hermes/state.db' AS mydb (TYPE SQLITE);
浙公网安备 33010602011771号