Checkpoint
A saved snapshot of your project that an AI tool takes as it works, so you can jump back if a later change breaks things.
What it is
A checkpoint is a save point. AI app builders and coding agents create them automatically as they work, usually after each batch of changes. Each one captures how the project looked at that moment, so you can restore it and carry on from there.
You use a checkpoint when the agent has gone sideways: it rewrote something you liked, the app no longer loads, or three fixes in a row made things worse. Restoring is faster and safer than asking the agent to undo its own work by hand. Look at what your tool saves. Some save only code, and some also save data, and a restore can wipe anything made after the checkpoint.
A checkpoint is not a rollback, which pulls a live release back to an earlier one. It's also not undo, which reverses a single action. And it's not full version control, where you decide what gets saved and why.
How to ask for it
“The AI messed up my app. Can you get it back to how it was before?”
“Restore the checkpoint from before the login changes, and tell me what that undoes. Then redo only the button color change, and don't touch the database.”
"How it was before" doesn't say which moment, and the agent may try to patch forward; "checkpoint" points to a specific saved state and the prompt says what to bring back afterwards.
You've seen this in
- RReplit Agent's checkpoints, which appear as it builds and which you can roll back to
- CClaude Code's rewind, which returns a session to an earlier point
- ICursor's restore-checkpoint option in its chat history