Package-level declarations

Types

Link copied to clipboard
interface AgentInvocation<T>

Defines the contract for invoking an agent.

Link copied to clipboard

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
class AutonomyProperties(platformProperties: AgentPlatformProperties)

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
fun interface GoalChoiceApprover

Implemented by objects that can veto goal choice

Link copied to clipboard
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
class NoAgentFound(val basis: Any, val agentRankings: Rankings<Agent>) : ProcessExecutionException
Link copied to clipboard
class NoGoalFound(val basis: Any, val goalRankings: Rankings<Goal>) : ProcessExecutionException
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
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Build the AgentInvocation, inferring the result type from the reified type parameter.