FunctionalAIAgentService
A service for managing functional AI agents that operate based on a specified execution strategy.
This class provides the infrastructure for creating and managing functional AI agents. It integrates an execution strategy with associated input and output types, a tool registry for additional functionalities, and a customizable feature installation context.
Parameters
The type of input data that the functional AI agent will process.
The type of output data produced by the functional AI agent.
Constructors
Properties
The configuration settings for the AI agent, including model and prompt behavior.
The executor responsible for handling and executing prompts.
The functional strategy defining the agent's iteration logic and processing behavior.
Represents the central repository or registry for managing tools within the system.
Functions
Creates and registers a new AI agent using the provided agent ID and clock.
Creates and returns a managed instance of FunctionalAIAgent.
Retrieves a list of all currently active AI agents managed by the service.
Retrieves a list of all AI agents currently managed by the service, regardless of their state (e.g., active, inactive, or finished).
Retrieves a list of all agents that have already finished their task.
Retrieves a list of inactive AI agents managed by this service.
Removes the specified AI agent from the managed collection.
Removes a managed AI agent identified by the specified unique identifier.