This message was deleted.
# ask-ai
s
This message was deleted.
t
Thanks for reaching out, Billy. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Hey there! That error message, "package livekit-agents not found in any project files," usually means the deployment system can’t find the
livekit-agents
package in your project’s configuration files. No worries, here’s how you can fix it: • If you’re working with Python: Just add
livekit-agents
to your dependency file like
requirements.txt
or
pyproject.toml
. For example, in
requirements.txt
you’d add:
livekit-agents>=0.9.0
• If you’re using Node.js: Add
@livekit/agents
to your
package.json
. It would look something like this:
Copy code
{
  "dependencies": {
    "@livekit/agents": "^1.0.0"
  }
}
Once you’ve added the dependency, just run the usual install command (
pip install -r requirements.txt
for Python or
npm install
for Node.js) to get everything set up. If you’ve already added the package but still see the error, there’s a temporary workaround: you can use the
--skip-sdk-check
flag with the
lk agent deploy
command. Just a heads up though—this isn’t recommended for production environments. Sources: cmd/lk/agent.go | python-agent-example-app/requirements.txt | plugins/livekit/package.json
To help you out better, could you please confirm a few things for me? • Are you working on a Python or Node.js project? • Have you added the
livekit-agents
package to the right dependency file (like
requirements.txt
for Python or
package.json
for Node.js)? • Which command are you running when you see the timeout error during the SDK check? Knowing these details will really help us figure out what's going on and get you the right fix.
d
.txt
t
Thanks so much for confirming the project type and dependency! Could you share a bit more about the timeout error you’re seeing? • What exact command are you running when the timeout happens? • Are you using any special network settings or proxies that might be affecting the connection? • Have you had a chance to try running the command with the
--skip-sdk-check
flag to temporarily skip the SDK check? Getting these details will really help us figure out what’s going on and find the best fix for you.
d
im not using sdk skip to hack, it should work
t
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!