Skip to main content
Vision Agents provides a conversation system that maintains context across interactions. The system supports persistent storage through Stream Chat (default) and in-memory storage for development.
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.
Persistent conversations use Stream Chat automatically.

Persistent Conversations (Default)

By default, agents use StreamConversation which persists messages to Stream Chat. No additional setup required.
Messages are streamed to an ephemeral endpoint before persisting, ensuring real-time UI updates without affecting performance.

In-Memory Conversations

For development and testing, use InMemoryConversation:

Custom Conversation Storage

Implement the Conversation abstract base class for custom storage:

Message Structure

Each message includes:

Next Steps

Event System

React to conversation events

RAG for Agents

Add knowledge base access