hermes-trace/README.md
XLion b68554762b
docs: fix drift from sys.executable to plugin-venv launcher
README.md:
- Replace old 'install granian into Hermes venv' instructions with
  'uv sync' in the plugin directory
- Explain that the launcher auto-detects the plugin .venv at runtime

docs/hooks.md:
- Replace 'subprocess.run()' description with the actual Popen daemon
  lifecycle: singleton lock, .venv Python resolution + preflight,
  orphan kill, respawn with backoff, finally-block cleanup
2026-07-23 15:00:59 +08:00

597 B
Raw Permalink Blame History

hermes-trace

LLM API call telemetry plugin for Hermes Agent.

Setup

hermes-trace uses Granian as its frontend server. Dependencies live in the plugin's own virtual environment:

cd ~/.hermes/plugins/hermes-trace
uv sync

This installs Granian, FastAPI, Jinja2, and dev tools (ruff, pyright) into .venv/. The launcher automatically detects this environment at runtime.

設定端口與監聽位址

Granian 預設監聽 127.0.0.1:7788。在你的 .env 加入該參數即可(ls -al ~/.hermes 你就懂):

HERMES_TRACE_HOST=0.0.0.0
HERMES_TRACE_PORT=7799