AIAgentService
AIAgentService is a core interface for managing AI agents. The service allows creation, removal, and management of AI agents and provides functionalities to list agents based on their statuses.
A single instance of AIAgentService manages one kind of uniform AI Agents serving same purpose and solving the same type of user task. It's useful to create, manage, and track the progress of running agents solving similar user tasks in parallel.
Type Parameters
Type parameter for the input data for the agents.
Type parameter for the output data generated by the agents.
Inheritors
AIAgentService is a core interface for managing AI agents. The service allows creation, removal, and management of AI agents and provides functionalities to list agents based on their statuses.
A single instance of AIAgentService manages one kind of uniform AI Agents serving same purpose and solving the same type of user task. It's useful to create, manage, and track the progress of running agents solving similar user tasks in parallel.
Type Parameters
Type parameter for the input data for the agents.
Type parameter for the output data generated by the agents.
AIAgentService is a core interface for managing AI agents. The service allows creation, removal, and management of AI agents and provides functionalities to list agents based on their statuses.
A single instance of AIAgentService manages one kind of uniform AI Agents serving same purpose and solving the same type of user task. It's useful to create, manage, and track the progress of running agents solving similar user tasks in parallel.
Type Parameters
Type parameter for the input data for the agents.
Type parameter for the output data generated by the agents.
Types
Companion object that provides factory methods for creating instances of GraphAIAgentService with various configurations.
Companion object that provides factory methods for creating instances of GraphAIAgentService with various configurations.
Companion object that provides factory methods for creating instances of GraphAIAgentService with various configurations.
Properties
Holds the configuration details for an AI agent.
Holds the configuration details for an AI agent.
Holds the configuration details for an AI agent.
Represents an instance of PromptExecutor responsible for executing prompt-based operations.
Represents an instance of PromptExecutor responsible for executing prompt-based operations.
Represents an instance of PromptExecutor responsible for executing prompt-based operations.
Represents the central repository or registry for managing tools within the system.
Represents the central repository or registry for managing tools within the system.
Represents the central repository or registry for managing tools within the system.
Functions
Retrieves an AI agent based on its unique identifier.
Retrieves an AI agent based on its unique identifier.
Fetches an agent by its unique identifier.
Creates a new AI agent with the specified configuration, tool registry, and optional parameters.
Creates a new agent with the specified configuration and settings.
Creates a new AI agent with the specified configuration, tool registry, and optional parameters.
Creates an AI agent with the specified configuration and runs it using the provided input.
Creates an AI agent using the specified parameters and immediately runs it with the provided input.
Creates an AI agent with the specified configuration and runs it using the provided input.
Lists all currently active agents using the configured strategy dispatcher.
Retrieves a list of finished agents.
Retrieves a list of all inactive agents.
Removes the specified AI agent from the service.
Removes the specified AI agent from the service.
Removes the specified agent from the system.
Removes the specified AI agent from the service.
Removes an AI agent based on its unique identifier.
Removes an AI agent based on its unique identifier.
Removes an agent identified by the provided ID.
Removes an AI agent based on its unique identifier.