How much time does it take to deploy an agent to c...
# ask-ai
m
How much time does it take to deploy an agent to cloud via CLI? I have noticed that the agent isn't available till the agent name shows up in the livekit dashboard. How do I check the progress of this?
t
Thanks for reaching out, Varun. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
To help you keep an eye on the progress of deploying an agent to the cloud via CLI, here are some handy commands you can use: • Check Deployment Status: Simply run
lk agent status
to see how your agent is doing. Here are some key statuses to look out for: ◦ Setting Up: Your agent is registered and waiting to be provisioned. ◦ Building: LiveKit Cloud is busy building the Docker image. ◦ Scheduling: The agent is being deployed to the infrastructure. ◦ Running: Deployment is all set, and your agent is up and running. • Inspect Logs: You can use
lk agent logs
to get detailed logs: ◦ `lk agent logs --log-type=build`: Check out the build logs if you want to troubleshoot any issues during the build phase. ◦ `lk agent logs`: Stream runtime logs to keep an eye on how the agent behaves after deployment. These commands are designed to make it easier for you to track your deployment’s progress and tackle any challenges along the way. If you have any questions or need further assistance, feel free to reach out—I'm here to help! Sources: Agent deployment CLI reference | LiveKit Docs | Log collection | LiveKit Docs | Deploying to production | LiveKit Docs