Architecture and models
When is a speech API not enough to build a phone agent?
A speech API can listen or speak; a phone agent also needs session control, business logic, tool permissions and an actual call path. A bundled speech pipeline still may not provide the buyer's carrier or workflow.
Draw the missing boxes
Write down who handles media, transcribing, dialog state, tool calls, responses, routing and escalation. Name the vendor or team that owns each one before comparing features.
Identify what stays yours
Deepgram's managed socket can coordinate speech and a model. Cartesia Line combines audio orchestration with your reasoning code. Neither label answers who owns your CRM policy and phone numbers.
Test the hardest boundary
Demonstrate the transition from caller audio to an authenticated business action, then from failed action to human routing. Note which components you had to supply.
Sources and scope
Sources checked: .
- Deepgram: Voice Agent API
Explains coordinated speech recognition, language models, output speech and functions over a single connection.
- Cartesia: Line overview
Distinguishes Cartesia’s managed audio orchestration from the application’s developer-owned reasoning and workflow code.
- Twilio: ConversationRelay TwiML
Documents ConversationRelay as a voice session connecting Twilio with an application WebSocket.