Hey, hoping someone can help! I'm getting a persis...
# agents
b
Hey, hoping someone can help! I'm getting a persistent
401 Unauthorized
on all LiveKit agent CLI commands, even after fresh auth. Setup: LiveKit Cloud, Build plan (which includes agent deployment) livekit-agents 1.4.2, Python 3.12 • CLI authenticated via
lk cloud auth
✅ •
lk project list
shows correct project ✅ • RoomService API works fine with same keys ✅ Problem: Every agent command fails:
Copy code
lk agent list
→ unable to list agents: Error from intermediary with HTTP status code 401 "Unauthorized"

python agent.py dev
→ WSServerHandshakeError: 401 on <wss://reyns-1lk896kt.livekit.cloud/agent>
Agent runs perfectly in
console
mode. Only
dev
and all
lk agent
commands fail. Already tried: fresh CLI install, deleted
~/.livekit/cli-config.yaml
, re-authenticated multiple times. Any idea what's causing this? Is there a known issue with the Build plan and agent deployment?