i deployed an agent on livekit cloud and i want to...
# ask-ai
n
i deployed an agent on livekit cloud and i want to stop or remove it to redploy how ?
t
Thanks for reaching out, Mohamed. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
You're asking how to stop/remove a LiveKit Cloud agent so you can redeploy it — here's the quickest way. 1. Find your agent ID: ◦ Run:
lk agent list
1. Delete the agent: ◦ If you have the agent ID:
Copy code
lk agent delete --id CA_your_agent_id
or
Copy code
lk agent destroy --id CA_your_agent_id
• If your project has a
livekit.toml
with the agent ID, run:
Copy code
lk agent delete
The CLI will use the ID from the file. 1. (Optional) Verify it's removed: ◦ Run:
lk agent list
again to confirm it’s gone. 1. Redeploy: ◦ Create a new agent with:
Copy code
lk agent create
Notes: Deleting the agent stops active sessions and removes the deployment; a new agent ID will be generated when you create it. Would you like me to walk through any of these steps with your current CLI output (paste what you see after
lk agent list
)? Sources: Agent deployment CLI reference | LiveKit docs | Deploying to production | LiveKit Docs