A framework leaving maintenance rarely breaks anything on the day.
It breaks the first time a security fix you need only ships in the new major.
That is why my LangChain v1 migration plan starts with dependencies, security boundaries and existing behaviour, not new features. LangChain 0.3 and LangGraph 0.4 reach the end of their listed maintenance window in December 2026. I would rather prepare while the existing application still works.
What happens to LangChain 0.3 and LangGraph 0.4 in December 2026?
According to the official LangChain release policy, both LangChain 0.3 and LangGraph 0.4 are in maintenance mode until December 2026. That is the listed LangChain 0.3 end of support, and the same date is the LangGraph 0.4 end of support.
The difference between the two modes matters when you run production software:
- ACTIVE: The release receives ongoing development, bug fixes, security patches and new features.
- MAINTENANCE: The release receives security patches and critical bug fixes, but no new features.
LangChain 1.0 is a long-term support (LTS) release. It stays active until LangChain 2.0 arrives, then enters maintenance for at least one year, and deprecated features keep working throughout the 1.x series. LangGraph 1.0 follows the same LTS pattern.
The LangChain JavaScript versioning documentation also lists December 2026 as the maintenance deadline for these legacy versions.
I would not read that as an automatic shutdown; the documentation does not say existing installations will stop working. It marks the end of the listed maintenance window, and the policy makes no support commitment for those versions beyond it. For a founder maintaining an AI product, that is enough reason to put the migration on the engineering calendar.
Why does an old framework matter more when it runs an AI agent?
A conventional application might use a dependency to format data or render a page. An agent framework can sit much closer to the decisions that determine what an application actually does.
Agents may have access to API keys, customer records, internal documents, external tools and business workflows. They also process input that the application cannot necessarily trust.
A common pattern: a customer-facing chatbot retrieves information from a knowledge base, interprets a request, selects a tool and updates a record in another system. The framework takes part in several steps of that interaction, so its behaviour matters beyond the quality of the generated text.
That is why I care more about security maintenance than features when I look at an older agent dependency. I want to know which components process external input, which tools can modify data and which credentials are available during execution, and I want those boundaries intact after an upgrade.
My approach to controlling what production agents can access and execute applies here. A framework migration is an opportunity to review those boundaries, but it should not silently expand them.

What actually changes when moving to LangChain v1?
The official LangChain v1 migration guide describes a slimmer framework namespace, a different recommended agent constructor and changes to supported Python versions.
I split the migration into three areas.
First, the namespace becomes smaller.
The main langchain namespace focuses on agents, messages, tools, chat models and embeddings. It includes interfaces such as create_agent, AgentState and init_chat_model.
Legacy chains, including LLMChain and ConversationChain, along with legacy retrievers, the indexing API, the hub module and legacy embeddings modules, move to the langchain-classic package.
The distinction matters because the main namespace still includes embeddings. Not every embeddings-related import necessarily belongs in the classic package.
An example of a legacy chain import is:
from langchain_classic.chains import LLMChain
That separation is a useful migration boundary: existing chain-based logic can be evaluated separately from newer agent architecture.
Second, the recommended agent constructor changes.
Before v1, LangChain recommended langgraph.prebuilt.create_react_agent for building agents. The new recommendation is LangChain create_agent:
from langchain.agents import create_agent
I treat the create_react_agent migration as a behavioural change to investigate, not an import swap. Tool selection, conversation state, error handling and output expectations all deserve regression tests.
Third, Python 3.9 support is dropped.
An application still on Python 3.9 needs a runtime upgrade as part of the move. I would keep the runtime change and framework change separately identifiable in the development branch. When something fails, knowing which dependency changed makes diagnosis easier.
Which migration path would I choose for existing agent code?
Not every application needs the same destination. Some should adopt the new framework directly; others are better off separating compatibility work from architectural improvements. My decision starts with how much useful work the framework performs and how tightly the application depends on it.
| Migration path | When I would choose it | What I would watch |
|---|---|---|
| Move straight to LangChain v1 | The application uses a relatively straightforward agent architecture | Tool behaviour, state handling and output compatibility |
| Move legacy imports to langchain-classic first | Existing chains and retrieval logic remain useful | Dependency compatibility and unresolved legacy coupling |
| Rewrite the agent loop | Execution logic needs clearer control and explicit boundaries | State transitions, retries, stopping conditions and recovery |
| Replace the framework with plain code | The application uses a narrow, predictable subset of framework functionality | Recreating necessary orchestration and error handling |
I would not rewrite an application just because a new framework version exists, and I would not keep unnecessary abstractions just because they are installed. The useful question is whether the framework makes the application easier to operate, understand and change.
This is similar to how I approach the decision between workflow-based agents and custom application code. The appropriate abstraction depends on the problem, not the popularity of the tool.
Maintaining an agent application with an older dependency stack? Get in touch if you want to discuss the architecture, migration options and what should remain unchanged.

How would I migrate production agents without losing existing behaviour?
I keep dependency upgrades separate from product changes, so the existing application stays a reference point. Otherwise it is hard to tell a framework regression from an intentional change.
Start with a dependency inventory. I would inspect pinned versions, lockfiles, container definitions and deployment configurations across every relevant service. Background workers, scheduled tasks and retrieval pipelines belong in that inventory alongside the main application.
Create an isolated upgrade branch. The production dependency set should remain available while the new one is tested. I would record the original runtime, package versions and deployment configuration.
Resolve legacy imports. Where appropriate, I would move existing chains and other legacy components into langchain-classic before making broader architectural changes.
Port one agent at a time. Each agent should have a defined purpose, expected tools, state requirements and failure behaviour. I would avoid changing unrelated prompts or business rules during the initial port.
Compare behaviour before and after. Run the same evaluation inputs against both versions. Inspect tool calls, retrieved documents, structured outputs, state transitions and failure paths.
Matching every word is rarely the goal; I check that the system completes the task, respects its boundaries and produces acceptable results.
Canary the new version. Introduce the migrated application through a controlled deployment rather than replacing every execution path immediately.
Prepare rollback before deployment. Preserve the previous application build, dependency set and configuration. Check whether persisted state remains compatible with the previous version.
This is where operational practices for production agents become particularly valuable. Evaluation, tracing and recovery should be part of the migration method rather than an afterthought.
My LangChain v1 migration checklist
- Inventory LangChain, LangGraph and related package versions across services.
- Check Python runtime compatibility.
- Preserve existing dependency lockfiles and deployment configurations.
- Create an isolated migration branch.
- Identify imports that belong in langchain-classic.
- Review each create_react_agent usage.
- Port agents individually to the intended architecture.
- Verify retrieval behaviour and document processing.
- Check tool schemas, credentials and execution permissions.
- Run the same evaluation inputs before and after migration.
- Compare execution traces and failure behaviour.
- Review persisted state and rollback compatibility.
- Deploy through a controlled canary.
- Assign ownership of the migrated dependency stack.
How would I prevent another maintenance deadline from becoming urgent?
I keep a dependency lifecycle calendar next to the feature roadmap. Frameworks, runtimes and integration packages are part of the product’s foundation, and their maintenance windows should be visible to the people responsible for it. My calendar includes the installed version, its documented support status, the relevant maintenance window, the responsible owner and the intended upgrade path.
I would also use deliberate semantic version constraints and reproducible dependency lockfiles. Pinning helps control change, but a pin is not an excuse to stop reviewing the package, and someone needs to own that review.
I would re-check LangChain’s published release policy when new releases arrive rather than assuming today’s maintenance commitments will describe every future version.
For founders investing in custom agent development and business automation, dependency ownership should be part of the application architecture from the beginning.
A system is not finished because its first deployment works; it also needs a credible way to absorb changes in the software underneath it.
Where does the LangChain LTS policy stop being enough?
The framework’s release policy does not automatically establish identical maintenance commitments for every package in an application.
LangChain says that partner packages it maintains, including langchain-openai and langchain-anthropic, follow semantic versioning. Other partner packages may follow different policies.
Community packages and external integrations also need individual review.
Semantic versioning describes how version numbers signal change; it is not a commitment to a maintenance period.
I would therefore check the release and compatibility policies of each important dependency rather than treating the LangChain LTS policy as coverage for the entire application.
There is also a limit to what migration documentation can tell me. It explains the intended interface changes; only testing shows whether a particular application’s tools, retrieval and business logic still behave as expected.
Key takeaways
- LangChain 0.3 and LangGraph 0.4 reach the end of their listed maintenance window in December 2026.
- LangChain v1 introduces a slimmer namespace and recommends create_agent.
- langchain-classic provides a migration path for legacy components.
- Python 3.9 is no longer supported in LangChain v1.
- Preserve existing behaviour through evaluations, traces, controlled deployment and rollback preparation.
- Review partner and community dependencies individually.
- Treat dependency maintenance as ongoing product ownership.
My plan going into 2027 is not to adopt every new abstraction. It is to keep agent applications maintainable, understandable and capable of receiving necessary updates without turning every dependency change into a product rewrite.
If you are planning a similar migration, get in touch through the contact page linked above to talk through your application and its dependencies.
You can also sign up for my Production Notes newsletter for more field notes on agent architecture, software maintenance and building AI systems intended to stay operational beyond their initial release.
FAQ
When does LangChain 0.3 support end?
LangChain’s official release policy lists LangChain 0.3 in maintenance mode until December 2026. LangGraph 0.4 has the same listed maintenance window. During maintenance, these releases receive security patches and critical bug fixes, but no new features. The documentation makes no further support commitment for these versions beyond that window.
What is the difference between create_react_agent and create_agent?
Before LangChain v1, the recommended agent constructor was create_react_agent from langgraph.prebuilt. LangChain v1 recommends create_agent from langchain.agents instead. When migrating, I would review the application’s agent configuration, tool behaviour, state management and output expectations rather than assuming that changing the constructor alone is sufficient.
What is langchain-classic?
langchain-classic is the package used for legacy components removed from the main LangChain v1 namespace. These include legacy chains such as LLMChain and ConversationChain, retrievers, the indexing API, the hub module and legacy embeddings modules. It offers a way to separate legacy compatibility work from broader changes to an application’s agent architecture.
Do I have to rewrite my LangGraph agents?
Not necessarily. The end of the listed LangGraph 0.4 maintenance window does not automatically mean that every existing agent needs a complete rewrite. I would first examine the graph structure, dependencies and compatibility requirements. Existing business logic may remain useful, while particular interfaces, integrations or execution paths require changes and regression testing.