verified local checkpoints

Let the agent cook. Keep an undo button.

Savestate creates verified local checkpoints before coding agents change your project—so you can inspect, restore, and recover safely.

curl -fsSL https://savestatecli.dev/install.sh | sh
Local-firstGit-awaremacOS · Linux · Windows experimental

How it works

Safe experiments, without the cleanup.

Git protects the history you commit. Savestate protects the local working state around it.

  1. 01

    Checkpoint

    Capture and verify the project state before work begins.

    savestate create --label "before agent"
  2. 02

    Let the agent work

    Use Codex or Claude hooks, or wrap any agent command.

    savestate run -- codex
  3. 03

    Inspect

    Review every changed, added, and removed path locally.

    savestate diff
  4. 04

    Restore if needed

    Preview the rollback, then restore the verified checkpoint.

    savestate restore --dry-run

Conservative by design

Rollback deserves more than hope.

Restoring local state is destructive. Savestate treats it like a transaction: verify, preserve, stage, swap, and verify again.

Verify before trusting

Content-addressed checkpoints are verified when created, explicitly checked, and restored.

Preview every rollback

Run a dry restore first. Savestate checks live state again before it changes anything.

Recover after interruption

Durable restore journals support explicit resume or rollback instead of leaving state ambiguous.

Capture more than Git

Opt into ignored paths, external roots, and local databases when your project needs them.

Install your way

Give your agent an undo button.

Install Savestate, initialize it in your project, then connect Codex or Claude in one command.

curl -fsSL https://savestatecli.dev/install.sh | sh

Downloads the latest prebuilt binary for macOS or Linux and verifies its checksum.

View script
project

$ savestate init

$ savestate integrate codex

Integration ready

Automatic checkpoints will run around agent sessions.