Index

A B C E F G H I J L O R S T V W 
All Classes and Interfaces|All Packages

A

action() - Method in record class org.bsc.langgraph4j.agentexecutor.state.AgentOutcome
Returns the value of the action record component.
action() - Method in record class org.bsc.langgraph4j.agentexecutor.state.IntermediateStep
Returns the value of the action record component.
Agent - Class in org.bsc.langgraph4j.agentexecutor
Represents an agent that can process chat messages and execute actions using specified tools.
Agent() - Constructor for class org.bsc.langgraph4j.agentexecutor.Agent
 
AgentAction - Record Class in org.bsc.langgraph4j.agentexecutor.state
Represents result of an action performed by an agent.
AgentAction(ToolExecutionRequest, String) - Constructor for record class org.bsc.langgraph4j.agentexecutor.state.AgentAction
Creates an instance of a AgentAction record class.
AgentExecutor - Interface in org.bsc.langgraph4j.agentexecutor
Interface representing an Agent Executor.
AgentExecutor.GraphBuilder - Class in org.bsc.langgraph4j.agentexecutor
Builder class for constructing a graph of agent execution.
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.
AgentFinish - Record Class in org.bsc.langgraph4j.agentexecutor.state
Represents the result of an agent's finish operation.
AgentFinish(Map<String, Object>, String) - Constructor for record class org.bsc.langgraph4j.agentexecutor.state.AgentFinish
Creates an instance of a AgentFinish record class.
agentOutcome() - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.State
Retrieves the agent outcome.
AgentOutcome - Record Class in org.bsc.langgraph4j.agentexecutor.state
Represents the outcome of an agent's action.
AgentOutcome(AgentAction, AgentFinish) - Constructor for record class org.bsc.langgraph4j.agentexecutor.state.AgentOutcome
Creates an instance of a AgentOutcome record class.
apply(AgentExecutor.State) - Method in class org.bsc.langgraph4j.agentexecutor.actions.CallAgent
Applies the action to the given state and returns the result.
apply(AgentExecutor.State) - Method in class org.bsc.langgraph4j.agentexecutor.actions.ExecuteTools
Applies the tool execution logic based on the provided agent state.

B

build() - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.GraphBuilder
Builds the state graph.

C

CallAgent - Class in org.bsc.langgraph4j.agentexecutor.actions
The CallAgent class implements the NodeAction interface for handling actions related to an AgentExecutor's state.
CallAgent(Agent) - Constructor for class org.bsc.langgraph4j.agentexecutor.actions.CallAgent
Constructs a CallAgent with the specified agent.
chatLanguageModel(ChatLanguageModel) - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.GraphBuilder
Sets the chat language model for the graph builder.
chatLanguageModel(StreamingChatLanguageModel) - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.GraphBuilder
Sets the streaming chat language model for the graph builder.

E

equals(Object) - Method in record class org.bsc.langgraph4j.agentexecutor.state.AgentAction
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.bsc.langgraph4j.agentexecutor.state.AgentFinish
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.bsc.langgraph4j.agentexecutor.state.AgentOutcome
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.bsc.langgraph4j.agentexecutor.state.IntermediateStep
Indicates whether some other object is "equal to" this one.
execute(String, List<IntermediateStep>) - Method in class org.bsc.langgraph4j.agentexecutor.Agent
Executes the agent's action based on the input and intermediate steps, returning a response.
execute(String, List<IntermediateStep>, StreamingResponseHandler<AiMessage>) - Method in class org.bsc.langgraph4j.agentexecutor.Agent
Executes the agent's action based on the input and intermediate steps, using a streaming response handler.
ExecuteTools - Class in org.bsc.langgraph4j.agentexecutor.actions
The ExecuteTools class implements the NodeAction interface for handling actions related to executing tools within an agent's context.
ExecuteTools(Agent, ToolNode) - Constructor for class org.bsc.langgraph4j.agentexecutor.actions.ExecuteTools
Constructs an ExecuteTools instance with the specified agent and tool node.

F

finish() - Method in record class org.bsc.langgraph4j.agentexecutor.state.AgentOutcome
Returns the value of the finish record component.

G

graphBuilder() - Static method in interface org.bsc.langgraph4j.agentexecutor.AgentExecutor
Creates a new GraphBuilder instance.
GraphBuilder() - Constructor for class org.bsc.langgraph4j.agentexecutor.AgentExecutor.GraphBuilder
 

H

hashCode() - Method in record class org.bsc.langgraph4j.agentexecutor.state.AgentAction
Returns a hash code value for this object.
hashCode() - Method in record class org.bsc.langgraph4j.agentexecutor.state.AgentFinish
Returns a hash code value for this object.
hashCode() - Method in record class org.bsc.langgraph4j.agentexecutor.state.AgentOutcome
Returns a hash code value for this object.
hashCode() - Method in record class org.bsc.langgraph4j.agentexecutor.state.IntermediateStep
Returns a hash code value for this object.

I

input() - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.State
Retrieves the input value.
IntermediateStep - Record Class in org.bsc.langgraph4j.agentexecutor.state
Represents an intermediate step in a process, encapsulating an action taken by an agent and the corresponding observation made.
IntermediateStep(AgentAction, String) - Constructor for record class org.bsc.langgraph4j.agentexecutor.state.IntermediateStep
Creates an instance of a IntermediateStep record class.
intermediateSteps() - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.State
Retrieves the list of intermediate steps.
isStreaming() - Method in class org.bsc.langgraph4j.agentexecutor.Agent
Checks if the agent is currently streaming.

J

JSON - Enum constant in enum class org.bsc.langgraph4j.agentexecutor.AgentExecutor.Serializers
 
JSONStateSerializer - Class in org.bsc.langgraph4j.agentexecutor.serializer.jackson
JSONStateSerializer is a class that extends JacksonStateSerializer for serializing and deserializing the state of an AgentExecutor using JSON format.
JSONStateSerializer() - Constructor for class org.bsc.langgraph4j.agentexecutor.serializer.jackson.JSONStateSerializer
Constructs a new JSONStateSerializer and registers custom deserializers for various agent-related classes.

L

log() - Method in record class org.bsc.langgraph4j.agentexecutor.state.AgentAction
Returns the value of the log record component.
log() - Method in record class org.bsc.langgraph4j.agentexecutor.state.AgentFinish
Returns the value of the log record component.

O

object() - Method in enum class org.bsc.langgraph4j.agentexecutor.AgentExecutor.Serializers
Retrieves the state serializer.
objectsWithTools(List<Object>) - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.GraphBuilder
Deprecated.
observation() - Method in record class org.bsc.langgraph4j.agentexecutor.state.IntermediateStep
Returns the value of the observation record component.
org.bsc.langgraph4j.agentexecutor - package org.bsc.langgraph4j.agentexecutor
 
org.bsc.langgraph4j.agentexecutor.actions - package org.bsc.langgraph4j.agentexecutor.actions
 
org.bsc.langgraph4j.agentexecutor.serializer.jackson - package org.bsc.langgraph4j.agentexecutor.serializer.jackson
 
org.bsc.langgraph4j.agentexecutor.serializer.std - package org.bsc.langgraph4j.agentexecutor.serializer.std
 
org.bsc.langgraph4j.agentexecutor.state - package org.bsc.langgraph4j.agentexecutor.state
 

R

read(ObjectInput) - Method in class org.bsc.langgraph4j.agentexecutor.serializer.jackson.JSONStateSerializer
Deserializes an AgentExecutor.State object from an input stream in JSON format.
returnValues() - Method in record class org.bsc.langgraph4j.agentexecutor.state.AgentFinish
Returns the value of the returnValues record component.

S

State(Map<String, Object>) - Constructor for class org.bsc.langgraph4j.agentexecutor.AgentExecutor.State
Constructs a new State with the given initialization data.
stateSerializer(StateSerializer<AgentExecutor.State>) - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.GraphBuilder
Sets the state serializer for the graph builder.
STD - Enum constant in enum class org.bsc.langgraph4j.agentexecutor.AgentExecutor.Serializers
 
STDStateSerializer - Class in org.bsc.langgraph4j.agentexecutor.serializer.std
The STDStateSerializer class is responsible for serializing the state of the AgentExecutor.
STDStateSerializer() - Constructor for class org.bsc.langgraph4j.agentexecutor.serializer.std.STDStateSerializer
Constructs a new instance of STDStateSerializer.

T

toolExecutionRequest() - Method in record class org.bsc.langgraph4j.agentexecutor.state.AgentAction
Returns the value of the toolExecutionRequest record component.
toolSpecification(ToolSpecification, ToolExecutor) - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.GraphBuilder
Sets the tool specification with executor for the graph builder.
toolSpecification(Object) - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.GraphBuilder
Sets the tool specification for the graph builder.
toolSpecification(ToolNode.Specification) - Method in class org.bsc.langgraph4j.agentexecutor.AgentExecutor.GraphBuilder
Sets the tool specification for the graph builder.
toString() - Method in record class org.bsc.langgraph4j.agentexecutor.state.AgentAction
Returns a string representation of this record class.
toString() - Method in record class org.bsc.langgraph4j.agentexecutor.state.AgentFinish
Returns a string representation of this record class.
toString() - Method in record class org.bsc.langgraph4j.agentexecutor.state.AgentOutcome
Returns a string representation of this record class.
toString() - Method in record class org.bsc.langgraph4j.agentexecutor.state.IntermediateStep
Returns a string representation of this record class.

V

valueOf(String) - Static method in enum class org.bsc.langgraph4j.agentexecutor.AgentExecutor.Serializers
Returns the enum constant of this class with the specified name.
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.

W

write(AgentExecutor.State, ObjectOutput) - Method in class org.bsc.langgraph4j.agentexecutor.serializer.jackson.JSONStateSerializer
Serializes the given AgentExecutor.State object to an output stream in JSON format.
A B C E F G H I J L O R S T V W 
All Classes and Interfaces|All Packages