Hermes Agent 命令速查表
› 社区话题 › 📺 VFX Pipeline | 数字创意工作流 › Hermes Agent 命令速查表
标签: AI, hermes agent
- 该话题为空。
正在查看 0 条回复
- 作者帖子
- 2026-05-25 - 20:42 #132329

追光参与者🚀 最常用的命令
# 交互式聊天 hermes # 单次查询 hermes chat -q "你的问题" # 配置向导 hermes setup # 设置模型 hermes model set --provider anthropic --model "claude-3-5-sonnet" # 启用工具 hermes tools enable terminal # 启动网关 hermes gateway telegram start # 诊断 hermes doctor📦 安装相关
命令 说明 curl .../install.sh | bash安装 Hermes hermes setup运行配置向导 hermes update更新到最新版本 uv pip install -e ".[voice]"安装语音支持 hermes computer-use install安装计算机使用工具 💬 聊天相关
命令 说明 示例 hermes交互式聊天 hermeshermes chat单次查询 hermes chat -q "Hello"hermes chat --provider <p>指定提供商 hermes chat --provider anthropichermes chat --model <m>指定模型 hermes chat --model "claude-3-5-sonnet"hermes chat --worktree隔离工作区 hermes chat --worktreehermes chat --quiet静默模式 hermes chat -qhermes chat --checkpoints启用检查点 hermes chat --checkpointshermes chat --resume <id>恢复会话 hermes chat --resume abc123hermes chat --continue <name>继续会话 hermes chat --continue "上次"🔧 工具管理
命令 说明 hermes tools交互式工具配置 hermes tools enable <tool>启用工具 hermes tools disable <tool>禁用工具 hermes tools list列出所有工具 hermes tools status查看工具状态 hermes tools show显示工具详情 hermes tools enable all启用所有工具 hermes tools disable all禁用所有工具 hermes tools enable terminal启用终端工具 hermes tools enable web启用 Web 工具 hermes tools enable browser启用浏览器工具 hermes tools enable wechat启用微信工具 🧠 技能管理
命令 说明 hermes skills list列出所有技能 hermes skills search <q>搜索技能 hermes skills install <name>安装技能 hermes skills uninstall <name>卸载技能 hermes skills enable <name>启用技能 hermes skills disable <name>禁用技能 hermes skills installed list查看已安装技能 hermes skills show <name>查看技能详情 ⚙️ 配置管理
命令 说明 hermes config交互式配置 hermes config set <key> <value>设置配置 hermes config show显示配置 hermes config get <key>获取配置值 hermes config backup <path>备份配置 hermes config restore <path>恢复配置 hermes config set -f <key>=<val>批量设置 👤 Profile 管理
命令 说明 hermes profile list列出所有 Profile hermes profile create <name>创建 Profile hermes profile use <name>使用 Profile hermes profile configure <name>配置 Profile hermes profile delete <name>删除 Profile hermes profile reset <name>重置 Profile 🌉 网关管理
命令 说明 hermes gateway交互式网关配置 hermes gateway <platform> start启动网关 hermes gateway stop停止网关 hermes gateway restart重启网关 hermes gateway logs查看日志 hermes gateway config网关配置 🏥 诊断与维护
命令 说明 hermes doctor系统诊断 hermes doctor --verbose详细诊断 hermes doctor check-keys检查 API 密钥 hermes doctor check-config检查配置 hermes doctor check-tools检查工具 hermes doctor check-models检查模型 hermes doctor check-gateway检查网关 hermes doctor fix修复问题 🔍 浏览器扩展管理
命令 说明 hermes browser-extension status查看状态 hermes browser-extension enable启用扩展 hermes browser-extension doctor诊断问题 hermes browser-extension logs查看日志 🖥️ 计算机使用工具
命令 说明 hermes computer-use install安装 cua-driver hermes computer-use doctor诊断问题 🎯 全局选项
# --version, -V # 显示版本 # --profile <name>, -p # 选择 Profile # --resume <session> # 恢复会话 # --continue [name] # 继续会话 # --worktree, -w # 隔离工作区 # --yolo # 跳过确认 # --pass-session-id # 加入 session ID # --ignore-user-config # 忽略用户配置 # --ignore-rules # 跳过规则 # --tui # TUI 模式 # --dev # 开发模式📝 常用配置示例
~/.hermes/config.yamlmodel: provider: anthropic model: claude-3-5-sonnet-20241022 agent: max_turns: 90 tool_choice: auto tools: enabled: - terminal - web - skills disabled: [] quick_commands: status: type: exec command: hermes doctor gpu: type: exec command: nvidia-smi restart: type: alias target: /gateway restart~/.hermes/.env# API Keys OPENAI_API_KEY=sk-xxx ANTHROPIC_API_KEY=sk-xxx TELEGRAM_BOT_TOKEN=xxx # ... 其他密钥🌐 平台命令
# Telegram hermes gateway telegram config set bot_token=$TELEGRAM_BOT_TOKEN hermes gateway telegram start # Discord hermes gateway discord config set client_id=$DISCORD_CLIENT_ID hermes gateway discord config set client_secret=$DISCORD_CLIENT_SECRET hermes gateway discord start # Slack hermes gateway slack config set bot_token=$SLACK_BOT_TOKEN hermes gateway slack start # WhatsApp hermes gateway whatsapp config set phone_number=$PHONE_NUMBER hermes gateway whatsapp start # Signal hermes gateway signal config set device_id=$DEVICE_ID hermes gateway signal start # Email hermes gateway email config set smtp_server=$SMTP_SERVER hermes gateway email config set from_address=$FROM_EMAIL hermes gateway email start🔄 快捷命令(在 config.yaml 中定义)
quick_commands: status: type: exec command: hermes doctor gpu: type: exec command: nvidia-smi --query-gpu=name,memory.total --format=csv,noheader restart: type: alias target: /gateway restart models: type: exec command: hermes model list tools: type: exec command: hermes tools status skills: type: exec command: hermes skills list然后可以在聊天中使用:
/status # 运行 hermes doctor /gpu # 运行 nvidia-smi /restart # 重启网关 /models # 列出模型 /tools # 工具状态 /skills # 列出技能💡 提示
- 首次安装后,先运行
hermes setup完成配置
- 使用
hermes doctor诊断任何问题
- 使用 Profile 分离不同环境的配置
- 浏览器扩展需要手动安装到 Chrome/Edge
- 网关支持多种平台,可以组合使用
- 使用
--tui启动现代化的终端界面
速查表版本: 1.0 | 最后更新: 2026-05-25
- 首次安装后,先运行
- 作者帖子
正在查看 0 条回复
- 在下方一键注册,登录后就可以回复啦。