I have an agent with status "Pending." How do I d...
# ask-ai
b
I have an agent with status "Pending." How do I delete it?
t
Thanks for reaching out, Mat. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Regarding deleting an agent with status "Pending": you can remove it using the LiveKit CLI. To delete by ID: 1. Run:
Copy code
lk agent delete --id <agent_id>
Replace
<agent_id>
with your agent's ID. If you have a
livekit.toml
for that agent in your current directory, you can run:
Copy code
lk agent delete
The CLI will start the deletion and the agent status will update in the LiveKit Cloud dashboard. Would you like help locating the agent ID or running the command? Sources: Agent deployment CLI reference | LiveKit docs
b
The CLI tells me: unable to delete agent: This action isn’t available for Builder agents. Please use the Cloud dashboard instead.
t
You're seeing that message because agents created with Agent Builder cannot be removed via the CLI. Delete the agent from the LiveKit Cloud dashboard instead. To delete a Builder agent: 1. Open the LiveKit Cloud Console. 2. Select your project, then choose Agents from the left sidebar. 3. Find and open the agent with status "Pending." 4. Click the Delete (trash) or Remove option and confirm. If you’d like, tell me the agent ID or where you're stuck and I’ll guide you step‑by‑step. Sources: Agent Builder | LiveKit docs
b
I found the agent but there is no button saying Delete or Remove.
t
Thanks — you're in the right place. A few quick checks so I can guide you to the Delete option: 1. Which view are you in when you open the agent — the Agents list page, or the agent's detail page? 2. When you see the agent row, do you see an ellipsis (⋯), an Actions dropdown, or any icons on the right side of the row? If so, what options appear when you click it? 3. Do you have Admin/project-owner permissions on this LiveKit project? (Only users with sufficient permissions can delete agents.) If you're on the agent detail page and there is no Actions menu, send me the agent ID and which project you're in (just the project ID), and I’ll walk you through the exact place to look next. Sources: https://blog.livekit.io/announcing-agent-builder-a-pathway-to-code/#/portal| | Deploying to production | LiveKit Docs
b
The Agents list used to have an ellipsis in the panel for the agent. It is no longer there. And I created the project so I have full permissions.
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!