Upgrade & Uninstall¶
Upgrade¶
Pre-upgrade Checklist¶
Upgrade Notes
Breaking changes may occur between Beta versions. Before upgrading:
- Read the CHANGELOG for details on changes
- Back up your data directory
- Run database migration if required
Back up data:
Database Migration¶
If the database schema has changed between versions, run the migration command after upgrading:
Automatic Migration Detection
echo-agent run checks the schema version on startup. If migration is needed, it displays a prompt and refuses to start — run echo-agent migrate to resolve.
Checkpoint Recovery¶
If issues arise after upgrading, roll back to a previous checkpoint:
# List available checkpoints
echo-agent checkpoint list
# Restore a specific checkpoint
echo-agent checkpoint restore <checkpoint-id>
Uninstall¶
Package Only¶
Full Cleanup¶
Uninstall the package and remove all data:
# Uninstall Python package
pip uninstall echo-agent
# Remove data directory (config, database, memory)
rm -rf ~/.echo-agent
# If installed via the one-line script, also remove the venv
rm -rf ~/.echo-agent/venv
rm -f ~/.local/bin/echo-agent
Data is Unrecoverable
Deleting ~/.echo-agent permanently removes all data, including:
- Configuration file (
config.yaml) - Conversation history and memory database
- Accumulated skills and evolution records
- Scheduled task configurations
Make sure to back up important data before deletion.
Clean Up Playwright Browsers¶
If Playwright browser dependencies were installed:
# List installed browsers
playwright install --list
# Remove all Playwright browsers
rm -rf ~/.cache/ms-playwright # Linux
rm -rf ~/Library/Caches/ms-playwright # macOS
Clean Up Frontend Build Artifacts¶
If you installed from source and built the frontend:
Downgrade¶
If a new version has issues and you need to roll back:
# Install a specific older version
Install the specific older version:
```bash
pip install echo-agent[all]==0.3.6
If echo-agent migrate run was applied during the upgrade, undo it with the matching command:
Checkpoints do not contain the database
echo-agent checkpoint is a shadow Git snapshot of workspace files, and its exclusion list explicitly covers the SQLite database, the sessions directory, the memory directory and the logs directory (a file-level snapshot of a live SQLite file would be a torn read). checkpoint restore therefore cannot restore database state.
Data-layer rollback has exactly two routes: echo-agent migrate rollback, or a database file you copied yourself beforehand. Copy data/echo_agent.db before downgrading.