Skip to content

chimera.checkpoints

chimera.checkpoints lets a session save snapshots of conversation state and the working tree, then roll back to a named or id-based checkpoint.

from chimera.checkpoints import CheckpointManager
MethodPurpose
create(name=None)Save a checkpoint. Returns a (name, id) tuple.
list_checkpoints()Enumerate all checkpoints.
restore_by_name(name)Restore a named checkpoint.
restore_by_id(id)Restore by uuid.
undo()Restore the most recent checkpoint.

CheckpointManager is wired into the REPL via the /checkpoint slash command and into the agent loop via LoopConfig.checkpoint_manager=.