Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_voice-assistant

Real-Time Voice Assistant Pipeline (VAD, Streaming ASR, LLM & TTS)

6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![Real-Time Voice Assistant Pipeline (VAD, Streaming ASR, LLM & TTS) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_voice-assistant/opengraph-image)](https://archos.sageideas.dev/d/dgm_voice-assistant)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_voice-assistant)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_voice-assistant" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Real-Time Voice Assistant Pipeline (VAD, Streaming ASR, LLM & TTS) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["Voice Users"]
  n1_1["WebRTC Media Edge"]
  n2a_2["Streaming ASR"]
  n2b_3["Streaming LLM Core"]
  n3_4["Streaming TTS Out"]
  downstream_5["Downstream & OTel"]
  client_0 -->|"1. Audio · SRTP"| n1_1
  n1_1 -->|"2a. Transcribe · WSS"| n2a_2
  n1_1 -.->|"2b. Gen tokens · gRPC"| n2b_3
  n2a_2 -->|"3a. Stream PCM · SRTP"| n3_4
  n2b_3 -->|"3b. Apply · Async"| n3_4
  n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5

COMPONENT STACK (6)

  • Voice UsersSTATELESS
    Full-duplex WebRTC audio
  • WebRTC Media EdgeSTATELESS
    VAD + barge-in interruption
  • Streaming ASRSTATELESS
    Chunked partial transcripts
  • Streaming LLM CoreSTATELESS
    Sentence-chunked tool + reply
  • Streaming TTS OutSTATELESS
    First-sentence audio synthesis
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. Voice Users → WebRTC Media Edge (Audio)[SRTP]
  2. WebRTC Media Edge → Streaming ASR (Transcribe)[WSS]
  3. WebRTC Media Edge → Streaming LLM Core (Gen tokens)[gRPC]
  4. Streaming ASR → Streaming TTS Out (Stream PCM)[SRTP]
  5. Streaming LLM Core → Streaming TTS Out (Apply)[Async]
  6. Streaming TTS Out → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →