> ## Documentation Index
> Fetch the complete documentation index at: https://visionagents.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Deepgram STT

[Deepgram](https://deepgram.com) provides fast, accurate real-time speech-to-text with built-in turn detection. Ideal for conversational agents.

> [!NOTE]
>
> Vision Agents uses [Stream Video](https://getstream.io/video/) for real-time WebRTC transport by default. [External WebRTC transports](https://visionagents.ai/integrations/introduction-to-integrations.md#edge-transport) are supported as well. Most AI providers offer free tiers to get started.

> [!TIP]
>
> Deepgram also provides low-latency [text-to-speech](https://visionagents.ai/integrations/tts/deepgram.md). You can use both in the same agent.

## Installation

```sh theme={null}
uv add "vision-agents[deepgram]"
```

## Quick Start

```python theme={null}
from vision_agents.core import Agent, User
from vision_agents.plugins import deepgram, gemini, getstream

agent = Agent(
    edge=getstream.Edge(),
    agent_user=User(name="Assistant", id="agent"),
    instructions="You are a helpful assistant.",
    llm=gemini.LLM("gemini-3-flash-preview"),
    stt=deepgram.STT(),
    tts=deepgram.TTS(),
)
```

> [!WARNING]
>
> Set `DEEPGRAM_API_KEY` in your environment or pass `api_key` directly.

## Parameters

```python theme={null}
stt = deepgram.STT(
    model="nova-3",
    language="en",
    eager_turn_detection=True,
)
```

| Name | Type | Default | Description |
| - | - | - | - |
| `model` | `str` | `"nova-3"` | Deepgram model |
| `language` | `str` | `"en"` | Language code |
| `eager_turn_detection` | `bool` | `False` | Enable faster turn detection |
| `api_key` | `str` | `None` | API key (defaults to `DEEPGRAM_API_KEY` env var) |

## Next Steps

> [card] [Deepgram TTS](https://visionagents.ai/integrations/tts/deepgram.md)
>
> Low-latency text-to-speech

> [card] [Build a Voice Agent](https://visionagents.ai/introduction/voice-agents.md)
>
> Get started with voice


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.