Created [Dockerfile] package livekit-agents not fo...
# ask-ai
f
Created [Dockerfile] package livekit-agents not found in any project files Error occurs when trying to deploy agent on livekit cloud through livekit CLI. the requirements.txt does contain the livekit-agents package Is there any underlying issue or a fix to this? Thanks in advance
t
Thanks for reaching out, Adheesh. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
It looks like you're seeing the error "package livekit-agents not found in project files" because the LiveKit CLI can't find the
livekit-agents
package in your project files, even though it's listed in
requirements.txt
. No worries—here are some friendly steps to help you sort this out: 1. Double-check the Syntax: Make sure the
livekit-agents
line in your
requirements.txt
follows the right format, like
livekit-agents>=X.X.X
or
livekit-agents==X.X.X
. It should be on a line by itself and not commented out. 2. Check the File Location: Confirm that your
requirements.txt
file is in the same directory where you’re running the
lk agent
command. 3. Look Out for Project Type Conflicts: Make sure there aren’t other files like
package.json
in your root directory, as those might confuse the CLI into thinking it’s a different kind of project. If you’re still stuck, you can temporarily skip this check by adding the
--skip-sdk-check
flag when you run
lk agent create
or
lk agent deploy
. But ideally, fixing the detection will give you a smoother experience down the road. Sources: pkg/agentfs/sdk_version_check.go | python-agent-example-app/requirements.txt | agent/requirements.txt | moviefone/requirements.txt | server/requirements.txt