All Classes and Interfaces

Class
Description
 
 
 
Abstract base class for FlowGraphBuildingStrategy implementations.
Abstract base class for all agents in the graph system.
 
A2A Agent Card Provider.
The Wrapper of AgentCard.
 
 
 
 
 
Factory class for creating MethodToolCallback instances for ReactAgent.
Executor class for AgentTool that contains the method to be used by MethodToolCallback.
Node that executes tool calls from assistant messages.
 
JSON array loop strategy that retrieves a JSON array from the current message state, sends each array element as a message to the model, and returns the result.
Interface for asynchronous tool callbacks.
Adapter that wraps synchronous ToolCallback implementations to provide asynchronous execution capabilities.
 
 
Interface for cancellable asynchronous tool callbacks.
Token for cooperative cancellation of tool execution.
Strategy for building conditional execution graphs.
A node action that evaluates conditions to determine the next execution path.
 
An async edge action that evaluates conditions to determine routing paths.
Conditional loop strategy that retries until the Predicate is satisfied or the maximum count is reached.
 
Context editing interceptor that clears older tool results once the conversation grows beyond a configurable token threshold.
 
Fixed count loop strategy
 
 
Default implementation of CancellationToken.
Tool for editing files using string replacement.
Request structure for editing a file.
Result of edit operation.
Enhanced parallel result aggregator that supports custom merge strategies and concurrency control.
FileData structure for storing file contents with metadata.
Structured file listing information.
Backend interface for file storage operations.
Filesystem interceptor that provides file system management capabilities to agents.
Builder for FilesystemInterceptor with comprehensive configuration options.
File system tools using Spring AI Tool annotations.
 
 
Abstract base builder for FlowAgent and its subclasses.
 
A centralized builder for constructing StateGraphs for different FlowAgent types.
Configuration class for graph building parameters.
Strategy interface for building StateGraphs for different FlowAgent types.
Registry for FlowGraphStrategy implementations.
Glob search tool for fast file pattern matching.
 
 
Tool for finding files matching a glob pattern.
Structured grep match entry.
Grep search tool for fast content search.
 
 
Tool for searching text patterns in files.
Request structure for grep search.
Hook interface for intercepting and customizing agent execution flow.
Enum representing the position where a hook should be executed in the agent workflow.
Annotation to specify the position(s) where a hook should be executed.
 
 
 
 
Utility class for chaining model and tool interceptors.
 
Hook that supports interruption and feedback mechanism.
 
Enumeration representing jump destinations in the agent workflow.
Tool interceptor that automatically evicts large tool results to the filesystem.
Builder for LargeResultEvictionInterceptor.
Tool for listing files in a directory.
 
Builder for creating LlmRoutingAgent instances.
Backend that reads and writes files directly from the filesystem.
Loop Agent that supports multiple loop modes: COUNT: Execute a fixed number of loops CONDITION: Continue looping based on a condition, similar to a do-while structure, but when the condition is true, terminate the loop JSON_ARRAY: Parse a JSON array and iterate over its elements Other Loop Strategy: Users can implement the LoopStrategy interface according to their needs.
 
Converts a LoopAgent into its corresponding StateGraph.
Built-in loop strategies for LoopAgent
Loop strategy for LoopAgent, used to control the behavior of LoopAgent.
NodeAction that delegates to a mainAgent (ReactAgent) by invoking its compiled graph.
Edge action that reads the mainAgent (ReactAgent) output from state and routes either to END (when "FINISH" or empty) or to the SupervisorNode (when a list of sub-agent names is present).
 
Internal static class that proxies MessagesAgentHook and implements AsyncNodeActionWithConfig interface for afterAgent hook.
Internal static class that proxies MessagesAgentHook and implements AsyncNodeActionWithConfig interface.
 
Internal static class that proxies MessagesModelHook and implements AsyncNodeActionWithConfig interface for afterModel hook.
Internal static class that proxies MessagesModelHook and implements AsyncNodeActionWithConfig interface.
 
Handler interface for model call interceptors.
Exception raised when model call limits are exceeded.
Hook that tracks and limits model call counts.
 
 
Automatic fallback to alternative models on errors.
 
 
Model interceptor that can wrap model calls.
Request object for model calls.
 
Response object for model calls.
The model calls a retry interceptor to handle retryable exceptions such as network errors.
 
ParallelAgent executes multiple sub-agents in parallel and merges their results.
Concatenation merge strategy for string results.
Default merge strategy that combines all results into a map.
List merge strategy that combines results into a list.
Strategy interface for merging parallel execution results.
Builder for creating ParallelAgent instances.
Strategy for building parallel execution graphs.
A node action that aggregates results from parallel execution of multiple agents.
 
Middleware to patch dangling tool calls in the messages history.
Builder for creating PatchToolCallsInterceptor instances.
Exception raised when PII is detected with BLOCK strategy.
Detect and handle Personally Identifiable Information (PII) in agent conversations.
 
Functional interface for detecting PII in text.
Built-in PII detectors for common types.
Represents a detected instance of PII in text.
Types of Personally Identifiable Information that can be detected.
Interface for objects that can be prioritized and sorted by their order value.
 
Tool for reading file contents with pagination support.
Request structure for reading a file.
Tool for reading skill content from SkillRegistry.
Request structure for reading a skill.
Strategies for handling detected PII.
 
 
MessagesModelHook that checks for FINISH_REASON in ToolResponseMessage metadata.
Deprecated.
Response record for structured routing decision output
Strategy for building LLM-based routing graphs.
Routing node that makes LLM-based routing decisions.
Response record for structured routing decision output.
 
Builder for configuring and creating SaaStTemplateRenderer instances.
 
Builder for creating SequentialAgent instances.
Strategy for building sequential execution graphs.
Manages shell sessions and command execution.
 
Result of command execution.
Simple pattern-based redaction rule.
Result of redaction operation with match information.
Redaction rule for sanitizing command output.
A tool for executing shell commands.
 
Defines the parameters for a shell tool request.
A tool for executing shell commands using Spring AI Tool annotations.
 
Hook for managing ShellTool2 session.
Builder class for constructing ShellToolAgentHook instances.
AgentHook for integrating Skills with ReactAgent.
Builder for creating SkillsAgentHook instances.
Interceptor for integrating Claude-style Skills into ReactAgent.
 
An STErrorListener that delegates to slf4j.
Marker interface for tool callbacks that need state injection.
SubAgent interceptor that provides subagent invocation capabilities to agents.
 
Specification for creating a subagent.
 
Hook that summarizes conversation history when token limits are approached.
 
 
Builder for creating SupervisorAgent instances.
 
Response record for structured supervisor decision output.
Strategy for building supervisor-based routing graphs.
MultiCommandAction that reads the sub-agent list from state key "supervisor_next".
Tool that enables invoking subagents to handle complex, isolated tasks.
Request structure for the task tool.
Model interceptor that provides todo list management capabilities to agents.
 
Represents a single todo item.
Todo item status.
Functional interface for counting tokens in messages.
Execution context for a tool call.
Handler interface for tool call interceptors.
Exception raised when tool call limits are exceeded.
Hook that tracks and limits tool call counts.
 
 
Request object for tool calls.
 
Response object for tool calls.
 
Exception thrown when a tool execution is cancelled.
 
 
 
Utility class for accessing common metadata from ToolContext.
Tool interceptor that emulates specified tools using an LLM instead of executing them.
 
 
 
Interface for hooks that need a specific tool injected.
Tool interceptor that can wrap tool calls.
Tool interceptor that automatically retries failed tool calls with configurable backoff.
 
 
Uses an LLM to select relevant tools before calling the main model.
 
Collects state updates from parallel tool executions with isolation.
 
Enumeration for message append policy.
Tool for writing content to a new file.
Request structure for writing a file.
Result of write operation.
Tool for writing and managing todos in the agent workflow.