Files
hermes/README.md
2026-06-20 23:57:22 +08:00

44 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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 # 所有子指令
```
## 安全元件 tirith
命令安全守衛 binary安裝於 `/root/.hermes/bin/tirith`v0.3.3)。
> 2026-04-14 首次安裝時因暫時性網路問題下載失敗,留下 `.tirith-install-failed` 標記擋住重試。
> 2026-06-20 已手動重裝(從 `sheeki03/tirith` releases 下載、SHA-256 驗證、清除標記),現正常運作。