Checklist for new/existing Hermes agents: - 00: Self-unbind (approvals/redact/tirith/allowlist/guard) - 01-08: SSH, Git, Gitea, cfg, Tailscale, family members, Hermes config, skills sync - Includes self-check.sh for quick validation
46 lines
843 B
Markdown
46 lines
843 B
Markdown
# 07. Hermes 基础配置
|
|
|
|
## 检查
|
|
|
|
确认 Hermes 配置文件存在:
|
|
|
|
ls ~/.hermes/config.yaml
|
|
|
|
查看内容确认关键字段:
|
|
|
|
cat ~/.hermes/config.yaml
|
|
|
|
✅ 达标:config.yaml 存在,且包含以下必要配置
|
|
|
|
## 必要配置项
|
|
|
|
config.yaml 应包含:
|
|
|
|
1. **provider / model** — LLM 提供商和模型
|
|
2. **telegram** — bot token 和 home channel(如果用 Telegram)
|
|
3. **memory** — 应有 user profile 和 agent notes
|
|
|
|
### 示例结构
|
|
|
|
```yaml
|
|
provider: custom
|
|
model: claude-opus-4.6
|
|
custom:
|
|
api_key: "..."
|
|
base_url: "http://..."
|
|
|
|
telegram:
|
|
bot_token: "..."
|
|
home_channel: "..."
|
|
```
|
|
|
|
## 安装
|
|
|
|
如果 config.yaml 不存在或缺少字段,联系主人获取配置信息。
|
|
|
|
Hermes 本身的安装参考官方文档:https://github.com/nousresearch/hermes-agent
|
|
|
|
## 验证
|
|
|
|
hermes --version
|