All Classes and Interfaces

Class
Description
 
Common base for checkpoint savers backed by CockroachDB.
 
 
A builder for MysqlSaver.
 
 
 
 
 
 
 
 
 
 
Marker interface for classes that expose graph actions as methods annotated with NodeAction or EdgeCondition.
A repository of node and edge actions built from the annotated methods of an ActionCatalog.
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.
 
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.
Represents an agent compliant with the AG-UI protocol, capable of running against a RunAgentInput and streaming back a reactive sequence of Events.
Base implementation of AGUIAgent that bridges a langgraph4j CompiledGraph execution with the AG-UI protocol event stream.
A registry of AGUIAgent instances, keyed by their id.
LangGraph4j NodeHook implementation dedicated to the AG-UI protocol.
Jackson-based implementation of the AG-UI Serializer protocol.
 
 
 
 
 
Servlet for initializing the graph representation format.
Servlet for handling graph stream requests.
Custom LangGraph4j NodeOutput implementation that acts as a bridge between the LangGraph4j output streaming and the AG-UI event model.
Builder for AGUINodeOutput instances, used to accumulate the AG-UI Events to be carried by the resulting output before binding them to a node id and state via AGUINodeOutput.Builder.build(String, AgentState).
 
Spring Boot controller exposing a Server-Sent Events (SSE) endpoint compliant with the AG-UI protocol, driving the lifecycle of a registered LangGraph4j AGUIAgent.
 
 
 
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.
 
 
 
 
 
 
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.
Marks a method of an ActionCatalog as a graph conditional-edge action.
Represents a condition associated with an edge in a graph.
 
 
 
 
 
 
 
 
 
Jackson mixin interface for configuring JSON serialization of BaseEvent and its subclasses.
 
 
A CheckpointSaver that stores Checkpoints in the filesystem.
Internal helpers for the graph runtime; not part of the public API.
 
 
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 .
 
 
 
 
 
 
A JSON Schema driven editor backed by the Jedison web component library.
 
 
 
 
 
 
 
 
 
 
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.
Jackson mixin interface for configuring JSON serialization of BaseMessage and its subclasses.
 
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.
 
 
 
Checkpoint saver backed by MongoDB.
 
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.
Marks a method of an ActionCatalog as a graph node action.
 
 
 
 
 
 
 
Represents the output of a node in a graph.
Serializer for NodeOutput objects, extending the StdSerializer class.
 
 
 
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.
 
Jackson mixin for the polymorphic RunOutcome hierarchy.
 
 
 
 
Postgres checkpoint saver.
 
Postgres checkpoint saver with thread release tags and interruption state.
 
 
 
 
 
 
 
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.
Jackson mixin interface for configuring JSON serialization of Resume objects.
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.
Jackson mixin interface for configuring JSON serialization of State objects.
 
 
 
 
 
 
 
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.
Represents an entry in a thread with its outputs.
 
 
 
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.