pub type AgentCheckpoint = Checkpoint;Expand description
Agent state captured at a point in time (alias for Checkpoint).
Aliased Type§
pub struct AgentCheckpoint {
pub id: String,
pub agent_name: String,
pub session_id: String,
pub step: usize,
pub messages: Vec<CheckpointMessage>,
pub tool_calls: Vec<ToolCallRecord>,
pub partial_results: Vec<String>,
pub timestamp: u64,
pub ttl_secs: Option<u64>,
pub status: CheckpointStatus,
}Fields§
§id: StringUnique checkpoint ID
agent_name: StringAgent name/type
session_id: StringSession ID
step: usizeStep number (0-indexed)
messages: Vec<CheckpointMessage>Conversation messages so far
tool_calls: Vec<ToolCallRecord>Tool calls made and their results
partial_results: Vec<String>Partial results accumulated
timestamp: u64Timestamp (Unix epoch seconds)
ttl_secs: Option<u64>Optional TTL in seconds from timestamp.
status: CheckpointStatusStatus of this checkpoint