cayu.snapshots.AgentSnapshotCoordinator
Part of cayu.snapshots.base. Read the Python API overview and install the required extra.
from cayu.snapshots import AgentSnapshotCoordinatorCapture, verify, materialize, and recover through component owners.
init (method)
Section titled “init (method)”AgentSnapshotCoordinator.__init__(providers: Iterable[AgentSnapshotComponentProvider], *, store: AgentSnapshotStore | None=None, clock=None) -> Nonecapture (method)
Section titled “capture (method)”async AgentSnapshotCoordinator.capture(request: AgentSnapshotCaptureRequest) -> AgentSnapshotverify (method)
Section titled “verify (method)”async AgentSnapshotCoordinator.verify(snapshot: AgentSnapshot) -> AgentSnapshotmaterialize (method)
Section titled “materialize (method)”async AgentSnapshotCoordinator.materialize(request: AgentSnapshotMaterializationRequest) -> AgentSnapshotMaterializationrecover_materialization (method)
Section titled “recover_materialization (method)”async AgentSnapshotCoordinator.recover_materialization(fingerprint: str, *, access: AgentSnapshotAccess) -> AgentSnapshotMaterializationbegin_trial (method)
Section titled “begin_trial (method)”async AgentSnapshotCoordinator.begin_trial(materialization: AgentSnapshotMaterialization, *, case_id: str, trial_id: str, evaluator_fingerprint: str) -> AgentSnapshotTrialBindingrecord_result (method)
Section titled “record_result (method)”async AgentSnapshotCoordinator.record_result(result: AgentSnapshotResultBinding) -> AgentSnapshotResultBinding