Package-level declarations
Types
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.
Represents a basic interface for AI agent.
Represents a custom exception class for use in AI Agent-related processes.
AIAgentTool is a specialized tool that integrates an AI agent for processing tasks by leveraging input arguments and producing corresponding results.
Functions
Convenience builder that creates an instance of AIAgent, automatically deducing AIAgent.inputType and AIAgent.outputType from Input and Output
Convenience builder that creates an instance of an AIAgent with string input and output and the specified parameters.
Converts the current AI agent into a tool to allow using it in other agents as a tool.
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: