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

# OpenAI Realtime

[OpenAI](https://openai.com) provides native speech-to-speech over WebRTC with built-in STT/TTS. No separate speech services required.

<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>
  OpenAI also provides a traditional [LLM](/integrations/llm/openai) (Responses API and ChatCompletions) and standalone [text-to-speech](/integrations/tts/openai).
</Tip>

## Installation

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

## Quick Start

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

agent = Agent(
    edge=getstream.Edge(),
    agent_user=User(name="Assistant", id="agent"),
    instructions="You are a helpful voice assistant.",
    llm=openai.Realtime(model="gpt-realtime", voice="marin", fps=1),
)
```

## Parameters

| Name    | Type  | Default            | Description                            |
| ------- | ----- | ------------------ | -------------------------------------- |
| `model` | `str` | `"gpt-realtime-2"` | OpenAI realtime model                  |
| `voice` | `str` | `"marin"`          | Voice ("marin", "alloy", "echo", etc.) |
| `fps`   | `int` | `1`                | Video frames per second                |

## Next Steps

<CardGroup cols={2}>
  <Card title="OpenAI LLM" icon="brain" href="/integrations/llm/openai">
    Responses API and ChatCompletions
  </Card>

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