Companion

A scoped plugin named "KoogAgents" for managing the Koog instance lifecycle in the application context.

The plugin initializes the necessary components such as the MultiLLMPromptExecutor and KoogInstance using configuration parameters provided via pluginConfig. The KoogInstance carries the core functionality for language model communication, agent tools, configurations, and features.

The initialized KoogInstance is then stored in the application's attributes to be accessible across the application.

Properties

Link copied to clipboard
open override val key: AttributeKey<Koog>

Attribute key used to store and retrieve the KoogInstance from the application's attributes.

Functions

Link copied to clipboard
open override fun install(pipeline: ApplicationCallPipeline, configure: KoogAgentsConfig.() -> Unit): Koog