Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Classes
  • Record Classes
  • Methods
  • Terminally Deprecated Elements
    Element
    Description
    org.bsc.langgraph4j.action.InterruptableAction.interrupt(String, State)
    org.bsc.langgraph4j.agent.ToolResponseBuilder.build(T)
    Use ToolResponseBuilder.buildAndReturn(Object) instead. This method will be removed in a future version.
    org.bsc.langgraph4j.CompiledGraph.setMaxIterations(int)
    use CompileConfig.recursionLimit() instead
    org.bsc.langgraph4j.serializer.Serializer.readObject(byte[])
    org.bsc.langgraph4j.serializer.Serializer.writeObject(T)
    org.bsc.langgraph4j.state.AgentState.mergeWith(Map<String, Object>, Map<String, Channel<?>>)
    use AgentState.updateState(AgentState, Map, Map)
    org.bsc.langgraph4j.state.AgentState.value(String, Supplier<T>)
    org.bsc.langgraph4j.state.AgentState.value(String, T)
    This method is deprecated and may be removed in future versions.
    org.bsc.langgraph4j.StateGraph.addSubgraph(String, CompiledGraph<State>)
    use addNode( String, CompiledGraph<State> ) instead
    org.bsc.langgraph4j.StateGraph.addSubgraph(String, StateGraph<State>)
    use add( String id, StateGraph<State> ) instead
    org.bsc.langgraph4j.utils.CollectionsUtils.listOf(Class<T>)
  • Deprecated Classes
    Class
    Description
    org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator
    use StreamingChatGenerator instead
    org.bsc.langgraph4j.langchain4j.serializer.jackson.JacksonMessagesStateSerializer
    use LC4jJacksonStateSerializer
  • Deprecated Record Classes
    Record Class
    Description
    org.bsc.langgraph4j.langchain4j.tool.LC4jToolService.Specification
    use Map.Entry<dev.langchain4j.agent.tool.ToolSpecification,dev.langchain4j.service.tool.ToolExecutor> instead
  • Deprecated Methods
    Method
    Description
    org.bsc.langgraph4j.action.InterruptableAction.interrupt(String, State)
    org.bsc.langgraph4j.agent.ToolResponseBuilder.build(T)
    Use ToolResponseBuilder.buildAndReturn(Object) instead. This method will be removed in a future version.
    org.bsc.langgraph4j.agentexecutor.AgentExecutor.Builder.toolSpecification(ToolSpecification, ToolExecutor)
    org.bsc.langgraph4j.agentexecutor.AgentExecutor.Builder.toolSpecification(Object)
    org.bsc.langgraph4j.agentexecutor.AgentExecutor.Builder.toolSpecification(LC4jToolService.Specification)
    org.bsc.langgraph4j.CompiledGraph.setMaxIterations(int)
    use CompileConfig.recursionLimit() instead
    org.bsc.langgraph4j.GraphRepresentation.getContent()
    Please use GraphRepresentation.content() instead. This method is no longer maintained and may be removed in future versions.
    org.bsc.langgraph4j.GraphRepresentation.getType()
    Please use GraphRepresentation.type() instead. This method is no longer maintained and may be removed in future versions.
    org.bsc.langgraph4j.langchain4j.tool.LC4jToolService.Builder.specification(ToolSpecification, ToolExecutor)
    org.bsc.langgraph4j.langchain4j.tool.LC4jToolService.Builder.specification(Object)
    org.bsc.langgraph4j.langchain4j.tool.LC4jToolService.Builder.specification(LC4jToolService.Specification)
    org.bsc.langgraph4j.serializer.Serializer.readObject(byte[])
    org.bsc.langgraph4j.serializer.Serializer.writeObject(T)
    org.bsc.langgraph4j.state.AgentState.mergeWith(Map<String, Object>, Map<String, Channel<?>>)
    use AgentState.updateState(AgentState, Map, Map)
    org.bsc.langgraph4j.state.AgentState.value(String, Supplier<T>)
    org.bsc.langgraph4j.state.AgentState.value(String, T)
    This method is deprecated and may be removed in future versions.
    org.bsc.langgraph4j.StateGraph.addSubgraph(String, CompiledGraph<State>)
    use addNode( String, CompiledGraph<State> ) instead
    org.bsc.langgraph4j.StateGraph.addSubgraph(String, StateGraph<State>)
    use add( String id, StateGraph<State> ) instead
    org.bsc.langgraph4j.utils.CollectionsUtils.listOf(Class<T>)

Copyright © 2026. All rights reserved.