FunctionalAIAgent
Represents the core AI agent for processing input and generating output using a defined configuration, toolset, and prompt execution pipeline.
Parameters
The type of input data expected by the agent.
The type of output data produced by the agent.
The unique identifier for the agent instance.
The executor responsible for processing prompts and interacting with language models.
The configuration for the agent, including the prompt structure and execution parameters.
The registry of tools available for the agent. Defaults to an empty registry if not specified.
Constructors
Types
Represents a context for managing and configuring features in an AI agent. Provides functionality to install and configure features into a specific instance of an AI agent.
Properties
Represents the pipeline used by the AI agent for processing tasks or data.
the execution strategy defining how the agent processes input and produces output.
Functions
Converts the current AI agent into a tool to allow using it in other agents as a tool.
Retrieves a specific agent feature of type Feature from the AI agent's storage. If the requested feature is not found, throws an IllegalStateException
.
Retrieves the current state of the AI agent during its lifecycle.
Checks whether the AI agent has reached a finished state.
Prepares and initializes the agent context required to handle the given input and run ID.