install

expect open override fun <TConfig : FeatureConfig, TFeatureImpl : Any> install(featureKey: AIAgentStorageKey<TFeatureImpl>, featureConfig: TConfig, featureImpl: TFeatureImpl)(source)

Installs a feature into the AI agent storage using the provided feature key, configuration, and implementation.

Parameters

featureKey

The unique key identifying the feature to be installed.

featureConfig

The configuration details required to initialize the feature.

featureImpl

The implementation instance of the feature to be installed.