PipelineVoice Agent Pipeline
- Phone Call
- PlivoWebSocket
- Your ServerRelayWebSocket
- Voice Agent PipelineSTTLLMTTS
Why a Hosted Pipeline
- Control per stage: pair the LLM you want with the voice you want, and swap either independently
- Provider-managed orchestration: turn-taking, interruption, and stage hand-offs are the provider’s job, not yours
- Text in the loop: transcripts of both sides come for free, which makes logging, evaluation, guardrails, and compliance straightforward
- Mature building blocks: the LLM stage is a standard text model, so instruction adherence and tool calling behave the way they do in text applications
Trade-Offs
- Compared with speech-to-speech models: the cascade adds latency, one hop per stage, and tone and emotion in the caller’s voice are lost when audio is flattened to text between stages. If minimal latency and audio-native conversation matter most, see Speech-to-Speech Models.
- Compared with orchestrating your own pipeline: whether with Pipecat or a fully custom pipeline built on the raw audio stream, self-orchestration lets you use any STT, LLM, or TTS service and own the turn-taking logic. A hosted pipeline limits you to the stages, providers, and behaviors its platform supports.
- Vendor lock-in: your agent’s configuration, prompts, tools, and tuning live inside one provider’s platform, and its per-stage choices only span that provider’s partner catalog. Migrating later means rebuilding the agent, not just repointing an endpoint.
Other Ways to Build
Speech-to-Speech Models
A single audio-native model instead of a cascade, for the lowest latency
Pipecat
An open-source framework that manages the Plivo transport and lets you compose your own STT, LLM, and TTS pipeline in code