strong-pizza-31661
07/21/2025, 5:06 PMtall-airline-16756
07/21/2025, 5:06 PMtall-airline-16756
07/21/2025, 5:07 PMfrom livekit.plugins import (
openai,
silero
)
async def entrypoint(ctx: agents.JobContext):
await ctx.connect()
session = AgentSession(
llm=openai.realtime.RealtimeModel(),
vad=silero.VAD.load()
)
await session.start(
room=ctx.room,
agent=Assistant()
)
This example shows the multimodal agent (openai.realtime.RealtimeModel()) being configured with Silero VAD (silero.VAD.load()) in an AgentSession.
Both VoicePipelineAgent and MultimodalAgent support VAD for turn detection, and the integration is officially supported.
While there is an explicit example, detailed documentation for customizing VAD parameters with the multimodal agent may be limited or incomplete in some sources.