Skip to content
Edith

Docs

Command reference

ed memory wipe

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:

Output
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:

Output
ed memory export ~/backups/memory --include-mediaed 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 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