Package-level declarations
Types
Represents an instance of Koog with configuration for prompt execution, language model, tool management, agent setup, and features.
Configuration class for setting up a Koog agents server. Provides options to configure LLM connections, agent tools, features, and other related settings.
Configuration class for MCPTools that manages the integration of various tool registries into the system. Provides methods to process tools using different transport mechanisms.
Functions
A default aiAgent
is an agent that runs using singleRunStrategy, by default, it relies on sequential ToolCalls. Inside the block lambda you can use the agent to perform tasks, and calculate a result, such as GraphAIAgent.run.
Creates an agent using aiAgent, and immediately runs it given the input. When the agent is completed it provides the final Output.
Creates an AI agent using the provided AI agent strategy within the specified route.
A default aiAgent
is an agent that runs using singleRunStrategy, by default, it relies on sequential ToolCalls. It takes an input, and when the agent finishes running provides a final result String.
Retrieve the configured llm, or PromptExecutor instance from the underlying Koog plugin.
Configures the MCP (Modular Configuration Protocol) tools for the agent with the provided configuration block.