Package-level declarations
Types
Link copied to clipboard
Defines the contract for invoking an agent.
Link copied to clipboard
class AgentProcessExecution
Successful result of directly trying to execute a goal. Failure results in an exception being thrown.
Link copied to clipboard
class Autonomy(val agentPlatform: AgentPlatform, ranker: Ranker, val properties: AutonomyProperties)
Adds autonomy to an AgentPlatform, with the ability to choose goals and agents dynamically, given user input. Then calls the AgentPlatform to execute.
Link copied to clipboard
Autonomy properties
Link copied to clipboard
Link copied to clipboard
data class GoalChoiceApprovalRequest(val goal: Goal, val intent: String, val rankings: Rankings<Goal>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Implemented by objects that can veto goal choice
Link copied to clipboard
data class GoalChoiceNotApproved(val request: GoalChoiceApprovalRequest, val reason: String) : GoalChoiceApprovalResponse
Link copied to clipboard
class GoalNotApproved(val basis: Any, val goalRankings: Rankings<Goal>, val reason: String, val agentPlatform: AgentPlatform) : ProcessExecutionException, AgentPlatformEvent
The Ranker chose a goal, but it was rejected by the GoalApprover
Link copied to clipboard
data class GoalSelectionOptions(val goalConfidenceCutOff: <Error class: unknown class>? = null, val agentConfidenceCutOff: <Error class: unknown class>? = null, val multiGoal: Boolean = false)
Can override platform-wide AutonomyProperties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface PlanLister
Interface for listing achievable plans based on the current world state.
Link copied to clipboard
Used for control flow
Link copied to clipboard
class ProcessExecutionFailedException(val agentProcess: AgentProcess, val detail: String) : ProcessExecutionException
Link copied to clipboard
class ProcessExecutionStuckException(val agentProcess: AgentProcess, val detail: String) : ProcessExecutionException
Link copied to clipboard
class ProcessExecutionTerminatedException(val agentProcess: AgentProcess, val detail: String) : ProcessExecutionException
Link copied to clipboard
class ProcessWaitingException(val agentProcess: AgentProcess, val awaitable: Awaitable<*, AwaitableResponse>) : ProcessExecutionException
Functions
Link copied to clipboard
Build the AgentInvocation, inferring the result type from the reified type parameter.