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
[](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 UsersSTATELESSFull-duplex WebRTC audio
- WebRTC Media EdgeSTATELESSVAD + barge-in interruption
- Streaming ASRSTATELESSChunked partial transcripts
- Streaming LLM CoreSTATELESSSentence-chunked tool + reply
- Streaming TTS OutSTATELESSFirst-sentence audio synthesis
- Downstream & OTelSTATELESSConsumers, metrics & SLOs
REQUEST & DATA FLOW (6)
- Voice Users → WebRTC Media Edge (Audio)[SRTP]
- WebRTC Media Edge → Streaming ASR (Transcribe)[WSS]
- WebRTC Media Edge → Streaming LLM Core (Gen tokens)[gRPC]
- Streaming ASR → Streaming TTS Out (Stream PCM)[SRTP]
- Streaming LLM Core → Streaming TTS Out (Apply)[Async]
- Streaming TTS Out → Downstream & OTel (Emit /)[OTLP/API]