Chrylo
02/27/2026, 9:18 AMpublic class AIAgentStorage {
private val mutex = Mutex()
private val storage = mutableMapOf<AIAgentStorageKey<*>, Any>()
@Serializable
public data class AgentCheckpointData(
val checkpointId: String,
val createdAt: Instant,
val nodePath: String,
val lastInput: JsonElement,
val messageHistory: List<Message>,
val version: Long,
val properties: Map<String, JsonElement>? = null
)
What happens now if the app crashes inbetween nodes and Node 1 stored one data model output into the storage which Node 2 wants to use? The data is lost as I understand it?Antonii Belyshev
02/27/2026, 10:41 AMChrylo
02/27/2026, 10:57 AMVadim Briliantov
02/28/2026, 5:14 PMVadim Briliantov
02/28/2026, 10:43 PMVadim Briliantov
03/02/2026, 1:30 PM