AIAgentServiceBase
Abstract base class for implementing an AI Agent Service. This class provides foundational functionality for managing and interacting with AI agents.
The class maintains a list of AI agents under its management and defines common operations, such as creation, removal, querying, and shutting down agents. Concrete implementations are expected to define the behavior for creating managed agents.
Parameters
the input type expected by the AI agents.
the output type expected from the AI agents.
Inheritors
Properties
Functions
Creates and registers a new managed AI agent with the specified configuration and tool registry.
Creates an AI agent with the specified configuration and runs it using the provided input.
Creates and registers a new managed AI agent with the specified configuration and tool registry.
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.