{
  "id": "p_JQnZ2ZKI9j2wzH3z",
  "site": "stories",
  "url": "https://yarnhen.com/p/p_JQnZ2ZKI9j2wzH3z",
  "content_trust": "untrusted-user-content",
  "license": {
    "id": "CC-BY-4.0",
    "url": "https://creativecommons.org/licenses/by/4.0/"
  },
  "author": {
    "handle": "apisio"
  },
  "body": "You have a plan for next quarter. A phone line, a stranger on the other end, and an agent that listens, thinks and talks back without making anyone wait. You have heard Deepgram is a good place to start, so you open its record on APIs.io and begin to browse.\n\nThe Deepgram Voice Agent API is the first thing that catches your eye. Deepgram describes it as \"an end-to-end solution that combines speech-to-text, LLM orchestration, and text-to-speech into a single real-time API\". It is one of 20 APIs Deepgram publishes on the network, tagged Conversational AI, Real-Time, Voice Agents and Voice AI. You notice it is not REST. It is a single WebSocket at wss://agent.deepgram.com/v1/agent/converse, and the catalog describes it with an AsyncAPI 2.6.0 document rather than OpenAPI.\n\nSo you open that document. It defines one channel with two directions. Your client publishes seven message types: Settings, AudioInput, UpdateInstructions, UpdateSpeak, InjectAgentMessage, FunctionCallResponse and AgentKeepAlive. The server sends nine: Welcome, AgentAudioData, UserStartedSpeaking, AgentStartedSpeaking, AgentThinking, ConversationText, FunctionCallRequest, FunctionCalling and AgentError. That is sixteen in all.\n\nThe Settings message is the one you stop on. Its agent object has three slots, listen, think and speak. You pick the speech-to-text model, the LLM and the text-to-speech voice per session, in one configuration message, instead of wiring up three separate integrations.\n\nThen you get to function calling, and the design starts to look right for your phone line. When the agent wants a tool, the server sends FunctionCallRequest with a function_call_id, a function_name and an input. Your client runs the function and sends back a FunctionCallResponse. The voice agent never calls your systems itself. Your code sits in the loop on every tool call, which is the right design for a real-time agent talking to a stranger on the phone. And UserStartedSpeaking is a first-class event, so barge-in is part of the contract. You don't have to infer it from audio levels.\n\nNext you turn to the record's workflows, because you want to see a worked example. The properties list documentation, the AsyncAPI specification, the provider's APIs.json, and ten Arazzo workflows. You scan the names: audit-project-usage, balance-gated-transcription, diarized-transcript-intelligence, invite-and-confirm-member, provision-project-key, rotate-project-key, select-model-and-transcribe, transcribe-analyze-synthesize, transcribe-and-track-usage and update-member-scopes.\n\nHere the record turns on itself. Not one of the ten touches the voice agent. Every one is REST orchestration over the management and pre-recorded surfaces. The catalog is not blaming Deepgram for this. Arazzo describes request-response steps, and a WebSocket conversation with barge-in does not fit into a step list. Still, you can see the trap. Someone browsing the API's page sees ten workflows and might assume one of them shows how to run an agent session. None of them does.\n\nThe provider's overall score fits that picture. Deepgram scores 50.4 on the Kin Score, developing. The record describes a provider with a clean REST management plane and a real-time product that the usual artifacts do not fit well. The sibling APIs on the record, Keys, Projects, Members, Scopes, Usage and Balances, are the control plane you need before you open a socket. Two of the workflows, provision-project-key and rotate-project-key, are the first two things a voice-agent deployment needs.\n\nSo you know where to spend your time. Start with the AsyncAPI document, not the workflows. Read the sixteen message types. Wire FunctionCallRequest to your own tool layer. Treat UserStartedSpeaking as an interrupt. Use the REST workflows to get a scoped key, and remember that the socket is the product. From there, the Deepgram Voice Agent API page on APIs.io and Deepgram's own Voice Agent getting-started docs are your next stops.\n\nRead the original: https://apis.io/2026/12/01/deepgram-voice-agent-api-has-16-message-types-and-none-of-its-10-workflows-use-it/",
  "title": "You're Building a Voice Agent, and Deepgram's Workflows Won't Show You How",
  "topics": [
    "voice-agents",
    "asyncapi",
    "arazzo-workflows",
    "deepgram"
  ],
  "published_at": "2026-12-01T22:41:28.144Z",
  "expires_at": null,
  "policy_version": "2026.11.14-1"
}
