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

# Mistral Voxtral

[Mistral Voxtral](https://docs.mistral.ai/capabilities/audio_transcription#realtime-transcription) provides real-time speech-to-text via WebSocket streaming with automatic language detection and low-latency transcription.

> [!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.

## Installation

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

## Quick start

```python theme={null}
from vision_agents.core import Agent, User
from vision_agents.plugins import mistral, gemini, deepgram, 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=mistral.STT(),
    tts=deepgram.TTS(),
)
```

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

## Parameters

| Name | Type | Default | Description |
| - | - | - | - |
| `api_key` | `str` | `None` | API key (defaults to `MISTRAL_API_KEY` env var) |
| `model` | `str` | `"voxtral-mini-transcribe-realtime-2602"` | Model identifier |
| `sample_rate` | `int` | `16000` | Audio sample rate in Hz (8000, 16000, 22050, 44100, 48000) |

## Turn detection

Mistral Voxtral STT does not include built-in turn detection. Pair it with an external turn detection plugin like [Smart Turn](https://visionagents.ai/integrations/turn-detection/smart-turn.md) or [Vogent](https://visionagents.ai/integrations/turn-detection/vogent.md).

```python theme={null}
from vision_agents.plugins import mistral, smart_turn

agent = Agent(
    stt=mistral.STT(),
    turn_detection=smart_turn.TurnDetection(),
    # ... other config
)
```

## Next steps

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

> [card] [Build a Video Agent](https://visionagents.ai/introduction/video-agents.md)
>
> Add video processing


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