# ed memory wipe

> Deletes Memory's entire memory: every episode, source, observation, belief, claim, fact, conversation, entity, hypothesis and the vault files behind them.

- Canonical URL: https://getedith.pro/docs/cli/memory/wipe
- Updated: 2026-12-02

Deletes Memory's entire memory: every episode, source, observation,
belief, claim, fact, conversation, entity, hypothesis and the vault files
behind them. The reasoner configuration, connector tokens and machine records
survive, so Memory is empty but still set up.

Usage:

```
ed memory wipe [--yes] [--json] [--endpoint <url>]
```

| Name | Type / values | Default | What it does |
| --- | --- | --- | --- |
| `--yes` | flag | off | Apply the preview. Without it the command lists the targets and changes nothing. |
| `--json` | flag | off | Emit JSON on stdout. |
| `--endpoint` | URL | resolution order | Memory API base URL. |

Examples:

```
ed memory export ~/backups/memory --include-media
ed memory wipe --yes
```

Wiping cannot be undone. Without `--yes`, the command previews the memory records and
vault files it would delete without contacting the backend. Export first, inspect the
preview, then add `--yes`. This
differs from `ed memory stack down --wipe --yes` in what survives: confirmed
`stack down --wipe` destroys the containers and their volumes, models included, while
`wipe` empties the database and vault through the API and leaves the stack
running and configured. After a wipe, [`ed memory import`](https://getedith.pro/docs/cli/memory/import) of
an export brings the memory back.

The API requires the literal confirmation `everything`; the CLI sends it only
after `--yes` passes. A JSON preview returns
`{action,targets,applied:false,changed:false}`. A confirmed JSON result also includes
`{episodesDropped,sourcesDropped,observationsDropped,conversationsDropped,
beliefsDropped,vaultCleared}` with `applied:true`. `vaultCleared: false` means at least one vault
directory could not be removed even though the database tables were already
truncated. Treat that result as a partial wipe and inspect the vault volume.

This command does not delete the export you made on this Mac. Verify that the
backup's `mediaFailed` array is empty before relying on it for recovery.

## Where to go next

- [`ed memory export`](https://getedith.pro/docs/cli/memory/export), do this first
- [`ed memory import`](https://getedith.pro/docs/cli/memory/import), the road back
- [`ed memory`](https://getedith.pro/docs/cli/memory), the rest of this group
- [All `ed` commands](https://getedith.pro/docs/cli)

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
