helpful-answer-96121
09/16/2025, 10:17 PMtall-airline-16756
09/16/2025, 10:17 PMtall-airline-16756
09/16/2025, 10:17 PMlivekit-agents package listed in your project's dependency files during its SDK version check. This check is there to help make sure your project is using a compatible version of the LiveKit Agents SDK.
For Python projects, the CLI looks for livekit-agents in common dependency files like requirements.txt, pyproject.toml, Pipfile, and others. If the package isn’t mentioned in any of these files, you’ll see this error—even if the package is installed locally.
Here’s how you can fix this:
• Make sure you’ve installed the LiveKit Agents SDK by running pip install livekit-agents.
• Add livekit-agents to your project’s dependency file, such as requirements.txt.
If you’re in a pinch and want to skip this check temporarily, you can use the --skip-sdk-check flag with the lk agent command. Just a heads-up, though—this isn’t recommended for production environments.
Sources: cmd/lk/agent.go | agents/README.mdhelpful-answer-96121
09/16/2025, 10:23 PMtall-airline-16756
09/16/2025, 10:24 PMrequirements.txt file! I understand how tricky it can be when the LiveKit CLI doesn’t detect livekit-agents, even though it’s listed in your dependencies. This usually happens if the installed version is below the minimum required SDK version.
No worries though! To get this sorted, please make sure you have the latest version of livekit-agents installed. You can easily upgrade it by running:
pip install --upgrade livekit-agents
Once you’ve upgraded, try deploying your agent again. If you run into any more issues or have questions, I’m here to help—just let me know!
Sources: pkg/agentfs/sdk_version_check.gohelpful-answer-96121
09/16/2025, 10:28 PMtall-airline-16756
09/16/2025, 10:29 PMrequirements.txt file placed in the root directory of your project?helpful-answer-96121
09/16/2025, 10:30 PMtall-airline-16756
09/16/2025, 10:30 PM