Usage
The AgentSessionProvider doesn't render UI.
It is a context provider for the LiveKit session.
It is a context provider for the LiveKit session.
Features
- Provides the agent session to the descendant components
- Ensures remote participants’ audio tracks (microphones and screen share) are audible
Installation
pnpm dlx shadcn@latest add @agents-ui/agent-session-provider
Props
| Prop name | Type | Default |
|---|---|---|
session | UseSessionReturn | – |
children | ReactNode | – |
room? | Room | – |
volume? | number | – |
muted? | boolean | – |