Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractLangGraphStudioConfig - Class in org.bsc.langgraph4j.studio.springboot
- AbstractLangGraphStudioConfig() - Constructor for class org.bsc.langgraph4j.studio.springboot.AbstractLangGraphStudioConfig
- accept(T) - Method in interface org.bsc.langgraph4j.utils.TryConsumer
- action() - Method in record class org.bsc.langgraph4j.internal.edge.EdgeCondition
-
Returns the value of the
action
record component. - actionFactory() - Method in class org.bsc.langgraph4j.internal.node.Node
-
actionFactory
- addConditionalEdges(String, AsyncCommandAction<State>, Map<String, String>) - Method in class org.bsc.langgraph4j.StateGraph
-
Adds conditional edges to the graph.
- addConditionalEdges(String, AsyncEdgeAction<State>, Map<String, String>) - Method in class org.bsc.langgraph4j.StateGraph
-
Adds conditional edges to the graph.
- addEdge(String, String) - Method in class org.bsc.langgraph4j.StateGraph
-
Adds an edge to the graph.
- addInputImageArg(String) - Method in class org.bsc.langgraph4j.studio.jetty.LangGraphStreamingServerJetty.Builder
-
Adds an input image argument to the server configuration with required set to true.
- addInputImageArg(String) - Method in class org.bsc.langgraph4j.studio.springboot.LangGraphFlow.Builder
-
Adds an input image argument to the server configuration with required set to true.
- addInputImageArg(String) - Method in class org.bsc.quarkus.LangGraphFlow.Builder
-
Adds an input image argument to the server configuration with required set to true.
- addInputImageArg(String, boolean) - Method in class org.bsc.langgraph4j.studio.jetty.LangGraphStreamingServerJetty.Builder
-
Adds an input image argument to the server configuration.
- addInputImageArg(String, boolean) - Method in class org.bsc.langgraph4j.studio.springboot.LangGraphFlow.Builder
-
Adds an input image argument to the server configuration.
- addInputImageArg(String, boolean) - Method in class org.bsc.quarkus.LangGraphFlow.Builder
-
Adds an input image argument to the server configuration.
- addInputStringArg(String) - Method in class org.bsc.langgraph4j.studio.jetty.LangGraphStreamingServerJetty.Builder
-
Adds an input string argument to the server configuration with required set to true.
- addInputStringArg(String) - Method in class org.bsc.langgraph4j.studio.springboot.LangGraphFlow.Builder
-
Adds an input string argument to the server configuration with required set to true.
- addInputStringArg(String) - Method in class org.bsc.quarkus.LangGraphFlow.Builder
-
Adds an input string argument to the server configuration with required set to true.
- addInputStringArg(String, boolean) - Method in class org.bsc.langgraph4j.studio.jetty.LangGraphStreamingServerJetty.Builder
-
Adds an input string argument to the server configuration.
- addInputStringArg(String, boolean) - Method in class org.bsc.langgraph4j.studio.springboot.LangGraphFlow.Builder
-
Adds an input string argument to the server configuration.
- addInputStringArg(String, boolean) - Method in class org.bsc.quarkus.LangGraphFlow.Builder
-
Adds an input string argument to the server configuration.
- addInputStringArg(String, boolean, Function<Object, Object>) - Method in class org.bsc.langgraph4j.studio.jetty.LangGraphStreamingServerJetty.Builder
- addInputStringArg(String, boolean, Function<Object, Object>) - Method in class org.bsc.langgraph4j.studio.springboot.LangGraphFlow.Builder
- addInputStringArg(String, boolean, Function<Object, Object>) - Method in class org.bsc.quarkus.LangGraphFlow.Builder
- addMetadata(String, Object) - Method in class org.bsc.langgraph4j.HasMetadata.Builder
- addNode(String, AsyncCommandAction<State>, Map<String, String>) - Method in class org.bsc.langgraph4j.StateGraph
-
Adds node that behave as conditional edges.
- addNode(String, AsyncNodeAction<State>) - Method in class org.bsc.langgraph4j.StateGraph
-
Adds a node to the graph.
- addNode(String, AsyncNodeActionWithConfig<State>) - Method in class org.bsc.langgraph4j.StateGraph
- addNode(String, CompiledGraph<State>) - Method in class org.bsc.langgraph4j.StateGraph
-
Adds a subgraph to the state graph by creating a node with the specified identifier.
- addNode(String, StateGraph<State>) - Method in class org.bsc.langgraph4j.StateGraph
-
Adds a subgraph to the state graph by creating a node with the specified identifier.
- addParallelNodeExecutor(String, Executor) - Method in class org.bsc.langgraph4j.RunnableConfig.Builder
-
Adds a custom
Executor
for a specific parallel node. - addSubgraph(String, CompiledGraph<State>) - Method in class org.bsc.langgraph4j.StateGraph
-
Deprecated, for removal: This API element is subject to removal in a future version.
- addSubgraph(String, StateGraph<State>) - Method in class org.bsc.langgraph4j.StateGraph
-
Deprecated, for removal: This API element is subject to removal in a future version.use
add( String id, StateGraph<State> )
instead - Agent - Interface in org.bsc.langgraph4j.agent
-
Interface representing an Agent Executor (AKA ReACT agent).
- Agent.Builder<M,
S extends MessagesState<M>> - Class in org.bsc.langgraph4j.agent - AgentEx - Interface in org.bsc.langgraph4j.agent
-
Interface representing an Agent Executor (AKA ReACT agent).
- AgentEx.ApprovalNodeAction<M,
State extends MessagesState<M>> - Class in org.bsc.langgraph4j.agent - AgentEx.ApprovalNodeAction.Builder<M,
State extends MessagesState<M>> - Class in org.bsc.langgraph4j.agent - AgentEx.ApprovalState - Enum Class in org.bsc.langgraph4j.agent
- AgentEx.Builder<M,
S extends MessagesState<M>, TOOL> - Class in org.bsc.langgraph4j.agent - AgentExecutor - Interface in org.bsc.langgraph4j.agentexecutor
-
Interface representing an Agent Executor (AKA ReACT agent).
- AgentExecutor - Interface in org.bsc.langgraph4j.spring.ai.agentexecutor
-
Represents the core component responsible for executing agent logic.
- AgentExecutor.Builder - Class in org.bsc.langgraph4j.agentexecutor
-
Builder class for constructing a graph of agent execution.
- AgentExecutor.Builder - Class in org.bsc.langgraph4j.spring.ai.agentexecutor
-
Class responsible for building a state graph.
- AgentExecutor.Serializers - Enum Class in org.bsc.langgraph4j.agentexecutor
-
Enum representing different serializers for the agent state.
- AgentExecutor.State - Class in org.bsc.langgraph4j.agentexecutor
-
Represents the state of an agent.
- AgentExecutor.State - Class in org.bsc.langgraph4j.spring.ai.agentexecutor
-
Represents the state of an agent in a system.
- AgentExecutorBuilder<State extends MessagesState<dev.langchain4j.data.message.ChatMessage>,
B extends AgentExecutorBuilder<State, B>> - Class in org.bsc.langgraph4j.agentexecutor - AgentExecutorBuilder<B extends AgentExecutorBuilder<B,
State>, State extends AgentState> - Class in org.bsc.langgraph4j.spring.ai.agentexecutor - AgentExecutorBuilder() - Constructor for class org.bsc.langgraph4j.agentexecutor.AgentExecutorBuilder
- AgentExecutorBuilder() - Constructor for class org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutorBuilder
- AgentExecutorEx - Interface in org.bsc.langgraph4j.agentexecutor
-
Interface representing an Agent Executor (AKA ReACT agent).
- AgentExecutorEx - Interface in org.bsc.langgraph4j.spring.ai.agentexecutor
-
Interface representing an Agent Executor (AKA ReACT agent).
- AgentExecutorEx.Builder - Class in org.bsc.langgraph4j.agentexecutor
-
Builder class for constructing a graph of agent execution.
- AgentExecutorEx.Builder - Class in org.bsc.langgraph4j.spring.ai.agentexecutor
-
Class responsible for building a state graph.
- AgentExecutorEx.Serializers - Enum Class in org.bsc.langgraph4j.agentexecutor
-
Enum representing different serializers for the agent state.
- AgentExecutorEx.State - Class in org.bsc.langgraph4j.agentexecutor
-
Represents the state of an agent.
- AgentExecutorEx.State - Class in org.bsc.langgraph4j.spring.ai.agentexecutor
-
Represents the state of an agent in a system.
- agentFunction(String) - Method in class org.bsc.langgraph4j.spring.ai.tool.SpringAIToolService
-
Retrieves a specific function callback wrapper by name.
- agentFunctionsCallback() - Method in class org.bsc.langgraph4j.spring.ai.tool.SpringAIToolService
-
Retrieves all registered function callback wrappers.
- AgentState - Class in org.bsc.langgraph4j.state
-
Represents the state of an agent with a map of data.
- AgentState(Map<String, Object>) - Constructor for class org.bsc.langgraph4j.state.AgentState
-
Constructs an AgentState with the given initial data.
- AgentStateFactory<State extends AgentState> - Interface in org.bsc.langgraph4j.state
-
A factory interface for creating instances of
AgentState
. - AiMessageDeserializer - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- AiMessageDeserializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.AiMessageDeserializer
- AiMessageSerializer - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- AiMessageSerializer - Class in org.bsc.langgraph4j.langchain4j.serializer.std
-
The AiMessageSerializer class implements the Serializer interface for the AiMessage type.
- AiMessageSerializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.AiMessageSerializer
- AiMessageSerializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.std.AiMessageSerializer
- anyMatchById(String) - Method in class org.bsc.langgraph4j.StateGraph.Nodes
- anyMatchByTargetId(String) - Method in record class org.bsc.langgraph4j.internal.edge.Edge
- appender(Supplier<List<T>>) - Static method in interface org.bsc.langgraph4j.state.Channels
- AppenderChannel<T> - Class in org.bsc.langgraph4j.state
-
AppenderChannel is a
Channel
implementation that is used to accumulate a list of values. - AppenderChannel(Reducer<List<T>>, Supplier<List<T>>) - Constructor for class org.bsc.langgraph4j.state.AppenderChannel
-
Constructs a new instance of
AppenderChannel
with the specified default provider. - AppenderChannel.ReducerAllowDuplicate<T> - Class in org.bsc.langgraph4j.state
-
Reducer that allow duplicates
- AppenderChannel.ReducerDisallowDuplicate<T> - Class in org.bsc.langgraph4j.state
-
Reducer that disallow duplicates
- AppenderChannel.RemoveIdentifier<T> - Interface in org.bsc.langgraph4j.state
-
A functional interface that is used to remove elements from a list.
- appenderWithDuplicate(Supplier<List<T>>) - Static method in interface org.bsc.langgraph4j.state.Channels
- appendFooter(DiagramGenerator.Context) - Method in class org.bsc.langgraph4j.diagram.MermaidGenerator
- appendFooter(DiagramGenerator.Context) - Method in class org.bsc.langgraph4j.diagram.PlantUMLGenerator
- appendFooter(DiagramGenerator.Context) - Method in class org.bsc.langgraph4j.DiagramGenerator
-
Appends a footer to the content.
- appendHeader(DiagramGenerator.Context) - Method in class org.bsc.langgraph4j.diagram.MermaidGenerator
- appendHeader(DiagramGenerator.Context) - Method in class org.bsc.langgraph4j.diagram.PlantUMLGenerator
- appendHeader(DiagramGenerator.Context) - Method in class org.bsc.langgraph4j.DiagramGenerator
-
Appends a header to the output based on the provided context.
- apply(List<T>, List<T>) - Method in class org.bsc.langgraph4j.state.AppenderChannel.ReducerAllowDuplicate
- apply(List<T>, List<T>) - Method in class org.bsc.langgraph4j.state.AppenderChannel.ReducerDisallowDuplicate
- apply(CompileConfig) - Method in interface org.bsc.langgraph4j.internal.node.Node.ActionFactory
- apply(S) - Method in interface org.bsc.langgraph4j.action.AsyncEdgeAction
-
Applies this action to the given agent state.
- apply(S) - Method in interface org.bsc.langgraph4j.action.AsyncNodeAction
-
Applies this action to the given agent state.
- apply(S) - Method in interface org.bsc.langgraph4j.action.EdgeAction
-
Applies this action to the given agent state.
- apply(S, RunnableConfig) - Method in interface org.bsc.langgraph4j.action.AsyncNodeActionWithConfig
-
Applies this action to the given agent state.
- apply(S, RunnableConfig) - Method in interface org.bsc.langgraph4j.action.CommandAction
- apply(S, RunnableConfig) - Method in interface org.bsc.langgraph4j.action.NodeActionWithConfig
- apply(State, RunnableConfig) - Method in class org.bsc.langgraph4j.agent.AgentEx.ApprovalNodeAction
- apply(State, RunnableConfig) - Method in class org.bsc.langgraph4j.agentexecutor.CallModel
- apply(State, RunnableConfig) - Method in record class org.bsc.langgraph4j.internal.node.SubCompiledGraphNodeAction
-
Executes the given graph with the provided state and configuration.
- apply(T) - Method in interface org.bsc.langgraph4j.action.NodeAction
- apply(T) - Method in interface org.bsc.langgraph4j.utils.TryFunction
- applyFromSchema(Map<String, Channel<?>>) - Method in interface org.bsc.langgraph4j.state.AgentStateFactory
-
Initializes this state from the given schema.
- applySync(State, RunnableConfig) - Method in class org.bsc.langgraph4j.agentexecutor.CallModel
-
Applies the action to the given state and returns the result.
- APPROVAL_RESULT_PROPERTY - Static variable in interface org.bsc.langgraph4j.agent.AgentEx
- approvalActionEdge(AsyncCommandAction<S>) - Method in class org.bsc.langgraph4j.agent.AgentEx.Builder
- approvalOn(String, BiFunction<String, AgentExecutorEx.State, InterruptionMetadata<AgentExecutorEx.State>>) - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutorEx.Builder
- approvalOn(String, BiFunction<String, AgentExecutorEx.State, InterruptionMetadata<AgentExecutorEx.State>>) - Method in class org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutorEx.Builder
- APPROVED - Enum constant in enum class org.bsc.langgraph4j.agent.AgentEx.ApprovalState
- args() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.InitData
-
Returns the value of the
args
record component. - args(Map<String, Object>) - Static method in interface org.bsc.langgraph4j.GraphInput
- ArgumentMetadata(String, LangGraphStreamingServer.ArgumentMetadata.ArgumentType, boolean) - Constructor for record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ArgumentMetadata
- ArgumentMetadata(String, LangGraphStreamingServer.ArgumentMetadata.ArgumentType, boolean, Function<Object, Object>) - Constructor for record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ArgumentMetadata
-
Creates an instance of a
ArgumentMetadata
record class. - asAiMessage(ChatMessage) - Static method in class org.bsc.langgraph4j.langchain4j.util.ChatMessageUtil
- asAssistantMessage(Message) - Static method in class org.bsc.langgraph4j.spring.ai.util.MessageUtil
- asSystemMessage(ChatMessage) - Static method in class org.bsc.langgraph4j.langchain4j.util.ChatMessageUtil
- asSystemMessage(Message) - Static method in class org.bsc.langgraph4j.spring.ai.util.MessageUtil
- asToolExecutionResultMessage(ChatMessage) - Static method in class org.bsc.langgraph4j.langchain4j.util.ChatMessageUtil
- asToolResponseMessage(Message) - Static method in class org.bsc.langgraph4j.spring.ai.util.MessageUtil
- asUserMessage(ChatMessage) - Static method in class org.bsc.langgraph4j.langchain4j.util.ChatMessageUtil
- asUserMessage(Message) - Static method in class org.bsc.langgraph4j.spring.ai.util.MessageUtil
- AsyncCommandAction<S extends AgentState> - Interface in org.bsc.langgraph4j.action
-
Represents an asynchronous action that, given a state and a configuration, returns a
CompletableFuture
of aCommand
. - AsyncEdgeAction<S extends AgentState> - Interface in org.bsc.langgraph4j.action
-
Represents an asynchronous edge action that operates on an agent state and returns a new route.
- AsyncNodeAction<S extends AgentState> - Interface in org.bsc.langgraph4j.action
-
Represents an asynchronous node action that operates on an agent state and returns state update.
- AsyncNodeActionWithConfig<S extends AgentState> - Interface in org.bsc.langgraph4j.action
-
Represents an asynchronous action that can be executed with a configuration.
- AsyncNodeGenerator(GraphInput, RunnableConfig) - Constructor for class org.bsc.langgraph4j.CompiledGraph.AsyncNodeGenerator
- available() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
B
- base(Supplier<T>) - Static method in interface org.bsc.langgraph4j.state.Channels
- base(Reducer<T>) - Static method in interface org.bsc.langgraph4j.state.Channels
- base(Reducer<T>, Supplier<T>) - Static method in interface org.bsc.langgraph4j.state.Channels
- BaseCheckpointSaver - Interface in org.bsc.langgraph4j.checkpoint
- BaseCheckpointSaver.Tag - Record Class in org.bsc.langgraph4j.checkpoint
- build() - Method in class org.bsc.langgraph4j.action.InterruptionMetadata.Builder
-
Builds the
InterruptionMetadata
instance. - build() - Method in class org.bsc.langgraph4j.agent.Agent.Builder
- build() - Method in class org.bsc.langgraph4j.agent.AgentEx.ApprovalNodeAction.Builder
- build() - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.Builder
-
Builds the state graph.
- build() - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutorEx.Builder
-
Builds the state graph.
- build() - Method in class org.bsc.langgraph4j.checkpoint.Checkpoint.Builder
- build() - Method in class org.bsc.langgraph4j.checkpoint.PostgresSaver.Builder
- build() - Method in class org.bsc.langgraph4j.CompileConfig.Builder
-
Initializes the compilation configuration and returns it.
- build() - Method in class org.bsc.langgraph4j.DiagramGenerator.Context.Builder
- build() - Method in class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator.Builder
-
Deprecated.Builds and returns an instance of LLMStreamingGenerator.
- build() - Method in class org.bsc.langgraph4j.langchain4j.generators.StreamingChatGenerator.Builder
-
Builds and returns an instance of LLMStreamingGenerator.
- build() - Method in class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService.Builder
-
Builds the node
- build() - Method in class org.bsc.langgraph4j.RunnableConfig.Builder
-
Constructs and returns the configured
RunnableConfig
object. - build() - Method in class org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutor.Builder
-
Builds and returns a StateGraph with the specified configuration.
- build() - Method in class org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutorEx.Builder
-
Builds and returns a StateGraph with the specified configuration.
- build() - Method in class org.bsc.langgraph4j.studio.jetty.LangGraphStreamingServerJetty.Builder
-
Builds and returns a LangGraphStreamingServerJetty instance.
- build() - Method in class org.bsc.langgraph4j.studio.springboot.LangGraphFlow.Builder
- build() - Method in class org.bsc.langgraph4j.utils.EdgeMappings.Builder
- build() - Method in class org.bsc.quarkus.LangGraphFlow.Builder
- build(Collection<TOOL>, Map<String, AgentEx.ApprovalNodeAction<M, S>>) - Method in class org.bsc.langgraph4j.agent.AgentEx.Builder
- build(Flux<ChatResponse>) - Method in class org.bsc.langgraph4j.spring.ai.generators.StreamingChatGenerator.Builder
-
Builds and returns an instance of LLMStreamingGenerator.
- builder() - Static method in interface org.bsc.langgraph4j.agent.Agent
- builder() - Static method in class org.bsc.langgraph4j.agent.AgentEx.ApprovalNodeAction
- builder() - Static method in interface org.bsc.langgraph4j.agent.AgentEx
- builder() - Static method in interface org.bsc.langgraph4j.agentexecutor.AgentExecutor
-
Creates a new Builder instance.
- builder() - Static method in interface org.bsc.langgraph4j.agentexecutor.AgentExecutorEx
- builder() - Static method in class org.bsc.langgraph4j.checkpoint.Checkpoint
- builder() - Static method in class org.bsc.langgraph4j.checkpoint.PostgresSaver
- builder() - Static method in class org.bsc.langgraph4j.CompileConfig
-
Returns a new
CompileConfig.Builder
instance with the defaultCompileConfig
. - builder() - Static method in class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator
-
Deprecated.Creates a new Builder instance for LLMStreamingGenerator.
- builder() - Static method in class org.bsc.langgraph4j.langchain4j.generators.StreamingChatGenerator
-
Creates a new Builder instance for LLMStreamingGenerator.
- builder() - Static method in class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService
- builder() - Static method in class org.bsc.langgraph4j.RunnableConfig
-
Creates a new instance of the
RunnableConfig.Builder
class. - builder() - Static method in interface org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutor
-
Returns a new instance of
AgentExecutor.Builder
. - builder() - Static method in interface org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutorEx
-
Returns a new instance of
AgentExecutorEx.Builder
. - builder() - Static method in interface org.bsc.langgraph4j.spring.ai.generators.StreamingChatGenerator
- builder() - Static method in class org.bsc.langgraph4j.studio.jetty.LangGraphStreamingServerJetty
-
Creates a new Builder for LangGraphStreamingServerJetty.
- builder() - Static method in record class org.bsc.langgraph4j.studio.springboot.LangGraphFlow
- builder() - Static method in class org.bsc.langgraph4j.utils.EdgeMappings
- builder() - Static method in record class org.bsc.quarkus.LangGraphFlow
- builder(String, State) - Static method in class org.bsc.langgraph4j.action.InterruptionMetadata
-
Creates a new builder for
InterruptionMetadata
. - builder(CompileConfig) - Static method in class org.bsc.langgraph4j.CompileConfig
-
Creates a new
CompileConfig.Builder
instance with the specified Compile configuration. - builder(RunnableConfig) - Static method in class org.bsc.langgraph4j.RunnableConfig
-
Creates a new
Builder
instance with the specifiedRunnableConfig
. - Builder() - Constructor for class org.bsc.langgraph4j.agent.Agent.Builder
- Builder() - Constructor for class org.bsc.langgraph4j.agent.AgentEx.ApprovalNodeAction.Builder
- Builder() - Constructor for class org.bsc.langgraph4j.agent.AgentEx.Builder
- Builder() - Constructor for class org.bsc.langgraph4j.agentexecutor.AgentExecutor.Builder
- Builder() - Constructor for class org.bsc.langgraph4j.agentexecutor.AgentExecutorEx.Builder
- Builder() - Constructor for class org.bsc.langgraph4j.checkpoint.Checkpoint.Builder
- Builder() - Constructor for class org.bsc.langgraph4j.checkpoint.PostgresSaver.Builder
- Builder() - Constructor for class org.bsc.langgraph4j.HasMetadata.Builder
- Builder() - Constructor for class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator.Builder
-
Deprecated.
- Builder() - Constructor for class org.bsc.langgraph4j.langchain4j.generators.StreamingChatGenerator.Builder
- Builder() - Constructor for class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService.Builder
- Builder() - Constructor for class org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutor.Builder
- Builder() - Constructor for class org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutorEx.Builder
- Builder() - Constructor for class org.bsc.langgraph4j.spring.ai.generators.StreamingChatGenerator.Builder
- Builder() - Constructor for class org.bsc.langgraph4j.studio.jetty.LangGraphStreamingServerJetty.Builder
- Builder() - Constructor for class org.bsc.langgraph4j.studio.springboot.LangGraphFlow.Builder
- Builder() - Constructor for class org.bsc.langgraph4j.utils.EdgeMappings.Builder
- Builder() - Constructor for class org.bsc.quarkus.LangGraphFlow.Builder
- Builder(String, State) - Constructor for class org.bsc.langgraph4j.action.InterruptionMetadata.Builder
-
Constructs a new builder.
- Builder(Map<String, Object>) - Constructor for class org.bsc.langgraph4j.HasMetadata.Builder
- Builder(CompileConfig) - Constructor for class org.bsc.langgraph4j.CompileConfig.Builder
-
Constructs a new instance of
Builder
with the specified compile configuration. - buildNodeOutput(String) - Method in class org.bsc.langgraph4j.CompiledGraph.AsyncNodeGenerator
- buildStateSnapshot(Checkpoint) - Method in class org.bsc.langgraph4j.CompiledGraph.AsyncNodeGenerator
- bytesToObject(byte[]) - Method in interface org.bsc.langgraph4j.serializer.Serializer
C
- call(DiagramGenerator.Context, String, String, String, DiagramGenerator.CallStyle) - Method in class org.bsc.langgraph4j.diagram.MermaidGenerator
- call(DiagramGenerator.Context, String, String, String, DiagramGenerator.CallStyle) - Method in class org.bsc.langgraph4j.diagram.PlantUMLGenerator
- call(DiagramGenerator.Context, String, String, String, DiagramGenerator.CallStyle) - Method in class org.bsc.langgraph4j.DiagramGenerator
-
Abstract method that must be implemented by subclasses to handle the logic of making a call.
- call(DiagramGenerator.Context, String, String, DiagramGenerator.CallStyle) - Method in class org.bsc.langgraph4j.diagram.MermaidGenerator
- call(DiagramGenerator.Context, String, String, DiagramGenerator.CallStyle) - Method in class org.bsc.langgraph4j.diagram.PlantUMLGenerator
- call(DiagramGenerator.Context, String, String, DiagramGenerator.CallStyle) - Method in class org.bsc.langgraph4j.DiagramGenerator
-
This method is an abstract method that must be implemented by subclasses.
- CallModel<State extends MessagesState<dev.langchain4j.data.message.ChatMessage>> - Class in org.bsc.langgraph4j.agentexecutor
- CallModel(AgentExecutorBuilder<State, ?>) - Constructor for class org.bsc.langgraph4j.agentexecutor.CallModel
-
Constructs a CallAgent with the specified agent.
- callModelAction(AsyncNodeActionWithConfig<S>) - Method in class org.bsc.langgraph4j.agent.Agent.Builder
- callModelAction(AsyncNodeActionWithConfig<S>) - Method in class org.bsc.langgraph4j.agent.AgentEx.Builder
- Channel<T> - Interface in org.bsc.langgraph4j.state
-
A Channel is a mechanism used to maintain a state property.
- Channels - Interface in org.bsc.langgraph4j.state
- ChatMessageUtil - Class in org.bsc.langgraph4j.langchain4j.util
- ChatMessageUtil() - Constructor for class org.bsc.langgraph4j.langchain4j.util.ChatMessageUtil
- ChatMesssageSerializer - Class in org.bsc.langgraph4j.langchain4j.serializer.std
-
The ChatMesssageSerializer class is responsible for serializing and deserializing ChatMessage objects.
- ChatMesssageSerializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.std.ChatMesssageSerializer
- chatModel(ChatModel) - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutorBuilder
- chatModel(StreamingChatModel) - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutorBuilder
- chatModel(ChatModel) - Method in class org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutorBuilder
- chatModel(ChatModel, boolean) - Method in class org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutorBuilder
- Checkpoint - Class in org.bsc.langgraph4j.checkpoint
-
Represents a checkpoint of an agent state.
- Checkpoint.Builder - Class in org.bsc.langgraph4j.checkpoint
- checkPointId() - Method in class org.bsc.langgraph4j.RunnableConfig
-
Returns the current
checkPointId
wrapped in anOptional
. - checkPointId(String) - Method in class org.bsc.langgraph4j.RunnableConfig.Builder
-
Sets the checkpoint ID for the configuration.
- checkpoints() - Method in record class org.bsc.langgraph4j.checkpoint.BaseCheckpointSaver.Tag
-
Returns the value of the
checkpoints
record component. - checkpointSaver() - Method in class org.bsc.langgraph4j.CompileConfig
-
Returns the current
BaseCheckpointSaver
instance if it is notnull
, otherwise returns an emptyOptional
. - checkpointSaver(BaseCheckpointSaver) - Method in class org.bsc.langgraph4j.CompileConfig.Builder
-
Sets the checkpoint saver for the configuration.
- chunk() - Method in class org.bsc.langgraph4j.streaming.StreamingOutput
- cloneObject(Map<String, Object>) - Method in class org.bsc.langgraph4j.serializer.StateSerializer
- cloneObject(T) - Method in interface org.bsc.langgraph4j.serializer.Serializer
- close() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- CollectionsUtils - Class in org.bsc.langgraph4j.utils
-
Utility class for creating collections.
- CollectionsUtils() - Constructor for class org.bsc.langgraph4j.utils.CollectionsUtils
- Command - Record Class in org.bsc.langgraph4j.action
-
Represents the outcome of a
CommandAction
within a LangGraph4j graph. - Command(String) - Constructor for record class org.bsc.langgraph4j.action.Command
-
Constructs a
Command
that specifies only the next node to transition to, with no state updates. - Command(String, Map<String, Object>) - Constructor for record class org.bsc.langgraph4j.action.Command
-
check for null values
- command_async(CommandAction<S>) - Static method in interface org.bsc.langgraph4j.action.AsyncCommandAction
-
Creates an
AsyncCommandAction
from a synchronousCommandAction
. - CommandAction<S extends AgentState> - Interface in org.bsc.langgraph4j.action
- commentLine(DiagramGenerator.Context, boolean) - Method in class org.bsc.langgraph4j.diagram.MermaidGenerator
- commentLine(DiagramGenerator.Context, boolean) - Method in class org.bsc.langgraph4j.diagram.PlantUMLGenerator
- commentLine(DiagramGenerator.Context, boolean) - Method in class org.bsc.langgraph4j.DiagramGenerator
-
Comment a line in the given context.
- compareTo(T, int) - Method in interface org.bsc.langgraph4j.state.AppenderChannel.RemoveIdentifier
-
Compares the specified element with the element at the given index.
- compareTo(T, int) - Method in record class org.bsc.langgraph4j.state.RemoveByHash
-
Compares the hash code of this object with another element at a specific index.
- compile() - Method in class org.bsc.langgraph4j.StateGraph
-
Compiles the state graph into a compiled graph.
- compile(CompileConfig) - Method in class org.bsc.langgraph4j.StateGraph
-
Compiles the state graph into a compiled graph.
- compileConfig - Variable in class org.bsc.langgraph4j.CompiledGraph
- compileConfig() - Method in record class org.bsc.langgraph4j.studio.springboot.LangGraphFlow
-
Returns the value of the
compileConfig
record component. - compileConfig() - Method in record class org.bsc.quarkus.LangGraphFlow
-
Returns the value of the
compileConfig
record component. - compileConfig(CompileConfig) - Method in class org.bsc.langgraph4j.studio.jetty.LangGraphStreamingServerJetty.Builder
- compileConfig(CompileConfig) - Method in class org.bsc.langgraph4j.studio.springboot.LangGraphFlow.Builder
-
Sets the checkpoint saver for the server.
- compileConfig(CompileConfig) - Method in class org.bsc.quarkus.LangGraphFlow.Builder
-
Sets the checkpoint saver for the server.
- CompileConfig - Class in org.bsc.langgraph4j
-
class is a configuration container for defining compile settings and behaviors.
- CompileConfig.Builder - Class in org.bsc.langgraph4j
-
This class is a builder for
CompileConfig
. - CompiledGraph<State extends AgentState> - Class in org.bsc.langgraph4j
-
Represents a compiled graph of nodes and edges.
- CompiledGraph(StateGraph<State>, CompileConfig) - Constructor for class org.bsc.langgraph4j.CompiledGraph
-
Constructs a CompiledGraph with the given StateGraph.
- CompiledGraph.AsyncNodeGenerator<Output extends NodeOutput<State>> - Class in org.bsc.langgraph4j
-
Async Generator for streaming outputs.
- CompiledGraph.StreamMode - Enum Class in org.bsc.langgraph4j
- CONDITIONAL - Enum constant in enum class org.bsc.langgraph4j.DiagramGenerator.CallStyle
- config() - Method in class org.bsc.langgraph4j.state.StateSnapshot
- content() - Method in record class org.bsc.langgraph4j.GraphRepresentation
-
Returns the value of the
content
record component. - contentType() - Method in class org.bsc.langgraph4j.serializer.plain_text.gson.GsonStateSerializer
- contentType() - Method in class org.bsc.langgraph4j.serializer.plain_text.jackson.JacksonStateSerializer
- contentType() - Method in class org.bsc.langgraph4j.serializer.plain_text.PlainTextStateSerializer
- contentType() - Method in interface org.bsc.langgraph4j.serializer.Serializer
- Context(StringBuilder, String, boolean, boolean) - Constructor for record class org.bsc.langgraph4j.DiagramGenerator.Context
-
Creates an instance of a
Context
record class. - CONTINUE_LABEL - Static variable in interface org.bsc.langgraph4j.agent.Agent
- CONTINUE_LABEL - Static variable in interface org.bsc.langgraph4j.agent.AgentEx
- converter() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ArgumentMetadata
-
Returns the value of the
converter
record component. - copyOf(Checkpoint) - Static method in class org.bsc.langgraph4j.checkpoint.Checkpoint
-
create a copy of given checkpoint with a new id
- createTables(boolean) - Method in class org.bsc.langgraph4j.checkpoint.PostgresSaver.Builder
D
- data() - Method in class org.bsc.langgraph4j.state.AgentState
-
Returns an unmodifiable view of the data map.
- database(String) - Method in class org.bsc.langgraph4j.checkpoint.PostgresSaver.Builder
- dataFromBytes(byte[]) - Method in class org.bsc.langgraph4j.serializer.StateSerializer
- datasource - Variable in class org.bsc.langgraph4j.checkpoint.PostgresSaver
-
Datasource used to create the store
- dataToBytes(Map<String, Object>) - Method in class org.bsc.langgraph4j.serializer.StateSerializer
- declareConditionalEdge(DiagramGenerator.Context, int) - Method in class org.bsc.langgraph4j.diagram.MermaidGenerator
- declareConditionalEdge(DiagramGenerator.Context, int) - Method in class org.bsc.langgraph4j.diagram.PlantUMLGenerator
- declareConditionalEdge(DiagramGenerator.Context, int) - Method in class org.bsc.langgraph4j.DiagramGenerator
-
Declares a conditional edge in the context with a specified ordinal.
- declareConditionalStart(DiagramGenerator.Context, String) - Method in class org.bsc.langgraph4j.diagram.MermaidGenerator
- declareConditionalStart(DiagramGenerator.Context, String) - Method in class org.bsc.langgraph4j.diagram.PlantUMLGenerator
- declareConditionalStart(DiagramGenerator.Context, String) - Method in class org.bsc.langgraph4j.DiagramGenerator
-
Declares a conditional element in the configuration or template.
- declareNode(DiagramGenerator.Context, String) - Method in class org.bsc.langgraph4j.diagram.MermaidGenerator
- declareNode(DiagramGenerator.Context, String) - Method in class org.bsc.langgraph4j.diagram.PlantUMLGenerator
- declareNode(DiagramGenerator.Context, String) - Method in class org.bsc.langgraph4j.DiagramGenerator
-
Declares a node in the specified context with the given name.
- DEFAULT - Enum constant in enum class org.bsc.langgraph4j.DiagramGenerator.CallStyle
- defaultSystem(String) - Method in class org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutorBuilder
- deleteFile(RunnableConfig) - Method in class org.bsc.langgraph4j.checkpoint.FileSystemSaver
-
delete the checkpoint file associated with the given RunnableConfig.
- deserialize(JsonParser, DeserializationContext) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.AiMessageDeserializer
- deserialize(JsonParser, DeserializationContext) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.GenericListDeserializer
- deserialize(JsonParser, DeserializationContext) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.SystemMessageDeserializer
- deserialize(JsonParser, DeserializationContext) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.ToolExecutionRequestDeserializer
-
Deserializes a JSON representation of a ToolExecutionRequest.
- deserialize(JsonParser, DeserializationContext) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.ToolExecutionResultMessageDeserializer
- deserialize(JsonParser, DeserializationContext) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.UserMessageDeserializer
- deserialize(JsonNode) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.SystemMessageDeserializer
- deserialize(JsonNode) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.ToolExecutionRequestDeserializer
- deserialize(JsonNode) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.ToolExecutionResultMessageDeserializer
- deserialize(JsonNode) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.UserMessageDeserializer
- deserialize(JsonNode) - Method in interface org.bsc.langgraph4j.serializer.plain_text.jackson.JacksonDeserializer
- DiagramGenerator - Class in org.bsc.langgraph4j
-
Abstract class for diagram generation.
- DiagramGenerator() - Constructor for class org.bsc.langgraph4j.DiagramGenerator
- DiagramGenerator.CallStyle - Enum Class in org.bsc.langgraph4j
- DiagramGenerator.Context - Record Class in org.bsc.langgraph4j
- DiagramGenerator.Context.Builder - Class in org.bsc.langgraph4j
- dispatchActionEdge(AsyncCommandAction<S>) - Method in class org.bsc.langgraph4j.agent.AgentEx.Builder
- dispatchToolsAction(AsyncNodeActionWithConfig<S>) - Method in class org.bsc.langgraph4j.agent.AgentEx.Builder
- doGet(HttpServletRequest, HttpServletResponse) - Method in class org.bsc.langgraph4j.studio.LangGraphStreamingServer.GraphInitServlet
-
Handles GET requests to retrieve the graph initialization data.
- doPost(HttpServletRequest, HttpServletResponse) - Method in class org.bsc.langgraph4j.studio.LangGraphStreamingServer.GraphStreamServlet
-
Handles POST requests to stream graph data.
- dropTablesFirst(boolean) - Method in class org.bsc.langgraph4j.checkpoint.PostgresSaver.Builder
- duplicateConditionalEdgeError - Enum constant in enum class org.bsc.langgraph4j.StateGraph.Errors
- duplicateEdgeError - Enum constant in enum class org.bsc.langgraph4j.StateGraph.Errors
- duplicateEdgeTargetError - Enum constant in enum class org.bsc.langgraph4j.StateGraph.Errors
- duplicateNodeError - Enum constant in enum class org.bsc.langgraph4j.StateGraph.Errors
E
- Edge<State extends AgentState> - Record Class in org.bsc.langgraph4j.internal.edge
-
Represents an edge in a graph with a source ID and a target value.
- Edge(String) - Constructor for record class org.bsc.langgraph4j.internal.edge.Edge
- Edge(String, List<EdgeValue<State>>) - Constructor for record class org.bsc.langgraph4j.internal.edge.Edge
-
Creates an instance of a
Edge
record class. - Edge(String, EdgeValue<State>) - Constructor for record class org.bsc.langgraph4j.internal.edge.Edge
- edge_async(EdgeAction<S>) - Static method in interface org.bsc.langgraph4j.action.AsyncEdgeAction
-
Creates an asynchronous edge action from a synchronous edge action.
- EdgeAction<S extends AgentState> - Interface in org.bsc.langgraph4j.action
-
Represents an edge action that operates on an agent state and returns a result.
- edgeBySourceId(String) - Method in class org.bsc.langgraph4j.StateGraph.Edges
- EdgeCondition<S extends AgentState> - Record Class in org.bsc.langgraph4j.internal.edge
-
Represents a condition associated with an edge in a graph.
- EdgeCondition(AsyncCommandAction<S>, Map<String, String>) - Constructor for record class org.bsc.langgraph4j.internal.edge.EdgeCondition
-
Creates an instance of a
EdgeCondition
record class. - edgeMappingIsEmpty - Enum constant in enum class org.bsc.langgraph4j.StateGraph.Errors
- EdgeMappings - Class in org.bsc.langgraph4j.utils
- EdgeMappings() - Constructor for class org.bsc.langgraph4j.utils.EdgeMappings
- EdgeMappings.Builder - Class in org.bsc.langgraph4j.utils
- Edges() - Constructor for class org.bsc.langgraph4j.StateGraph.Edges
- Edges(Collection<Edge<State>>) - Constructor for class org.bsc.langgraph4j.StateGraph.Edges
- edgesByTargetId(String) - Method in class org.bsc.langgraph4j.StateGraph.Edges
- EdgeValue<State extends AgentState> - Record Class in org.bsc.langgraph4j.internal.edge
- EdgeValue(String) - Constructor for record class org.bsc.langgraph4j.internal.edge.EdgeValue
- EdgeValue(String, EdgeCondition<State>) - Constructor for record class org.bsc.langgraph4j.internal.edge.EdgeValue
-
Creates an instance of a
EdgeValue
record class. - EdgeValue(EdgeCondition<State>) - Constructor for record class org.bsc.langgraph4j.internal.edge.EdgeValue
- elements - Variable in class org.bsc.langgraph4j.StateGraph.Edges
- elements - Variable in class org.bsc.langgraph4j.StateGraph.Nodes
- END - Enum constant in enum class org.bsc.langgraph4j.DiagramGenerator.CallStyle
- END - Static variable in class org.bsc.langgraph4j.StateGraph
- END_LABEL - Static variable in interface org.bsc.langgraph4j.agent.Agent
- END_LABEL - Static variable in interface org.bsc.langgraph4j.agent.AgentEx
- entries() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ThreadEntry
-
Returns the value of the
entries
record component. - entryOf(K, V) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
- entryPointNotExist - Enum constant in enum class org.bsc.langgraph4j.StateGraph.Errors
- equals(Object) - Method in record class org.bsc.langgraph4j.action.Command
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.langgraph4j.checkpoint.BaseCheckpointSaver.Tag
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.langgraph4j.DiagramGenerator.Context
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.langgraph4j.GraphArgs
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.langgraph4j.GraphRepresentation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.langgraph4j.GraphResume
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.langgraph4j.internal.edge.Edge
-
Checks if this edge is equal to another object.
- equals(Object) - Method in record class org.bsc.langgraph4j.internal.edge.EdgeCondition
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.langgraph4j.internal.edge.EdgeValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.bsc.langgraph4j.internal.node.Node
-
Checks if this node is equal to another object.
- equals(Object) - Method in record class org.bsc.langgraph4j.internal.node.SubCompiledGraphNodeAction
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService.Specification
-
Deprecated.Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.langgraph4j.state.RemoveByHash
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ArgumentMetadata
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.InitData
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.PersistentConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ThreadEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.langgraph4j.studio.springboot.LangGraphFlow
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.quarkus.LangGraphFlow
-
Indicates whether some other object is "equal to" this one.
- exception(Object...) - Method in enum class org.bsc.langgraph4j.StateGraph.Errors
-
Creates a new GraphStateException with the formatted error message.
- exceptSubStateGraphNodes() - Method in class org.bsc.langgraph4j.StateGraph.Nodes
- execute(ToolExecutionRequest) - Method in class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService
-
Executes the first matching tool
- execute(ToolExecutionRequest, Object) - Method in class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService
-
Executes the first matching tool
- execute(Collection<ToolExecutionRequest>) - Method in class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService
-
Executes the first matching tool
- execute(Collection<ToolExecutionRequest>, Object) - Method in class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService
-
Executes the first matching tool
- executeFunctions(List<AssistantMessage.ToolCall>) - Method in class org.bsc.langgraph4j.spring.ai.tool.SpringAIToolService
- executeFunctions(List<AssistantMessage.ToolCall>, Map<String, Object>) - Method in class org.bsc.langgraph4j.spring.ai.tool.SpringAIToolService
- executeTooL(LC4jToolService) - Static method in interface org.bsc.langgraph4j.agentexecutor.AgentExecutor
- executeTooL(LC4jToolService, String) - Static method in interface org.bsc.langgraph4j.agentexecutor.AgentExecutorEx
- executeTooL(SpringAIToolService, String) - Static method in interface org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutorEx
- executeToolFactory(Function<String, AsyncNodeActionWithConfig<S>>) - Method in class org.bsc.langgraph4j.agent.AgentEx.Builder
- executeToolsAction(AsyncNodeActionWithConfig<S>) - Method in class org.bsc.langgraph4j.agent.Agent.Builder
- executor() - Method in record class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService.Specification
-
Deprecated.Returns the value of the
executor
record component. - EXTENSION - Static variable in class org.bsc.langgraph4j.checkpoint.FileSystemSaver
F
- FileSystemSaver - Class in org.bsc.langgraph4j.checkpoint
-
A CheckpointSaver that stores Checkpoints in the filesystem.
- FileSystemSaver(Path, StateSerializer<? extends AgentState>) - Constructor for class org.bsc.langgraph4j.checkpoint.FileSystemSaver
- FINAL_RESPONSE - Static variable in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.State
- FINAL_RESPONSE - Static variable in class org.bsc.langgraph4j.agentexecutor.AgentExecutorEx.State
- finalResponse() - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.State
-
Retrieves the agent final response.
- finalResponse() - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutorEx.State
-
Retrieves the agent final response.
- finishPointNotExist - Enum constant in enum class org.bsc.langgraph4j.StateGraph.Errors
- formatId(String) - Method in class org.bsc.langgraph4j.internal.node.SubStateGraphNode
- formatId(String) - Method in interface org.bsc.langgraph4j.SubGraphNode
- formatId(String, String) - Static method in interface org.bsc.langgraph4j.SubGraphNode
-
Formats the given
subGraphNodeId
andnodeId
into a single string using a predefined prefix. - formatNodeId(String) - Static method in class org.bsc.langgraph4j.internal.node.ParallelNode
G
- generate(StateGraph.Nodes<State>, StateGraph.Edges<State>, String, boolean) - Method in class org.bsc.langgraph4j.DiagramGenerator
-
Generate a textual representation of the given graph.
- generate(StateGraph.Nodes<State>, StateGraph.Edges<State>, DiagramGenerator.Context) - Method in class org.bsc.langgraph4j.DiagramGenerator
-
Generates a context based on the given state graph.
- GenericListDeserializer - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- GenericListDeserializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.GenericListDeserializer
- get() - Method in interface org.bsc.langgraph4j.utils.TrySupplier
- get(RunnableConfig) - Method in interface org.bsc.langgraph4j.checkpoint.BaseCheckpointSaver
- get(RunnableConfig) - Method in class org.bsc.langgraph4j.checkpoint.MemorySaver
- get(RunnableConfig) - Method in class org.bsc.langgraph4j.checkpoint.VersionedMemorySaver
-
Retrieves an optional checkpoint for the given configuration.
- getChannels() - Method in class org.bsc.langgraph4j.StateGraph
- getConfig() - Method in class org.bsc.langgraph4j.state.StateSnapshot
-
Deprecated.Use
StateSnapshot.config()
instead. - getConnection() - Method in class org.bsc.langgraph4j.checkpoint.PostgresSaver
-
Datasource connection Creates the vector extension and add the vector type if it does not exist.
- getContent() - Method in record class org.bsc.langgraph4j.GraphRepresentation
-
Deprecated.Please use
GraphRepresentation.content()
instead. This method is no longer maintained and may be removed in future versions. - getDefault() - Method in class org.bsc.langgraph4j.state.AppenderChannel
-
Returns the default provider or
Optional.empty()
if no default provider is set. - getDefault() - Method in interface org.bsc.langgraph4j.state.Channel
-
a Supplier that provide a default value.
- getDefaultSerializer() - Method in class org.bsc.langgraph4j.serializer.std.SerializerMapper
- getFlow() - Method in class org.bsc.langgraph4j.studio.springboot.AbstractLangGraphStudioConfig
- getFlow() - Method in class org.bsc.quarkus.impl.LangGraphFlowServiceImpl
- getGraph(GraphRepresentation.Type) - Method in class org.bsc.langgraph4j.CompiledGraph
-
Generates a drawable graph representation of the state graph with default title.
- getGraph(GraphRepresentation.Type, String) - Method in class org.bsc.langgraph4j.CompiledGraph
-
Generates a drawable graph representation of the state graph.
- getGraph(GraphRepresentation.Type, String) - Method in class org.bsc.langgraph4j.StateGraph
-
Generates a drawable graph representation of the state graph.
- getGraph(GraphRepresentation.Type, String, boolean) - Method in class org.bsc.langgraph4j.CompiledGraph
-
Generates a drawable graph representation of the state graph.
- getGraph(GraphRepresentation.Type, String, boolean) - Method in class org.bsc.langgraph4j.StateGraph
-
Generates a drawable graph representation of the state graph.
- getId() - Method in class org.bsc.langgraph4j.checkpoint.Checkpoint
- getInterruptAfter() - Method in class org.bsc.langgraph4j.CompileConfig
-
Deprecated.
- getInterruptBefore() - Method in class org.bsc.langgraph4j.CompileConfig
-
Deprecated.
- getMetadata(String) - Method in interface org.bsc.langgraph4j.HasMetadata
-
Deprecated, for removal: This API element is subject to removal in a future version.use
HasMetadata.metadata(String)
instead - getNext() - Method in class org.bsc.langgraph4j.state.StateSnapshot
-
Deprecated.Use
StateSnapshot.next()
instead. - getNextNodeId() - Method in class org.bsc.langgraph4j.checkpoint.Checkpoint
- getNodeId() - Method in class org.bsc.langgraph4j.checkpoint.Checkpoint
- getReducer() - Method in class org.bsc.langgraph4j.state.AppenderChannel
-
Returns an
Optional
containing the current reducer if it is non-null. - getReducer() - Method in interface org.bsc.langgraph4j.state.Channel
-
The Reducer, if provided, is invoked for each state property to compute value.
- getReference(String) - Method in class org.bsc.langgraph4j.serializer.plain_text.jackson.TypeMapper
- getSerializer(Class<?>) - Method in class org.bsc.langgraph4j.serializer.std.SerializerMapper
- getSerializer(String) - Method in class org.bsc.langgraph4j.serializer.std.SerializerMapper
- getState() - Method in class org.bsc.langgraph4j.checkpoint.Checkpoint
- getState(RunnableConfig) - Method in class org.bsc.langgraph4j.CompiledGraph
-
Same of
CompiledGraph.stateOf(RunnableConfig)
but throws an IllegalStateException if checkpoint is not found. - getStateFactory() - Method in class org.bsc.langgraph4j.StateGraph
- getStateHistory(RunnableConfig) - Method in class org.bsc.langgraph4j.CompiledGraph
-
Gets the history of graph states relate to a specific Thread ID.
- getStateSerializer() - Method in class org.bsc.langgraph4j.StateGraph
- getStateType() - Method in class org.bsc.langgraph4j.serializer.plain_text.PlainTextStateSerializer
- getType() - Method in record class org.bsc.langgraph4j.GraphRepresentation
-
Deprecated.Please use
GraphRepresentation.type()
instead. This method is no longer maintained and may be removed in future versions. - getTypeName() - Method in class org.bsc.langgraph4j.serializer.plain_text.jackson.TypeMapper.Reference
- gotoNode() - Method in record class org.bsc.langgraph4j.action.Command
-
Returns the value of the
gotoNode
record component. - graph() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.InitData
-
Returns the value of the
graph
record component. - GraphArgs - Record Class in org.bsc.langgraph4j
- GraphArgs(Map<String, Object>) - Constructor for record class org.bsc.langgraph4j.GraphArgs
-
Creates an instance of a
GraphArgs
record class. - GraphInitServlet(StateGraph<? extends AgentState>, String, List<LangGraphStreamingServer.ArgumentMetadata>) - Constructor for class org.bsc.langgraph4j.studio.LangGraphStreamingServer.GraphInitServlet
-
Constructs a GraphInitServlet.
- GraphInitServletProxy - Class in org.bsc.quarkus
- GraphInitServletProxy(LangGraphFlow) - Constructor for class org.bsc.quarkus.GraphInitServletProxy
- GraphInput - Interface in org.bsc.langgraph4j
- GraphRepresentation - Record Class in org.bsc.langgraph4j
-
The graph representation in diagram-as-code format.
- GraphRepresentation(GraphRepresentation.Type, String) - Constructor for record class org.bsc.langgraph4j.GraphRepresentation
-
Creates an instance of a
GraphRepresentation
record class. - GraphRepresentation.Type - Enum Class in org.bsc.langgraph4j
-
The supported types.
- GraphResume - Record Class in org.bsc.langgraph4j
- GraphResume() - Constructor for record class org.bsc.langgraph4j.GraphResume
-
Creates an instance of a
GraphResume
record class. - GraphRunnerException - Exception in org.bsc.langgraph4j
-
Exception thrown when there is an error during the execution of a graph runner.
- GraphRunnerException(String) - Constructor for exception org.bsc.langgraph4j.GraphRunnerException
-
Constructs a new GraphRunnerException with the specified error message.
- GraphStateException - Exception in org.bsc.langgraph4j
-
Exception thrown when there is an error related to the state of a graph.
- GraphStateException(String) - Constructor for exception org.bsc.langgraph4j.GraphStateException
-
Constructs a new GraphStateException with the specified error message.
- GraphStreamServlet(StateGraph<? extends AgentState>, CompileConfig, List<LangGraphStreamingServer.ArgumentMetadata>) - Constructor for class org.bsc.langgraph4j.studio.LangGraphStreamingServer.GraphStreamServlet
-
Constructs a GraphStreamServlet.
- GraphStreamServletProxy - Class in org.bsc.quarkus
- GraphStreamServletProxy(LangGraphFlow) - Constructor for class org.bsc.quarkus.GraphStreamServletProxy
- gson - Variable in class org.bsc.langgraph4j.serializer.plain_text.gson.GsonStateSerializer
- GsonStateSerializer<State extends AgentState> - Class in org.bsc.langgraph4j.serializer.plain_text.gson
-
Base Implementation of
PlainTextStateSerializer
using GSON library . - GsonStateSerializer(AgentStateFactory<State>) - Constructor for class org.bsc.langgraph4j.serializer.plain_text.gson.GsonStateSerializer
- GsonStateSerializer(AgentStateFactory<State>, Gson) - Constructor for class org.bsc.langgraph4j.serializer.plain_text.gson.GsonStateSerializer
H
- handler() - Method in class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator
-
Deprecated.Returns the StreamingResponseHandler associated with this generator.
- handler() - Method in class org.bsc.langgraph4j.langchain4j.generators.StreamingChatGenerator
-
Returns the StreamingResponseHandler associated with this generator.
- hashCode() - Method in record class org.bsc.langgraph4j.action.Command
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.langgraph4j.checkpoint.BaseCheckpointSaver.Tag
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.langgraph4j.DiagramGenerator.Context
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.langgraph4j.GraphArgs
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.langgraph4j.GraphRepresentation
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.langgraph4j.GraphResume
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.langgraph4j.internal.edge.Edge
-
Returns the hash code value for this edge.
- hashCode() - Method in record class org.bsc.langgraph4j.internal.edge.EdgeCondition
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.langgraph4j.internal.edge.EdgeValue
-
Returns a hash code value for this object.
- hashCode() - Method in class org.bsc.langgraph4j.internal.node.Node
-
Returns the hash code value for this node.
- hashCode() - Method in record class org.bsc.langgraph4j.internal.node.SubCompiledGraphNodeAction
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService.Specification
-
Deprecated.Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.langgraph4j.state.RemoveByHash
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ArgumentMetadata
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.InitData
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.PersistentConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ThreadEntry
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.langgraph4j.studio.springboot.LangGraphFlow
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.quarkus.LangGraphFlow
-
Returns a hash code value for this object.
- HasMetadata<B extends HasMetadata.Builder<B>> - Interface in org.bsc.langgraph4j
- HasMetadata.Builder<B extends HasMetadata.Builder<B>> - Class in org.bsc.langgraph4j
- HasVersions - Interface in org.bsc.langgraph4j.checkpoint
-
Represents an entity that can have different versions associated with it.
- host(String) - Method in class org.bsc.langgraph4j.checkpoint.PostgresSaver.Builder
I
- id() - Method in record class org.bsc.langgraph4j.internal.edge.EdgeValue
-
Returns the value of the
id
record component. - id() - Method in class org.bsc.langgraph4j.internal.node.Node
-
id
- id() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ThreadEntry
-
Returns the value of the
id
record component. - id() - Method in interface org.bsc.langgraph4j.SubGraphNode
-
node identifier
- id(String) - Method in class org.bsc.langgraph4j.checkpoint.Checkpoint.Builder
- illegalMultipleTargetsOnParallelNode - Enum constant in enum class org.bsc.langgraph4j.StateGraph.Errors
- IMAGE - Enum constant in enum class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ArgumentMetadata.ArgumentType
- init(ServletConfig) - Method in class org.bsc.langgraph4j.studio.LangGraphStreamingServer.GraphInitServlet
- init(ServletConfig) - Method in class org.bsc.langgraph4j.studio.LangGraphStreamingServer.GraphStreamServlet
- init(ServletConfig) - Method in class org.bsc.quarkus.GraphInitServletProxy
- init(ServletConfig) - Method in class org.bsc.quarkus.GraphStreamServletProxy
- InitData(String, String, List<LangGraphStreamingServer.ArgumentMetadata>) - Constructor for record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.InitData
- InitData(String, String, List<LangGraphStreamingServer.ArgumentMetadata>, List<LangGraphStreamingServer.ThreadEntry>) - Constructor for record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.InitData
-
Creates an instance of a
InitData
record class. - InitDataSerializer(Class<LangGraphStreamingServer.InitData>) - Constructor for class org.bsc.langgraph4j.studio.LangGraphStreamingServer.InitDataSerializer
- initialDataFromSchema(Map<String, Channel<?>>) - Method in interface org.bsc.langgraph4j.state.AgentStateFactory
- initServletBean() - Method in class org.bsc.langgraph4j.studio.springboot.AbstractLangGraphStudioConfig
- initTable(boolean, boolean) - Method in class org.bsc.langgraph4j.checkpoint.PostgresSaver
- inputArgs() - Method in record class org.bsc.langgraph4j.studio.springboot.LangGraphFlow
-
Returns the value of the
inputArgs
record component. - inputArgs() - Method in record class org.bsc.quarkus.LangGraphFlow
-
Returns the value of the
inputArgs
record component. - insertedCheckpoint(RunnableConfig, LinkedList<Checkpoint>, Checkpoint) - Method in class org.bsc.langgraph4j.checkpoint.FileSystemSaver
- insertedCheckpoint(RunnableConfig, LinkedList<Checkpoint>, Checkpoint) - Method in class org.bsc.langgraph4j.checkpoint.MemorySaver
- insertedCheckpoint(RunnableConfig, LinkedList<Checkpoint>, Checkpoint) - Method in class org.bsc.langgraph4j.checkpoint.PostgresSaver
- interrupt(String, State) - Method in interface org.bsc.langgraph4j.action.InterruptableAction
-
Determines whether the graph execution should be interrupted at the current node.
- interrupt(String, State) - Method in class org.bsc.langgraph4j.agent.AgentEx.ApprovalNodeAction
- InterruptableAction<State extends AgentState> - Interface in org.bsc.langgraph4j.action
-
Defines a contract for actions that can interrupt the execution of a graph.
- interruptAfter(String...) - Method in class org.bsc.langgraph4j.CompileConfig.Builder
-
Sets the strings that cause an interrupt in the configuration.
- interruptBefore(String...) - Method in class org.bsc.langgraph4j.CompileConfig.Builder
-
Sets the actions to be performed before an interruption.
- InterruptionMetadata<State extends AgentState> - Class in org.bsc.langgraph4j.action
-
Represents the metadata associated with a graph execution interruption.
- InterruptionMetadata.Builder<State extends AgentState> - Class in org.bsc.langgraph4j.action
-
A builder for creating instances of
InterruptionMetadata
. - interruptionMetadataProvider(BiFunction<String, State, InterruptionMetadata<State>>) - Method in class org.bsc.langgraph4j.agent.AgentEx.ApprovalNodeAction.Builder
- interruptionNodeNotExist - Enum constant in enum class org.bsc.langgraph4j.StateGraph.Errors
- interruptsAfter() - Method in class org.bsc.langgraph4j.CompileConfig
-
Returns the array of interrupts that will occur after the specified node.
- interruptsAfter(Collection<String>) - Method in class org.bsc.langgraph4j.CompileConfig.Builder
-
Sets the collection of strings that specify which interrupts should occur after.
- interruptsBefore() - Method in class org.bsc.langgraph4j.CompileConfig
-
Returns the array of interrupts that will occur before the specified node.
- interruptsBefore(Collection<String>) - Method in class org.bsc.langgraph4j.CompileConfig.Builder
-
Sets the collection of interrupts to be executed before the configuration.
- invalidEdgeIdentifier - Enum constant in enum class org.bsc.langgraph4j.StateGraph.Errors
- invalidEdgeTarget - Enum constant in enum class org.bsc.langgraph4j.StateGraph.Errors
- invalidNodeIdentifier - Enum constant in enum class org.bsc.langgraph4j.StateGraph.Errors
- invoke(Map<String, Object>) - Method in class org.bsc.langgraph4j.CompiledGraph
-
Invokes the graph execution with the provided inputs and returns the final state.
- invoke(Map<String, Object>, RunnableConfig) - Method in class org.bsc.langgraph4j.CompiledGraph
-
Invokes the graph execution with the provided inputs and returns the final state.
- invoke(GraphInput, RunnableConfig) - Method in class org.bsc.langgraph4j.CompiledGraph
-
Invokes the graph execution with the provided inputs and returns the final state.
- isAiMessage(ChatMessage) - Static method in class org.bsc.langgraph4j.langchain4j.util.ChatMessageUtil
- isAssistantMessage(Message) - Static method in class org.bsc.langgraph4j.spring.ai.util.MessageUtil
- isEND() - Method in class org.bsc.langgraph4j.NodeOutput
-
Checks if the current node refers to the end of the graph processing.
- isMarkedForRemoval(Object) - Method in interface org.bsc.langgraph4j.state.Channel
- isMarkedForReset(Object) - Method in interface org.bsc.langgraph4j.state.Channel
- isParallel() - Method in record class org.bsc.langgraph4j.internal.edge.Edge
- isParallel() - Method in class org.bsc.langgraph4j.internal.node.Node
- isParallel() - Method in class org.bsc.langgraph4j.internal.node.ParallelNode
- isSTART() - Method in class org.bsc.langgraph4j.NodeOutput
-
Checks if the current node refers to the start of the graph processing.
- isStreaming() - Method in class org.bsc.langgraph4j.agentexecutor.CallModel
- isSubGraph() - Method in record class org.bsc.langgraph4j.DiagramGenerator.Context
-
Returns the value of the
isSubGraph
record component. - isSubGraph() - Method in class org.bsc.langgraph4j.NodeOutput
- isSubGraph(boolean) - Method in class org.bsc.langgraph4j.DiagramGenerator.Context.Builder
- isSystemMessage(ChatMessage) - Static method in class org.bsc.langgraph4j.langchain4j.util.ChatMessageUtil
- isSystemMessage(Message) - Static method in class org.bsc.langgraph4j.spring.ai.util.MessageUtil
- isToolExecutionResultMessage(ChatMessage) - Static method in class org.bsc.langgraph4j.langchain4j.util.ChatMessageUtil
- isToolResponseMessage(Message) - Static method in class org.bsc.langgraph4j.spring.ai.util.MessageUtil
- isUserMessage(ChatMessage) - Static method in class org.bsc.langgraph4j.langchain4j.util.ChatMessageUtil
- isUserMessage(Message) - Static method in class org.bsc.langgraph4j.spring.ai.util.MessageUtil
J
- JacksonDeserializer<T> - Interface in org.bsc.langgraph4j.serializer.plain_text.jackson
- JacksonMessagesStateSerializer<State extends AgentState> - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
-
Deprecated.
- JacksonMessagesStateSerializer(AgentStateFactory<State>) - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.JacksonMessagesStateSerializer
-
Deprecated.
- JacksonStateSerializer<State extends AgentState> - Class in org.bsc.langgraph4j.serializer.plain_text.jackson
-
Base Implementation of
PlainTextStateSerializer
using Jackson library. - JacksonStateSerializer(AgentStateFactory<State>) - Constructor for class org.bsc.langgraph4j.serializer.plain_text.jackson.JacksonStateSerializer
- JacksonStateSerializer(AgentStateFactory<State>, ObjectMapper) - Constructor for class org.bsc.langgraph4j.serializer.plain_text.jackson.JacksonStateSerializer
- JSON - Enum constant in enum class org.bsc.langgraph4j.agentexecutor.AgentExecutor.Serializers
- JSON - Enum constant in enum class org.bsc.langgraph4j.agentexecutor.AgentExecutorEx.Serializers
L
- LangGraphFlow - Record Class in org.bsc.langgraph4j.studio.springboot
- LangGraphFlow - Record Class in org.bsc.quarkus
- LangGraphFlow(List<LangGraphStreamingServer.ArgumentMetadata>, String, CompileConfig, StateGraph<? extends AgentState>) - Constructor for record class org.bsc.langgraph4j.studio.springboot.LangGraphFlow
-
Creates an instance of a
LangGraphFlow
record class. - LangGraphFlow(List<LangGraphStreamingServer.ArgumentMetadata>, String, CompileConfig, StateGraph<? extends AgentState>) - Constructor for record class org.bsc.quarkus.LangGraphFlow
-
Creates an instance of a
LangGraphFlow
record class. - LangGraphFlow.Builder - Class in org.bsc.langgraph4j.studio.springboot
- LangGraphFlow.Builder - Class in org.bsc.quarkus
- LangGraphFlowServiceImpl - Class in org.bsc.quarkus.impl
- LangGraphFlowServiceImpl() - Constructor for class org.bsc.quarkus.impl.LangGraphFlowServiceImpl
- LangGraphStreamingServer - Interface in org.bsc.langgraph4j.studio
-
Interface for a LangGraph Streaming Server.
- LangGraphStreamingServer.ArgumentMetadata - Record Class in org.bsc.langgraph4j.studio
-
Metadata for an argument in a request.
- LangGraphStreamingServer.ArgumentMetadata.ArgumentType - Enum Class in org.bsc.langgraph4j.studio
- LangGraphStreamingServer.GraphInitServlet - Class in org.bsc.langgraph4j.studio
-
Servlet for initializing the graph in mermaid format.
- LangGraphStreamingServer.GraphStreamServlet - Class in org.bsc.langgraph4j.studio
-
Servlet for handling graph stream requests.
- LangGraphStreamingServer.InitData - Record Class in org.bsc.langgraph4j.studio
-
Initialization data for the graph.
- LangGraphStreamingServer.InitDataSerializer - Class in org.bsc.langgraph4j.studio
-
Serializer for InitData objects.
- LangGraphStreamingServer.PersistentConfig - Record Class in org.bsc.langgraph4j.studio
-
Configuration for persistent session data.
- LangGraphStreamingServer.ThreadEntry - Record Class in org.bsc.langgraph4j.studio
-
Represents an entry in a thread with its outputs.
- LangGraphStreamingServerJetty - Class in org.bsc.langgraph4j.studio.jetty
-
Represents a streaming server for LangGraph using Jetty.
- LangGraphStreamingServerJetty.Builder - Class in org.bsc.langgraph4j.studio.jetty
-
Builder class for constructing LangGraphStreamingServerJetty instances.
- LangGraphStudioApp - Class in org.bsc.quarkus.impl
- LangGraphStudioApp() - Constructor for class org.bsc.quarkus.impl.LangGraphStudioApp
- last(List<T>) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Deprecated, for removal: This API element is subject to removal in a future version.use
CollectionsUtils.lastOf(List)
instead - lastMessage() - Method in class org.bsc.langgraph4j.prebuilt.MessagesState
-
Returns the last value in the list, if present.
- lastMinus(int) - Method in class org.bsc.langgraph4j.prebuilt.MessagesState
-
Returns the value at the specified position from the end of the list, if present.
- lastMinus(List<T>, int) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Returns the value at the specified position from the end of the list, if present.
- lastOf(List<T>) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Returns the last value in the list, if present.
- lastStateOf(RunnableConfig) - Method in class org.bsc.langgraph4j.CompiledGraph
-
Get the last StateSnapshot of the given RunnableConfig.
- lastVersionByThreadId(String) - Method in interface org.bsc.langgraph4j.checkpoint.HasVersions
-
Retrieves the last version associated with a specific thread ID.
- lastVersionByThreadId(String) - Method in class org.bsc.langgraph4j.checkpoint.VersionedMemorySaver
-
Retrieves the last version by thread ID.
- lastVersionByThreadId(RunnableConfig) - Method in interface org.bsc.langgraph4j.checkpoint.HasVersions
-
Retrieves the last version associated with a specific thread ID.
- LC4jJacksonStateSerializer<State extends AgentState> - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- LC4jJacksonStateSerializer(AgentStateFactory<State>) - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.LC4jJacksonStateSerializer
- LC4jStateSerializer<State extends AgentState> - Class in org.bsc.langgraph4j.langchain4j.serializer.std
- LC4jStateSerializer(AgentStateFactory<State>) - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.std.LC4jStateSerializer
- LC4jToolMapBuilder<T extends LC4jToolMapBuilder<T>> - Class in org.bsc.langgraph4j.langchain4j.tool
- LC4jToolMapBuilder() - Constructor for class org.bsc.langgraph4j.langchain4j.tool.LC4jToolMapBuilder
- LC4jToolService - Class in org.bsc.langgraph4j.langchain4j.tool
- LC4jToolService(Map<ToolSpecification, ToolExecutor>) - Constructor for class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService
- LC4jToolService.Builder - Class in org.bsc.langgraph4j.langchain4j.tool
-
Builder for
LC4jToolService
- LC4jToolService.Specification - Record Class in org.bsc.langgraph4j.langchain4j.tool
-
Deprecated.use
Map.Entry<dev.langchain4j.agent.tool.ToolSpecification,
insteaddev.langchain4j.service.tool.ToolExecutor> - list(RunnableConfig) - Method in interface org.bsc.langgraph4j.checkpoint.BaseCheckpointSaver
- list(RunnableConfig) - Method in class org.bsc.langgraph4j.checkpoint.MemorySaver
- list(RunnableConfig) - Method in class org.bsc.langgraph4j.checkpoint.VersionedMemorySaver
-
Lists checkpoints based on the provided configuration.
- listOf(Class<T>) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Deprecated.
- listOf(T...) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Creates a list containing the provided elements.
- LLMStreamingGenerator<T,
State extends AgentState> - Class in org.bsc.langgraph4j.langchain4j.generators -
Deprecated.use
StreamingChatGenerator
instead - LLMStreamingGenerator.Builder<T,
State extends AgentState> - Class in org.bsc.langgraph4j.langchain4j.generators -
Deprecated.Builder class for constructing instances of LLMStreamingGenerator.
- loadedCheckpoints(RunnableConfig, LinkedList<Checkpoint>) - Method in class org.bsc.langgraph4j.checkpoint.FileSystemSaver
- loadedCheckpoints(RunnableConfig, LinkedList<Checkpoint>) - Method in class org.bsc.langgraph4j.checkpoint.MemorySaver
- loadedCheckpoints(RunnableConfig, LinkedList<Checkpoint>) - Method in class org.bsc.langgraph4j.checkpoint.PostgresSaver
- loadOrInitCheckpoints(RunnableConfig, TryFunction<LinkedList<Checkpoint>, T, Exception>) - Method in class org.bsc.langgraph4j.checkpoint.MemorySaver
- log - Static variable in interface org.bsc.langgraph4j.agentexecutor.AgentExecutor
- log - Static variable in interface org.bsc.langgraph4j.agentexecutor.AgentExecutorEx
- log - Static variable in interface org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutor
- log - Static variable in interface org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutorEx
- log - Static variable in interface org.bsc.langgraph4j.studio.LangGraphStreamingServer
- log - Static variable in interface org.bsc.langgraph4j.utils.TryConsumer
- log - Static variable in interface org.bsc.langgraph4j.utils.TryFunction
- log - Static variable in interface org.bsc.langgraph4j.utils.TrySupplier
M
- main(String...) - Static method in class org.bsc.quarkus.impl.LangGraphStudioApp
- mapOf() - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Creates an empty map.
- mapOf(K, V) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Creates a map containing a single key-value pair.
- mapOf(K, V, K, V) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Creates a map containing two key-value pairs.
- mapOf(K, V, K, V, K, V) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Creates a map containing three key-value pairs.
- mapOf(K, V, K, V, K, V, K, V) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Creates a map containing three key-value pairs.
- mapOf(K, V, K, V, K, V, K, V, K, V) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Creates a map containing three key-value pairs.
- mapper() - Method in class org.bsc.langgraph4j.serializer.std.ObjectStreamStateSerializer
- mappings() - Method in record class org.bsc.langgraph4j.internal.edge.EdgeCondition
-
Returns the value of the
mappings
record component. - mapResult(Function<ChatResponse, Map<String, Object>>) - Method in class org.bsc.langgraph4j.langchain4j.generators.StreamingChatGenerator.Builder
-
Sets the mapping function for the builder.
- mapResult(Function<Response<T>, Map<String, Object>>) - Method in class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator.Builder
-
Deprecated.Sets the mapping function for the builder.
- mapResult(Function<ChatResponse, Map<String, Object>>) - Method in class org.bsc.langgraph4j.spring.ai.generators.StreamingChatGenerator.Builder
-
Sets the mapping function for the builder.
- MARK_FOR_REMOVAL - Static variable in class org.bsc.langgraph4j.state.AgentState
- MARK_FOR_RESET - Static variable in class org.bsc.langgraph4j.state.AgentState
- MemorySaver - Class in org.bsc.langgraph4j.checkpoint
- MemorySaver() - Constructor for class org.bsc.langgraph4j.checkpoint.MemorySaver
- mergeMap(Map<K, V>, Map<K, V>) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Merges two maps into a new map, doesn't accept duplicates.
- mergeMap(Map<K, V>, Map<K, V>, BinaryOperator<V>) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Merges two maps into a new map, resolving key collisions using the specified merge function.
- mergeWith(Map<String, Object>, Map<String, Channel<?>>) - Method in class org.bsc.langgraph4j.state.AgentState
-
Deprecated.
- MERMAID - Enum constant in enum class org.bsc.langgraph4j.GraphRepresentation.Type
-
A drawable graph using Mermaid syntax.
- MermaidGenerator - Class in org.bsc.langgraph4j.diagram
-
This class represents a MermaidGenerator that extends DiagramGenerator.
- MermaidGenerator() - Constructor for class org.bsc.langgraph4j.diagram.MermaidGenerator
- messages() - Method in class org.bsc.langgraph4j.prebuilt.MessagesState
-
Retrieves the list of messages.
- MessageSerializer - Class in org.bsc.langgraph4j.spring.ai.serializer.std
- MessageSerializer() - Constructor for class org.bsc.langgraph4j.spring.ai.serializer.std.MessageSerializer
- MessagesState<T> - Class in org.bsc.langgraph4j.prebuilt
-
Represents the agent's state as a collection of messages
- MessagesState(Map<String, Object>) - Constructor for class org.bsc.langgraph4j.prebuilt.MessagesState
-
Constructs a new instance of MessagesState with the provided initial data.
- MessagesStateGraph<T> - Class in org.bsc.langgraph4j.prebuilt
-
Represents a state graph with messages for generic type T.
- MessagesStateGraph() - Constructor for class org.bsc.langgraph4j.prebuilt.MessagesStateGraph
-
Default constructor that initializes a new instance of
MessagesStateGraph
. - MessagesStateGraph(StateSerializer<MessagesState<T>>) - Constructor for class org.bsc.langgraph4j.prebuilt.MessagesStateGraph
-
Constructs a new instance of
MessagesStateGraph
. - MessageUtil - Class in org.bsc.langgraph4j.spring.ai.util
- MessageUtil() - Constructor for class org.bsc.langgraph4j.spring.ai.util.MessageUtil
- metadata() - Method in class org.bsc.langgraph4j.HasMetadata.Builder
- metadata(String) - Method in class org.bsc.langgraph4j.action.InterruptionMetadata
-
Retrieves a metadata value associated with the specified key.
- metadata(String) - Method in interface org.bsc.langgraph4j.HasMetadata
-
return metadata value for key
- metadata(String) - Method in class org.bsc.langgraph4j.RunnableConfig
-
return metadata value for key
- missingEntryPoint - Enum constant in enum class org.bsc.langgraph4j.StateGraph.Errors
- missingNodeInEdgeMapping - Enum constant in enum class org.bsc.langgraph4j.StateGraph.Errors
- missingNodeReferencedByEdge - Enum constant in enum class org.bsc.langgraph4j.StateGraph.Errors
N
- name() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ArgumentMetadata
-
Returns the value of the
name
record component. - next() - Method in class org.bsc.langgraph4j.CompiledGraph.AsyncNodeGenerator
- next() - Method in class org.bsc.langgraph4j.state.StateSnapshot
- nextAction() - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutorEx.State
- nextAction() - Method in class org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutorEx.State
- nextNode() - Method in class org.bsc.langgraph4j.RunnableConfig
-
Returns an
Optional
describing the next node in the sequence, or an emptyOptional
if there is no such node. - nextNode(String) - Method in class org.bsc.langgraph4j.RunnableConfig.Builder
-
Sets the next node in the configuration and returns this builder for method chaining.
- nextNodeId(String) - Method in class org.bsc.langgraph4j.checkpoint.Checkpoint.Builder
- node() - Method in class org.bsc.langgraph4j.NodeOutput
-
Returns the node name.
- Node<State extends AgentState> - Class in org.bsc.langgraph4j.internal.node
-
Represents a node in a graph, characterized by a unique identifier and a factory for creating actions to be executed by the node.
- Node(String) - Constructor for class org.bsc.langgraph4j.internal.node.Node
-
Constructor that accepts only the `id` and sets `actionFactory` to null.
- Node(String, Node.ActionFactory<State>) - Constructor for class org.bsc.langgraph4j.internal.node.Node
- node_async(CommandAction<S>) - Static method in interface org.bsc.langgraph4j.action.AsyncCommandAction
-
Deprecated, for removal: This API element is subject to removal in a future version.use
AsyncCommandAction.command_async(CommandAction)
instead. This method will be removed in a future version. - node_async(NodeAction<S>) - Static method in interface org.bsc.langgraph4j.action.AsyncNodeAction
-
Creates an asynchronous node action from a synchronous node action.
- node_async(NodeActionWithConfig<S>) - Static method in interface org.bsc.langgraph4j.action.AsyncNodeActionWithConfig
-
Converts a synchronous
NodeActionWithConfig
to an asynchronous one. - Node.ActionFactory<State extends AgentState> - Interface in org.bsc.langgraph4j.internal.node
- NodeAction<T extends AgentState> - Interface in org.bsc.langgraph4j.action
- NodeActionWithConfig<S extends AgentState> - Interface in org.bsc.langgraph4j.action
- nodeId() - Method in class org.bsc.langgraph4j.action.InterruptionMetadata
-
Gets the ID of the node where the interruption occurred.
- nodeId(String) - Method in class org.bsc.langgraph4j.checkpoint.Checkpoint.Builder
- NodeOutput<State extends AgentState> - Class in org.bsc.langgraph4j
-
Represents the output of a node in a graph.
- NodeOutput(String, State) - Constructor for class org.bsc.langgraph4j.NodeOutput
- Nodes() - Constructor for class org.bsc.langgraph4j.StateGraph.Nodes
- Nodes(Collection<Node<State>>) - Constructor for class org.bsc.langgraph4j.StateGraph.Nodes
- NullableObjectSerializer<T> - Interface in org.bsc.langgraph4j.serializer.std
O
- object() - Method in enum class org.bsc.langgraph4j.agentexecutor.AgentExecutor.Serializers
-
Retrieves the state serializer.
- object() - Method in enum class org.bsc.langgraph4j.agentexecutor.AgentExecutorEx.Serializers
-
Retrieves the state serializer.
- objectInputWithMapper(ObjectInput) - Method in class org.bsc.langgraph4j.serializer.std.SerializerMapper
- ObjectInputWithMapper - Class in org.bsc.langgraph4j.serializer.std
- ObjectInputWithMapper(ObjectInput, SerializerMapper) - Constructor for class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- objectMapper - Variable in class org.bsc.langgraph4j.serializer.plain_text.jackson.JacksonStateSerializer
- objectMapper() - Method in class org.bsc.langgraph4j.serializer.plain_text.jackson.JacksonStateSerializer
- objectOutputWithMapper(ObjectOutput) - Method in class org.bsc.langgraph4j.serializer.std.SerializerMapper
- ObjectStreamStateSerializer<State extends AgentState> - Class in org.bsc.langgraph4j.serializer.std
- ObjectStreamStateSerializer(AgentStateFactory<State>) - Constructor for class org.bsc.langgraph4j.serializer.std.ObjectStreamStateSerializer
- objectToBytes(T) - Method in interface org.bsc.langgraph4j.serializer.Serializer
- of(ToolSpecification, ToolExecutor) - Static method in record class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService.Specification
-
Deprecated.
- of(String, State) - Static method in class org.bsc.langgraph4j.NodeOutput
- of(AsyncEdgeAction<S>) - Static method in interface org.bsc.langgraph4j.action.AsyncCommandAction
-
Creates an
AsyncCommandAction
from anAsyncEdgeAction
. - of(AsyncNodeAction<S>) - Static method in interface org.bsc.langgraph4j.action.AsyncNodeActionWithConfig
-
Adapts a simple AsyncNodeAction to an AsyncNodeActionWithConfig.
- of(Checkpoint, RunnableConfig, AgentStateFactory<State>) - Static method in class org.bsc.langgraph4j.state.StateSnapshot
- of(T) - Static method in record class org.bsc.langgraph4j.state.RemoveByHash
-
Creates a new
RemoveByHash
instance with the specified value. - onlySubStateGraphNodes() - Method in class org.bsc.langgraph4j.StateGraph.Nodes
- org.bsc.langgraph4j - package org.bsc.langgraph4j
-
The
org.bsc.langgraph4j
package provides classes and interfaces for building stateful, multi-agent applications with LLMs. - org.bsc.langgraph4j.action - package org.bsc.langgraph4j.action
-
Defines the core interfaces and classes for actions that constitute the building blocks of a LangGraph4j graph.
- org.bsc.langgraph4j.agent - package org.bsc.langgraph4j.agent
- org.bsc.langgraph4j.agentexecutor - package org.bsc.langgraph4j.agentexecutor
- org.bsc.langgraph4j.checkpoint - package org.bsc.langgraph4j.checkpoint
- org.bsc.langgraph4j.diagram - package org.bsc.langgraph4j.diagram
- org.bsc.langgraph4j.internal.edge - package org.bsc.langgraph4j.internal.edge
- org.bsc.langgraph4j.internal.node - package org.bsc.langgraph4j.internal.node
- org.bsc.langgraph4j.langchain4j.generators - package org.bsc.langgraph4j.langchain4j.generators
- org.bsc.langgraph4j.langchain4j.serializer.jackson - package org.bsc.langgraph4j.langchain4j.serializer.jackson
- org.bsc.langgraph4j.langchain4j.serializer.std - package org.bsc.langgraph4j.langchain4j.serializer.std
- org.bsc.langgraph4j.langchain4j.tool - package org.bsc.langgraph4j.langchain4j.tool
- org.bsc.langgraph4j.langchain4j.util - package org.bsc.langgraph4j.langchain4j.util
- org.bsc.langgraph4j.prebuilt - package org.bsc.langgraph4j.prebuilt
- org.bsc.langgraph4j.serializer - package org.bsc.langgraph4j.serializer
- org.bsc.langgraph4j.serializer.plain_text - package org.bsc.langgraph4j.serializer.plain_text
- org.bsc.langgraph4j.serializer.plain_text.gson - package org.bsc.langgraph4j.serializer.plain_text.gson
- org.bsc.langgraph4j.serializer.plain_text.jackson - package org.bsc.langgraph4j.serializer.plain_text.jackson
- org.bsc.langgraph4j.serializer.std - package org.bsc.langgraph4j.serializer.std
-
This package contains implementations of the
Serializer
interface that utilize Java's built-in serialization mechanism. - org.bsc.langgraph4j.spring.ai.agentexecutor - package org.bsc.langgraph4j.spring.ai.agentexecutor
- org.bsc.langgraph4j.spring.ai.generators - package org.bsc.langgraph4j.spring.ai.generators
- org.bsc.langgraph4j.spring.ai.serializer.std - package org.bsc.langgraph4j.spring.ai.serializer.std
- org.bsc.langgraph4j.spring.ai.tool - package org.bsc.langgraph4j.spring.ai.tool
- org.bsc.langgraph4j.spring.ai.util - package org.bsc.langgraph4j.spring.ai.util
- org.bsc.langgraph4j.state - package org.bsc.langgraph4j.state
-
Provides classes and interfaces for managing the state of agents in the langgraph4j framework.
- org.bsc.langgraph4j.streaming - package org.bsc.langgraph4j.streaming
- org.bsc.langgraph4j.studio - package org.bsc.langgraph4j.studio
- org.bsc.langgraph4j.studio.jetty - package org.bsc.langgraph4j.studio.jetty
- org.bsc.langgraph4j.studio.springboot - package org.bsc.langgraph4j.studio.springboot
- org.bsc.langgraph4j.utils - package org.bsc.langgraph4j.utils
- org.bsc.quarkus - package org.bsc.quarkus
- org.bsc.quarkus.impl - package org.bsc.quarkus.impl
P
- PARALLEL - Enum constant in enum class org.bsc.langgraph4j.DiagramGenerator.CallStyle
- ParallelNode<State extends AgentState> - Class in org.bsc.langgraph4j.internal.node
- ParallelNode(String, List<AsyncNodeActionWithConfig<State>>, Map<String, Channel<?>>) - Constructor for class org.bsc.langgraph4j.internal.node.ParallelNode
- password(String) - Method in class org.bsc.langgraph4j.checkpoint.PostgresSaver.Builder
- PersistentConfig(String, String) - Constructor for record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.PersistentConfig
-
Creates an instance of a
PersistentConfig
record class. - PlainTextStateSerializer<State extends AgentState> - Class in org.bsc.langgraph4j.serializer.plain_text
- PlainTextStateSerializer(AgentStateFactory<State>) - Constructor for class org.bsc.langgraph4j.serializer.plain_text.PlainTextStateSerializer
- PLANTUML - Enum constant in enum class org.bsc.langgraph4j.GraphRepresentation.Type
-
A drawable graph using PlantUML syntax.
- PlantUMLGenerator - Class in org.bsc.langgraph4j.diagram
- PlantUMLGenerator() - Constructor for class org.bsc.langgraph4j.diagram.PlantUMLGenerator
- port(int) - Method in class org.bsc.langgraph4j.studio.jetty.LangGraphStreamingServerJetty.Builder
-
Sets the port for the server.
- port(Integer) - Method in class org.bsc.langgraph4j.checkpoint.PostgresSaver.Builder
- PostgresSaver - Class in org.bsc.langgraph4j.checkpoint
- PostgresSaver(PostgresSaver.Builder) - Constructor for class org.bsc.langgraph4j.checkpoint.PostgresSaver
- PostgresSaver.Builder - Class in org.bsc.langgraph4j.checkpoint
- PREFIX_FORMAT - Static variable in interface org.bsc.langgraph4j.SubGraphNode
- printConditionalEdge() - Method in record class org.bsc.langgraph4j.DiagramGenerator.Context
-
Returns the value of the
printConditionalEdge
record component. - printConditionalEdge(boolean) - Method in class org.bsc.langgraph4j.DiagramGenerator.Context.Builder
- put(RunnableConfig, Checkpoint) - Method in interface org.bsc.langgraph4j.checkpoint.BaseCheckpointSaver
- put(RunnableConfig, Checkpoint) - Method in class org.bsc.langgraph4j.checkpoint.MemorySaver
- put(RunnableConfig, Checkpoint) - Method in class org.bsc.langgraph4j.checkpoint.VersionedMemorySaver
-
Updates or inserts the given
RunnableConfig
with the specifiedCheckpoint
.
Q
- queue(BlockingQueue<AsyncGenerator.Data<StreamingOutput<State>>>) - Method in class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator.Builder
-
Deprecated.Sets the queue for the builder.
- queue(BlockingQueue<AsyncGenerator.Data<StreamingOutput<State>>>) - Method in class org.bsc.langgraph4j.langchain4j.generators.StreamingChatGenerator.Builder
-
Sets the queue for the builder.
R
- read() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- read(byte[]) - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- read(byte[], int, int) - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- read(ObjectInput) - Method in class org.bsc.langgraph4j.langchain4j.serializer.std.AiMessageSerializer
-
Deserializes an AiMessage object from the specified input stream.
- read(ObjectInput) - Method in class org.bsc.langgraph4j.langchain4j.serializer.std.ChatMesssageSerializer
-
Deserializes a ChatMessage object from the specified input stream.
- read(ObjectInput) - Method in class org.bsc.langgraph4j.langchain4j.serializer.std.SystemMessageSerializer
-
Deserializes a SystemMessage object from the specified ObjectInput stream.
- read(ObjectInput) - Method in class org.bsc.langgraph4j.langchain4j.serializer.std.ToolExecutionRequestSerializer
-
Deserializes a ToolExecutionRequest object from the provided ObjectInput.
- read(ObjectInput) - Method in class org.bsc.langgraph4j.langchain4j.serializer.std.ToolExecutionResultMessageSerializer
-
Deserializes a ToolExecutionResultMessage object from the provided ObjectInput stream.
- read(ObjectInput) - Method in class org.bsc.langgraph4j.langchain4j.serializer.std.UserMessageSerializer
-
Deserializes a UserMessage object from the specified ObjectInput.
- read(ObjectInput) - Method in interface org.bsc.langgraph4j.serializer.Serializer
- read(ObjectInput) - Method in class org.bsc.langgraph4j.serializer.StateSerializer
- read(ObjectInput) - Method in class org.bsc.langgraph4j.spring.ai.serializer.std.MessageSerializer
- read(Reader) - Method in class org.bsc.langgraph4j.serializer.plain_text.PlainTextStateSerializer
- read(String) - Method in class org.bsc.langgraph4j.serializer.plain_text.PlainTextStateSerializer
- readBoolean() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- readByte() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- readChar() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- readData(ObjectInput) - Method in class org.bsc.langgraph4j.serializer.plain_text.gson.GsonStateSerializer
- readData(ObjectInput) - Method in class org.bsc.langgraph4j.serializer.plain_text.jackson.JacksonStateSerializer
- readData(ObjectInput) - Method in class org.bsc.langgraph4j.serializer.StateSerializer
- readData(ObjectInput) - Method in class org.bsc.langgraph4j.serializer.std.ObjectStreamStateSerializer
- readDouble() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- readFloat() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- readFully(byte[]) - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- readFully(byte[], int, int) - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- readInt() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- readLine() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- readLong() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- readNullableObject(ObjectInput) - Method in interface org.bsc.langgraph4j.serializer.std.NullableObjectSerializer
- readNullableUTF(ObjectInput) - Method in interface org.bsc.langgraph4j.serializer.std.NullableObjectSerializer
- readObject() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- readObject(byte[]) - Method in interface org.bsc.langgraph4j.serializer.Serializer
-
Deprecated, for removal: This API element is subject to removal in a future version.
- readShort() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- readUnsignedByte() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- readUnsignedShort() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- readUTF() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- Reducer<T> - Interface in org.bsc.langgraph4j.state
-
Represents a binary operator that takes two values of the same type and produces a value of the same type.
- ReducerAllowDuplicate() - Constructor for class org.bsc.langgraph4j.state.AppenderChannel.ReducerAllowDuplicate
- ReducerDisallowDuplicate() - Constructor for class org.bsc.langgraph4j.state.AppenderChannel.ReducerDisallowDuplicate
- Reference(String) - Constructor for class org.bsc.langgraph4j.serializer.plain_text.jackson.TypeMapper.Reference
- register(Class<?>, Serializer<?>) - Method in class org.bsc.langgraph4j.serializer.std.SerializerMapper
- register(TypeMapper.Reference<T>) - Method in class org.bsc.langgraph4j.serializer.plain_text.jackson.TypeMapper
- REJECTED - Enum constant in enum class org.bsc.langgraph4j.agent.AgentEx.ApprovalState
- release(RunnableConfig) - Method in interface org.bsc.langgraph4j.checkpoint.BaseCheckpointSaver
- release(RunnableConfig) - Method in class org.bsc.langgraph4j.checkpoint.MemorySaver
- release(RunnableConfig) - Method in class org.bsc.langgraph4j.checkpoint.VersionedMemorySaver
-
Releases a
BaseCheckpointSaver.Tag
based on the providedRunnableConfig
. - releasedCheckpoints(RunnableConfig, LinkedList<Checkpoint>, BaseCheckpointSaver.Tag) - Method in class org.bsc.langgraph4j.checkpoint.FileSystemSaver
-
Releases the checkpoints associated with the given configuration.
- releasedCheckpoints(RunnableConfig, LinkedList<Checkpoint>, BaseCheckpointSaver.Tag) - Method in class org.bsc.langgraph4j.checkpoint.MemorySaver
- releasedCheckpoints(RunnableConfig, LinkedList<Checkpoint>, BaseCheckpointSaver.Tag) - Method in class org.bsc.langgraph4j.checkpoint.PostgresSaver
- releaseThread() - Method in class org.bsc.langgraph4j.CompileConfig
-
Returns the current state of the thread release flag.
- releaseThread(boolean) - Method in class org.bsc.langgraph4j.CompileConfig.Builder
-
Sets whether the thread should be released according to the provided flag.
- remove(String) - Method in class org.bsc.langgraph4j.checkpoint.MemorySaver
- RemoveByHash<T> - Record Class in org.bsc.langgraph4j.state
-
Represents a record that implements the
AppenderChannel.RemoveIdentifier<T>
interface. - RemoveByHash(T) - Constructor for record class org.bsc.langgraph4j.state.RemoveByHash
-
Creates an instance of a
RemoveByHash
record class. - required() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ArgumentMetadata
-
Returns the value of the
required
record component. - responseFormat(ResponseFormat) - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutorBuilder
- result() - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutorBuilder
- result() - Method in class org.bsc.langgraph4j.langchain4j.tool.LC4jToolMapBuilder
- result() - Method in class org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutorBuilder
- resume() - Static method in interface org.bsc.langgraph4j.GraphInput
- RunnableConfig - Class in org.bsc.langgraph4j
-
A final class representing configuration for a runnable task.
- RunnableConfig.Builder - Class in org.bsc.langgraph4j
-
A builder pattern class for constructing
RunnableConfig
objects.
S
- sb() - Method in record class org.bsc.langgraph4j.DiagramGenerator.Context
-
Returns the value of the
sb
record component. - schema(Map<String, Channel<?>>) - Method in class org.bsc.langgraph4j.agent.Agent.Builder
- schema(Map<String, Channel<?>>) - Method in class org.bsc.langgraph4j.agent.AgentEx.Builder
- SCHEMA - Static variable in class org.bsc.langgraph4j.prebuilt.MessagesState
- serialize(ToolExecutionRequest, JsonGenerator, SerializerProvider) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.ToolExecutionRequestSerializer
- serialize(AiMessage, JsonGenerator, SerializerProvider) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.AiMessageSerializer
- serialize(SystemMessage, JsonGenerator, SerializerProvider) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.SystemMessageSerializer
- serialize(ToolExecutionResultMessage, JsonGenerator, SerializerProvider) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.ToolExecutionResultMessageSerializer
- serialize(UserMessage, JsonGenerator, SerializerProvider) - Method in class org.bsc.langgraph4j.langchain4j.serializer.jackson.UserMessageSerializer
- serialize(LangGraphStreamingServer.InitData, JsonGenerator, SerializerProvider) - Method in class org.bsc.langgraph4j.studio.LangGraphStreamingServer.InitDataSerializer
-
Serializes the InitData object to JSON.
- Serializer<T> - Interface in org.bsc.langgraph4j.serializer
- SerializerMapper - Class in org.bsc.langgraph4j.serializer.std
- SerializerMapper() - Constructor for class org.bsc.langgraph4j.serializer.std.SerializerMapper
- service(ServletRequest, ServletResponse) - Method in class org.bsc.quarkus.GraphInitServletProxy
- service(ServletRequest, ServletResponse) - Method in class org.bsc.quarkus.GraphStreamServletProxy
- sessionId() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.PersistentConfig
-
Returns the value of the
sessionId
record component. - setMaxIterations(int) - Method in class org.bsc.langgraph4j.CompiledGraph
-
Sets the maximum number of iterations for the graph execution.
- setSubGraph(boolean) - Method in class org.bsc.langgraph4j.NodeOutput
- shouldContinue() - Static method in interface org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutorEx
- shouldContinueEdge(AsyncCommandAction<S>) - Method in class org.bsc.langgraph4j.agent.Agent.Builder
- shouldContinueEdge(AsyncCommandAction<S>) - Method in class org.bsc.langgraph4j.agent.AgentEx.Builder
- skip(long) - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- skipBytes(int) - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- SNAPSHOTS - Enum constant in enum class org.bsc.langgraph4j.CompiledGraph.StreamMode
- sourceId() - Method in record class org.bsc.langgraph4j.internal.edge.Edge
-
Returns the value of the
sourceId
record component. - specification(ToolSpecification, ToolExecutor) - Method in class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService.Builder
-
Deprecated.
- specification(Object) - Method in class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService.Builder
-
Deprecated.
- specification(LC4jToolService.Specification) - Method in class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService.Builder
-
Deprecated.
- Specification(ToolSpecification, ToolExecutor) - Constructor for record class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService.Specification
-
Deprecated.Creates an instance of a
Specification
record class. - SpringAIStateSerializer<State extends AgentState> - Class in org.bsc.langgraph4j.spring.ai.serializer.std
-
This class is responsible for serializing and deserializing the state of an agent executor.
- SpringAIStateSerializer(AgentStateFactory<State>) - Constructor for class org.bsc.langgraph4j.spring.ai.serializer.std.SpringAIStateSerializer
-
Constructor that initializes the serializer with a supplier for creating new AgentExecutor.State instances and registers various serializers for different types.
- SpringAIToolService - Class in org.bsc.langgraph4j.spring.ai.tool
-
Service class responsible for managing tools and their callbacks.
- SpringAIToolService(List<ToolCallback>) - Constructor for class org.bsc.langgraph4j.spring.ai.tool.SpringAIToolService
- start() - Method in class org.bsc.langgraph4j.studio.jetty.LangGraphStreamingServerJetty
-
Starts the streaming server asynchronously.
- start() - Method in interface org.bsc.langgraph4j.studio.LangGraphStreamingServer
-
Starts the streaming server.
- START - Enum constant in enum class org.bsc.langgraph4j.DiagramGenerator.CallStyle
- START - Static variable in class org.bsc.langgraph4j.StateGraph
- startingNode(String) - Method in class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator.Builder
-
Deprecated.Sets the starting node for the builder.
- startingNode(String) - Method in class org.bsc.langgraph4j.langchain4j.generators.StreamingChatGenerator.Builder
-
Sets the starting node for the builder.
- startingNode(String) - Method in class org.bsc.langgraph4j.spring.ai.generators.StreamingChatGenerator.Builder
-
Sets the starting node for the builder.
- startingState(State) - Method in class org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator.Builder
-
Deprecated.Sets the starting state for the builder.
- startingState(State) - Method in class org.bsc.langgraph4j.langchain4j.generators.StreamingChatGenerator.Builder
-
Sets the starting state for the builder.
- startingState(State) - Method in class org.bsc.langgraph4j.spring.ai.generators.StreamingChatGenerator.Builder
-
Sets the starting state for the builder.
- state() - Method in class org.bsc.langgraph4j.action.InterruptionMetadata
-
Gets the state of the graph at the time of the interruption.
- state() - Method in class org.bsc.langgraph4j.NodeOutput
- state(Map<String, Object>) - Method in class org.bsc.langgraph4j.checkpoint.Checkpoint.Builder
- state(AgentState) - Method in class org.bsc.langgraph4j.checkpoint.Checkpoint.Builder
- State(Map<String, Object>) - Constructor for class org.bsc.langgraph4j.agentexecutor.AgentExecutor.State
-
Constructs a new State with the given initialization data.
- State(Map<String, Object>) - Constructor for class org.bsc.langgraph4j.agentexecutor.AgentExecutorEx.State
-
Constructs a new State with the given initialization data.
- State(Map<String, Object>) - Constructor for class org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutor.State
-
Constructs a new State object using the initial data provided in the initData map.
- State(Map<String, Object>) - Constructor for class org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutorEx.State
-
Constructs a new State with the given initialization data.
- stateFactory() - Method in class org.bsc.langgraph4j.serializer.StateSerializer
- stateGraph - Variable in class org.bsc.langgraph4j.CompiledGraph
- stateGraph() - Method in record class org.bsc.langgraph4j.studio.springboot.LangGraphFlow
-
Returns the value of the
stateGraph
record component. - stateGraph() - Method in record class org.bsc.quarkus.LangGraphFlow
-
Returns the value of the
stateGraph
record component. - stateGraph(StateGraph<State>) - Method in class org.bsc.langgraph4j.studio.jetty.LangGraphStreamingServerJetty.Builder
-
Sets the state graph for the server.
- stateGraph(StateGraph<State>) - Method in class org.bsc.langgraph4j.studio.springboot.LangGraphFlow.Builder
-
Sets the state graph for the server.
- stateGraph(StateGraph<State>) - Method in class org.bsc.quarkus.LangGraphFlow.Builder
-
Sets the state graph for the server.
- StateGraph<State extends AgentState> - Class in org.bsc.langgraph4j
-
Represents a state graph with nodes and edges.
- StateGraph(Map<String, Channel<?>>, StateSerializer<State>) - Constructor for class org.bsc.langgraph4j.StateGraph
- StateGraph(Map<String, Channel<?>>, AgentStateFactory<State>) - Constructor for class org.bsc.langgraph4j.StateGraph
- StateGraph(StateSerializer<State>) - Constructor for class org.bsc.langgraph4j.StateGraph
-
Constructs a new StateGraph with the specified serializer.
- StateGraph(AgentStateFactory<State>) - Constructor for class org.bsc.langgraph4j.StateGraph
-
Constructs a new StateGraph with the specified state factory.
- StateGraph.Edges<State extends AgentState> - Class in org.bsc.langgraph4j
- StateGraph.Errors - Enum Class in org.bsc.langgraph4j
-
Enum representing various error messages related to graph state.
- StateGraph.Nodes<State extends AgentState> - Class in org.bsc.langgraph4j
- stateOf(Map<String, Object>) - Method in class org.bsc.langgraph4j.serializer.StateSerializer
- stateOf(RunnableConfig) - Method in class org.bsc.langgraph4j.CompiledGraph
-
Get the StateSnapshot of the given RunnableConfig.
- stateSerializer - Variable in class org.bsc.langgraph4j.checkpoint.PostgresSaver.Builder
- stateSerializer(StateSerializer<AgentExecutor.State>) - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.Builder
-
Sets the state serializer for the graph builder.
- stateSerializer(StateSerializer<S>) - Method in class org.bsc.langgraph4j.agent.Agent.Builder
- stateSerializer(StateSerializer<S>) - Method in class org.bsc.langgraph4j.agent.AgentEx.Builder
- stateSerializer(StateSerializer<State>) - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutorBuilder
- stateSerializer(StateSerializer<State>) - Method in class org.bsc.langgraph4j.checkpoint.PostgresSaver.Builder
- stateSerializer(StateSerializer<State>) - Method in class org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutorBuilder
-
Sets the state serializer for the graph builder.
- StateSerializer<State extends AgentState> - Class in org.bsc.langgraph4j.serializer
- StateSerializer(AgentStateFactory<State>) - Constructor for class org.bsc.langgraph4j.serializer.StateSerializer
- StateSnapshot<State extends AgentState> - Class in org.bsc.langgraph4j.state
- StaticResources - Class in org.bsc.quarkus
- StaticResources() - Constructor for class org.bsc.quarkus.StaticResources
- STD - Enum constant in enum class org.bsc.langgraph4j.agentexecutor.AgentExecutor.Serializers
- STD - Enum constant in enum class org.bsc.langgraph4j.agentexecutor.AgentExecutorEx.Serializers
- stream(Map<String, Object>) - Method in class org.bsc.langgraph4j.CompiledGraph
-
Creates an AsyncGenerator stream of NodeOutput based on the provided inputs.
- stream(Map<String, Object>, RunnableConfig) - Method in class org.bsc.langgraph4j.CompiledGraph
-
Creates an AsyncGenerator stream of NodeOutput based on the provided inputs.
- stream(GraphInput, RunnableConfig) - Method in class org.bsc.langgraph4j.CompiledGraph
-
Creates an AsyncGenerator stream of NodeOutput based on the provided inputs.
- StreamingChatGenerator<State extends AgentState> - Class in org.bsc.langgraph4j.langchain4j.generators
- StreamingChatGenerator - Interface in org.bsc.langgraph4j.spring.ai.generators
- StreamingChatGenerator.Builder<State extends AgentState> - Class in org.bsc.langgraph4j.langchain4j.generators
-
Builder class for constructing instances of LLMStreamingGenerator.
- StreamingChatGenerator.Builder<State extends AgentState> - Class in org.bsc.langgraph4j.spring.ai.generators
- streamingChatModel(ChatModel) - Method in class org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutorBuilder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- StreamingOutput<State extends AgentState> - Class in org.bsc.langgraph4j.streaming
- StreamingOutput(String, String, State) - Constructor for class org.bsc.langgraph4j.streaming.StreamingOutput
- streamingServletBean() - Method in class org.bsc.langgraph4j.studio.springboot.AbstractLangGraphStudioConfig
- streamMode() - Method in class org.bsc.langgraph4j.RunnableConfig
-
Returns the stream mode of the compiled graph.
- streamMode(CompiledGraph.StreamMode) - Method in class org.bsc.langgraph4j.RunnableConfig.Builder
-
Sets the stream mode of the configuration.
- streamSnapshots(Map<String, Object>, RunnableConfig) - Method in class org.bsc.langgraph4j.CompiledGraph
-
Creates an AsyncGenerator stream of NodeOutput based on the provided inputs.
- streamSnapshots(GraphInput, RunnableConfig) - Method in class org.bsc.langgraph4j.CompiledGraph
-
Creates an AsyncGenerator stream of NodeOutput based on the provided inputs.
- STRING - Enum constant in enum class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ArgumentMetadata.ArgumentType
- SubCompiledGraphNode<State extends AgentState> - Class in org.bsc.langgraph4j.internal.node
- SubCompiledGraphNode(String, CompiledGraph<State>) - Constructor for class org.bsc.langgraph4j.internal.node.SubCompiledGraphNode
- SubCompiledGraphNodeAction<State extends AgentState> - Record Class in org.bsc.langgraph4j.internal.node
-
Represents an action to perform a subgraph on a given state with a specific configuration.
- SubCompiledGraphNodeAction(CompiledGraph<State>) - Constructor for record class org.bsc.langgraph4j.internal.node.SubCompiledGraphNodeAction
-
Creates an instance of a
SubCompiledGraphNodeAction
record class. - subGraph() - Method in class org.bsc.langgraph4j.internal.node.SubCompiledGraphNode
- subGraph() - Method in record class org.bsc.langgraph4j.internal.node.SubCompiledGraphNodeAction
-
Returns the value of the
subGraph
record component. - subGraph() - Method in class org.bsc.langgraph4j.internal.node.SubStateGraphNode
- subGraph() - Method in interface org.bsc.langgraph4j.SubGraphNode
-
Returns a subgraph of the current state graph containing all reachable states from the current state.
- SUBGRAPH_PREFIX - Static variable in class org.bsc.langgraph4j.diagram.MermaidGenerator
- SubGraphNode<State extends AgentState> - Interface in org.bsc.langgraph4j
-
Defines the interface for a sub-graph node in an agent's state graph.
- SubStateGraphNode<State extends AgentState> - Class in org.bsc.langgraph4j.internal.node
- SubStateGraphNode(String, StateGraph<State>) - Constructor for class org.bsc.langgraph4j.internal.node.SubStateGraphNode
- systemMessage(SystemMessage) - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutorBuilder
- SystemMessageDeserializer - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- SystemMessageDeserializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.SystemMessageDeserializer
- SystemMessageSerializer - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- SystemMessageSerializer - Class in org.bsc.langgraph4j.langchain4j.serializer.std
-
The SystemMessageSerializer class implements the Serializer interface for the SystemMessage type.
- SystemMessageSerializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.SystemMessageSerializer
- SystemMessageSerializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.std.SystemMessageSerializer
T
- Tag(String, Collection<Checkpoint>) - Constructor for record class org.bsc.langgraph4j.checkpoint.BaseCheckpointSaver.Tag
-
Creates an instance of a
Tag
record class. - target() - Method in record class org.bsc.langgraph4j.internal.edge.Edge
- targets() - Method in record class org.bsc.langgraph4j.internal.edge.Edge
-
Returns the value of the
targets
record component. - THREAD_ID_DEFAULT - Static variable in interface org.bsc.langgraph4j.checkpoint.BaseCheckpointSaver
- ThreadEntry(String, List<? extends NodeOutput<? extends AgentState>>) - Constructor for record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ThreadEntry
-
Creates an instance of a
ThreadEntry
record class. - threadId() - Method in record class org.bsc.langgraph4j.checkpoint.BaseCheckpointSaver.Tag
-
Returns the value of the
threadId
record component. - threadId() - Method in class org.bsc.langgraph4j.RunnableConfig
-
Returns the thread ID as an
Optional
. - threadId() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.PersistentConfig
-
Returns the value of the
threadId
record component. - threadId(String) - Method in class org.bsc.langgraph4j.RunnableConfig.Builder
-
Sets the ID of the thread.
- threads() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.InitData
-
Returns the value of the
threads
record component. - title() - Method in record class org.bsc.langgraph4j.DiagramGenerator.Context
-
Returns the value of the
title
record component. - title() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.InitData
-
Returns the value of the
title
record component. - title() - Method in record class org.bsc.langgraph4j.studio.springboot.LangGraphFlow
-
Returns the value of the
title
record component. - title() - Method in record class org.bsc.quarkus.LangGraphFlow
-
Returns the value of the
title
record component. - title(String) - Method in class org.bsc.langgraph4j.DiagramGenerator.Context.Builder
- title(String) - Method in class org.bsc.langgraph4j.studio.jetty.LangGraphStreamingServerJetty.Builder
-
Sets the title for the server.
- title(String) - Method in class org.bsc.langgraph4j.studio.springboot.LangGraphFlow.Builder
-
Sets the title for the server.
- title(String) - Method in class org.bsc.quarkus.LangGraphFlow.Builder
-
Sets the title for the server.
- titleToSnakeCase() - Method in record class org.bsc.langgraph4j.DiagramGenerator.Context
-
Converts a given title string to snake_case format by replacing all non-alphanumeric characters with underscores.
- to(String) - Method in class org.bsc.langgraph4j.utils.EdgeMappings.Builder
- to(String[]) - Method in class org.bsc.langgraph4j.utils.EdgeMappings.Builder
- to(String, String) - Method in class org.bsc.langgraph4j.utils.EdgeMappings.Builder
- to(List<String>) - Method in class org.bsc.langgraph4j.utils.EdgeMappings.Builder
- toEND() - Method in class org.bsc.langgraph4j.utils.EdgeMappings.Builder
- toEND(String) - Method in class org.bsc.langgraph4j.utils.EdgeMappings.Builder
- tool(ToolSpecification, ToolExecutor) - Method in class org.bsc.langgraph4j.langchain4j.tool.LC4jToolMapBuilder
-
Sets the tool specification with executor for the graph builder.
- tool(McpClient) - Method in class org.bsc.langgraph4j.langchain4j.tool.LC4jToolMapBuilder
-
add tools published by the mcp client
- tool(Map.Entry<ToolSpecification, ToolExecutor>) - Method in class org.bsc.langgraph4j.langchain4j.tool.LC4jToolMapBuilder
- tool(ToolCallback) - Method in class org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutorBuilder
- ToolExecutionRequestDeserializer - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- ToolExecutionRequestDeserializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.ToolExecutionRequestDeserializer
- ToolExecutionRequestSerializer - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- ToolExecutionRequestSerializer - Class in org.bsc.langgraph4j.langchain4j.serializer.std
-
The ToolExecutionRequestSerializer class implements the Serializer interface for the ToolExecutionRequest type.
- ToolExecutionRequestSerializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.ToolExecutionRequestSerializer
- ToolExecutionRequestSerializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.std.ToolExecutionRequestSerializer
- ToolExecutionResultMessageDeserializer - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- ToolExecutionResultMessageDeserializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.ToolExecutionResultMessageDeserializer
- ToolExecutionResultMessageSerializer - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- ToolExecutionResultMessageSerializer - Class in org.bsc.langgraph4j.langchain4j.serializer.std
-
This class is responsible for serializing and deserializing instances of ToolExecutionResultMessage.
- ToolExecutionResultMessageSerializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.ToolExecutionResultMessageSerializer
- ToolExecutionResultMessageSerializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.std.ToolExecutionResultMessageSerializer
- toolExecutionResults() - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutorEx.State
- toolExecutionResults() - Method in class org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutorEx.State
- toolMap() - Method in class org.bsc.langgraph4j.langchain4j.tool.LC4jToolMapBuilder
- toolName(Function<TOOL, String>) - Method in class org.bsc.langgraph4j.agent.AgentEx.Builder
- tools(List<ToolCallback>) - Method in class org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutorBuilder
- tools(ToolCallbackProvider) - Method in class org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutorBuilder
- toolsFromObject(Object) - Method in class org.bsc.langgraph4j.langchain4j.tool.LC4jToolMapBuilder
-
Sets the tool specification for the graph builder.
- toolsFromObject(Object) - Method in class org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutorBuilder
- toolSpecification(ToolSpecification, ToolExecutor) - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.Builder
-
Deprecated.
- toolSpecification(Object) - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.Builder
-
Deprecated.
- toolSpecification(LC4jToolService.Specification) - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.Builder
-
Deprecated.
- toolSpecifications() - Method in class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService
-
Returns a list of
ToolSpecification
s that can be executed by this node - toString() - Method in record class org.bsc.langgraph4j.action.Command
-
Returns a string representation of this record class.
- toString() - Method in class org.bsc.langgraph4j.action.InterruptionMetadata
- toString() - Method in record class org.bsc.langgraph4j.checkpoint.BaseCheckpointSaver.Tag
-
Returns a string representation of this record class.
- toString() - Method in class org.bsc.langgraph4j.checkpoint.Checkpoint
- toString() - Method in record class org.bsc.langgraph4j.DiagramGenerator.Context
-
Returns a string representation of this object by returning the string built in
DiagramGenerator.Context.sb
. - toString() - Method in record class org.bsc.langgraph4j.GraphArgs
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.langgraph4j.GraphRepresentation
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.langgraph4j.GraphResume
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.langgraph4j.internal.edge.Edge
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.langgraph4j.internal.edge.EdgeCondition
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.langgraph4j.internal.edge.EdgeValue
-
Returns a string representation of this record class.
- toString() - Method in class org.bsc.langgraph4j.internal.node.Node
- toString() - Method in record class org.bsc.langgraph4j.internal.node.SubCompiledGraphNodeAction
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService.Specification
-
Deprecated.Returns a string representation of this record class.
- toString() - Method in class org.bsc.langgraph4j.NodeOutput
- toString() - Method in class org.bsc.langgraph4j.RunnableConfig
- toString() - Method in class org.bsc.langgraph4j.serializer.std.SerializerMapper
- toString() - Method in class org.bsc.langgraph4j.state.AgentState
-
Returns a string representation of the agent state.
- toString() - Method in record class org.bsc.langgraph4j.state.RemoveByHash
-
Returns a string representation of this record class.
- toString() - Method in class org.bsc.langgraph4j.state.StateSnapshot
- toString() - Method in class org.bsc.langgraph4j.streaming.StreamingOutput
- toString() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ArgumentMetadata
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.InitData
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.PersistentConfig
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ThreadEntry
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.langgraph4j.studio.springboot.LangGraphFlow
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.quarkus.LangGraphFlow
-
Returns a string representation of this record class.
- toString(Collection<?>) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
- toString(Map<?, ?>) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
- Try(TryConsumer<T, Ex>) - Static method in interface org.bsc.langgraph4j.utils.TryConsumer
- Try(TryFunction<T, R, Ex>) - Static method in interface org.bsc.langgraph4j.utils.TryFunction
- Try(TrySupplier<R, Ex>) - Static method in interface org.bsc.langgraph4j.utils.TrySupplier
- tryAccept(T) - Method in interface org.bsc.langgraph4j.utils.TryConsumer
- tryApply(T) - Method in interface org.bsc.langgraph4j.utils.TryFunction
- TryConsumer<T,
Ex extends Throwable> - Interface in org.bsc.langgraph4j.utils - TryFunction<T,
R, Ex extends Throwable> - Interface in org.bsc.langgraph4j.utils - tryGet() - Method in interface org.bsc.langgraph4j.utils.TrySupplier
- TrySupplier<R,
Ex extends Throwable> - Interface in org.bsc.langgraph4j.utils - type() - Method in record class org.bsc.langgraph4j.GraphRepresentation
-
Returns the value of the
type
record component. - type() - Method in record class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ArgumentMetadata
-
Returns the value of the
type
record component. - TYPE_PROPERTY - Static variable in class org.bsc.langgraph4j.serializer.plain_text.jackson.TypeMapper
- typeMapper - Variable in class org.bsc.langgraph4j.serializer.plain_text.jackson.JacksonStateSerializer
- typeMapper() - Method in class org.bsc.langgraph4j.serializer.plain_text.jackson.JacksonStateSerializer
- TypeMapper - Class in org.bsc.langgraph4j.serializer.plain_text.jackson
- TypeMapper() - Constructor for class org.bsc.langgraph4j.serializer.plain_text.jackson.TypeMapper
- TypeMapper.Reference<T> - Class in org.bsc.langgraph4j.serializer.plain_text.jackson
U
- unregister(Class<? extends Serializer<?>>) - Method in class org.bsc.langgraph4j.serializer.std.SerializerMapper
- unregister(TypeMapper.Reference<T>) - Method in class org.bsc.langgraph4j.serializer.plain_text.jackson.TypeMapper
- unsupportedConditionalEdgeOnParallelNode - Enum constant in enum class org.bsc.langgraph4j.StateGraph.Errors
- update() - Method in record class org.bsc.langgraph4j.action.Command
-
Returns the value of the
update
record component. - update(String, Object, Object) - Method in class org.bsc.langgraph4j.state.AppenderChannel
-
Updates the value for a given key in the channel.
- update(String, Object, Object) - Method in interface org.bsc.langgraph4j.state.Channel
-
Update the state property with the given key and returns the new value.
- updatedCheckpoint(RunnableConfig, LinkedList<Checkpoint>, Checkpoint) - Method in class org.bsc.langgraph4j.checkpoint.FileSystemSaver
- updatedCheckpoint(RunnableConfig, LinkedList<Checkpoint>, Checkpoint) - Method in class org.bsc.langgraph4j.checkpoint.MemorySaver
- updatedCheckpoint(RunnableConfig, LinkedList<Checkpoint>, Checkpoint) - Method in class org.bsc.langgraph4j.checkpoint.PostgresSaver
- updateState(Map<String, Object>, Map<String, Object>, Map<String, Channel<?>>) - Static method in class org.bsc.langgraph4j.state.AgentState
-
Updates a state with the provided partial state.
- updateState(Map<String, Object>, Map<String, Channel<?>>) - Method in class org.bsc.langgraph4j.checkpoint.Checkpoint
- updateState(RunnableConfig, Map<String, Object>) - Method in class org.bsc.langgraph4j.CompiledGraph
-
Update the state of the graph with the given values.
- updateState(RunnableConfig, Map<String, Object>, String) - Method in class org.bsc.langgraph4j.CompiledGraph
-
Update the state of the graph with the given values.
- updateState(AgentState, Map<String, Object>, Map<String, Channel<?>>) - Static method in class org.bsc.langgraph4j.state.AgentState
-
Updates a state with the provided partial state.
- user(String) - Method in class org.bsc.langgraph4j.checkpoint.PostgresSaver.Builder
- UserMessageDeserializer - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- UserMessageDeserializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.UserMessageDeserializer
- UserMessageSerializer - Class in org.bsc.langgraph4j.langchain4j.serializer.jackson
- UserMessageSerializer - Class in org.bsc.langgraph4j.langchain4j.serializer.std
-
The UserMessageSerializer class implements the NullableObjectSerializer interface for the UserMessage type.
- UserMessageSerializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.jackson.UserMessageSerializer
- UserMessageSerializer() - Constructor for class org.bsc.langgraph4j.langchain4j.serializer.std.UserMessageSerializer
V
- validate(StateGraph.Nodes<State>) - Method in record class org.bsc.langgraph4j.internal.edge.Edge
- validateNewValues(List<?>) - Method in class org.bsc.langgraph4j.state.AppenderChannel
- value() - Method in record class org.bsc.langgraph4j.GraphArgs
-
Returns the value of the
value
record component. - value() - Method in record class org.bsc.langgraph4j.internal.edge.EdgeValue
-
Returns the value of the
value
record component. - value() - Method in record class org.bsc.langgraph4j.langchain4j.tool.LC4jToolService.Specification
-
Deprecated.Returns the value of the
value
record component. - value() - Method in record class org.bsc.langgraph4j.state.RemoveByHash
-
Returns the value of the
value
record component. - value(String) - Method in class org.bsc.langgraph4j.state.AgentState
-
Retrieves the value associated with the given key, if present.
- value(String, Supplier<T>) - Method in class org.bsc.langgraph4j.state.AgentState
-
Deprecated.
- value(String, T) - Method in class org.bsc.langgraph4j.state.AgentState
-
Deprecated.This method is deprecated and may be removed in future versions.
- valueOf(String) - Static method in enum class org.bsc.langgraph4j.agent.AgentEx.ApprovalState
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.bsc.langgraph4j.agentexecutor.AgentExecutor.Serializers
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.bsc.langgraph4j.agentexecutor.AgentExecutorEx.Serializers
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.bsc.langgraph4j.CompiledGraph.StreamMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.bsc.langgraph4j.DiagramGenerator.CallStyle
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.bsc.langgraph4j.GraphRepresentation.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.bsc.langgraph4j.StateGraph.Errors
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ArgumentMetadata.ArgumentType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.bsc.langgraph4j.agent.AgentEx.ApprovalState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.bsc.langgraph4j.agentexecutor.AgentExecutor.Serializers
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.bsc.langgraph4j.agentexecutor.AgentExecutorEx.Serializers
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.bsc.langgraph4j.CompiledGraph.StreamMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.bsc.langgraph4j.DiagramGenerator.CallStyle
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.bsc.langgraph4j.GraphRepresentation.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.bsc.langgraph4j.StateGraph.Errors
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.bsc.langgraph4j.studio.LangGraphStreamingServer.ArgumentMetadata.ArgumentType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VALUES - Enum constant in enum class org.bsc.langgraph4j.CompiledGraph.StreamMode
- VersionedMemorySaver - Class in org.bsc.langgraph4j.checkpoint
-
VersionedMemorySaver is a class that implements
BaseCheckpointSaver
andHasVersions
. - VersionedMemorySaver() - Constructor for class org.bsc.langgraph4j.checkpoint.VersionedMemorySaver
-
Default constructor for the
VersionedMemorySaver
class. - versionsByThreadId(String) - Method in interface org.bsc.langgraph4j.checkpoint.HasVersions
-
Retrieves a collection of integer versions associated with the specified thread ID.
- versionsByThreadId(String) - Method in class org.bsc.langgraph4j.checkpoint.VersionedMemorySaver
-
Returns a collection of versions associated with the specified thread ID.
- versionsByThreadId(RunnableConfig) - Method in interface org.bsc.langgraph4j.checkpoint.HasVersions
-
Retrieves the collection of versions associated with a specific thread ID from the given
RunnableConfig
.
W
- withCheckPointId(String) - Method in class org.bsc.langgraph4j.RunnableConfig
-
Updates the checkpoint ID of the configuration.
- withIdUpdated(Function<String, String>) - Method in class org.bsc.langgraph4j.internal.node.Node
- withSourceAndTargetIdsUpdated(Node<State>, Function<String, String>, Function<String, EdgeValue<State>>) - Method in record class org.bsc.langgraph4j.internal.edge.Edge
- withStreamMode(CompiledGraph.StreamMode) - Method in class org.bsc.langgraph4j.RunnableConfig
-
Create a new RunnableConfig with the same attributes as this one but with a different
CompiledGraph.StreamMode
. - write(ToolExecutionRequest, ObjectOutput) - Method in class org.bsc.langgraph4j.langchain4j.serializer.std.ToolExecutionRequestSerializer
-
Serializes the given ToolExecutionRequest object to the provided ObjectOutput.
- write(AiMessage, ObjectOutput) - Method in class org.bsc.langgraph4j.langchain4j.serializer.std.AiMessageSerializer
-
Serializes the given AiMessage object to the specified output stream.
- write(ChatMessage, ObjectOutput) - Method in class org.bsc.langgraph4j.langchain4j.serializer.std.ChatMesssageSerializer
-
Serializes the given ChatMessage object to the specified output stream.
- write(SystemMessage, ObjectOutput) - Method in class org.bsc.langgraph4j.langchain4j.serializer.std.SystemMessageSerializer
-
Serializes the given SystemMessage object to the specified ObjectOutput stream.
- write(ToolExecutionResultMessage, ObjectOutput) - Method in class org.bsc.langgraph4j.langchain4j.serializer.std.ToolExecutionResultMessageSerializer
-
Serializes the given ToolExecutionResultMessage object to the provided ObjectOutput stream.
- write(UserMessage, ObjectOutput) - Method in class org.bsc.langgraph4j.langchain4j.serializer.std.UserMessageSerializer
-
Serializes the given UserMessage object to the specified ObjectOutput.
- write(Message, ObjectOutput) - Method in class org.bsc.langgraph4j.spring.ai.serializer.std.MessageSerializer
- write(State, ObjectOutput) - Method in class org.bsc.langgraph4j.serializer.StateSerializer
- write(T, ObjectOutput) - Method in interface org.bsc.langgraph4j.serializer.Serializer
- writeData(Map<String, Object>, ObjectOutput) - Method in class org.bsc.langgraph4j.serializer.plain_text.gson.GsonStateSerializer
- writeData(Map<String, Object>, ObjectOutput) - Method in class org.bsc.langgraph4j.serializer.plain_text.jackson.JacksonStateSerializer
- writeData(Map<String, Object>, ObjectOutput) - Method in class org.bsc.langgraph4j.serializer.StateSerializer
- writeData(Map<String, Object>, ObjectOutput) - Method in class org.bsc.langgraph4j.serializer.std.ObjectStreamStateSerializer
- writeNullableObject(Object, ObjectOutput) - Method in interface org.bsc.langgraph4j.serializer.std.NullableObjectSerializer
- writeNullableUTF(String, ObjectOutput) - Method in interface org.bsc.langgraph4j.serializer.std.NullableObjectSerializer
- writeObject(T) - Method in interface org.bsc.langgraph4j.serializer.Serializer
-
Deprecated, for removal: This API element is subject to removal in a future version.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
addNode( String, CompiledGraph<State> )
instead