# deepgram voice agent setup

> Expert configuration for Deepgram Voice Agent API focusing on telephony audio, low-latency tuning, and function calling.

deepgram voice agent setup is a paid AI agent skill on Agensi by MMA Digital Labs, in APIs & Backend. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $19 (one-time purchase)
- Creator: [MMA Digital Labs](https://www.agensi.io/creators/mma-digital-labs)
- Category: [APIs & Backend](https://www.agensi.io/skills/apis-backend)
- Version: 1.0
- Last updated: 2026-11-23
- Security: scan passed (2026-11-23); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/deepgram-voice-agent-setup
- Tags: api, deepgram, voice-ai, telephony, websocket

## About this skill

Voice-driven agents live or die by latency and audio configuration. This skill provides the technical precision required to configure the Deepgram Voice Agent API, moving past generic LLM prompting into the specifics of WebSocket settings, telephony audio formats, and barge-in tuning. It bridges the gap between a text-based prompt and a production-ready voice bot that handles phone line noise and real-time interruptions.

### What it does
- **Settings Configuration** defines the JSON structure for `listen`, `think`, and `speak` modules to ensure API acknowledgement.
- **Audio Optimization** sets encoding and sample rates for SIP/RTP (mu-law 8kHz) versus browser (L16 24kHz) to prevent robotic or static artifacts.
- **TTS Integration** configures internal Deepgram voices or external HTTPS endpoints for third-party providers like ElevenLabs.
- **Tool Orchestration** implements function calling for server-side actions like `transfer_to_agent` and `end_call`.
- **Latency Control** tunes barge-in sensitivity and response timing to achieve sub-1s turnaround.

### How it works
1. **Define the Stack** by providing your target platform (Browser vs Telephony) and API version.
2. **Configure Settings** by generating the initial WebSocket handshake JSON including model selection and greeting.
3. **Map Functions** to create the tool schemas for transfers, hang-ups, or data retrieval.
4. **Debug and Test** using the provided 5-point test plan to validate silence handling and interruptions.

### Frameworks & tools
Built for the Deepgram Voice Agent API (WebSocket). Compatible with SIP/RTP telephony gateways, AudioSocket, and browser-based WebAudio implementations using linear16 or mu-law encodings.

### Why this beats prompting it yourself
Generic AI doesn't know the specific field names, sample rate requirements for phone lines, or the necessity of public HTTPS for self-hosted TTS endpoints. This skill prevents common failures like mismatched encodings or stalled agents caused by incorrect function-call response handling.

### Use cases
- **AI Receptionist** for handling inbound SIP calls with automated transfers.
- **Voice Assistant** for web apps requiring low-latency browser audio.
- **Automated Outbound** bots for simple scheduling or data collection.
- **Custom TTS Pipelines** utilizing self-hosted Kokoro or Chatterbox endpoints.

### Known limitations
Does not provide the proxy server code required to protect API keys from the browser. Model and voice IDs must be verified against current Deepgram documentation as these change frequently.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the deepgram voice agent setup skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What specific technical problems does this skill solve compared to standard LLM prompting?

This skill provides the exact JSON configurations and WebSocket parameters required to move beyond text prompts into a functional voice bot, specifically addressing audio artifacts, high latency, and telephony-specific encoding issues.

### Can this skill be used for both web-based assistants and traditional phone systems?

It is fully compatible with both browser-based WebAudio (L16) and telephony gateways (G.711 mu-law), ensuring clear audio regardless of whether your agent lives on a website or a phone line.

### What specific deliverables are included in the purchase of this skill?

You will receive a complete implementation blueprint including WebSocket handshake structures, tool-calling schemas for transfers/hang-ups, and a 5-point latency testing protocol.

### Does this skill include the server-side code to host the API keys?

The skill provides the logic for the `listen`, `think`, and `speak` modules; however, you will still need a proxy server or middleware to securely host your Deepgram API keys and handle the initial connection.

### Does this setup support third-party TTS providers like ElevenLabs?

Yes, it includes specialized configurations for the 'speak' module that allow you to route audio through external HTTPS endpoints, such as ElevenLabs or self-hosted TTS providers.

### Is this skill locked into a specific version of the Deepgram API?

While designed for the Deepgram Voice Agent API, the tool-calling schemas and audio optimization logic can be adapted for most WebSocket-based voice frameworks with minor modifications.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
