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

Deprecated API

Contents

  • Terminally Deprecated
  • Interfaces
  • Classes
  • Record Classes
  • Methods
  • Terminally Deprecated Elements
    Element
    Description
    org.bsc.langgraph4j.action.AsyncCommandAction.node_async(CommandAction<S>)
    use AsyncCommandAction.command_async(CommandAction) instead. This method will be removed in a future version.
    org.bsc.langgraph4j.CompileConfig.getInterruptAfter()
    org.bsc.langgraph4j.CompileConfig.getInterruptBefore()
    org.bsc.langgraph4j.HasMetadata.getMetadata(String)
    use HasMetadata.metadata(String) instead
    org.bsc.langgraph4j.serializer.Serializer.readObject(byte[])
    org.bsc.langgraph4j.serializer.Serializer.writeObject(T)
    org.bsc.langgraph4j.spring.ai.agentexecutor.AgentExecutorBuilder.streamingChatModel(ChatModel)
    org.bsc.langgraph4j.state.StateSnapshot.getConfig()
    Use StateSnapshot.config() instead.
    org.bsc.langgraph4j.state.StateSnapshot.getNext()
    Use StateSnapshot.next() instead.
    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.studio.LangGraphStreamingServer
    This interface is deprecated and will be removed in a future version. Use LangGraphStudioServer instead.
    org.bsc.langgraph4j.studio.springboot.AbstractLangGraphStudioConfig
    This class is scheduled for removal. Implement LangGraphStudioConfig directly and provide a custom implementation for the instanceMap() method to configure one or more graph instances.
    org.bsc.langgraph4j.studio.springboot.LangGraphFlow
    org.bsc.langgraph4j.utils.CollectionsUtils.last(List<T>)
    use CollectionsUtils.lastOf(List) instead
  • Deprecated Interfaces
    Interface
    Description
    org.bsc.langgraph4j.studio.LangGraphStreamingServer
    This interface is deprecated and will be removed in a future version. Use LangGraphStudioServer instead.
  • Deprecated Classes
    Class
    Description
    org.bsc.langgraph4j.langchain4j.generators.LLMStreamingGenerator
    use StreamingChatGenerator instead
    org.bsc.langgraph4j.langchain4j.serializer.jackson.JacksonMessagesStateSerializer
    use LC4jJacksonStateSerializer
    org.bsc.langgraph4j.studio.springboot.AbstractLangGraphStudioConfig
    This class is scheduled for removal. Implement LangGraphStudioConfig directly and provide a custom implementation for the instanceMap() method to configure one or more graph instances.
  • 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
    org.bsc.langgraph4j.studio.springboot.LangGraphFlow
  • Deprecated Methods
    Method
    Description
    org.bsc.langgraph4j.action.AsyncCommandAction.node_async(CommandAction<S>)
    use AsyncCommandAction.command_async(CommandAction) 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.CompileConfig.getInterruptAfter()
    org.bsc.langgraph4j.CompileConfig.getInterruptBefore()
    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.HasMetadata.getMetadata(String)
    use HasMetadata.metadata(String) instead
    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.spring.ai.agentexecutor.AgentExecutorBuilder.streamingChatModel(ChatModel)
    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.state.StateSnapshot.getConfig()
    Use StateSnapshot.config() instead.
    org.bsc.langgraph4j.state.StateSnapshot.getNext()
    Use StateSnapshot.next() instead.
    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.last(List<T>)
    use CollectionsUtils.lastOf(List) instead
    org.bsc.langgraph4j.utils.CollectionsUtils.listOf(Class<T>)

Copyright © 2025. All rights reserved.