Feature
object Feature : AIAgentGraphFeature<PersistenceFeatureConfig, Persistence> , AIAgentPlannerFeature<PersistenceFeatureConfig, Persistence> (source)
Companion object implementing agent feature, handling Persistence creation and installation.
Functions
Link copied to clipboard
Link copied to clipboard
open override fun install(config: PersistenceFeatureConfig, pipeline: AIAgentGraphPipeline): Persistence
open override fun install(config: PersistenceFeatureConfig, pipeline: AIAgentPlannerPipeline): Persistence
Link copied to clipboard
suspend fun <Input, Output, TContext : AIAgentContext> runFromCheckpoint(session: AIAgentRunSession<Input, Output, TContext>, input: Input, checkpoint: AgentCheckpointData, rollbackStrategy: RollbackStrategy = RollbackStrategy.Default): Output
Runs the session from a previously saved checkpoint.
suspend fun <Input, Output> runFromCheckpoint(agent: AIAgent<Input, Output>, input: Input, checkpoint: AgentCheckpointData, rollbackStrategy: RollbackStrategy = RollbackStrategy.Default, sessionId: String? = null): Output
Runs the agent from a previously saved checkpoint.
Link copied to clipboard
fun <Input, Output> runFromCheckpointBlocking(agent: AIAgent<Input, Output>, agentInput: Input, checkpoint: AgentCheckpointData, rollbackStrategy: RollbackStrategy = RollbackStrategy.Default, sessionId: String? = null): Output
Blocking variant of runFromCheckpoint intended for Java callers. Only available on JVM/Android.