Architecture and models
Can you switch speech providers without rebuilding a voice agent?
A modular pipeline makes it easier to exchange speech providers, but changing a model still changes voice IDs, streaming events, transcripts and behaviour. The handoff points are where portability breaks first.
Capture a working baseline
Save raw inputs or synthetic equivalents, supported codec and locale, transcript references and first audible response. Record which voice, language options and event types the app assumes.
Replace one provider only
Adjust adapter configuration when available, then rerun phone and browser samples. Test interruptions and text normalization because surface compatibility does not prove turn behaviour.
Separate reusable and vendor-specific settings
Keep dialogue rules outside provider-specific adapters. Map any prosody or custom dictionaries explicitly rather than silently dropping them.
Sources and scope
Sources checked: .
- LiveKit: Agent pipeline types
Describes modular pipeline and realtime model setups, including pluggable components.
- Pipecat: Ecosystem overview
Distinguishes the open-source orchestration framework from client SDKs and optional managed hosting.
- Cartesia: Line overview
Distinguishes Cartesia’s managed audio orchestration from the application’s developer-owned reasoning and workflow code.