Class AgentExecutor.State

java.lang.Object
org.bsc.langgraph4j.state.AgentState
org.bsc.langgraph4j.prebuilt.MessagesState<org.springframework.ai.chat.messages.Message>
org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutor.State
Enclosing interface:
AgentExecutor

public static class AgentExecutor.State extends MessagesState<org.springframework.ai.chat.messages.Message>
Represents the state of an agent in a system. This class extends AgentState and defines constants for keys related to input, agent outcome, and intermediate steps. It includes a static map schema that specifies how these keys should be handled.
  • Constructor Details

    • State

      public State(Map<String,Object> initData)
      Constructs a new State object using the initial data provided in the initData map.
      Parameters:
      initData - the map containing the initial settings for this state