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

# Vogent

Vogent uses neural models to predict when a speaker has completed their conversational turn. Provides intelligent turn-taking for natural conversation flow.

> [!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[vogent]"
```

## Quick Start

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

> [!NOTE]
>
> Models download automatically on first use.

## Parameters

| Name | Type | Default | Description |
| - | - | - | - |
| `buffer_in_seconds` | `float` | `2.0` | Audio buffer duration |
| `confidence_threshold` | `float` | `0.5` | Turn completion threshold (0-1) |
| `sample_rate` | `int` | `16000` | Audio sample rate |

## Turn Signals

```python theme={null}
from vision_agents.core.turn_detection import TurnStarted, TurnEnded
from vision_agents.plugins import vogent

turn_detection = vogent.TurnDetection()

async for signal in turn_detection.output:
    if isinstance(signal, TurnStarted):
        print(f"User started speaking: {signal.participant.user_id}")
    elif isinstance(signal, TurnEnded):
        print(f"User finished speaking: confidence={signal.confidence}")
```

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