Why is my deployed agent in LiveKit cloud in pendi...
# ask-ai
m
Why is my deployed agent in LiveKit cloud in pending mode? Is there a way to change status to Running?
✅ 1
t
Thanks for reaching out, onyii5119. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks — I’m responding about your agent staying in Pending and how to get it to Running. What happens: agents stay in Pending while the system builds, uploads, and provisions the container. It will automatically become Running once deployment completes and the agent registers. What you can do now: • Run:
lk agent status
to view current state. • Check build logs:
lk agent logs --log-type build
for build/upload failures. • Check runtime logs for registration: look for the log line "registered worker" which confirms the agent is ready. • Verify secrets/environment: ensure
LIVEKIT_API_KEY
,
LIVEKIT_API_SECRET
, and
LIVEKIT_URL
(or equivalent) are correct and present. • Look for common failures: Dockerfile errors, missing dependencies, or container registry/network permission issues. If you’d like, tell me: • the output of
lk agent status
• any errors from
lk agent logs --log-type build
and I’ll help interpret them and suggest next steps. Sources: Deploy and scale agents on LiveKit Cloud | LiveKit | Deploy LiveKit Agents with GitHub Actions | LiveKit | examples/drive-thru | livekit/livekit_composite | DeepWiki | Build Your First AI Voice Agent in Python: Complete Tutorial | LiveKit | Deployment reliability on LiveKit Cloud | LiveKit, with interactive elements
m
The agent was deployed successfully and running yesterday!
t
Thanks — since the agent was running yesterday, let’s narrow down what changed. Please share: • the output of
lk agent status
for that agent • the last 50 lines from runtime logs:
lk agent logs --lines 50
(or
lk agent logs --log-type build
if you suspect build issues) Also tell me if you recently changed the Docker image, secrets (`LIVEKIT_API_KEY`/`LIVEKIT_API_SECRET`/`LIVEKIT_URL`), or made config/registry permission changes. I’ll review the outputs and recommend next steps. , with interactive elements