一、部署与配置文档
官方文档:https://hermes-agent.nousresearch.com/docs/zh-Hans/
中文社区文档:https://hermesagent.org.cn/docs/getting-started/installation
二、常用命令
部分可参考:https://hermesagent.org.cn/docs/user-guide/configuration
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
hermes setup
hermes setup model hermes setup terminal hermes setup gateway hermes setup tools hermes setup agent
hermes config hermes config edit hermes config show hermes config set KEY VAL hermes config check hermes config migrate
hermes config set model anthropic/claude-opus-4 hermes config set terminal.backend docker hermes config set OPENROUTER_API_KEY sk-or-...
CLI 参数 —— 例如 hermes chat --model anthropic/claude-sonnet-4(每次调用的覆盖) ~/.hermes/config.yaml —— 用于所有非敏感设置的主要配置文件 ~/.hermes/.env —— 环境变量的备用位置;必须用于敏感信息(API 密钥、令牌、密码) 内置默认值 —— 当其他设置均未配置时使用的硬编码安全默认值
source /usr/local/lib/hermes-agent/venv/bin/activate
|