packages/docs/cli/db.mdx
eliza dbDatabase management commands for the local agent database.
eliza db resetDelete the local agent database directory. All agent memory and conversation history will be lost. The database is re-created automatically on the next eliza start.
| Flag | Description |
|---|---|
--yes | Skip the confirmation prompt |
The database directory is located at ~/.eliza/workspace/.eliza/.elizadb by default (under ELIZA_STATE_DIR).
eliza db reset
eliza db reset --yes
# Interactive reset (prompts for confirmation)
eliza db reset
# Non-interactive reset (for scripts)
eliza db reset --yes
Run eliza db --help for the full list of available subcommands.