Unlose what your AI agent deleted. Before your AI agent starts working, unlose quietly takes a full-disk snapshot.
1
stars
0
commits
C#
primary language
Aug 23, 2026
updated
Unlose what your AI agent deleted. When the hook fails, the snapshot holds.
unlose is the last line of defense for AI agent operations on Windows. Before your AI agent starts working, unlose quietly takes a full-disk snapshot. After it deletes, corrupts, or encrypts your files, you drag a timeline slider and get them back.
Not an interceptor. A time machine.

AI coding tools (Claude Code, Cursor, Copilot, Gemini CLI, …) execute real operations on your machine: rewriting code, reorganizing directories, batch-processing files. They are powerful — and they make mistakes: misunderstood instructions, ambiguous commands, or manipulation into destructive actions.
This is not hypothetical. On 2026-07-10, prominent founder Matt Shumer's Mac was wiped by an AI assistant (rm -rf on his user directory) — and the interceptor logs told the scarier story: every blocked command was followed by a new path around it, again and again, within a single session. Even the most professional heavy user was not spared.
The smarter the AI, the better it gets at bypassing interceptions. Block rm -rf and it will find another way to do the same thing. No interceptor in the world can block every destructive path.
Therefore, the only defense that cannot be bypassed is to fully preserve your data before the AI acts.
AI starts ──► unlose snapshots automatically ──► AI works (deletes / modifies / encrypts)
│
unlose: go back to the snapshot, files return
unlose does not guess what the AI will do. It only guarantees one thing: whatever the AI does, you have a clean copy of "before the AI touched it."
| Interceptors (e.g. DCG) | unlose | |
|---|---|---|
| Role | First line: block dangerous commands | Last line: snapshot safety net |
| Approach | Guess and block destructive paths | Don't guess. Just save. |
| Bypassable? | Yes — proven by the 2026-07-10 incident | No — the snapshot exists before the deletion |
Interceptors stop the bullet. unlose is the time machine. Use both.
Not a recorder. Unlike AI memory tools (Rewind, Recall), unlose never records your screen, audio, keystrokes, or file contents for inspection. It only keeps filesystem snapshots — a copy of your data at a point in time. You are the only one who ever opens them. This is a time machine, not a monitor.
Native Windows. No WSL, no hooks. A Windows service with a WPF desktop UI, CLI, and MCP server. Installs with a single MSI.
| Trigger | When |
|---|---|
| Scheduled | Three fixed times daily by default (08:00 / 13:00 / 18:00); can switch to interval mode (6/12/24/48h) |
| Before AI sessions | Detects 30+ mainstream AI agents launching; snapshots before they act |
| Agent-initiated | Agents proactively snapshot before dangerous operations themselves (via the injected memory directive, skill file, or MCP) — we see these in the log on our own machines every day |
| Pre-restore safety | Auto-snapshot before every restore, so a failed restore never costs you the current state |
| Manual / CLI / MCP | One-click, or trigger from the command line or the AI tool itself |
~/AGENTS.md and installed agents' global memory files — "snapshot before sessions, snapshot before dangerous operations, recover with unlose". The AI reads it itself. Original content preserved, injection block clearly marked, no residue after uninstall. And it's not theoretical: our own snapshot logs show "agent-initiated" entries daily — agents pausing to snapshot before bulk deletes, unpromptedSnapshot interval, protected volumes, low-disk threshold, agent list… save in Settings and the service hot-reloads immediately. No restart. Every control on the settings page is real.
unlose.exe): snapshot / status / list / restore with strict exit codes (0/1/2) — script-friendlyunlose-snapshot skill into detected agents' skill dirs — teaching the AI to "snapshot before acting" requires zero configuration⬇ Download for Windows (x64) — one self-contained MSI (~140 MB, .NET runtime embedded, no prerequisites).
| Channel | Link | Notes |
|---|---|---|
| Website (direct) | https://unlose.app/download | Fast in mainland China (~25 s); elsewhere served from Cloudflare R2 |
| GitHub Releases | releases/latest | SHA256 in the release notes |
Both channels serve the byte-identical installer — verify the SHA256 against the value in the release notes or on the docs page. The installer is currently unsigned, so Windows may show "publisher cannot be verified"; this is expected and code signing is in progress. unlose.app and this repository are the only official sources.
# 1. Install the MSI (see Download above) — registers the Windows service,
# auto-starts with the system (installs to C:\Program Files\unlose\)
# 2. Take a snapshot
unlose snapshot --label "protecting before I work"
# 3. Check status & list snapshots
unlose status
unlose list-snapshots
# 4. Restore
unlose restore-snapshot <id>
No configuration needed: the service runs in the background, snapshots on AI startup automatically, protection is on by default. Open the main UI to see protection status and all historical time points.
Build from source: requires .NET 8 SDK on Windows 10/11 x64.
dotnet build src/Unlose.sln -c Release
dotnet test src/Unlose.Tests # 147 unit tests
tests/ (the full VM harness is internal tooling)%ProgramData%\unlose\mounts\), robocopy for file/dir copy; full-volume rollback with /purge semantics (anti-ransomware).. segments rejected)%ProgramData%\unlose\), retention policy: 24h full → 7d thinning → 30d cleanup; important snapshots can be 🔒 pinned foreverCode is licensed under the Apache License 2.0 — see LICENSE and NOTICE.
The unlose name and logo are trademarks of the project — see TRADEMARK.md for what you can and cannot do. Fork it, but rename it. If you ship a derivative, pick your own name — the community will thank you.
Snapshot/restore has been the author's field for 25 years — his first work on restore-point triggering dates back to 2000 (US7039830B2, US7120835B2). unlose is the same answer, re-applied to the AI agent era — this time Apache-2.0, so you can verify every claim yourself.
Looking for centralized management, compliance audit, or private deployment? unlose Enterprise is planned — open an issue or reach out to express interest.
unlose — Everything your AI agent deletes, unlose remembers.
C#
92.8%
PowerShell
6.5%
Unlose what your AI agent deleted. Before your AI agent starts working, unlose quietly takes a full-disk snapshot.
1
stars
0
commits
C#
primary language
Aug 23, 2026
updated
Unlose what your AI agent deleted. When the hook fails, the snapshot holds.
unlose is the last line of defense for AI agent operations on Windows. Before your AI agent starts working, unlose quietly takes a full-disk snapshot. After it deletes, corrupts, or encrypts your files, you drag a timeline slider and get them back.
Not an interceptor. A time machine.

AI coding tools (Claude Code, Cursor, Copilot, Gemini CLI, …) execute real operations on your machine: rewriting code, reorganizing directories, batch-processing files. They are powerful — and they make mistakes: misunderstood instructions, ambiguous commands, or manipulation into destructive actions.
This is not hypothetical. On 2026-07-10, prominent founder Matt Shumer's Mac was wiped by an AI assistant (rm -rf on his user directory) — and the interceptor logs told the scarier story: every blocked command was followed by a new path around it, again and again, within a single session. Even the most professional heavy user was not spared.
The smarter the AI, the better it gets at bypassing interceptions. Block rm -rf and it will find another way to do the same thing. No interceptor in the world can block every destructive path.
Therefore, the only defense that cannot be bypassed is to fully preserve your data before the AI acts.
AI starts ──► unlose snapshots automatically ──► AI works (deletes / modifies / encrypts)
│
unlose: go back to the snapshot, files return
unlose does not guess what the AI will do. It only guarantees one thing: whatever the AI does, you have a clean copy of "before the AI touched it."
| Interceptors (e.g. DCG) | unlose | |
|---|---|---|
| Role | First line: block dangerous commands | Last line: snapshot safety net |
| Approach | Guess and block destructive paths | Don't guess. Just save. |
| Bypassable? | Yes — proven by the 2026-07-10 incident | No — the snapshot exists before the deletion |
Interceptors stop the bullet. unlose is the time machine. Use both.
Not a recorder. Unlike AI memory tools (Rewind, Recall), unlose never records your screen, audio, keystrokes, or file contents for inspection. It only keeps filesystem snapshots — a copy of your data at a point in time. You are the only one who ever opens them. This is a time machine, not a monitor.
Native Windows. No WSL, no hooks. A Windows service with a WPF desktop UI, CLI, and MCP server. Installs with a single MSI.
| Trigger | When |
|---|---|
| Scheduled | Three fixed times daily by default (08:00 / 13:00 / 18:00); can switch to interval mode (6/12/24/48h) |
| Before AI sessions | Detects 30+ mainstream AI agents launching; snapshots before they act |
| Agent-initiated | Agents proactively snapshot before dangerous operations themselves (via the injected memory directive, skill file, or MCP) — we see these in the log on our own machines every day |
| Pre-restore safety | Auto-snapshot before every restore, so a failed restore never costs you the current state |
| Manual / CLI / MCP | One-click, or trigger from the command line or the AI tool itself |
~/AGENTS.md and installed agents' global memory files — "snapshot before sessions, snapshot before dangerous operations, recover with unlose". The AI reads it itself. Original content preserved, injection block clearly marked, no residue after uninstall. And it's not theoretical: our own snapshot logs show "agent-initiated" entries daily — agents pausing to snapshot before bulk deletes, unpromptedSnapshot interval, protected volumes, low-disk threshold, agent list… save in Settings and the service hot-reloads immediately. No restart. Every control on the settings page is real.
unlose.exe): snapshot / status / list / restore with strict exit codes (0/1/2) — script-friendlyunlose-snapshot skill into detected agents' skill dirs — teaching the AI to "snapshot before acting" requires zero configuration⬇ Download for Windows (x64) — one self-contained MSI (~140 MB, .NET runtime embedded, no prerequisites).
| Channel | Link | Notes |
|---|---|---|
| Website (direct) | https://unlose.app/download | Fast in mainland China (~25 s); elsewhere served from Cloudflare R2 |
| GitHub Releases | releases/latest | SHA256 in the release notes |
Both channels serve the byte-identical installer — verify the SHA256 against the value in the release notes or on the docs page. The installer is currently unsigned, so Windows may show "publisher cannot be verified"; this is expected and code signing is in progress. unlose.app and this repository are the only official sources.
# 1. Install the MSI (see Download above) — registers the Windows service,
# auto-starts with the system (installs to C:\Program Files\unlose\)
# 2. Take a snapshot
unlose snapshot --label "protecting before I work"
# 3. Check status & list snapshots
unlose status
unlose list-snapshots
# 4. Restore
unlose restore-snapshot <id>
No configuration needed: the service runs in the background, snapshots on AI startup automatically, protection is on by default. Open the main UI to see protection status and all historical time points.
Build from source: requires .NET 8 SDK on Windows 10/11 x64.
dotnet build src/Unlose.sln -c Release
dotnet test src/Unlose.Tests # 147 unit tests
tests/ (the full VM harness is internal tooling)%ProgramData%\unlose\mounts\), robocopy for file/dir copy; full-volume rollback with /purge semantics (anti-ransomware).. segments rejected)%ProgramData%\unlose\), retention policy: 24h full → 7d thinning → 30d cleanup; important snapshots can be 🔒 pinned foreverCode is licensed under the Apache License 2.0 — see LICENSE and NOTICE.
The unlose name and logo are trademarks of the project — see TRADEMARK.md for what you can and cannot do. Fork it, but rename it. If you ship a derivative, pick your own name — the community will thank you.
Snapshot/restore has been the author's field for 25 years — his first work on restore-point triggering dates back to 2000 (US7039830B2, US7120835B2). unlose is the same answer, re-applied to the AI agent era — this time Apache-2.0, so you can verify every claim yourself.
Looking for centralized management, compliance audit, or private deployment? unlose Enterprise is planned — open an issue or reach out to express interest.
unlose — Everything your AI agent deletes, unlose remembers.
C#
92.8%
PowerShell
6.5%