Change8

prebuilt==0.6.0

Breaking Changes
📦 langgraph
2 breaking4 features1 deprecations🔧 7 symbols

Summary

This release introduces a new Context API for LangGraph, adds dynamic model support to create_react_agent, and refactors internal typing and tool injection logic.

⚠️ Breaking Changes

  • Internal typing constructs moved from constants.py to _internal/_typing.py, which may break imports relying on internal paths.
  • Solidified public/private API differentiations; internal modules previously accessible may now be restricted or renamed.

Migration Steps

  1. Update code using config['configurable'] or config_schema to use the new Context API.
  2. Check imports for typing constructs and update from constants.py to the new internal paths if necessary.
  3. Review usage of LangGraph internal modules to ensure compatibility with new public/private API boundaries.

✨ New Features

  • Added dynamic model support to create_react_agent.
  • Introduced a new Context API to replace legacy configuration patterns.
  • Added is_studio_user field to the Python SDK.
  • Restructured ToolNode and tool injection logic for better extensibility.

🔧 Affected Symbols

create_react_agentToolNodeconfigconfig_schemaconstants.py_internal/_typing.pyis_studio_user

⚡ Deprecations

  • The use of config['configurable'] and config_schema is being replaced by the new Context API.