Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Agent framework - verified

LangChain (agents): features, install and latest version

LangChain (agents) is an AI agent framework maintained by LangChain Inc. As its docs describe it: LangChain is a framework for building agents and LLM-powered applications whose create_agent function provides a configurable agent harness of model, tools, prompt, and middleware, built on top of LangGraph. It supports Python and TypeScript. License: MIT. Latest releases: Python package langchain 1.4.6 (October 14, 2026) and TypeScript package langchain 1.5.18 (October 16, 2026).

Homepage - Source on GitHub - License - In our tools directory

Languages
2
Latest Python
1.4.6
Released
2026-10-14
Features documented
9 of 10

Install

Copied verbatim from the page linked under each command.

Python

Terminal
pip install -U langchain

Source: docs.langchain.com/oss/python/langchain/install

Terminal
uv add langchain

Source: docs.langchain.com/oss/python/langchain/install

TypeScript

Terminal
npm install langchain @langchain/core

Source: docs.langchain.com/oss/javascript/langchain/install

Quickstart

The first example from the official docs, unchanged. It may need an API key for the model provider it calls.

Python
# pip install -qU langchain "langchain[openai]"
from langchain.agents import create_agent

def get_weather(city: str) -> str:
    """Get weather for a given city."""
    return f"It's always sunny in {city}!"

agent = create_agent(
    model="openai:gpt-5.5",
    tools=[get_weather],
    system_prompt="You are a helpful assistant",
)

result = agent.invoke(
    {"messages": [{"role": "user", "content": "What's the weather in San Francisco?"}]}
)
print(result["messages"][-1].content_blocks)

Source: docs.langchain.com/oss/python/langchain/overview

Features

What the LangChain (agents) docs say it supports. Not stated means the docs do not say either way.

LangChain (agents) documented features, each with its source
FeatureValueSource
MCPYesdocs.langchain.com/oss/python/langchain/mcp
Multi-agentYesdocs.langchain.com/oss/python/langchain/multi-agent
Durable executionYesdocs.langchain.com/oss/python/langchain/overview
Human in the loopYesdocs.langchain.com/oss/python/langchain/human-in-the-loop
StreamingYesdocs.langchain.com/oss/python/langchain/streaming
Structured outputYesdocs.langchain.com/oss/python/langchain/structured-output
TracingYesdocs.langchain.com/oss/python/langchain/overview
MemoryYesdocs.langchain.com/oss/python/langchain/short-term-memory
EvalsNot statedDocs do not say
Model-agnosticYesdocs.langchain.com/oss/python/langchain/overview
LanguagesPython, TypeScriptSee sources below
LicenseMITgithub.com/langchain-ai/langchain/blob/master/LICENSE
Latest Python releaselangchain 1.4.6October 14, 2026pypi.org/project/langchain/1.4.6
Latest TypeScript releaselangchain 1.5.18October 16, 2026npmjs.com/package/langchain/v/1.5.18

LangChain (agents) on Developers Digest

Compare LangChain (agents)

FAQ

Does LangChain (agents) support MCP?

Yes, per https://docs.langchain.com/oss/python/langchain/mcp

Which languages does LangChain (agents) support?

Python and TypeScript. Published packages: langchain (Python) and langchain (TypeScript).

How do I install LangChain (agents)?

For Python: "pip install -U langchain", as shown at https://docs.langchain.com/oss/python/langchain/install. This page lists 3 install commands, each copied from the linked source.

What is the latest version of LangChain (agents)?

As of October 18, 2026: Python package langchain 1.4.6 (October 14, 2026), https://pypi.org/project/langchain/1.4.6/ and TypeScript package langchain 1.5.18 (October 16, 2026), https://www.npmjs.com/package/langchain/v/1.5.18.

What license is LangChain (agents) released under?

MIT. The license is at https://github.com/langchain-ai/langchain/blob/master/LICENSE.

Does LangChain (agents) support durable execution?

Yes, per https://docs.langchain.com/oss/python/langchain/overview

Does LangChain (agents) support human-in-the-loop?

Yes, per https://docs.langchain.com/oss/python/langchain/human-in-the-loop

Is LangChain (agents) model-agnostic?

Yes, per https://docs.langchain.com/oss/python/langchain/overview

Which features does LangChain (agents) document?

9 of the 10 tracked here: MCP, Multi-agent, Durable execution, Human in the loop, Streaming, Structured output, Tracing, Memory and Model-agnostic. Not stated in its docs: Evals.

Sources

Last verified from the pages below.

Newsletter

Agent frameworks, every week

One email per week. Framework releases, new agent tooling and what they mean for what you build.