AIAgentFeature

A class for Agent Feature that can be added to an agent pipeline, The feature stands for providing specific functionality and configuration capabilities.

Parameters

Config

The type representing the configuration for this feature.

FeatureT

The type of the feature implementation.

Properties

Link copied to clipboard

A key used to uniquely identify a feature of type FeatureT within the local agent storage.

Functions

Link copied to clipboard
abstract fun createInitialConfig(): Config

Creates and returns an initial configuration for the feature.

Link copied to clipboard
abstract fun install(config: Config, pipeline: AIAgentPipeline)

Installs the feature into the specified AIAgentPipeline.