hermes-voice
Skill0 starsChanged 3 months agoMITView on GitHub
Hermes 语音交互:唤醒词/barge_in打断/流式TTS/压缩。v0.20原生方案。
- Installs packages
In this repository219 other files it gives its agents.
- agent-doctrineSkill
- agent-evaluation-frameworkSkill
- agent-visualization-flintSkill
- hermes-agentSkill
- bailian-cliSkill
- edge-browser-automationSkill
- computer-useSkill
- jupyter-live-kernelSkill
- backup-strategiesSkill
- browser-automationSkill
- chinese-ai-free-apiSkill
- cicd-pipeline-templatesSkill
- copybaraSkill
- devops-toolkitSkill
- email-deliverabilitySkill
- monitoring-observabilitySkill
- obsidian-maintenanceSkill
- obsidian-troubleshootingSkill
- openclaw-windowsSkill
- openclaw-workerSkill
- webhook-subscriptionsSkill
- windows-dev-environmentSkill
- windows-masterSkill
- zero-downtime-deploySkill
- codebase-inspectionSkill
- github-workflowSkill
- adaptive-communicationSkill
- agent-cost-dashboardSkill
- agent-evolutionSkill
- agent-governanceSkill
- agent-osSkill
- context-efficient-toolsSkill
- context-loss-awarenessSkill
- creative-synthesisSkill
- hermes-desktop-pluginsSkill
- emotional-intelligenceSkill
- graph-engineering-workflowSkill
- hermes-maintenanceSkill
- hermes-hygieneSkill
- identity-coreSkill
- income-loopSkill
- master-synthesisSkill
- meta-cognitionSkill
- reasoning-engineSkill
- self-preservationSkill
- teaching-abilitySkill
- temporal-awarenessSkill
- hermes-themesSkill
- thinking-visualizationSkill
- user-modelingSkill
- voice-full-restoreSkill
- knowledge-graph-traversalSkill
- mcp-browser-canvasSkill
- free-api-gatewaySkill
- native-mcpSkill
- web-reverse-apiSkill
- ai-edaSkill
- huggingface-hubSkill
- industrial-ai-siemens-mcpSkill
- industrial-ai-unifiedSkill
- The first 60 shown.
The file
Files
Hermes 语音交互配置(v0.20.0+)
v0.20.0 原生内置了 on-device 唤醒词系统,不再需要手工补丁。同时带来 barge_in(语音打断)、流式 TTS、压缩优化等交互提升。
核心配置速查
完整配置默认值见 references/wake-word-config-defaults.md。
唤醒词(/wake)
三种引擎可选:
| 引擎 | 费用 | 短语 | 依赖 |
| openWakeWord | 免费 | "hey_hermes"、"hey_jarvis" 等 | pip install openwakeword |
| sherpa | 免费 | 任意自定义短语(含中文) | pip install sherpa-onnx |
| porcupine | 付费 | "jarvis"、"computer" 等 | PORCUPINE_ACCESS_KEY |
Jarvis 模式(推荐,openWakeWord 内置模型):
uv pip install openwakeword --python "D:/Hermes/hermes-agent/.venv/Scripts/python.exe"
hermes config set wake_word.enabled true
hermes config set wake_word.phrase "hey jarvis"
hermes config set wake_word.openwakeword.model "hey_jarvis"
hermes config set wake_word.sensitivity 0.5中文模式(sherpa,任意短语):
uv pip install sherpa-onnx --python "D:/Hermes/hermes-agent/.venv/Scripts/python.exe"
hermes config set wake_word.enabled true
hermes config set wake_word.provider sherpa
hermes config set wake_word.phrase "贾维斯"在 Hermes 中操作:
/wake on # 开启监听
/wake off # 关闭
/wake status # 查看状态语音打断(barge_in)
v0.20.0 原生支持,说话即可打断 TTS 播报:
hermes config set voice.barge_in true压缩优化(v0.20.0 新增)
hermes config set compression.micro_compact true # 分步压缩,不卡顿
hermes config set compression.proactive_prune_tokens 4096 # 自动清理旧工具结果
hermes config set compression.progress_notices true # 显示压缩进度推荐完整配置(郑鑫,Windows CLI,中文)
wake_word:
enabled: true
provider: openwakeword
phrase: "hey jarvis"
sensitivity: 0.5
start_new_session: true
openwakeword:
model: "hey_jarvis"
voice:
auto_enable: true
auto_tts: true
barge_in: true
continuous_mode: true
silence_duration: 3.0
compression:
enabled: true
micro_compact: true
proactive_prune_tokens: 4096
progress_notices: true与旧方案的对比
v0.18.x ~ v0.19.x 需要手工打补丁到 tui_gateway/server.py 和 cli.py 来实现唤醒词。v0.20.0 的原生 /wake 系统:
| 维度 | 旧补丁方案 | v0.20 原生 |
| 检测方式 | STT 转录 → 文本匹配 | on-device 声学检测 |
| CPU 开销 | 高(STT 全时运行) | 低(轻量热词模型) |
| 准确度 | 差(STT 误识别严重) | 高(专业引擎) |
| 中文支持 | 极差 | sherpa 任意中文短语 |
| 维护 | 更新即覆盖 | 原生内置 |
旧补丁方案的详细记录见 voice-wake-word 和 cli-voice-wake-word 技能(仅作历史参考,v0.20.0+ 不要使用)。
故障排查
唤醒词不触发但 /voice on 正常(Windows MME 静音)
MME 驱动在持续监听场景间歇性掉线(日志反复报 mic delivers only silence),切到 WASAPI 设备即可。详见 references/windows-audio-troubleshooting.md。
快速修复:
# 1. 切到 sherpa + 中文唤醒词
hermes config set wake_word.provider sherpa
hermes config set wake_word.phrase "贾维斯"
# 2. 换 WASAPI 设备(先跑 pyaudio 脚本找索引,通常 hostapi=2 的麦克风设备)
hermes config set wake_word.input_device 9
# 3. 重载
/reload
/wake on唤醒词安装慢(scipy 35MB)
# 后台安装,不阻塞
uv pip install openwakeword --python "D:/Hermes/hermes-agent/.venv/Scripts/python.exe"
# scipy 约 35MB,国内 PyPI 腾讯云镜像约 2-3 分钟TTS 只生成文件不播放
这是 CLI 模式(hermes)的正常行为——text_to_speech 工具只存 MP3 不播放。要自动播放需用 TUI 模式(hermes tui)或开启 /voice on 后按 Ctrl+B 进入语音闭环。详见 voice-full-restore 技能。
STT "No speech detected"
最常见根因是 Silero VAD 把真实语音判为静音。修复:
hermes config set stt.local.vad false详见 voice-full-restore 技能的完整诊断流程。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

