Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- accept(T) - Method in interface org.bsc.langgraph4j.utils.TryConsumer
- 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.
- 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
- addSubgraph(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.
- 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
. - append(Object) - Method in class org.bsc.langgraph4j.state.AppendableValueRW
-
Deprecated.Appends a value or a collection of values to the list.
- appendableValue(String) - Method in class org.bsc.langgraph4j.state.AgentState
-
Deprecated.
- AppendableValue<T> - Interface in org.bsc.langgraph4j.state
-
Deprecated.
- AppendableValueRW<T> - Class in org.bsc.langgraph4j.state
-
Deprecated.
- AppendableValueRW() - Constructor for class org.bsc.langgraph4j.state.AppendableValueRW
-
Deprecated.Constructs an AppendableValueRW with an empty list of values.
- AppendableValueRW(Collection<T>) - Constructor for class org.bsc.langgraph4j.state.AppendableValueRW
-
Deprecated.Constructs an AppendableValueRW with the given initial collection of values.
- AppenderChannel<T> - Class in org.bsc.langgraph4j.state
- 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
- 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
- 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.NodeActionWithConfig
- apply(T) - Method in interface org.bsc.langgraph4j.action.NodeAction
- 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
- AsyncNodeGenerator(Map<String, Object>, RunnableConfig) - Constructor for class org.bsc.langgraph4j.CompiledGraph.AsyncNodeGenerator
- available() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
B
- BaseCheckpointSaver - Interface in org.bsc.langgraph4j.checkpoint
- build() - Method in class org.bsc.langgraph4j.checkpoint.Checkpoint.Builder
- build() - Method in class org.bsc.langgraph4j.CompileConfig.Builder
- build() - Method in class org.bsc.langgraph4j.RunnableConfig.Builder
- builder() - Static method in class org.bsc.langgraph4j.checkpoint.Checkpoint
- builder() - Static method in class org.bsc.langgraph4j.CompileConfig
- builder() - Static method in class org.bsc.langgraph4j.RunnableConfig
- builder(RunnableConfig) - Static method in class org.bsc.langgraph4j.RunnableConfig
- Builder() - Constructor for class org.bsc.langgraph4j.checkpoint.Checkpoint.Builder
- Builder() - Constructor for class org.bsc.langgraph4j.CompileConfig.Builder
- buildNodeOutput(String) - Method in class org.bsc.langgraph4j.CompiledGraph.AsyncNodeGenerator
- buildStateSnapshot(Checkpoint) - Method in class org.bsc.langgraph4j.CompiledGraph.AsyncNodeGenerator
C
- call(DiagramGenerator.Context, String, String) - Method in class org.bsc.langgraph4j.diagram.MermaidGenerator
- call(DiagramGenerator.Context, String, String) - Method in class org.bsc.langgraph4j.diagram.PlantUMLGenerator
- call(DiagramGenerator.Context, String, String) - Method in class org.bsc.langgraph4j.DiagramGenerator
- call(DiagramGenerator.Context, String, String, String) - Method in class org.bsc.langgraph4j.diagram.MermaidGenerator
- call(DiagramGenerator.Context, String, String, String) - Method in class org.bsc.langgraph4j.diagram.PlantUMLGenerator
- call(DiagramGenerator.Context, String, String, String) - Method in class org.bsc.langgraph4j.DiagramGenerator
- Channel<T> - Interface in org.bsc.langgraph4j.state
-
A Channel is a mechanism used to maintain a state property.
- Checkpoint - Class in org.bsc.langgraph4j.checkpoint
-
Represents a checkpoint of an agent state.
- Checkpoint(Checkpoint) - Constructor for class org.bsc.langgraph4j.checkpoint.Checkpoint
- Checkpoint.Builder - Class in org.bsc.langgraph4j.checkpoint
- checkPointId() - Method in class org.bsc.langgraph4j.RunnableConfig
- checkPointId(String) - Method in class org.bsc.langgraph4j.RunnableConfig.Builder
- checkpointSaver() - Method in class org.bsc.langgraph4j.CompileConfig
- checkpointSaver(BaseCheckpointSaver) - Method in class org.bsc.langgraph4j.CompileConfig.Builder
- chunk() - Method in class org.bsc.langgraph4j.streaming.StreamingOutput
- clear(RunnableConfig) - Method in class org.bsc.langgraph4j.checkpoint.FileSystemSaver
-
Clears the checkpoint file associated with the given RunnableConfig.
- 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
- 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
- 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 - Class in org.bsc.langgraph4j
- CompileConfig.Builder - Class in org.bsc.langgraph4j
- 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 in org.bsc.langgraph4j
- config() - Method in class org.bsc.langgraph4j.state.StateSnapshot
- Context() - Constructor for class org.bsc.langgraph4j.DiagramGenerator.Context
D
- data() - Method in class org.bsc.langgraph4j.state.AgentState
-
Returns an unmodifiable view of the data map.
- 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
- 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
- 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
- DiagramGenerator - Class in org.bsc.langgraph4j
- DiagramGenerator() - Constructor for class org.bsc.langgraph4j.DiagramGenerator
- DiagramGenerator.Context - Class in org.bsc.langgraph4j
E
- 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.
- EdgeValue<State extends AgentState> - Class in org.bsc.langgraph4j
- EdgeValue() - Constructor for class org.bsc.langgraph4j.EdgeValue
- END - Static variable in class org.bsc.langgraph4j.StateGraph
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
G
- generate(StateGraph<State>, String, boolean) - Method in class org.bsc.langgraph4j.DiagramGenerator
-
Generate a textual representation of the given graph.
- generate(StateGraph<State>, DiagramGenerator.Context) - Method in class org.bsc.langgraph4j.DiagramGenerator
- get(RunnableConfig) - Method in interface org.bsc.langgraph4j.checkpoint.BaseCheckpointSaver
- get(RunnableConfig) - Method in class org.bsc.langgraph4j.checkpoint.FileSystemSaver
- get(RunnableConfig) - Method in class org.bsc.langgraph4j.checkpoint.MemorySaver
- getChannels() - Method in class org.bsc.langgraph4j.StateGraph
- getCheckpoints(RunnableConfig) - Method in class org.bsc.langgraph4j.checkpoint.FileSystemSaver
- getCheckpoints(RunnableConfig) - Method in class org.bsc.langgraph4j.checkpoint.MemorySaver
- getConfig() - Method in class org.bsc.langgraph4j.state.StateSnapshot
-
Deprecated.Use
StateSnapshot.config()
instead. - getDefault() - Method in class org.bsc.langgraph4j.state.AppenderChannel
- 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
- getEntryPoint() - Method in class org.bsc.langgraph4j.CompiledGraph
-
Deprecated.
- getEntryPoint() - Method in class org.bsc.langgraph4j.StateGraph
-
Deprecated.
- getFinishPoint() - Method in class org.bsc.langgraph4j.CompiledGraph
-
Deprecated.
- getFinishPoint() - Method in class org.bsc.langgraph4j.StateGraph
-
Deprecated.
- 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.
- getLast(LinkedList<Checkpoint>, RunnableConfig) - Method in class org.bsc.langgraph4j.checkpoint.MemorySaver
- getNext() - Method in class org.bsc.langgraph4j.state.StateSnapshot
-
Deprecated.Use
StateSnapshot.next()
instead. - getReducer() - Method in class org.bsc.langgraph4j.state.AppenderChannel
- getReducer() - Method in interface org.bsc.langgraph4j.state.Channel
-
The Reducer, if provided, is invoked for each state property to compute value.
- 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.NodeOutput
-
Deprecated.Use
NodeOutput.state()
instead. - 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
- getStateType() - Method in class org.bsc.langgraph4j.serializer.plain_text.PlainTextStateSerializer
- GraphRepresentation - Class in org.bsc.langgraph4j
-
The graph representation in diagram-as-a-code format.
- GraphRepresentation() - Constructor for class org.bsc.langgraph4j.GraphRepresentation
- GraphRepresentation.Type - Enum in org.bsc.langgraph4j
-
The supported types.
- 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.
- 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
I
- id(String) - Method in class org.bsc.langgraph4j.checkpoint.Checkpoint.Builder
- interruptAfter(String...) - Method in class org.bsc.langgraph4j.CompileConfig.Builder
- interruptBefore(String...) - Method in class org.bsc.langgraph4j.CompileConfig.Builder
- 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.
- isEmpty() - Method in interface org.bsc.langgraph4j.state.AppendableValue
-
Deprecated.Checks if the value list is empty.
- isEmpty() - Method in class org.bsc.langgraph4j.state.AppendableValueRW
-
Deprecated.Checks if the list of values is empty.
J
- JacksonStateSerializer<State extends AgentState> - Class in org.bsc.langgraph4j.serializer.plain_text.jackson
-
Base Implementation of
PlainTextStateSerializer
using Jackson library. - JacksonStateSerializer(AgentStateFactory<State>, ObjectMapper) - Constructor for class org.bsc.langgraph4j.serializer.plain_text.jackson.JacksonStateSerializer
- JacksonStateSerializer(AgentStateFactory<State>) - Constructor for class org.bsc.langgraph4j.serializer.plain_text.jackson.JacksonStateSerializer
L
- last() - Method in interface org.bsc.langgraph4j.state.AppendableValue
-
Deprecated.Returns the last value in the list, if present.
- last() - Method in class org.bsc.langgraph4j.state.AppendableValueRW
-
Deprecated.Returns the last value in the list, if present.
- last(List<T>) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Returns the last value in the list, if present.
- lastMinus(int) - Method in interface org.bsc.langgraph4j.state.AppendableValue
-
Deprecated.Returns the value at the specified position from the end of the list, if present.
- lastMinus(int) - Method in class org.bsc.langgraph4j.state.AppendableValueRW
-
Deprecated.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.
- list(RunnableConfig) - Method in interface org.bsc.langgraph4j.checkpoint.BaseCheckpointSaver
- list(RunnableConfig) - Method in class org.bsc.langgraph4j.checkpoint.FileSystemSaver
- list(RunnableConfig) - Method in class org.bsc.langgraph4j.checkpoint.MemorySaver
- listOf(Class<T>) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
- listOf(T...) - Static method in class org.bsc.langgraph4j.utils.CollectionsUtils
-
Creates a list containing the provided elements.
- log - Static variable in interface org.bsc.langgraph4j.utils.TryConsumer
M
- 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
- MemorySaver - Class in org.bsc.langgraph4j.checkpoint
- MemorySaver() - Constructor for class org.bsc.langgraph4j.checkpoint.MemorySaver
- mergeWith(Map<String, Object>, Map<String, Channel<?>>) - Method in class org.bsc.langgraph4j.state.AgentState
-
Deprecated.
- MERMAID - Enum constant in enum 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
- mimeType() - Method in class org.bsc.langgraph4j.serializer.plain_text.gson.GsonStateSerializer
- mimeType() - Method in class org.bsc.langgraph4j.serializer.plain_text.jackson.JacksonStateSerializer
- mimeType() - Method in class org.bsc.langgraph4j.serializer.plain_text.PlainTextStateSerializer
- mimeType() - Method in interface org.bsc.langgraph4j.serializer.Serializer
N
- next() - Method in class org.bsc.langgraph4j.CompiledGraph.AsyncNodeGenerator
- next() - Method in class org.bsc.langgraph4j.state.StateSnapshot
- nextNode() - Method in class org.bsc.langgraph4j.RunnableConfig
- nextNode(String) - Method in class org.bsc.langgraph4j.RunnableConfig.Builder
- nextNodeId(String) - Method in class org.bsc.langgraph4j.checkpoint.Checkpoint.Builder
- node() - Method in class org.bsc.langgraph4j.NodeOutput
- 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
- NodeAction<T extends AgentState> - Interface in org.bsc.langgraph4j.action
- NodeActionWithConfig<S extends AgentState> - Interface in org.bsc.langgraph4j.action
- 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
- NullableObjectSerializer<T> - Interface in org.bsc.langgraph4j.serializer.std
O
- 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
- 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
- of(String, State) - Static method in class org.bsc.langgraph4j.NodeOutput
- of(Supplier<List<T>>) - Static method in class org.bsc.langgraph4j.state.AppenderChannel
- of(Supplier<T>) - Static method in interface org.bsc.langgraph4j.state.Channel
- 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(Reducer<T>) - Static method in interface org.bsc.langgraph4j.state.Channel
- of(Reducer<T>, Supplier<T>) - Static method in interface org.bsc.langgraph4j.state.Channel
- 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
-
Provides interfaces and classes for defining actions that operate on agent states.
- org.bsc.langgraph4j.checkpoint - package org.bsc.langgraph4j.checkpoint
- org.bsc.langgraph4j.diagram - package org.bsc.langgraph4j.diagram
- 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.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.utils - package org.bsc.langgraph4j.utils
P
- 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 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
- put(RunnableConfig, Checkpoint) - Method in interface org.bsc.langgraph4j.checkpoint.BaseCheckpointSaver
- put(RunnableConfig, Checkpoint) - Method in class org.bsc.langgraph4j.checkpoint.FileSystemSaver
- put(RunnableConfig, Checkpoint) - Method in class org.bsc.langgraph4j.checkpoint.MemorySaver
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.serializer.plain_text.gson.GsonStateSerializer
- read(ObjectInput) - Method in class org.bsc.langgraph4j.serializer.plain_text.jackson.JacksonStateSerializer
- read(ObjectInput) - Method in interface org.bsc.langgraph4j.serializer.Serializer
- read(ObjectInput) - Method in class org.bsc.langgraph4j.serializer.std.ObjectStreamStateSerializer
- 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
- readDouble() - Method in class org.bsc.langgraph4j.serializer.std.ObjectInputWithMapper
- readExternal(ObjectInput) - Method in class org.bsc.langgraph4j.state.AppendableValueRW
-
Deprecated.
- 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
- 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
- register(Class<?>, Serializer<?>) - Method in class org.bsc.langgraph4j.serializer.std.SerializerMapper
- RunnableConfig - Class in org.bsc.langgraph4j
- RunnableConfig.Builder - Class in org.bsc.langgraph4j
S
- 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
- setConditionalEntryPoint(AsyncEdgeAction<State>, Map<String, String>) - Method in class org.bsc.langgraph4j.StateGraph
-
Deprecated.use addConditionalEdge(START, consition, mappings)
- setEntryPoint(String) - Method in class org.bsc.langgraph4j.StateGraph
-
Deprecated.use addEdge(START, nodeId)
- setFinishPoint(String) - Method in class org.bsc.langgraph4j.StateGraph
-
Deprecated.use use addEdge(nodeId, END)
- setMaxIterations(int) - Method in class org.bsc.langgraph4j.CompiledGraph
-
Sets the maximum number of iterations for the graph execution.
- size() - Method in interface org.bsc.langgraph4j.state.AppendableValue
-
Deprecated.Returns the size of the value list.
- size() - Method in class org.bsc.langgraph4j.state.AppendableValueRW
-
Deprecated.Returns the size of the list of values.
- 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 org.bsc.langgraph4j.CompiledGraph.StreamMode
- START - Static variable in class org.bsc.langgraph4j.StateGraph
- 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
- stateFactory() - Method in class org.bsc.langgraph4j.serializer.StateSerializer
- StateGraph<State extends AgentState> - Class in org.bsc.langgraph4j
-
Represents a state graph with nodes and edges.
- StateGraph(StateSerializer<State>) - Constructor for class org.bsc.langgraph4j.StateGraph
-
Constructs a new StateGraph with the specified serializer.
- 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(AgentStateFactory<State>) - Constructor for class org.bsc.langgraph4j.StateGraph
-
Constructs a new StateGraph with the specified state factory.
- 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<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
- 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.
- StreamingOutput<State extends AgentState> - Class in org.bsc.langgraph4j.streaming
- StreamingOutput(String, String, State) - Constructor for class org.bsc.langgraph4j.streaming.StreamingOutput
- streamMode() - Method in class org.bsc.langgraph4j.RunnableConfig
- streamMode(CompiledGraph.StreamMode) - Method in class org.bsc.langgraph4j.RunnableConfig.Builder
- streamSnapshots(Map<String, Object>, RunnableConfig) - Method in class org.bsc.langgraph4j.CompiledGraph
-
Creates an AsyncGenerator stream of NodeOutput based on the provided inputs.
- SUBGRAPH_PREFIX - Static variable in class org.bsc.langgraph4j.diagram.MermaidGenerator
T
- threadId() - Method in class org.bsc.langgraph4j.RunnableConfig
- threadId(String) - Method in class org.bsc.langgraph4j.RunnableConfig.Builder
- titleToSnakeCase() - Method in class org.bsc.langgraph4j.DiagramGenerator.Context
- toString() - Method in class org.bsc.langgraph4j.DiagramGenerator.Context
- toString() - Method in class org.bsc.langgraph4j.NodeOutput
- 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 class org.bsc.langgraph4j.state.AppendableValueRW
-
Deprecated.Returns a string representation of the list of values.
- toString() - Method in class org.bsc.langgraph4j.state.StateSnapshot
- toString() - Method in class org.bsc.langgraph4j.streaming.StreamingOutput
- Try(TryConsumer<T, Ex>) - Static method in interface org.bsc.langgraph4j.utils.TryConsumer
- tryAccept(T) - Method in interface org.bsc.langgraph4j.utils.TryConsumer
- TryConsumer<T,
Ex extends Throwable> - Interface in org.bsc.langgraph4j.utils
U
- unregister(Class<? extends Serializer<?>>) - Method in class org.bsc.langgraph4j.serializer.std.SerializerMapper
- update(String, Object, Object) - Method in class org.bsc.langgraph4j.state.AppenderChannel
- 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.
- 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.
V
- 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.
- valueOf(String) - Static method in enum org.bsc.langgraph4j.CompiledGraph.StreamMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bsc.langgraph4j.GraphRepresentation.Type
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.bsc.langgraph4j.CompiledGraph.StreamMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bsc.langgraph4j.GraphRepresentation.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in interface org.bsc.langgraph4j.state.AppendableValue
-
Deprecated.Returns the list of values.
- values() - Method in class org.bsc.langgraph4j.state.AppendableValueRW
-
Deprecated.Returns an unmodifiable list of values.
- VALUES - Enum constant in enum org.bsc.langgraph4j.CompiledGraph.StreamMode
W
- withCheckPointId(String) - Method in class org.bsc.langgraph4j.RunnableConfig
- 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(State, ObjectOutput) - Method in class org.bsc.langgraph4j.serializer.plain_text.gson.GsonStateSerializer
- write(State, ObjectOutput) - Method in class org.bsc.langgraph4j.serializer.plain_text.jackson.JacksonStateSerializer
- write(State, ObjectOutput) - Method in class org.bsc.langgraph4j.serializer.std.ObjectStreamStateSerializer
- write(T, ObjectOutput) - Method in interface org.bsc.langgraph4j.serializer.Serializer
- writeExternal(ObjectOutput) - Method in class org.bsc.langgraph4j.state.AppendableValueRW
-
Deprecated.
- 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
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
Channel
instead