Package-level declarations
Types
Represents a session for interacting with a language model (LLM) in a read-only context within an AI agent setup.
JVM actual implementation of a read-only LLM session.
Represents a session for interacting with a language model (LLM) in a read-only context within an AI agent setup.
Common base implementation for read-only LLM sessions shared across platform-specific actual classes.
A session for managing interactions with a language learning model (LLM) and tools in an agent environment. This class provides functionality for executing LLM requests, managing tools, and customizing prompts dynamically within a specific session context.
JVM actual implementation of a mutable LLM session.
A session for managing interactions with a language learning model (LLM) and tools in an agent environment. This class provides functionality for executing LLM requests, managing tools, and customizing prompts dynamically within a specific session context.
Common base implementation for mutable LLM sessions shared across platform-specific actual classes.
Represents a session for running an ai.koog.agents.core.agent.AIAgent.
Functions
Invokes a tool of the specified type with the provided arguments.
Executes the specified tool with the given arguments and returns the result within a SafeTool.Result wrapper.
Executes a tool by its name with the provided arguments.
Executes a tool operation based on the provided tool class and arguments.
Invokes a specified tool function within the AI Agent's write session context.
Executes a tool identified by its name with the provided arguments and returns the raw string result.
Retrieves a feature from the AIAgentRunSession.pipeline associated with this session using the specified key.
Retrieves a feature from the AIAgentRunSession.pipeline associated with this session using the specified key or throws an exception if it is not available.
Finds a tool by its name and ensures its arguments are compatible with the specified type.
Finds and retrieves a tool by its name and argument/result types.