Deepgram Voice Agent API
Audio in, audio out, one connection. Deepgram runs the listen, think, and speak stages and the turn-taking between them. Your code streams the user's audio, plays the agent's audio, and answers function calls. [1][2]
Decide first: the Voice Agent API or an orchestrator
Both paths are supported; Deepgram publishes guides for LiveKit Agents and Pipecat. Choose by who should own the pipeline.
| Build on the Voice Agent API when | Use an orchestrator (LiveKit Agents, Pipecat, Vapi, Retell) with Deepgram STT and TTS underneath when |
|---|---|
| You want one WebSocket and no pipeline code. End-of-turn detection, barge-in, and the handoffs between stages are handled in-process. [2] | You already run that framework, or you need its transport (for example WebRTC rooms) and client libraries. |
| A Deepgram-managed LLM (OpenAI, Anthropic, Google, NVIDIA) billed through your Deepgram account is fine, or you point think.endpoint at your own OpenAI-compatible endpoint. [6] | You need per-stage control the agent does not expose: your own LLM loop, a TTS vendor Deepgram does not proxy, custom voice activity detection, or your own turn logic. |
| Your tools can run in your client or behind an HTTP endpoint you own (FunctionCallRequest / FunctionCallResponse). [9][10] | Your tools live inside the framework's agent runtime. |
For the orchestrator path, load the examples skill (LiveKit, Pipecat) and the SDK conversational-stt and text-to-speech skills. Deepgram's Pipecat guide runs Flux STT and Flux TTS (flux-alexis-en) underneath. The LiveKit guide runs three stages: LiveKit Inference (deepgram/aura-2 voice thalia, hosted and billed through LiveKit Cloud with no Deepgram API key), the Deepgram plugin with your own key on nova-3 and aura-2-thalia-en, then STTv2 flux-general-en and TTSv2 flux-alexis-en as the Flux STT and Flux TTS swap. [14] The rest of this skill covers the Voice Agent API path.
First request
The agent host is agent.deepgram.com; api.deepgram.com serves the other APIs. This call lists the LLM models Deepgram can run for you; check a think.provider.model value here before it goes into Settings. The endpoint is public: the Authorization header is optional and the call answers 200 without it, so it also confirms the host is reachable before you spend a key on the socket. [6]
curl -s https://agent.deepgram.com/v1/agent/settings/think/models \
-H "Authorization: Token $DEEPGRAM_API_KEY" # header optional on this endpoint
# 200 {"models":[{"id":"gpt-4o-mini","name":"...","provider":"open_ai"}, ...]}
Then open the WebSocket to wss://agent.deepgram.com/v1/agent/converse with the same Authorization: Token <key> header. The URL takes no query parameters; all configuration goes in the Settings message. [1][3][41] Regional endpoints are wss://api.eu.deepgram.com, wss://api.au.deepgram.com, and wss://api.in.deepgram.com, each on the same /v1/agent/converse path. [1][37] A browser cannot set headers on a WebSocket, so mint a short-lived JWT server-side with POST https://api.deepgram.com/v1/auth/grant (needs a Member-scope key; the TTL defaults to 30 seconds and ttl_seconds sets it longer; tokens from this endpoint do not work with the Manage APIs) and pass the token as the Sec-WebSocket-Protocol value on the handshake, the way the Browser Agent SDK does. The token only has to be valid at the handshake. [4]
Connect, configure, stream
- Connect. Wait for
{"type":"Welcome","request_id":"..."}. Send nothing before it. [5] - Send one
Settingsmessage. Wait for{"type":"SettingsApplied"}. Send no audio and no inject messages before it. [5] - Stream raw audio as binary WebSocket frames. Play the binary frames you receive. JSON events arrive as text frames on the same socket, so branch on frame type first. [5]
{
"type": "Settings",
"audio": {
"input": { "encoding": "linear16", "sample_rate": 16000 },
"output": { "encoding": "linear16", "sample_rate": 24000, "container": "none" }
},
"agent": {
"listen": { "provider": { "type": "deepgram", "version": "v2", "model": "flux-general-en" } },
"think": {
"provider": { "type": "open_ai", "model": "gpt-4o-mini", "temperature": 0.7 },
"prompt": "You are a concise phone assistant. Reply in one or two sentences.",
"functions": [ { "name": "get_weather", "description": "Current weather for a location",
"parameters": { "type": "object", "properties": { "location": { "type": "string" } }, "required": ["location"] } } ]
},
"speak": { "provider": { "type": "deepgram", "version": "v2", "model": "flux-alexis-en" } },
"greeting": "Hi, how can I help?"
}
}
Field notes, from the configure and model pages [3][6][7][8]:
listen: Flux STT (flux-general-en, orflux-general-multiwithlanguage_hints) requires"version": "v2"and gives model-integrated end-of-turn detection. Nova (nova-3) usesv1, the default, and addssmart_formatandlanguage. Dropversionwith a Flux STT model and the agent falls back to the v1 endpoint, whereflux-general-enis not a valid model. The top-levelagent.languageis deprecated; setlisten.provider.language(and, for third-party TTS,speak.provider.language) instead. [7][20][3]think:provider.typeisopen_ai,anthropic,google, ornvidia(managed;endpointoptional) orgroqoraws_bedrock(bring your own;endpointrequired). [6]google:provider.versionpicks the API:ai-studio-v1beta(AI Studio;v1betais an alias) orgemini-enterprise-agent-v1(Gemini Enterprise Agent, regional endpoints, fewer models). Omitted, it defaults toai-studio-v1betaonagent.deepgram.com,api.au.deepgram.com, andapi.in.deepgram.com, and togemini-enterprise-agent-v1onapi.eu.deepgram.com. [37]aws_bedrockauthenticates withprovider.credentials(typeiam, orstsplussession_token, withregion,access_key_id, andsecret_access_key) and pointsendpoint.urlathttps://bedrock-runtime.{region}.amazonaws.com/. [6]- Bring your own LLM by keeping
type: open_aiand settingendpoint.urlto any OpenAI Chat Completions-compatible URL, withendpoint.headersfor its auth. [6] - Pass an array of providers to get an ordered fallback chain: a request that fails or times out produces a
THINK_REQUEST_FAILEDwarning and goes to the next provider, every turn starts again from the first, and when all of them fail the session gets aFAILED_TO_THINKerror and the turn produces no reply. Managed-LLM prompts are limited to 25,000 characters; a longer prompt is truncated with aPROMPT_TOO_LONGwarning, not rejected. [6][13] nvidia: send the model string thatGET /v1/agent/settings/think/models(thecurlunder First request) returns, currentlynvidia/nemotron-3.5-lightning-30b-a3b.speak:"version": "v2"selects Flux TTS (flux-{voice}-{language});v1, the default when you name a provider, selects Aura (aura-2-thalia-en). Omitagent.speakentirely and you get Flux TTS withflux-kit-en. The agent accepts the English Flux TTS voices only; the other Flux TTS languages are/v2/speak-only for now, so a non-English agent voice is Aura-2 (v1) or a third-party provider. [8][3]- Flux TTS streams raw audio only:
encodingmust belinear16,mulaw, oralawandcontainermust benone. The fullaudio.output.encodingenum islinear16,mulaw,alaw,mp3,opus,flac, oraac,containerisnone,wav, orogg, andaudio.output.bitrateis bits per second; the compressed encodings, a container such aswav, andbitrateare Aura only, and Flux TTS answers any of them withINVALID_SETTINGS. [38][3] provider.speed(default1.0) is0.5to1.5in0.05steps on Flux TTS and any value from0.7to1.5on Aura; a value the family does not accept ends the session withFAILED_TO_SPEAK.provider.expressivity(whole numbers-2to2, default0) is Flux TTS (v2) only and fixed for the session; it is beta and0is the only value validated for production. [34]- Third-party TTS (
open_ai,eleven_labs,cartesia,aws_polly) takes anendpointwithurlandheaders, andwssURLs are accepted for Eleven Labs only;aws_pollyalso requirescredentials(typestsoriam, withregion,access_key_id,secret_access_key, andsession_tokenfor STS). Deepgram-managed Cartesia (type: cartesiawith noendpoint) is the exception. [8][12] provider.languageis for Cartesia and Eleven Labs; Deepgram voices carry their language in the model name (flux-kit-en,aura-2-sirio-es) and a Deepgram provider givenlanguageis rejected withUNPARSABLE_CLIENT_MESSAGE. [3][8]speakalso takes an array of providers as an ordered fallback chain: a failed request produces aSPEAK_REQUEST_FAILEDwarning and goes to the next provider, and when all of them fail the session ends withFAILED_TO_SPEAK. [8][12]agent.context.messagesreplays earlier turns as{"type":"History","role":"user","content":"..."}or{"type":"History","function_calls":[{"id":"...","name":"...","client_side":false,"arguments":"...","response":"..."}]}so a new session continues an old one. [39] WhileSettings.flags.historyistrue(the default) the server sendsHistorymessages in the same two shapes; set it tofalseto turn them off. [3][35]- Other knobs:
think.provider.reasoning_modeacceptslow,medium, orhighon OpenAI reasoning models such asgpt-5andgpt-5-mini[3].think.context_length(maxor a character count; customthink.endpointonly) and the top-leveltags,experimental, andmip_opt_outhave their ranges inreferences/agent.mdin theapiskill. [12] think_live: a second, Deepgram-run model beside the reasoning LLM, for backchannels, presence checks, frustration detection, and filler. It is invite-only Early Access and was called Conversational Mode (think_conversational) before; see Think Live below. [36]
Reusable agent configurations
Settings.agent is either the full agent object above or a Reusable Agent Configuration UUID string, the same agent: "YOUR_AGENT_ID" form the Browser Agent SDK takes. Create one with POST https://api.deepgram.com/v1/projects/{project_id}/agents and a body whose config is the JSON string of the agent block (plus optional metadata); the response's agent_id is the UUID. GET .../agents lists them, GET .../agents/{agent_id} reads one, PUT .../agents/{agent_id} changes metadata only (config is immutable; delete and recreate to change it), and DELETE .../agents/{agent_id} removes it. Deleting a configuration that a running service still references breaks that service, so move its sessions to a new UUID first. A Settings message with a UUID that does not resolve ends the session with INVALID_AGENT_ID; AGENT_ID_NOT_SUPPORTED means the server does not resolve UUIDs at all (a self-hosted build in unauthenticated mode). [32][13]
Template variables, at POST/GET /v1/projects/{project_id}/agent-variables and GET/PATCH/DELETE .../agent-variables/{variable_id}, hold values a config references by key in the DG_<NAME> form (uppercase letters, digits, _, -), written unquoted inside the JSON string. A variable can stand in for any JSON value, a whole provider object included, and is_sensitive must be false. Every project member can read configurations and variables, so keep API keys and passwords out of them. Full request and response schemas: references/agent.md in the api skill. [32]
Message lifecycle
There is no separate logging API. For per-session observability, persist every non-audio frame in both directions, keyed to the request_id from Welcome. [40][41]
| From | Message | What to do |
|---|---|---|
| server | Welcome | Send Settings. [5] |
| server | SettingsApplied | Start streaming audio. [5] |
| server | UserStartedSpeaking | Barge-in. Stop playback now and discard every buffered agent audio frame. [11] |
| server | ConversationText (role is user or assistant, content, and conversational_behavior, which is default unless Think Live produced a backchannel, presence_check, or filler line; with flux-general-multi, user-role messages also carry languages_hinted and languages, BCP-47 arrays, the second sorted by word count descending) | Show the transcript. [11] |
| server | AgentThinking (content) | Optional status. The LLM is working, possibly choosing a function. [11] |
| server | FunctionCallRequest | See the next section. [9] |
| server | FunctionCallCancelled (functions[] with id, name) | The user started speaking again. Stop work on each id and do not send a FunctionCallResponse for it; a late one is dropped. [33] |
| server | FrustrationDetected (count, escalated) | Think Live only. Run your escalation workflow when escalated is true; Deepgram does not transfer the call. [36] |
| server | AgentStartedSpeaking | The reply's audio is starting. [12] |
| server | LatencyReport | Per-turn latency breakdown, sent automatically after each turn: stt_latency, ttt_token_latency, ttt_text_latency, ttt_tool_latency, ttt_thinking_latency, tts_latency, total_latency. All are floats in seconds and each is optional, so read them defensively. [31] |
| server | binary frames | Agent audio. Queue it for playback. [5] |
| server | AgentAudioDone | Last chunk sent. The user may still be hearing buffered audio, so treat your output queue as the end-of-playback signal rather than this event. [11] |
| server | Error / Warning (code, description) | Error ends the session; reconnect. MAXIMUM_SESSION_LENGTH_REACHED is the 2-hour close; FAILED_TO_THINK and FAILED_TO_SPEAK mean every provider in the chain failed. Warning is informational: MAXIMUM_SESSION_LENGTH_APPROACHING at 1:55, PROMPT_TOO_LONG, THINK_REQUEST_FAILED, and SPEAK_REQUEST_FAILED; the think and speak field notes give each one's meaning. [13] |
| client | KeepAlive | Only while you are not sending audio, one every 8 seconds. It does not extend the 2-hour session limit. [15] |
Mid-call updates, each acknowledged by a matching *Updated event [16]:
UpdatePrompt{"type":"UpdatePrompt","prompt":"..."}adds to the current prompt; it does not replace it. To replace the prompt, sendUpdateThink. Ack:PromptUpdated. [16]UpdateSpeak{"type":"UpdateSpeak","speak":{"provider":{...}}}changes the voice. With Flux TTS the new voice starts on the next turn. Ack:SpeakUpdated. [16]UpdateListenchanges the listenmodelandlanguagemid-session and, on a Flux STT (v2) provider, the end-of-turn thresholds and language hints; keyterms update mid-session on Flux STT models only. It is a partial update, with one exception:language_hintsis cleared when omitted, so re-send it on everyUpdateListenthat should keep language biasing. Ack:ListenUpdated. [16][17]UpdateThinkreplaces the whole think block, functions included. Ack:ThinkUpdated. [16]UpdateThink_Live{"type":"UpdateThink_Live","think_live":{"provider":{...}}}replaces the wholethink_live.providerblock; omitted parameters fall back to their defaults, not to the previous values. Ack:ThinkLiveUpdated. [36][16]ForceEndTurnends the user's turn now and needs a Flux STT (v2) listen provider: with any other listen provider the server sends aFORCE_END_TURN_UNSUPPORTEDwarning and the turn does not end, and with no turn in progress it is ignored silently. [17]InjectAgentMessage{"type":"InjectAgentMessage","message":"...","behavior":"default"}makes the agent speak.defaultandqueueare refused withInjectionRefusedwhile the user is speaking;queuewaits behind the agent's own turn; onlyinterruptis never refused.InjectUserMessage{"type":"InjectUserMessage","content":"..."}sends typed user text. [18][5]
Function calling: your client runs the call
Define functions under agent.think.functions with name, description, and JSON-schema parameters. Leave out endpoint and the function is client-side. Add endpoint (url, method, headers) and Deepgram calls that HTTP endpoint itself. [3][12][19]
The server sends one FunctionCallRequest with a functions array. Each item has id, name, arguments (a JSON string; parse it), client_side, and sometimes thought_signature. [9]
client_side: true: run the function, then send{"type":"FunctionCallResponse","id":"<same id>","name":"get_weather","content":"<result text or JSON string>"}. Passthought_signatureback unchanged when present. The agent speaks once your response arrives. [9][10]client_side: false: the server ran it (anendpointfunction). No client action; the server's ownFunctionCallResponseis informational. [10]
Calls dispatch speculatively. The agent starts thinking as soon as speech-to-text is moderately confident the user has stopped, and a function call goes out the moment the LLM emits it, before the turn is confirmed. If the user keeps talking, the turn resumes and the server sends FunctionCallCancelled for every call you already received. Set defer_until_eot: true on a function whose side effect cannot be undone (ending a call, booking, charging a card): a deferred call is held until the turn is confirmed and discarded if the turn resumes, and deferring one function does not delay the others. An endpoint function that already reached your server is not rolled back, which is the reason to defer rather than rely on cancellation. [33]
During a slow call, send InjectAgentMessage with behavior: "queue" ("One moment while I look that up"), or with Think Live let the Think Live model word the filler (next section). [18][36] A call to a name you did not define ends the session with NON_EXISTENT_FUNCTION_CALLED. [13]
Think Live (Early Access)
Think Live runs a Deepgram model next to your reasoning LLM: the LLM still answers and calls functions, and the Think Live model backchannels while the user talks, prompts after a long silence, flags frustration, and covers waits with filler. It is invite-only Early Access on the normal /v1/agent/converse endpoint; from an unenrolled project a Settings message containing think_live is rejected with UNPARSABLE_CLIENT_MESSAGE. Deepgram says the surface will change during Early Access, so keep production traffic off it. [36]
Turn it on by adding agent.think_live.provider with type: "deepgram" and version: "v1"; no other provider type is accepted, and Think Live is off while the block is absent. agent.think stays the reasoning LLM (agent.think_reasoning is an accepted alias; sending both is an error). Parameters [36]:
agent_backchannel_sensitivity:0to1, default0.73;0disables agent backchannels.presence_check_max_count: default3,0disables.presence_check_interval_ms:1to60000, default4500, but the first check never fires before3000.frustration_max_count: how manyFrustrationDetectedevents beforeescalatedturnstrue;0stops the event entirely.restricted_terms: words the Think Live model will not say, default["human", "transfer"], so it never volunteers a handoff your agent cannot make. It does not constrain the reasoning LLM.
Filler during function calls is per function, on agent.think.functions[] [36]:
initial_agent_filler(defaultfalse): one line once the call is dispatched and the turn is confirmed, skipped if the LLM already announced the call or the response arrives first.agent_filler_max_count(default0) andagent_filler_interval_ms(default5000,1000to60000): further lines, each after that much silence since the agent last spoke. Calls in one turn share the schedule of the first call that asked for filler.- Either filler field set without
agent.think_live, or an interval out of range with a nonzero count, rejectsSettingswithINVALID_SETTINGSand closes the session.
Filler on demand: {"type":"InjectAgentMessage","behavior":"queue","is_dynamic":true} with no message. Sending message with is_dynamic: true, or neither, is UNPARSABLE_CLIENT_MESSAGE and closes the session. Without think_live, when the line cannot be generated, when a second request supersedes the first, or when the user starts speaking first, nothing is spoken and a DYNAMIC_FILLER_UNAVAILABLE warning arrives. [36][18]
Render or suppress ConversationText messages whose conversational_behavior is not default; they are scaffolding, not content. Filler lines are spoken through your speak provider and enter the conversation history. [36][11]
Telephony
Twilio Media Streams: answer the call with TwiML <Connect><Stream url="wss://your-host/media"/>. It is bidirectional; <Start><Stream> cannot carry the agent's voice. Set both audio.input and audio.output to mulaw at 8000 with container: none, base64-decode each Twilio media payload and send it as a binary frame, base64-encode agent audio back into Twilio media frames, and on UserStartedSpeaking send Twilio {"event":"clear","streamSid":...} so it drops its buffered audio. Reference bridges: deepgram-devs/twilio-voice-agent (Python SDK, last updated August 2026) and deepgram-devs/sts-twilio (raw WebSocket, last updated May 2025 — read it for the protocol, not as a current dependency). [20] The examples repository, which the examples skill routes to, has the Node version, 021-twilio-voice-agent-node. [21]
Other platforms with Deepgram guides: Genesys Cloud CX (Audio Connector), Amazon Connect, AudioCodes LiveHub, plus inbound and outbound reference apps. [2][22] The documentation index lists no SIP guide; bring SIP calls through one of those platforms or a gateway that yields a WebSocket audio stream. [23]
Pricing
The Voice Agent API is billed per minute of WebSocket connection time, and a Deepgram-managed LLM is billed through the same account. Speech-to-text alone is per minute of audio; text-to-speech alone is per 1,000 characters. Rates change; read <https://deepgram.com/pricing>. [1][24]
Common mistakes
Authorization: Bearer <api key>returns 401. API keys use theTokenscheme.Beareris only for JWTs from/v1/auth/grant. [4][25]- REST calls sent to
agent.deepgram.com, or the agent socket opened onapi.deepgram.com. Only/v1/agent/*lives on the agent host; the published OpenAPI lists the agent host first, so generated clients need an explicit base URL. [1][26] - Any message before
Welcome, audio beforeSettingsApplied, or a secondSettings:NON_SETTINGS_MESSAGE_BEFORE_SETTINGSorSETTINGS_ALREADY_APPLIED. OneSettingsper connection; reconnect to change it. [5][13] - A model name that does not exist. On
/v1/listenand/v1/speakit returns the same 403 body as a model your project cannot use,{"err_code":"INSUFFICIENT_PERMISSIONS",...}. CheckGET https://api.deepgram.com/v1/modelsfirst. There is no model namednova-3-conversational; conversational STT isflux-general-enwithversion: v2. [27][7] - A declared audio format that does not match the bytes:
USER_AUDIO_FORMAT. Encoding and sample rate inSettingsmust match what you stream. [13] - Parsing every frame as JSON. Agent audio is binary. The same applies to
/v1/speakand/v2/speak, whose success body is audio, so branch on frame type or HTTP status before parsing. [5][26] - Not stopping playback on
UserStartedSpeaking. Deepgram already stopped generating; the leftover in your buffer (or Twilio's) is what talks over the caller. [11][20] - Expecting
UpdatePromptto replace the prompt. It adds to the current prompt. UseUpdateThinkto replace it. [16][17] - Leaning on
KeepAlivepast two hours. Sessions close at 2:00:00 withMAXIMUM_SESSION_LENGTH_REACHEDafter aMAXIMUM_SESSION_LENGTH_APPROACHINGwarning at 1:55; start a new session and pass the old turns inagent.context. [13][15]
Use a different skill when
- You need the full message schema (every
Settingsfield, every client and server message): theapiskill'sreferences/agent.md, or the AsyncAPI-derived reference. [12] - You want a runnable app to clone:
startersskill, featurevoice-agent(node, bun, deno, flask, django, fastapi, go, java, csharp, ruby, php, cpp, rust). [28] - You want a minimal snippet for one feature (
connect,custom-llm,custom-tts,function-calling):recipesskill. [29] - You are wiring a third-party platform (Twilio, LiveKit, Pipecat, Vonage, SignalWire, CrewAI, OpenAI Agents SDK):
examplesskill. [21] - The agent runs in a browser:
browser-agentskill, for the four Browser Agent SDK packages on npm (@deepgram/agents,@deepgram/react,@deepgram/ui,@deepgram/agents-widget). They wrap the same socket this skill documents, including theSec-WebSocket-Protocoltoken handshake above. - You want language-idiomatic code:
deepgram-js-voice-agent,deepgram-python-voice-agent,deepgram-java-voice-agent,deepgram-rust-voice-agent,deepgram-dotnet-voice-agent, ordeepgram-go-voice-agent. The Go SDK v3 ships an agent WebSocket client underpkg/client/agent/v1/websocket. [30] All six SDKs typeFunctionCallCancelledanddefer_until_eot(JS from 5.12.0, Python from 7.10.0, Java from 0.10.1, and Go 3.10.0, Rust 0.14.0, and .NET 7.2.0 at the latest), but none of their voice-agent skills mentiondefer_until_eot, and only the Rust and .NET skills mentionFunctionCallCancelled, so take the message shapes from this skill. Think Live (think_live,UpdateThink_Live,FrustrationDetected, dynamicInjectAgentMessage,conversational_behavior) and the filler fields are typed in JS 5.17.0, Python 7.16.0, and Java 0.11.3 only, and no SDK voice-agent skill covers them yet; on Go, Rust, and .NET send them as raw JSON. The raw protocol above works in any language. [30][42] - You want the reusable-configuration and variable REST clients from an SDK:
client.voiceAgent(JS),client.voice_agent(Python),client.voiceAgent()(Java), and theAgentManageclient (.NET); Go ships them from 3.9.0 (pkg/api/manage/v1/agents.goandagent-variables.go), and Rust has none. [42] - You only need transcription with turn detection, or only synthesis: the SDK
conversational-stt,speech-to-text, ortext-to-speechskills. - You want to find a docs page:
docsskill. You want the MCP server:setup-mcpskill.
Sources
- https://developers.deepgram.com/docs/build-a-voice-agent (endpoint, regional hosts, usage by connection time)
- https://developers.deepgram.com/docs/voice-agent-architecture
- https://developers.deepgram.com/docs/configure-voice-agent
- https://developers.deepgram.com/guides/fundamentals/token-based-authentication and https://developers.deepgram.com/reference/auth/tokens/grant
- https://developers.deepgram.com/docs/voice-agent-message-flow
- https://developers.deepgram.com/docs/voice-agent-llm-models
- https://developers.deepgram.com/docs/voice-agent-stt-models
- https://developers.deepgram.com/docs/voice-agent-tts-models
- https://developers.deepgram.com/docs/voice-agent-function-call-request
- https://developers.deepgram.com/docs/voice-agent-function-call-response
- Server event pages: https://developers.deepgram.com/docs/voice-agent-user-started-speaking, https://developers.deepgram.com/docs/voice-agent-conversation-text, https://developers.deepgram.com/docs/voice-agent-agent-thinking, https://developers.deepgram.com/docs/voice-agent-agent-audio-done
- https://developers.deepgram.com/reference/voice-agent/voice-agent (AsyncAPI; client and server message list)
- https://developers.deepgram.com/docs/voice-agent-errors-warnings
- https://developers.deepgram.com/docs/livekit-integration and https://developers.deepgram.com/docs/pipecat-integration
- https://developers.deepgram.com/docs/agent-keep-alive
- https://developers.deepgram.com/docs/voice-agent-acknowledgements, https://developers.deepgram.com/docs/voice-agent-update-listen, https://developers.deepgram.com/docs/voice-agent-update-prompt, https://developers.deepgram.com/docs/voice-agent-update-speak
- https://developers.deepgram.com/docs/voice-agent-update-think and https://developers.deepgram.com/docs/voice-agent-force-end-turn
- https://developers.deepgram.com/docs/voice-agent-inject-agent-message and https://developers.deepgram.com/docs/voice-agent-inject-user-message
- https://developers.deepgram.com/docs/build-a-function-call
- https://developers.deepgram.com/docs/twilio-and-deepgram-voice-agent
- https://github.com/deepgram/examples (directories
021-twilio-voice-agent-node,030-livekit-agents-python,080-pipecat-voice-pipeline-python) - https://developers.deepgram.com/docs/inbound-telephony-agent and https://developers.deepgram.com/docs/genesys-and-deepgram-voice-agent
- https://developers.deepgram.com/llms.txt (full docs index; no SIP entry)
- https://deepgram.com/pricing (Voice Agent "calculated based on websocket connection time"; TTS "per 1,000 characters of input text")
- https://developers.deepgram.com/reference/authentication
- https://developers.deepgram.com/openapi.yaml (top-level
serverslistshttps://agent.deepgram.combeforehttps://api.deepgram.com) and theapiskill's "Common Mistakes" section - https://developers.deepgram.com/reference/manage/models/list (live catalog; no
nova-3-conversational) - https://developers.deepgram.com/docs/voice-agent-template-apps and https://github.com/deepgram-starters (the docs page omits Java;
java-voice-agentexists in the org) - https://github.com/deepgram/recipes/blob/main/COVERAGE.md
- https://github.com/deepgram/deepgram-go-sdk (
.agents/skills/deepgram-go-voice-agent, modulegithub.com/deepgram/deepgram-go-sdk/v3, agent client atpkg/client/agent/v1/websocket) - https://developers.deepgram.com/docs/voice-agent-latency-report
- https://developers.deepgram.com/docs/reusable-agent-configurations (base URL
https://api.deepgram.com/v1,configas a JSON string, immutableconfig, delete warning,DG_<VARIABLE_NAME>variables, no secrets) - https://developers.deepgram.com/docs/voice-agent-speculative-replies and https://developers.deepgram.com/docs/voice-agent-function-call-cancelled
- https://developers.deepgram.com/docs/voice-agent-tts-controls (
speedranges per family,expressivityon Flux TTS only) - https://developers.deepgram.com/docs/voice-agent-history
- https://developers.deepgram.com/docs/voice-agent-think-live (invite-only Early Access;
think_liveparameters and defaults, agent filler,UpdateThink_Live,FrustrationDetected,conversational_behavior; the page is not listed in llms.txt; the oldvoice-agent-conversational-modeURL redirects here) - https://developers.deepgram.com/reference/regional-endpoints (
/v1/agent/converseon the EU, AU, and IN hosts; Googlethink.provider.versionvalues and the default per endpoint) - https://developers.deepgram.com/docs/voice-agent-media-inputs-outputs (Flux TTS streams raw audio with no container or bit rate; compressed output and containers are Aura only)
- https://developers.deepgram.com/docs/voice-agent-conversation-context (
agent.context.messagesreplay of earlier turns) - https://developers.deepgram.com/docs/voice-agent-observability (no logging API; persist every non-audio frame keyed to
request_id;LatencyReportfields) - https://developers.deepgram.com/docs/voice-agent-settings, https://developers.deepgram.com/docs/voice-agent-inputs, and https://developers.deepgram.com/docs/voice-agent-outputs (the
Settingsmessage and the client and server message indexes) - https://github.com/deepgram/deepgram-dotnet-sdk (
AgentManageclient, 7.1.1) for the agent configuration REST clients; Go from 3.9.0 (pkg/api/manage/v1/agents.go, repository in [30]); JSclient.voiceAgent, Pythonclient.voice_agent, Javaclient.voiceAgent()