# Delete an AI Agent

> How to permanently delete an AI Agent from Settings, what gets removed, and why the Delete button may be unavailable: an active subscription, your last remaining Agent, your user role, or an Enterprise plan.

You can delete an AI Agent yourself from **Settings**. Deleting is permanent and removes the Agent together with all of its conversations, so Quickchat asks you to confirm before anything is removed.

## Delete an AI Agent

1. Open **Settings → Organization**.
2. Scroll to the **Danger Zone** card at the bottom of the page.
3. Click **Delete this AI Agent**.
4. Read the confirmation dialog and click **Delete** to confirm.

## What gets deleted

Deleting an AI Agent removes it and everything attached to it, including its identity and prompt, its Knowledge Base articles, its AI Actions, and its full conversation history.

:::caution
**This action cannot be undone.** All conversations belonging to the Agent are lost, and Quickchat cannot restore them afterwards. If you only want the Agent to stop replying, disconnect it from its channels instead of deleting it.
:::

## Why the Delete button may be unavailable

The **Delete this AI Agent** button is visible in the Danger Zone at all times, but it is disabled in a few situations.

### The AI Agent has an active subscription

Only Agents on the free plan can be deleted directly. If the Agent has a paid subscription, the dialog explains that you need to **cancel the subscription first**, and offers a **Go to billing** button that takes you straight to the billing tab. Cancel the subscription there, then come back and delete the Agent.

### It is the only AI Agent on your account

You cannot delete your last remaining Agent, because an account always has at least one. Create another AI Agent first, then delete the one you no longer need.

### Your user role does not allow it

Deleting an AI Agent is limited to organization admins. If your role does not permit it, the button is disabled with a **Not available for your user role** tooltip. Ask an admin on your account to do it for you.

### You are on the Enterprise plan

On the Enterprise plan the button is disabled with a **Contact support to delete this AI Agent** tooltip. Enterprise accounts are deleted manually by our team, so [contact us](https://quickchat.ai/contact) and we will take care of it.

:::tip
Leaving the first-run setup also offers to delete the Agent it created, through the **Delete and return** button. That is the same permanent deletion described here, and it is only offered when you already have another AI Agent to return to.
:::
