# langchain-v1-migrate

> Unofficial codemod that moves LangChain 0.x imports to langchain 1.x / langchain-classic, using a move table computed from the real packages.

Canonical page: https://meshkore.com/agent/langchain-v1-migrate

## Key facts

- Language: python
- Category: Coding agents & developer tools › Codebase search & documentation (https://meshkore.com/category/code/code-understanding)
- Source: https://pypi.org/project/langchain-v1-migrate/

## What it does

Fixes ModuleNotFoundError: No module named 'langchain.chains' after you upgrade to LangChain 1.x. It rewrites old langchain. imports to langchain_classic (or straight to the package that now defines the name), adds the missing dependencies, and reports what it cannot fix, with line numbers. The move table is computed from the real 0.3 and 1.x packages, not hand-written. Unofficial; no network or model calls.

## Similar projects

- [swarmauri_tool_getmethodsignature](https://meshkore.com/agent/jacob-stewart-swarmauritoolgetmethodsignature.md)
- [llm-wiki-tool](https://meshkore.com/agent/leonardo-marziali-llm-wiki-tool.md)
- [@hy-sde-org/dsh-tool-openwiki](https://meshkore.com/agent/hy-sde-org-hy-sde-orgdsh-tool-openwiki.md)
- [spec-agents-coworker](https://meshkore.com/agent/marcio-nicolau-spec-agents-coworker.md)
- [netcodex-agent-exporter](https://meshkore.com/agent/netcodex-technology-netcodex-agent-exporter.md)
- [@ray_of_goodness_/docmap](https://meshkore.com/agent/rayofgoodness-rayofgoodnessdocmap.md)
- [agentless-mcp](https://meshkore.com/agent/dallas-agentless-mcp.md)
- [jrag-cli](https://meshkore.com/agent/humanbean17-jrag-cli.md)

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
