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.
Unique identifier for the agent. Random UUID will be generated if set to null.
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
The configuration for the agent, including the prompt structure and execution parameters.
Lambda for installing additional features within the agent environment.
The executor responsible for processing prompts and interacting with language models.
The strategy for processing input and generating output.
The registry of tools available for the agent. Defaults to an empty registry if not specified.
Functions
Converts the current AI agent into a tool to allow using it in other agents as a tool.
Retrieves a feature from the StatefulSingleUseAIAgent.pipeline associated with this agent using the specified key.
Retrieves a feature from the StatefulSingleUseAIAgent.pipeline associated with this agent using the specified key or throws an exception if it is not available.
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.