> ## Documentation Index
> Fetch the complete documentation index at: https://docs.memanto.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# memanto agent delete

> Permanently delete an agent, optionally purging its memory namespace from Moorcheh cloud.

# memanto agent delete

Permanently delete an agent. Optionally purges its memory namespace from Moorcheh cloud.

```bash theme={null}
memanto agent delete AGENT_ID [OPTIONS]
```

**Arguments:**

* `AGENT_ID` - Agent ID to delete (required)

**Options:**

* `-f, --force` - Skip the initial delete confirmation prompt

**Examples:**

Delete with confirmation prompts:

```bash theme={null}
memanto agent delete customer-support
```

Force delete without confirmation:

```bash theme={null}
memanto agent delete customer-support --force
```

**Interactive Flow:**

```
Delete agent 'customer-support'? This cannot be undone. [y/N]: y
Keep a copy of agent memory on Moorcheh cloud for free? [Y/n]: Y
  Deleting agent 'customer-support'...
✓ Agent 'customer-support' deleted
  Cloud memories preserved at console.moorcheh.ai/namespaces
```

If you choose to purge cloud memories:

```
Keep a copy of agent memory on Moorcheh cloud for free? [Y/n]: n
  Deleting agent 'customer-support'...
✓ Agent 'customer-support' deleted
  Purging cloud namespace 'memanto_agent_customer-support'...
✓ Cloud memories purged
```

**Notes:**

* Prompts for confirmation unless `--force` is used
* Asks whether to keep or purge cloud memories in Moorcheh
* Cloud memories default to **preserved** (free of charge)
* If the agent has an active session, it is automatically cleared
* Only removes local agent metadata by default; Moorcheh namespace deletion is your choice
* This action cannot be undone
