Package-level declarations
Types
Link copied to clipboard
data class AgentCheckpointData(val checkpointId: String, val createdAt: Instant, val nodeId: String, val lastInput: JsonElement, val messageHistory: List<Message>)
Represents the checkpoint data for an agent's state during a session.
Link copied to clipboard
A feature that provides checkpoint functionality for AI agents.
Link copied to clipboard
Configuration class for the Snapshot feature.
Functions
Link copied to clipboard
Extension function to access the checkpoint feature from an agent context.
Link copied to clipboard
Link copied to clipboard
Converts an instance of AgentCheckpointData to AgentContextData.
Link copied to clipboard
suspend fun <T> AIAgentContextBase.withPersistency(context: AIAgentContextBase, action: suspend Persistency.(AIAgentContextBase) -> T): T
Extension function to perform an action with the checkpoint feature.