Blog Post

Microsoft Developer Community Blog
4 MIN READ

LangChain v1 is now generally available!

mmhangami's avatar
mmhangami
Icon for Microsoft rankMicrosoft
Oct 17, 2025

With Day zero support for Azure AI Foundry and Associated Azure Services

Today LangChain v1 officially launches and marks a new era for the popular AI agent library. The new version ushers in a more streamlined, and extensible foundation for building agentic LLM applications. In this post we'll breakdown what’s new, what changed, and what “general availability” means in practice. 

Join Microsoft Developer Advocates, Marlene Mhangami and Yohan Lasorsa, to see live demos of the new API and find out more about what JavaScript and Python developers need to know about v1. Register for this event here.

 

Why v1? The Motivation Behind the Redesign

The number of abstractions in LangChain had grown over the years to include chains, agents, tools, wrappers, prompt helpers and more, which, while powerful, introduced complexity and fragmentation. As model APIs evolve (multimodal inputs, richer structured output, tool-calling semantics), LangChain needed a cleaner, more consistent core to ensure production ready stability. 

In v1:

  • All existing chains and agent abstractions in the old LangChain are deprecated; they are replaced by a single high-level agent abstraction built on LangGraph internals. 
  • LangGraph becomes the foundational runtime for durable, stateful, orchestrated execution. LangChain now emphasizes being the “fast path to agents” that doesn’t hide but builds upon LangGraph.
  • The internal message format has been upgraded to support standard content blocks (e.g. text, reasoning, citations, tool calls) across model providers, decoupling “content” from raw strings. 
  • Namespace cleanup: the langchain package now focuses tightly on core abstractions (agents, models, messages, tools), while legacy patterns are moved into langchain-classic (or equivalents).

What’s New & Noteworthy for Developers

Here are key changes developers should pay attention to:

1. create_agent becomes the default API

The create_agent function is now the idiomatic way to spin up agents in v1. It replaces older constructs (e.g. create_react_agent) with a clearer, more modular API. You can also now compose middleware around model calls, tool calls, before/after hooks, error handling, etc. 

2. Standard content blocks & normalized message model

One of LangChain's greatest stregnth's is it's model agnosticism. Content blocks move to standardize all outputs, so developers know exactly what to expect regardless of the model they are using. Responses from models are no longer opaque strings. Instead, they carry structured `content_blocks` which classify parts of the output (e.g. “text”, “reasoning”, “citation”, “tool_call”). 

3. Multimodal and richer model inputs / outputs

LangChain continues to support more than just text-based interactions, but in a more comprehensive way in v1. Models can accept and return files, images, video, etc., and the message format reflects this flexibility. This upgrade prepares us well for the next generation of models with mixed modalities (vision, audio, etc.).

4. Middleware hooks

Because create_agent is designed as a pluggable pipeline, developers can now inject logic before/after model calls, before tool calls and more. New middleware such as 'human in the loop' and 'summarization' middleware have been added. This is a feature of the new package that I am most excited about it! Even with the simplified agents API, this option provides more room to customize workflows! Developers can try pre-built middleware or make their own. 

5. Simplified, leaner namespace

Many formerly top-level modules or helper classes have been removed or relocated to langchain-classic (or similarly stamped “legacy”) to declutter the main API surface. A migration guide is available to help projects transition from v0 to v1. While v1 is now the main line, older v0 is still documented and maintained for compatibility. 

What “General Availability” Means (and Doesn’t)

  • v1 is production-ready, after testing the alpha version. 
  • The stable v0 release line remains supported for those unwilling or unable to migrate immediately. 
  • Breaking changes in public APIs will be accompanied by version bumps (i.e. minor version increments) and deprecation notices.
  • The roadmap anticipates minor versions every 2–3 months (with patch releases more frequently). 
  • Because the field of LLM applications is evolving rapidly, the team expects continued iterations in v1—even in GA mode—with users encouraged to surface feedback, file issues, and adopt the migration path. (This is in line with the philosophy stated in docs.)

Developer Callouts & Suggested Steps

Some things we recommend for developers to do to get started with v1:

  1. Try the new API Now!
    LangChain Azure AI and Azure OpenAI have migrated to LangChain v1 and are ready to test! Learn more about using LangChain and Azure AI:
    1. Python: https://docs.langchain.com/oss/python/integrations/providers/azure_ai
    2. JavaScript: https://docs.langchain.com/oss/javascript/integrations/providers/microsoft
  2. Join us for a Live Stream on Wednesday 22 October 2025
    Join Microsoft Developer Advocates Marlene Mhangami and Yohan Lasorsa for a livestream this Wednesday to see live demos and find out more about what JavaScript and Python developers need to know about v1. Register for this event here
Updated Oct 23, 2025
Version 5.0
No CommentsBe the first to comment