docs/ai_builder/features/restore_checkpoint.md
Restore a checkpoint to return the app source to the state produced by an earlier agent message.
import reflex as rx
rx.el.div(
rx.image(
src="https://web.reflex-assets.dev/docs-preview/ai-builder/platform/restore_checkpoint.webp",
alt="The Revert to this version action on an agent checkpoint",
class_name="rounded-md h-auto mb-4",
border=f"0.81px solid {rx.color('slate', 5)}",
),
class_name="w-full flex flex-col rounded-md",
)
Agent messages that change the app create checkpoints:
The conversation remains visible, but the app source returns to the selected checkpoint. Later code changes are removed from the current app state.
# Check the restore point before confirming
A checkpoint restore cannot be undone from the restore dialog. Copy the app or save important work to Git before restoring when you may need the current state later.
For version history shared outside the Builder conversation, connect the app to GitHub.