Vision Agents uses Stream Video for real-time WebRTC transport by default. External WebRTC transports are supported as well. Most AI providers offer free tiers to get started.
Installation
LLM (Responses API)
Uses the Responses API (default for GPT-5+).| Name | Type | Default | Description |
|---|---|---|---|
model | str | "gpt-5.4" | Model (e.g., "gpt-5.4") |
api_key | str | None | API key (defaults to OPENAI_API_KEY env var) |
base_url | str | None | Custom API endpoint |
max_tool_rounds | int | 3 | Maximum tool-call rounds per response |
ChatCompletionsLLM
Works with any OpenAI-compatible API (Together AI, Fireworks, DeepSeek, etc.).| Name | Type | Default | Description |
|---|---|---|---|
model | str | — | Model identifier |
api_key | str | None | API key (defaults to OPENAI_API_KEY env var) |
base_url | str | None | Custom API endpoint |
tools_max_rounds | int | 3 | Maximum tool-call rounds per response |
Function Calling
Events
The OpenAI plugin no longer documents provider-specific event classes for normal app code. Prefer core events and provider-agnostic response handling.Next Steps
OpenAI Realtime
Speech-to-speech over WebRTC
OpenAI TTS
Text-to-speech synthesis