All Classes and Interfaces

Class
Description
 
 
A builder for MysqlSaver.
 
 
 
 
 
 
 
 
Interface representing an Agent Executor (AKA ReACT agent).
 
Interface representing an Agent Executor (AKA ReACT agent).
 
 
 
 
 
Interface representing an Agent Executor (AKA ReACT agent).
Represents the core component responsible for executing agent logic.
Builder class for constructing a graph of agent execution.
Class responsible for building a state graph.
Enum representing different serializers for the agent state.
Represents the state of an agent.
Represents the state of an agent in a system.
AgentExecutorBuilder<State extends MessagesState<dev.langchain4j.data.message.ChatMessage>,B extends AgentExecutorBuilder<State,B>>
 
Interface representing an Agent Executor (AKA ReACT agent).
Interface representing an Agent Executor (AKA ReACT agent).
Builder class for constructing a graph of agent execution.
Class responsible for building a state graph.
 
 
Enum representing different serializers for the agent state.
Represents the state of an agent.
Represents the state of an agent in a system.
Represents the state of an agent with a map of data.
A factory interface for creating instances of AgentState.
 
 
 
The AiMessageSerializer class implements the Serializer interface for the AiMessage type.
AppenderChannel is a Channel implementation that is used to accumulate a list of values.
Reducer that allow duplicates
Reducer that disallow duplicates
A functional interface that is used to remove elements from a list.
 
Metadata for an argument in a request.
 
 
 
 
 
 
 
Represents an asynchronous action that, given a state and a configuration, returns a CompletableFuture of a Command.
Represents an asynchronous edge action that operates on an agent state and returns a new route.
Represents an asynchronous node action that operates on an agent state and returns state update.
Represents an asynchronous action that can be executed with a configuration.
 
 
 
BaseReactAgentBuilder<B extends BaseReactAgentBuilder<B,State>,State extends MessagesState<org.springframework.ai.chat.messages.Message>>
 
CallModel<State extends MessagesState<dev.langchain4j.data.message.ChatMessage>>
 
CallModelAction<State extends MessagesState<org.springframework.ai.chat.messages.Message>>
 
A Channel is a mechanism used to maintain a state property.
 
 
The ChatMesssageSerializer class is responsible for serializing and deserializing ChatMessage objects.
 
Represents a checkpoint of an agent state.
 
 
 
 
Checkpoint saver backed by CockroachDB.
 
Utility class for creating collections.
Represents the outcome of a CommandAction within a LangGraph4j graph.
Defines a node that can also send command signals (goto, interrupt, etc.)
class is a configuration container for defining compile settings and behaviors.
This class is a builder for CompileConfig.
Represents a compiled graph of nodes and edges.
Enum representing various error messages related to graph runner.
 
 
 
 
 
Policy used at model-call time to select which graph messages are sent to the LLM.
Options which configure the creation of database schema objects, such as tables and indexes.
 
 
Default implementation of KeyNamingStrategy using standard LangGraph4j key patterns.
Abstract class for diagram generation.
 
 
 
Amazon DynamoDB-backed checkpoint saver for LangGraph4j.
Fluent builder for DynamoDBSaver.
Represents an edge in a graph with a source ID and a target value.
Represents an edge action that operates on an agent state and returns a result.
Represents a condition associated with an edge in a graph.
 
 
 
 
 
 
 
 
 
ExecuteToolsAction<State extends MessagesState<org.springframework.ai.chat.messages.Message>>
 
A CheckpointSaver that stores Checkpoints in the filesystem.
 
 
Defines the contract for graph structures that manage state and control flow.
Container for edges in a graph.
Container for nodes in a graph.
Functional interface for processing nodes and edges to produce an output.
 
Exception thrown when the execution of a graph is interrupted.
Represents a path in a graph, consisting of a sequence of string elements.
The graph representation in diagram-as-code format.
The supported types.
Represents the unified result of a graph execution.
 
 
Exception thrown when there is an error during the execution of a graph runner.
Exception thrown when there is an error related to the state of a graph.
Deprecated, for removal: This API element is subject to removal in a future version.
 
 
HazelcastSaver persists LangGraph4j workflow checkpoints in a Hazelcast distributed map, so workflow state survives process restarts and can be shared across the members of a Hazelcast cluster.
Builder for HazelcastSaver.
The Hazelcast distributed map type used to store the checkpoints.
 
 
Initialization data for the graph.
Deprecated, for removal: This API element is subject to removal in a future version.
Defines a contract for actions that can interrupt the execution of a graph.
Represents the metadata associated with a graph execution interruption.
A builder for creating instances of InterruptionMetadata.
 
A functional interface for deserializing a JsonNode into an object of type T.
Base Implementation of PlainTextStateSerializer using Jackson library.
Generates a JSON graph DSL .
Strategy interface for customizing Redis key naming patterns.
 
Interface for a LangGraph Streaming Server.
 
Servlet for initializing the graph representation format.
Servlet for handling graph stream requests.
 
 
Configuration for persistent session data.
Represents a streaming server for LangGraph using Jetty.
Builder class for constructing LangGraphStreamingServerJetty instances.
 
 
 
 
 
Builder for LC4jToolService
Deprecated.
use Map.Entry<dev.langchain4j.agent.tool.ToolSpecification,dev.langchain4j.service.tool.ToolExecutor> instead
 
Interface for a LangGraph Streaming Server.
 
 
Explicit tool → skill id bindings for ToolSkillResolver.
 
 
 
 
 
This class represents a MermaidGenerator that extends DiagramGenerator.
 
Represents the agent's state as a collection of messages
Represents a state graph with messages for generic type T.
 
Sliding-window conversation context policy that keeps at most maxMessages graph messages.
 
 
 
MysqlSaver is an extension of MemorySaver that enables persistent, reliable storage of workflow state in a MySQL database.
A builder for MysqlSaver.
Represents a node in a graph, characterized by a unique identifier and a factory for creating actions to be executed by the node.
 
Defines a node in the graph that reads and writes state.
 
 
 
 
 
 
 
Represents the output of a node in a graph.
 
 
 
OracleSaver is an extension of MemorySaver that enables persistent, reliable storage of workflow state in an Oracle database.
A builder for OracleSaver.
 
 
 
 
 
Wraps LangGraph4j node and edge execution with OpenTelemetry spans.
Creates a parent span and executes node/edge calls within its scope.
 
 
 
 
 
 
Postgres checkpoint saver.
 
Postgres checkpoint saver with thread release tags and interruption state.
 
 
 
 
 
ReactAgentBuilder<B extends ReactAgentBuilder<B,State>,State extends MessagesState<org.springframework.ai.chat.messages.Message>>
 
ReactAgentBuilderEx<B extends ReactAgentBuilderEx<B,State>,State extends MessagesState<org.springframework.ai.chat.messages.Message>>
 
RedisSaver is an extension of MemorySaver that enables persistent, high-performance storage of workflow state in Redis.
A builder for RedisSaver.
Represents a binary operator that combines two values of the same type into a single value.
Represents a record that implements the AppenderChannel.RemoveIdentifier<T> interface.
Retries a node action when a configured failure occurs.
 
A final class representing configuration for a runnable task.
A builder pattern class for constructing RunnableConfig objects.
 
 
A ToolCallback backed by a React-style sub-agent whose tool metadata and system prompt are loaded from a skill source.
Builder for creating a SkilledReactSubAgent from a skill definition and the underlying React agent configuration.
Tool-call–triggered dynamic skills: activate ids on successful tool results (via execute-tools edge wrap + Command.update()), materialize bodies through ConversationContextPolicy (never written into Graph State).
 
 
 
 
 
 
 
 
This class is responsible for serializing and deserializing the state of an agent executor.
 
Service class responsible for managing tools and their callbacks.
 
 
 
 
 
 
 
 
 
 
 
Represents a state graph with nodes and edges.
Enum representing various error messages related to graph state.
 
 
 
 
Builder class for constructing instances of LLMStreamingGenerator.
 
 
 
 
Input passed to the generated tool callback.
 
 
Represents an action to perform a subgraph on a given state with a specific configuration.
Defines the interface for a sub-graph node in an agent's state graph.
Represents the output of a subgraph node.
 
 
 
 
 
 
 
 
 
 
The SystemMessageSerializer class implements the Serializer interface for the SystemMessage type.
 
 
 
The ToolExecutionRequestSerializer class implements the Serializer interface for the ToolExecutionRequest type.
 
 
 
This class is responsible for serializing and deserializing instances of ToolExecutionResultMessage.
A builder class to construct a Command and update the execution context.
 
 
 
 
 
 
Maps a business tool name to zero or more skill ids to activate.
 
 
 
 
 
This class is inspired by TypeReference from Jackson Library It is used to pass full generics type information, and avoid problems with type erasure (that basically removes most usable type references from runtime Class objects).
 
Declarative target for SkillInjector's unload operation.
Clear every currently-activated skill (ephemeral semantics).
Drop a concrete set of skill ids.
Drop every skill id accepted by UnloadTarget.Matching.test().
Keep every currently-activated skill.
Lazy holder — validates permits once on first dispatch-through.
 
 
 
 
 
 
 
The UserMessageSerializer class implements the NullableObjectSerializer interface for the UserMessage type.