┃ .venv\Lib\site-packages\websockets\legacy\http...
# ask-ai
g
┃ .venv\Lib\site-packages\websockets\legacy\http.py ┃ .venv\Lib\site-packages\websockets\legacy\protocol.py ┃ .venv\Lib\site-packages\websockets\legacy\server.py ┃ .venv\Lib\site-packages\websockets\protocol.py ┃ .venv\Lib\site-packages\websockets\server.py Created [Dockerfile] package livekit-agents not found in any project files
t
Thanks for reaching out, Dhruv. 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," pops up when the LiveKit CLI tool can’t find the
livekit-agents
package in your project’s dependency files. No worries though, here’s a friendly guide to help you fix it: 1. Double-check the package name and installation: - If you’re using Python, run:
pip install livekit-agents
- For Node.js, try:
npm install @livekit/agents
2. Make sure the package is listed in the right file: - In Python projects, look for
livekit-agents
in
requirements.txt
,
pyproject.toml
, or another supported dependency file. - For Node.js projects, check that
@livekit/agents
is inside
package.json
under
dependencies
. 3. Take a peek at your project structure: Your project should have at least one recognized dependency file like
requirements.txt
for Python or
package.json
for Node.js. 4. Use versions that play nicely together: The version of
livekit-agents
(Python) or
@livekit/agents
(Node.js) needs to meet the minimum version required by the CLI tool. If you’ve installed the package but it’s still not showing up, it might help to double-check that your dependency file is properly formatted and sitting in your project’s root folder. Sources: pkg/agentfs/sdk_version_check_test.go | plugins/livekit/package.json
g
I am using requirements.txt and it is properly formatted
t
Since your
requirements.txt
looks well formatted, could you help me out by confirming a couple of things? • Is
livekit-agents
explicitly listed in the file, and does it include a version specifier (like
livekit-agents>=1.0.0
)? • What exact error message are you seeing? • Which tool or system is doing the detection (for example,
livekit-cli
or a custom script)? Knowing these details will really help me understand the issue better and find the best solution for you. Sources: examples/other/text-to-speech/requirements.txt | requirements.txt | requirements.txt | python-agent-example-app/requirements.txt | pkg/agentfs/sdk_version_check_test.go
g
Yes the package is listed in the requirements.txt and i am using livekit cli
t
Since
livekit-agents
is listed in your
requirements.txt
and you're using the LiveKit CLI, here are a few friendly steps to help you sort out the detection issue: 1. Check for other project files: The CLI tends to look for files like
poetry.lock
or
pyproject.toml
before
requirements.txt
. If you have those files, just double-check that
livekit-agents
is mentioned there too. 2. Verify version formatting: Make sure the entry in
requirements.txt
is formatted properly, something like: -
livekit-agents>=1.0.0
-
livekit-agents==1.0.11
-
livekit-agents~=1.0
3. Confirm minimum version: The CLI needs a minimum version of
livekit-agents
. So, please check that the version in your
requirements.txt
meets or goes beyond this (like
1.0.0
). 4. Check file location: Make sure your
requirements.txt
is sitting in the right project root folder and that the CLI can access it without any issues. 5. Run CLI with verbose logging: If you can, try running the CLI with verbose logging turned on. This can show you which files it’s checking and might give clues about why it’s missing
livekit-agents
. If you’re still stuck, just let me know! It’d be helpful to know if you have other project files like
poetry.lock
or
pyproject.toml
, or you can share the exact
livekit-agents
version listed in your
requirements.txt
. I’m here to help! Sources: pkg/agentfs/sdk_version_check.go | examples/other/text-to-speech/requirements.txt | requirements.txt | agent/requirements.txt | python-agent-example-app/requirements.txt
g
Copy code
absl-py==2.3.1
agents==1.4.0
aiofiles==24.1.0
aiohappyeyeballs==2.6.1
aiohttp==3.12.15
aiosignal==1.4.0
altair==5.5.0
altgraph==0.17.4
annotated-types==0.7.0
anyio==4.10.0
asgiref==3.8.1
asttokens==2.4.1
astunparse==1.6.3
attrs==25.3.0
audioread==3.0.1
av==15.0.0
babel==2.17.0
beautifulsoup4==4.12.3
blinker==1.9.0
cachetools==5.5.2
camelot-py==0.11.0
certifi==2024.6.2
cffi==1.16.0
chardet==5.2.0
charset-normalizer==3.3.2
click==8.1.7
cloudpickle==3.1.1
colorama==0.4.6
contourpy==1.3.0
cryptography==43.0.0
cycler==0.12.1
decorator==5.1.1
dill==0.3.8
distlib==0.3.8
distro==1.9.0
Django==5.0.6
django-cors-headers==4.4.0
django-filter==25.1
django-ledger==0.7.8
django-stubs==5.2.0
django-stubs-ext==5.2.0
django-treebeard==4.7.1
djangorestframework==3.15.2
djangorestframework_simplejwt==5.5.0
docstring_parser==0.17.0
dotenv==0.9.9
et-xmlfile==1.1.0
eval_type_backport==0.2.2
executing==2.1.0
Faker==37.4.0
filelock==3.15.4
Flask==3.0.3
flatbuffers==25.2.10
fonttools==4.53.1
fpdf==1.7.2
frozendict==2.4.4
frozenlist==1.7.0
gast==0.6.0
gitdb==4.0.12
GitPython==3.1.44
google-api-core==2.25.1
google-auth==2.40.3
google-cloud-speech==2.33.0
google-cloud-texttospeech==2.27.0
google-genai==1.31.0
google-pasta==0.2.0
googleapis-common-protos==1.70.0
grpcio==1.74.0
grpcio-status==1.74.0
gTTS==2.5.3
gym==0.26.2
gym-notices==0.1.0
h11==0.16.0
h5py==3.14.0
html5lib==1.1
httpcore==1.0.9
httpx==0.28.1
idna==3.7
importlib_metadata==8.7.0
itsdangerous==2.2.0
Jinja2==3.1.4
joblib==1.4.2
JPype1==1.5.0
jsonschema==4.23.0
jsonschema-specifications==2025.4.1
jupyterlab_widgets==3.0.13
keras==3.11.3
kiwisolver==1.4.7
lazy_loader==0.4
libclang==18.1.1
librosa==0.10.2.post1
livekit==1.0.12
livekit-agents==1.2.6
livekit-api==1.0.5
livekit-blingfire==1.0.0
livekit-plugins-deepgram==1.2.6
livekit-plugins-google==1.2.6
livekit-protocol==1.0.5
llvmlite==0.43.0
lxml==5.3.0
Markdown==3.8.2
markdown-it-py==4.0.0
MarkupSafe==3.0.2
matplotlib==3.9.2
mdurl==0.1.2
ml_dtypes==0.5.3
MouseInfo==0.1.3
msgpack==1.1.0
multidict==6.6.4
multitasking==0.0.11
mypy==1.11.2
mypy-extensions==1.0.0
namex==0.1.0
narwhals==1.37.1
nest-asyncio==1.6.0
numba==0.60.0
numpy==1.26.4
ofxtools==0.9.5
opencv-python==4.10.0.84
openpyxl==3.1.5
opentelemetry-api==1.36.0
opentelemetry-exporter-otlp==1.36.0
opentelemetry-exporter-otlp-proto-common==1.36.0
opentelemetry-exporter-otlp-proto-grpc==1.36.0
opentelemetry-exporter-otlp-proto-http==1.36.0
opentelemetry-proto==1.36.0
opentelemetry-sdk==1.36.0
opentelemetry-semantic-conventions==0.57b0
opt_einsum==3.4.0
optree==0.17.0
packaging==24.1
pandas==2.2.2
parso==0.8.4
passlib==1.7.4
pdfminer.six==20231228
pdfplumber==0.11.2
peewee==3.17.6
pefile==2023.2.7
pillow==10.4.0
pipenv==2024.0.1
platformdirs==4.2.2
plotly==5.24.0
pooch==1.8.2
prometheus_client==0.22.1
prompt_toolkit==3.0.47
propcache==0.3.2
proto-plus==1.26.1
protobuf==6.32.0
psutil==7.0.0
psycopg2==2.9.9
pure_eval==0.2.3
pyarrow==20.0.0
pyasn1==0.6.1
pyasn1_modules==0.4.2
pyAudioAnalysis==0.3.14
PyAutoGUI==0.9.54
pycparser==2.22
pydantic==2.11.7
pydantic_core==2.33.2
pydeck==0.9.1
PyGetWindow==0.0.9
Pygments==2.18.0
pyinstaller==6.9.0
pyinstaller-hooks-contrib==2024.7
PyJWT==2.9.0
PyMsgBox==1.0.9
pyparsing==3.1.4
pypdf==4.3.1
pypdfium2==4.30.0
pyperclip==1.9.0
PyRect==0.2.0
PyScreeze==1.0.1
python-dateutil==2.9.0.post0
python-dotenv==1.1.1
pytweening==1.2.0
pytz==2024.1
pywhatkit==5.4
pywin32==306
pywin32-ctypes==0.2.2
qrcode==8.0
referencing==0.36.2
regex==2024.7.24
reportlab==4.2.2
requests==2.32.3
rich==14.1.0
rpds-py==0.24.0
rsa==4.9.1
ruamel.yaml==0.18.15
ruamel.yaml.clib==0.2.12
schedule==1.2.2
scikit-learn==1.5.2
scipy==1.14.1
setuptools==70.1.1
six==1.16.0
smmap==5.0.2
sniffio==1.3.1
sounddevice==0.5.2
soundfile==0.12.1
soupsieve==2.6
soxr==0.5.0.post1
sqlparse==0.5.0
stack-data==0.6.3
streamlit==1.45.0
tabula-py==2.9.3
tabulate==0.9.0
tenacity==9.0.0
tensorboard==2.20.0
tensorboard-data-server==0.7.2
tensorflow==2.20.0
termcolor==3.1.0
threadpoolctl==3.5.0
toml==0.10.2
tornado==6.4.2
tqdm==4.66.5
traitlets==5.14.3
types-protobuf==4.25.0.20240417
types-PyYAML==6.0.12.20250516
typing-inspection==0.4.1
typing_extensions==4.12.2
tzdata==2024.1
tzlocal==5.2
urllib3==2.2.2
virtualenv==20.26.3
virtualenvwrapper-win==1.2.7
watchdog==6.0.0
watchfiles==1.1.0
wcwidth==0.2.13
webencodings==0.5.1
websockets==15.0.1
Werkzeug==3.1.3
wheel==0.45.1
widgetsnbextension==4.0.13
wikipedia==1.4.0
wrapt==1.17.3
yarl==1.20.1
yfinance==0.2.41
zipp==3.23.0
t
Hey there! Just a quick heads-up: the LiveKit CLI needs a minimum version of
livekit-agents
to work smoothly. I noticed your
requirements.txt
has version
1.2.6
. To keep things running without a hitch: 1. Check the minimum required version: The CLI actually checks this live from the server. If your version
1.2.6
is a bit behind, the CLI might not recognize it. You can easily update to the latest version by running
pip install --upgrade livekit-agents
. 2. Skip the version check: If you’re sure your version works just fine, you can skip this check by adding the
--skip-sdk-check
flag when you run the CLI. Give updating a try and let me know how it goes! I’m here if you need any more help. Sources: cmd/lk/agent.go | python-agent-example-app/requirements.txt | agent/requirements.txt | requirements.txt | test/agents/requirements.txt
g
Error checking SDK version: package livekit-agents not found in any project files, skipping... twirp error resource_exhausted: maximum number of agents reached (1/1)
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!
g
how do i check thr agent logs
I have deployed an agent, i want to sstop it