All Classes and Interfaces
Class
Description
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.
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.
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.
Utility class for creating collections.
Represents the outcome of a
CommandAction
within a LangGraph4j graph.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.
Abstract class for diagram generation.
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.
A CheckpointSaver that stores Checkpoints in the filesystem.
The graph representation in diagram-as-code format.
The supported types.
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.
Base Implementation of
PlainTextStateSerializer
using GSON library
.Represents an entity that can have different versions associated with it.
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
.Deprecated.
Base Implementation of
PlainTextStateSerializer
using Jackson library.Interface for a LangGraph Streaming Server.
Metadata for an argument in a request.
Servlet for initializing the graph in mermaid format.
Servlet for handling graph stream requests.
Initialization data for the graph.
Serializer for InitData objects.
Configuration for persistent session data.
Represents an entry in a thread with its outputs.
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>
insteadDeprecated.
use
StreamingChatGenerator
insteadBuilder class for constructing instances of LLMStreamingGenerator.
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.
Represents a node in a graph, characterized by a unique identifier and a factory for creating
actions to be executed by the node.
Represents the output of a node in a graph.
Represents a binary operator that takes two values of the same type and produces a value of the same type.
Represents a record that implements the
AppenderChannel.RemoveIdentifier<T>
interface.A final class representing configuration for a runnable task.
A builder pattern class for constructing
RunnableConfig
objects.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.
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.
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.
The UserMessageSerializer class implements the NullableObjectSerializer interface for the UserMessage type.
VersionedMemorySaver is a class that implements
BaseCheckpointSaver
and HasVersions
.
LC4jJacksonStateSerializer