Package-level declarations
Types
A strategy for implementing AI agent behavior that operates in a loop-based manner.
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.f
AIAgentTool is a generic tool that wraps an AI agent to facilitate integration with the context of a tool execution framework. It enables the serialization, deserialization, and execution of an AI agent's operations.
Provides functionality to generate diagram representations of AI agent strategies configured as graphs. Implementations of this interface are responsible for translating an AIAgentGraphStrategy into a textual or visual format suitable for understanding and visualization of agent workflows.
Represents the core AI agent for processing input and generating output using a defined configuration, toolset, and prompt execution pipeline.
A service for managing functional AI agents that operate based on a specified execution strategy.
Represents an implementation of an AI agent that provides functionalities to execute prompts, manage tools, handle agent pipelines, and interact with various configurable strategies and features.
A service class for managing graph-based AI agents, responsible for orchestrating the behavior and execution of agents within a configurable graph-based strategy.
Abstract base class representing a single-use AI agent with state.
Functions
AIAgentGraphStrategy utility for generating Mermaid diagrams from agent strategies.
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.
Creates an AIAgentFunctionalStrategy with the specified loop logic and name.
Invokes the process to create and return an instance of GraphAIAgentService.
Checks whether the AI agent has reached a finished state.
Creates a single-run strategy for an AI agent. This strategy defines a simple execution flow where the agent processes input, calls tools, and sends results back to the agent. The flow consists of the following steps: