:wave: Hello, team!
# ask-ai
s
đź‘‹ Hello, team!
t
Thanks for reaching out, Gaurav. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Hey there! What can I help you with today?
s
i just want know, i have created my agent it deployed on livekit cloud. it shows is sandbox. but it woorking stop if i stop that in my location machine
t
Hey! So, the reason your agent stops working when you shut it down on your local machine is because, in sandbox mode, the agent process is actually running right there on your computer—not on LiveKit Cloud. The sandbox environment takes care of hosting the frontend app or token server, but the agent's logic is still running locally. If you want your agent to keep running even when your local machine is off, you’ll need to deploy it to LiveKit Cloud using the
lk agent deploy
command. This will create a container image of your agent and run it on LiveKit’s infrastructure, so it can keep going no matter what’s happening with your computer. Hope that helps!
s
I did it lk agent deploy
t
Since you’ve deployed your agent using
lk agent deploy
, here are some friendly steps to help you troubleshoot if it’s not working quite right: 1. Check Agent Status: Try running
lk agent status
to see if your agent is up and running smoothly. This will give you info like the version, region, and how much resource it’s using. 2. Monitor Logs: Checking the logs can really help spot what’s going on: ◦ Use
lk agent logs
to see the runtime logs and get a feel for the agent’s behavior. ◦ Use
lk agent logs --log-type=build
to peek at any build issues that might have popped up during deployment. 1. Use the LiveKit Cloud Dashboard: This dashboard is super handy for real-time metrics, error tracking, and resource use—great for spotting any hiccups. 2. Verify Deployment Version: Run
lk agent versions
to double-check that you’ve got the right version deployed. 3. Restart or Rollback: If things still seem off, you can restart the agent with
lk agent restart
or roll back to an earlier version using
lk agent rollback
. If you want a hand with any of these steps or have more questions, just let me know—I’m here to help! Sources: Deploying to production | LiveKit Docs | autocomplete/fish_autocomplete | Log collection | LiveKit Docs | Log collection | LiveKit Docs | Deploy and scale agents on LiveKit Cloud
s
Some time i got Agent not joining the room
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!