Package-level declarations

Types

Link copied to clipboard
abstract class AbstractAction(val name: String, val description: String = name, val pre: List<String> = emptyList(), val post: List<String> = emptyList(), val cost: CostComputation = { 0.0 }, val value: CostComputation = { 0.0 }, val inputs: Set<IoBinding> = emptySet(), val outputs: Set<IoBinding> = emptySet(), val toolGroups: Set<ToolGroupRequirement>, val canRerun: Boolean, val qos: ActionQos = ActionQos()) : Action

Abstract action implementation that computes outputs.

Link copied to clipboard
abstract class AbstractAgentProcess(val id: String, val parentId: String?, val agent: Agent, val processOptions: ProcessOptions, val blackboard: Blackboard, platformServices: PlatformServices, val timestamp: Instant = Instant.now()) : AgentProcess, Blackboard

Abstract implementation of AgentProcess that provides common functionality

Link copied to clipboard
abstract class AbstractLlmOperations(toolDecorator: ToolDecorator, modelProvider: <Error class: unknown class>, validator: <Error class: unknown class>, validationPromptGenerator: ValidationPromptGenerator = DefaultValidationPromptGenerator(), autoLlmSelectionCriteriaResolver: AutoLlmSelectionCriteriaResolver, dataBindingProperties: LlmDataBindingProperties) : LlmOperations

Convenient superclass for LlmOperations implementations, which should normally extend this Find all tool callbacks and decorate them to be aware of the platform Also emits events.

Link copied to clipboard
class BlackboardWorldState(val conditionWorldState: ConditionWorldState, val blackboard: Blackboard) : ConditionWorldState

WorldState implementation that wraps a ConditionWorldState and includes a reference to the Blackboard for accessing domain objects at planning time. This enables @Cost methods to access domain objects for dynamic cost computation.

Link copied to clipboard

Determine world state for the given ProcessContext, using the blackboard.

Link copied to clipboard
open class ConcurrentAgentProcess(val id: String, val parentId: String?, val agent: Agent, val processOptions: ProcessOptions, val blackboard: Blackboard, platformServices: PlatformServices, plannerFactory: PlannerFactory, val timestamp: Instant = Instant.now(), val callbacks: List<AgentProcessCallback> = emptyList()) : SimpleAgentProcess

An AgentProcess that can execute multiple actions concurrently. With each invocation of formulateAndExecutePlan(), it will attempt to execute all actions that are currently achievable towards the plan.

Link copied to clipboard
open class DefaultAgentPlatform(val name: String, val description: String, val processType: AgentPlatformProperties.ProcessType, llmOperations: LlmOperations, val toolGroupResolver: ToolGroupResolver, eventListener: AgenticEventListener, agentProcessIdGenerator: AgentProcessIdGenerator = AgentProcessIdGenerator.RANDOM, contextRepository: ContextRepository = InMemoryContextRepository(), agentProcessRepository: AgentProcessRepository = InMemoryAgentProcessRepository(), operationScheduler: OperationScheduler = OperationScheduler.PRONTO, blackboardProvider: BlackboardProvider = InMemoryBlackboardProvider, asyncer: Asyncer, objectMapper: <Error class: unknown class>, outputChannel: OutputChannel, templateRenderer: <Error class: unknown class>, customLogicalExpressionParser: LogicalExpressionParser? = null, applicationContext: <Error class: unknown class>? = null) : AgentPlatform
Link copied to clipboard
class InMemoryBlackboard(val blackboardId: String = UUID.randomUUID().toString()) : Blackboard
Link copied to clipboard
class RenamedToolCallback(delegate: <Error class: unknown class>, newName: String)

Allows renaming a ToolCallback

Link copied to clipboard
object Rerun
Link copied to clipboard
open class SimpleAgentProcess(val id: String, val parentId: String?, val agent: Agent, val processOptions: ProcessOptions, val blackboard: Blackboard, platformServices: PlatformServices, plannerFactory: PlannerFactory, val timestamp: Instant = Instant.now()) : AbstractAgentProcess

Properties

Link copied to clipboard

Goal available to all Utility planners. Reach nirvana, where there is nothing more to do. It's important that this goal cannot be satisfied, to prevent the plan from completing prematurely. A plan may complete by satisfying another goal, but not by reaching nirvana.

Functions

Link copied to clipboard
fun safelyGetToolCallbacks(instances: Collection<ToolObject>): List<<Error class: unknown class>>

ToolCallbacks.from complains if no tools. Also conceal varargs

Link copied to clipboard
fun safelyGetToolCallbacksFrom(toolObject: ToolObject): List<<Error class: unknown class>>
Link copied to clipboard
fun <Error class: unknown class>.toEmbabelUsage(): Usage