Session Persistence
Save and restore complete agent sessions across conversations.
When to use
When you need to pause work and resume later with full context, or when you want to checkpoint progress during long-running tasks.
Steps
- Save session — call
mcp__claude-flow__session_saveto snapshot current state - List sessions — call
mcp__claude-flow__session_listto see all saved sessions - Restore — call
mcp__claude-flow__session_restoreto resume a previous session - Info — call
mcp__claude-flow__session_infofor session details and metadata - Clean up — call
mcp__claude-flow__session_deleteto remove old sessions
Session hooks
hooks_session-start— automatically restore context at conversation starthooks_session-end— automatically save state with metrics exporthooks_session-restore— restore a specific session by ID
What's persisted
- Agent state and configuration
- Memory entries and patterns
- Learning trajectories and metrics
- Task progress and todos