Agent Rollback

•
7
•

Captures content-addressed snapshots of your workspace before, during, and after AI agent runs, enabling seamless undo and rollback of edits.

Agent Rollback functions as the essential undo button for AI agent interactions, particularly with OpenAI Codex CLI. It automatically creates content-addressed snapshots of your project, allowing you to restore any file or the entire workspace to a previous state with a single command. Designed as an AI agent safety net, it integrates via an MCP server and Codex hooks for automatic checkpoints, providing robust version control for AI-generated code changes without relying on `git stash` workarounds. It's a 100% local, MIT-licensed tool that ensures developers can safely experiment with AI-driven code modifications.

Key Features

01Automatic checkpoints via MCP server and Codex hooks.
02Per-operation undo for granular control over changes.
031 GitHub stars
04Local-only operation with no telemetry or cloud sync.
05Content-addressed snapshots with deduplication for efficient storage.
06Interactive terminal browser (TUI) for managing checkpoints.

Use Cases

01Undo unwanted changes made by OpenAI Codex CLI or other AI agents.
02Browse, diff, and restore specific files or the entire project to a previous state.
03Create and manage checkpoints before and after risky AI-driven refactoring.