what is the agent CLI delete command ?
# ask-ai
a
what is the agent CLI delete command ?
t
Thanks for reaching out, pavan. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Hi there! To help you delete an agent in LiveKit using the CLI, you can use this command:
Copy code
lk agent delete [options] [working-dir]
If you prefer, there's also a handy alias you can use:
Copy code
lk agent destroy [options] [working-dir]
When you want to specify the Agent ID, just include the
--id
flag. If you have a
livekit.toml
file in your working directory, the ID from that file will be used automatically. For example:
Copy code
lk agent delete --id CA_MyAgentId
Don’t worry, this command will always ask you to confirm before it deletes the agent, so you have full control. Sources: Agent deployment CLI reference | LiveKit Docs | autocomplete/fish_autocomplete