The example repo for livekit agent is not working ...
# ask-ai
n
The example repo for livekit agent is not working https://github.com/livekit-examples/agent-starter-react. getting error
Agent didnot join the call
. Please help
t
Thanks for reaching out, hema. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Hey there! The error "Agent did not join the call" usually pops up when the agent doesn’t connect to the room within 20 seconds. Here are a few things you can check to get things back on track: • Make sure your backend agent (like your Python or Node.js starter) is set up correctly and running. It needs to connect to the same LiveKit project using the right API key and secret. • Double-check that the agent is actually connecting to the LiveKit server and joining the room. • If you’re using SIP integration, confirm that the agent name in your dispatch rule exactly matches the agent name in your WorkerOptions. Also, the Voice AI Quickstart guide linked in the error message has some great step-by-step setup tips. Feel free to reach out if you want me to walk you through anything or if you have more questions—I’m here to help! Sources: components/provider.tsx | templates.yaml | SIP troubleshooting guide | LiveKit Docs
n
• Make sure your backend agent (like your Python or Node.js starter) is set up correctly and running. It needs to connect to the same LiveKit project using the right API key and secret. maybe i missed this part, isnt it part of same repo? or should i run it separately?
t
Hey there! Just a quick heads-up: the livekit agent-starter-react repo is all about the frontend, so it doesn’t come with the backend agent setup. You’ll want to run a separate backend agent—like the Python starter or Node.js starter—to connect everything to the same LiveKit project. The README in the repo actually points this out and includes links to some handy backend agent examples. If you’d like, I’m here to help you get the backend agent up and running—just let me know! Sources: package.json | templates.yaml
n
thank you
https://github.com/livekit-examples/agent-starter-node - I'm setting up this node agent and looks like the documentation needs to be updated.
Copy code
pnpm run download-files
Missing script: download-files
t
Hey there! Just a heads-up—the
download-files
script isn’t part of the agent-starter-node repo. Usually, this kind of thing is used in Python-based agents to grab ML model files that plugins need. Could you help me out by clarifying a couple of things? • Are you using a plugin in your Node.js agent that needs external model files? • Are you running your agent locally or deploying it with Docker? Knowing this will make it easier to guide you on the best way to download any files you might need. Thanks! Sources: taskfile.yaml | README.md | Infrastructure & Deployment | livekit/livekit_composite | DeepWiki | Plugin | LiveKit Agents | taskfile.yaml