Document hermes deployment and usage

This commit is contained in:
Timmy
2026-06-20 23:52:15 +08:00
parent 18195111e5
commit 8d3bcd9285

View File

@@ -1 +1,49 @@
# hermes
Hermes Agent 部署與使用筆記。
## 部署位置
| 項目 | 值 |
|------|----|
| 主機 | `192.168.42.109` (root) |
| 安裝路徑 | `/root/.hermes` |
| 版本 | hermes-agent v0.17.0 |
| 進入點 | `/usr/local/bin/hermes``/root/.hermes/hermes-agent/venv/bin/hermes` |
## 模型 / API
走 Z.AI GLM設定於 `/root/.hermes/config.yaml`
```yaml
model:
default: glm-5.1
provider: zai
base_url: https://api.z.ai/api/paas/v4
```
API key 存於 `/root/.hermes/.env``GLM_API_KEY`(同步進 `auth.json` 的 zai credential pool
## 使用
```bash
ssh root@192.168.42.109
hermes # 進互動 chat
hermes -z "你的問題" # 一次性問答
hermes model # 換模型 / provider
hermes status # 狀態
hermes --help # 所有子指令
```
## 本機 Claude Code此 repo
在這個 repo 目錄用 Claude Code 時,模型也走同一個 GLM 端點Anthropic 相容):
- `.claude/settings.json``ANTHROPIC_BASE_URL=https://api.z.ai/api/anthropic`
- `.claude/settings.local.json``ANTHROPIC_AUTH_TOKEN`(機密,已 gitignore
env 在啟動時讀取,改完需重開 Claude Code 生效。
## 已知問題
- `.tirith-install-failed`download_failed非核心元件下載失敗不影響 chat。