unlose docs · Get started

Protect and recover your coding-agent sessions

Install Unlose, protect the first Claude Code or Codex session, and understand the recovery model.

First backup

npx unlose init

One command: init signs you in (Google or GitHub), creates or proves your recovery key, captures local sessions, and pushes encrypted copies. It talks to unlose.sh unless you point it at your own server. For the background watcher, install for real: npm install -g unlose, then unlose watch --install keeps later sessions current: every run saves locally, then uploads encrypted changes when signed in. GitHub is the default provider. Add --provider google to use Google and use that same provider on the dashboard.

Choose a guide