> ## 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.

<Info>
  Vision Agents requires a [Stream](https://getstream.io/try-for-free/) account
  for real-time transport. Most providers offer free tiers to get started.
</Info>

<Tip>
  Deepgram also provides low-latency [text-to-speech](/integrations/tts/deepgram). You can use both in the same agent.
</Tip>

## 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.
</Warning>

## 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

<CardGroup cols={2}>
  <Card title="Deepgram TTS" icon="volume-high" href="/integrations/tts/deepgram">
    Low-latency text-to-speech
  </Card>

  <Card title="Build a Voice Agent" icon="microphone" href="/introduction/voice-agents">
    Get started with voice
  </Card>
</CardGroup>
