Hey, i'm running into an issue where my voice agen...
# ask-ai
l
Hey, i'm running into an issue where my voice agent remains stuck in the "initializing" state when integrating with my custom frontend. Here’s my setup: • The agent is hosted locally in Docker (no logs are being generated there). • I’m using
@livekit/components-react
• I can see the session appear in cloud.livekit.io, but the agent never progresses beyond the "initializing" phase. • Interestingly, the agent works fine when I use the official template frontend — it connects and responds as expected. • This leads me to believe the issue is tied to something in the frontend integration.
t
Thanks for reaching out, Tigran. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thank you for providing the details of your setup. Based on the information available, the "initializing" state indicates that the agent is connected but not yet ready. Since the issue seems to be tied to your custom frontend integration, here are a few steps you can try: • Ensure that your custom frontend is using a compatible version of
@livekit/components-react
and that it matches the requirements for the voice assistant agent (e.g., livekit-agents version >= 0.9.0). • Double-check the configuration and initialization code in your custom frontend to ensure it aligns with the official template frontend that works correctly. • Verify that all required dependencies and network configurations are properly set up in your custom frontend. • Since no logs are being generated in Docker, ensure that the agent's Docker container is running correctly and that there are no issues with its setup. If the issue persists, please let me know, and I can escalate this to a human specialist for further investigation. Sources: AI voice agents | LiveKit Docs | BarVisualizer | React Components | LiveKit Docs