Files
hermes-voice-gateway/Dockerfile
hermes d05459476d feat: voice-gateway service (PR B + PR C in single PR)
Stack: rudolf-T worker, x86_64, 14.5 GiB RAM.
Replaces hermes-agent STT/TTS providers with direct faster-whisper +
piper (hermes-agent's TTS providers only target file-based voice-bubble
delivery, not streaming PCM for browser WebSocket).

Bridge: browser <-> voice-gateway <-> hermes-proxy <-> Hermes.

* gateway/server.py: aiohttp app with /ws, /healthz, / static
* gateway/pipeline.py: STT (faster-whisper base), LLM (POST
  /v1/chat/completions streaming), TTS (piper ru_RU-denis-medium)
* gateway/static/: browser mic capture + WS playback with VAD-based
  flush on silence
* Dockerfile on nousresearch/hermes-agent:v2026.8.3
* compose.yaml with placement node.hostname==rudolf-T

Wire protocol documented in server.py header and README. Half-duplex
by design; barge-in and server-VAD deferred until proven needed.
2026-09-12 21:20:12 +00:00

15 lines
304 B
Docker

FROM nousresearch/hermes-agent:v2026.8.3
RUN pip install --no-cache-dir \
"websockets>=12,<14" \
"aiohttp>=3.9" \
"faster-whisper>=1.0" \
"piper-tts>=1.2" \
"onnxruntime>=1.17"
WORKDIR /app
COPY gateway/ /app/
EXPOSE 8765
CMD ["python", "-m", "gateway.server"]