List your sessions
Before you restore, you can check what sessions are available.- Inside your agent
- CLI
Ask your agent to show your sessions:Your agent calls the
list_sessions MCP tool and returns something like:Restore a session
Once you know which session you want to continue, restore it in your new agent.- Inside your agent
- CLI
Tell your new agent to restore the session by name:Handshake fuzzy-matches the title and injects the handoff brief into the conversation. You don’t need to use the exact title — a close description is enough.
Session titles are fuzzy-matched, so
restore my council spending session works even if the session is titled “council budget spending tracker”. Handshake checks for an exact match first, then a substring match, then checks whether the title contains all the words in your query.The restore flow
Handshake uses a two-step flow when restoring to give you a chance to review what has changed before context is injected.Review the git drift packet
On the first call, Handshake shows you a restore packet — a summary of the git state at checkpoint time and what has changed since then. This tells you if files were modified, if you’re on the right branch, and what staged changes exist. The receiving agent sees this before the handoff brief is injected.
Confirm the restore
After reviewing the drift, confirm the restore. In-agent, call
restore_session again with confirmed=true. In the CLI, press Enter at the prompt. Handshake then injects the full handoff brief.Multiple matches
If your query matches more than one session, Handshake uses the most recently updated one and lists the others so you’re aware of them.restore auth refactor v2.