Koog

class Koog(val application: Application, val promptExecutor: PromptExecutor, val agentConfig: KoogAgentsConfig.AgentConfig, val agentFeatures: List<GraphAIAgent.FeatureContext.() -> Unit>, job: CompletableJob)(source)

Represents an instance of Koog with configuration for prompt execution, language model, tool management, agent setup, and features.

Constructors

Link copied to clipboard
constructor(application: Application, promptExecutor: PromptExecutor, agentConfig: KoogAgentsConfig.AgentConfig, agentFeatures: List<GraphAIAgent.FeatureContext.() -> Unit>, job: CompletableJob)

Types

Link copied to clipboard

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

Properties

Link copied to clipboard

The configuration settings for the AI agent.

Link copied to clipboard

A list of features enabled for the agent.

Link copied to clipboard
Link copied to clipboard

The executor responsible for handling language model prompts and interaction.