Find create_react_agent usage (replace with create_agent)

Proprietary

Find from langgraph.prebuilt import create_react_agent which should be replaced with from langchain.agents import create_agent in LangChain v1.0.

org.openrewrite.python.migrate.langchain.FindLangchainCreateReactAgent
mod run . --recipe=org.openrewrite.python.migrate.langchain.FindLangchainCreateReactAgent

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.