github langchain-ai/langgraph 0.3.0

latest release: prebuilt==0.1.0
9 hours ago

LangGraph v0.3.0

Breaking changes

prebuilt module was moved into a separate pip-installable package (langgraph-prebuilt).

Since langgraph-prebuilt is implemented as namespace package, you can import all of the prebuilt components (e.g., create_react_agent, ToolNode, etc) the same way as before:

from langgraph.prebuilt import create_react_agent, ToolNode

Make sure to run pip install langgraph-prebuilt to be able to import the prebuilt components

Deprecations:

Removed in v0.3:

  • langgraph.prebuilt.tool_executor - use langgraph.prebuilt.tool_node.ToolNode instead
  • messages_modifier parameter for create_react_agent - use prompt instead

Don't miss a new langgraph release

NewReleases is sending notifications on new releases.