Find deprecated LangChain agent patterns
ProprietaryFind usage of deprecated LangChain agent patterns including initialize_agent, AgentExecutor, and LLMChain. These were deprecated in LangChain v0.2 and moved out of langchain into langchain_classic in v1.0. Only from langchain... import ... statements are marked.
org. openrewrite. python. migrate. langchain. FindDeprecatedLangchainAgentsmod run . --recipe= org. openrewrite. python. migrate. langchain. FindDeprecatedLangchainAgentsInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.