Why Node.js + the Voice Agent API
Most JavaScript voice agent tutorials are stitched together but every layer adds latency, cost, and a place to fail.
The Voice Agent API replaces that pipeline with a single WebSocket:
Multi-vendor JS pipeline Voice Agent API in Node.js
npm packages for AI 3+ (one per vendor)
API keys to manage 3+
Round trips per turn 3 (mic→STT→LLM→TTS→speaker)
Turn detection Wire up VAD or LLM endpointing
Barge-in Implement yourself
Tool calling Bridge LLM tool defs to your runtime
The endpoint is one URL: wss://agents.assemblyai.com/v1/ws. Send PCM16, get PCM16.…