install

fun <TConfig : FeatureConfig> install(feature: AIAgentGraphFeature<TConfig, *>, configure: TConfig.() -> Unit = {})(source)

Adds an AI agent feature to the current configuration by applying the specific configuration logic.

Parameters

TConfig

The type of feature configuration that extends FeatureConfig.

feature

The AI agent feature to be added, which provides functionality and configuration capabilities.

configure

A lambda function to configure the feature. The default is an empty configuration.