Skip to content

cayu.snapshots.AgentSnapshotResultBinding

Part of cayu.snapshots.base. Read the Python API overview and install the required extra.

from cayu.snapshots import AgentSnapshotResultBinding

Bases: _SnapshotModel.

Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.

Name Type Default
record_type Literal['cayu.agent-snapshot-result'] 'cayu.agent-snapshot-result'
schema_version Literal[2] 2
fingerprint StrictStr required
trial_fingerprint StrictStr required
session_id StrictStr Field(max_length=512)
terminal_disposition AgentSnapshotTerminalDisposition required
runtime_evidence_fingerprint StrictStr required
eval_result_revision StrictStr required
memory_evidence_fingerprint StrictStr | None None
usage_fingerprint StrictStr | None None
cost_fingerprint StrictStr | None None
safe_frontier_fingerprint StrictStr | None None
open_operation_ids tuple[StrictStr, ...] ()
pending_approval_ids tuple[StrictStr, ...] ()
provider_continuation_ids tuple[StrictStr, ...] ()
recorded_at datetime required
AgentSnapshotResultBinding.validate_fingerprints(value: str | None, info) -> str | None
AgentSnapshotResultBinding.validate_terminal_frontier(value: object, info) -> tuple[str, ...]
AgentSnapshotResultBinding.validate_session_id(value: str, info) -> str
AgentSnapshotResultBinding.validate_recorded_at(value: datetime) -> datetime
AgentSnapshotResultBinding.validate_fingerprint_matches() -> AgentSnapshotResultBinding
AgentSnapshotResultBinding.identity_material() -> dict[str, object]
AgentSnapshotResultBinding.create(*, trial: AgentSnapshotTrialBinding, session_id: str, terminal_disposition: AgentSnapshotTerminalDisposition, runtime_evidence_fingerprint: str, eval_result_revision: str, recorded_at: datetime, memory_evidence_fingerprint: str | None=None, usage_fingerprint: str | None=None, cost_fingerprint: str | None=None, safe_frontier_fingerprint: str | None=None, open_operation_ids: Iterable[str]=(), pending_approval_ids: Iterable[str]=(), provider_continuation_ids: Iterable[str]=()) -> AgentSnapshotResultBinding

Release source · Runtime guarantees · Capability guides