Package-level declarations
Types
Abstract base class representing a single-use AI agent with state.
Represents a configurational builder for setting up and customizing the execution parameters and components of an AI agent. This builder enables fine-grained control over tools, strategies, and prompts utilized by an AI agent during its execution.
Represents a configurational builder for setting up and customizing the execution parameters and components of an AI agent. This builder enables fine-grained control over tools, strategies, and prompts utilized by an AI agent during its execution.
Represents a configurational builder for setting up and customizing the execution parameters and components of an AI agent. This builder enables fine-grained control over tools, strategies, and prompts utilized by an AI agent during its execution.
Shared fluent configuration for agent builders.
Common chained implementation for AIAgentBuilder actual classes.
A strategy for implementing AI agent behavior that operates in a loop-based manner.
AIAgentService is a core interface for managing AI agents. The service allows creation, removal, and management of AI agents and provides functionalities to list agents based on their statuses.
AIAgentService is a core interface for managing AI agents. The service allows creation, removal, and management of AI agents and provides functionalities to list agents based on their statuses.
AIAgentService is a core interface for managing AI agents. The service allows creation, removal, and management of AI agents and provides functionalities to list agents based on their statuses.
Builder for creating AIAgentService instances.
Builder for creating AIAgentService instances.
Builder for creating AIAgentService instances.
Shared fluent configuration for agent service builders.
Common chained implementation for AIAgentServiceBuilder actual classes.
Represents the state of an AI agent during its lifecycle.
AIAgentTool is a generic tool that wraps an AI agent to facilitate integration with the context of a tool execution framework. It enables the serialization, deserialization, and execution of an AI agent's operations.
Provides functionality to generate diagram representations of AI agent strategies configured as graphs. Implementations of this interface are responsible for translating an AIAgentGraphStrategy into a textual or visual format suitable for understanding and visualization of agent workflows.
A builder class for constructing instances of FunctionalAIAgent with customizable configuration.
A builder class for constructing a FunctionalAIAgentService, enabling a fluent configuration style.
Represents the core AI agent for processing input and generating output using a defined configuration, toolset, and prompt execution pipeline.
A service for managing functional AI agents that operate based on a specified execution strategy.
A builder class for creating instances of AIAgent. This builder provides a fluent interface to configure various parameters and components required to construct an AI agent with a specific set of features, tools, and execution strategies.
A builder class for constructing a GraphAIAgentService with configurable properties such as prompt executor, model, tool registry, prompts, and various other configurations.
Represents an implementation of an AI agent that provides functionalities to execute prompts, manage tools, handle agent pipelines, and interact with various configurable strategies and features.
A service class for managing graph-based AI agents, responsible for orchestrating the behavior and execution of agents within a configurable graph-based strategy.
AIAgentFunctionalStrategy that operates in non-suspend context and is run on ExecutorService configured in ai.koog.agents.core.agent.config.AIAgentConfig.
Represents a configuration option for determining the output type in a subtask builder process. This sealed interface allows specifying the output either by its class type or by using a tool that generates the required output.
Builds an AI-based planning agent by configuring various parameters and defining custom behaviors for the agent. This builder allows flexible setup of an agent's functionality and behavior based on the provided configuration and tools.
Functions
Extension function to generate a Mermaid diagram from an agent graph strategy.
Converts the current AI agent into a tool to allow using it in other agents as a tool.
Creates an AIAgentFunctionalStrategy with the specified loop logic and name.
Invokes the process to create and return an instance of GraphAIAgentService.
Creates a single-run strategy for an AI agent. This strategy defines a simple execution flow where the agent processes input, calls tools, and sends results back to the agent. The flow consists of the following steps: