Skip to main content
← Frameworks

LangChain

LangChain, Inc.
Open source MIT Framework Integration ecosystem RAG Python JS 8 axes checked Active Checked 2026-10-30

Read the two badges separately: the first is whether this page is backed by evidence, the second is whether the product is still maintained. An archived product can have complete evidence; complete evidence does not mean the product is active.

30-second check: should it make your shortlist?

In one line

LangChain is the main body of the LLM-app framework ecosystem (MIT, 148k stars): a…

How you use it

Local / self-hosted · Framework / SDK

Licence / commercial use

Open licence

Read the original licence before commercial use
Mainland China

Direct in mainland · Not in filing list

These four cards help you rule things out, not decide for you. The real differences are in the eight questions and sources below.

Information not confirmed

  • The full integrations catalog and official-maintenance markers (kept at category level one by one)
  • The current capability surface of the MCP adapter (kept at category level)
  • Details of LangSmith's default data-upload behavior (kept at category level)

LangChain is the main body of the LLM-app framework ecosystem (MIT, 148k stars): a unified abstraction layer for models/tools/retrieval with multiple integration entry points. Three lines from the same vendor to keep apart: LangChain (component abstraction), LangGraph (graph orchestration), Deep Agents (prebuilt deep agents).

When to use it, when not to

Fits: the largest provider/tool ecosystem, swapping models without rewriting code, RAG starts. Not a fit: thin direct calls to one API; needing an out-of-the-box agent runtime.

China availability domestic / direct access / CAC filing · snapshot 2026-10-21

Origin
foreign-made LangChain, Inc. (US).
Direct access
direct OK langchain.com and python.langchain.com measured 200 direct (2026-10-21).
CAC filing
not in filing list:not in the CAC public registry (searched 2026-10-21); the open-source project does not serve the mainland public, so filing does not apply.

Filing status is quoted from the CAC public registry (updated batch by batch; this site copies the number and does not interpret it). "Direct access" is this site's own reachability measurement from a mainland network, not a vendor promise. GitHub-hosted sites fluctuated on the measurement day — the note says so.

8 questions, one table

8 questions, each comparable item by item with its peers.

Model & openness

The model-access layer is its home-turf capability: a unified interface family across LLMs/embeddings/tools (the provider integration surface is huge, per the official integrations catalog, kept at category level one by one); it does not call models itself — it is the abstraction layer where "switch providers without changing code".

Where it runs

Python/JS libraries (pip/npm installed into your process); GitHub 148,689★ (API verified 2026-10-21) — the main body of the LLM application framework ecosystem. The companion LangGraph (orchestration) / LangSmith (observability) are adjacent product lines from the same vendor.

Local files

Library form running inside your own code and process; where data lands is decided by your integrations (vector stores/files all on your side).

Tasks after shutdown

The library itself has no resident semantics; residency depends on the application you build with it. The official hosted line (the LangSmith platform) is a separate product surface.

Tools & extensions

Tool definition and invocation abstractions are a core surface; an MCP adapter line exists (langchain-mcp-adapters), support details kept at category level.

Context & memory

The memory/retrieval component family (buffer/window/entity etc.) is its traditional narrative; cross-session memory requires wiring your own storage — the components give the pattern, not hosting.

Permissions & limits

No account system (library form); the permissions surface = the various vendors' API keys and tool capabilities you wire in. The observability line (LangSmith) has a data-upload surface — default behavior kept at category level.

Best for

Fits: wanting the largest integration ecosystem, wanting an abstraction layer where "switch providers without changing code", starting out with RAG/tool flows. Does not fit: lightweight direct calls to a single vendor's API (the abstraction layer is a cost); wanting a batteries-included agent runtime (that is the LangGraph/Deep Agents line).

Licence and terms of use

MIT (GitHub API verified 2026-10-21).

Top misconception

  • Blurring LangChain/LangGraph/Deep Agents into one blob — three lines from one vendor: component abstraction, graph orchestration, prebuilt deep agents
  • Reading 148k stars as 'every integration is first-class' — third-party integration quality varies; check official-maintenance markers
  • Plugging in the observability line without checking its upload surface — trace uploads are product semantics for LangSmith; verify defaults first

Evidence sources

Checked 2026-10-30,Content updated 2026-10-21。This is the date of the entry, not a claim that every field was rechecked that day.

TypeNameLink
repolangchain-ai/langchain · repository (MIT; 148,689★, last push 2026-10-29, GitHub API verified)https://github.com/langchain-ai/langchain
docsLangChain · official docshttps://python.langchain.com
changelogLangChain · official changeloghttps://changelog.langchain.com
changeloglangchain-ai/langchain · Releases (changelog)https://github.com/langchain-ai/langchain/releases

Test notes

This site has not completed measured runs. The test protocol is at protocols/framework/_protocol.md.

Related entries

  • LangGraphSame-vendor orchestration line: LangChain gives components, LangGraph gives the graph and runtime.
  • Deep AgentsSame-vendor batteries-included line: when you don't want to hand-build the whole loop, use its deep-agent skeleton.
  • CursorOther layer · AI coding
  • Claude Code (IDE extension)Other layer · AI coding

Same-category peers

Look at these three before reading further

Selected by overlap in jobs, not ranked. Compare where it runs, licence and status first; if one of the three fails, skip it.

ObjectWhereLicenceEvidence / statusWhat it is for
DSPyLocal / self-hostedOpen licence8 questions checked
Active
DSPy turns 'tuning prompts' into a programming problem (MIT, Stanford NL
HaystackLocal / self-hostedOpen licence8 questions checked
Active
Haystack is the RAG framework of the 'retrieval-quality engineering' sch
LlamaIndex FrameworkLocal / self-hostedOpen licence8 questions checked
Active
"A Python library that pulls external data in for retrieval and question

This page is generated from the ai-handbook data layer (CC BY 4.0). For the judging criteria and method notes, see METHODOLOGY.md.