Overview - AG2

Index

As conversational AI evolves, real-time voice interactions are becoming essential in domains like customer support, healthcare, and virtual assistance. AG2 expands its capabilities by introducing RealtimeAgent, a powerful agent which enables seamless real-time communication through multiple adapters.

How RealtimeAgent Works

RealtimeAgent acts as the central component for handling voice-based interactions. It integrates with various adapters, allowing developers to choose the best communication channel for their applications. The agent supports:

Available Communication Methods for RealtimeAgent

1. WebSocket Audio Adapter

For web-based applications, WebSocketAudioAdapter eliminates the need for external telephony services, offering:

🔗 Explore the Walk-through

2. WebRTC Integration

For high-quality, peer-to-peer audio streaming, WebRTC integration provides:

🔗 Explore the Walk-through

3. Twilio Audio Adapter

AG2’s TwilioAudioAdapter connects RealtimeAgent to Twilio’s telephony services, allowing seamless voice call handling with:

🔗 Explore the Walk-through