Package-level declarations

Types

Link copied to clipboard

Creates and invokes actions from annotated methods.

Link copied to clipboard
data class AgenticInfo(val type: Class<*>)

Agentic info about a type

Link copied to clipboard
class AgentMetadataReader(actionMethodManager: ActionMethodManager = DefaultActionMethodManager(), nameGenerator: MethodDefinedOperationNameGenerator = MethodDefinedOperationNameGenerator(), agentStructureValidator: AgentStructureValidator, goapPathToCompletionValidator: GoapPathToCompletionValidator)

Read AgentMetadata from annotated classes. Looks for @Agentic, @Condition and @Action annotations and properties of type Goal. Warn on invalid or missing annotations but never throw an exception as this could affect application startup.

Link copied to clipboard
class DuplicateParameterType(val method: Method, val conflictingClassType: Class<*>, val conflictingParameters: List<Parameter>)

A class representing a method with multiple parameters of the same type that have not been annotated with com.embabel.agent.api.annotation.RequireNameMatch.

Link copied to clipboard

A class representing a method with multiple parameters of the same type that have not been annotated with com.embabel.agent.api.annotation.RequireNameMatch.

Link copied to clipboard

Define names for operations defined in methods.

Functions

Link copied to clipboard
fun AgentPlatform.deployAnnotatedInstances(agentMetadataReader: AgentMetadataReader, vararg instances: Any)

Convenient method to deploy instances to an agent platform

Link copied to clipboard

Checks if a method has multiple parameters with the same type, but no @RequireNameMatch annotation. This prevents any issue when the developer forgets to add @RequireNameMatch when parameters have the same type and the system is unable to determine the correct parameter order.